/* Reset box sizing for consistency */
* {
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eef2f7;
    margin: 0;
    color: #333;
}


/* header hero section css */
/* Hero Section */
.hero {
    background: linear-gradient(to right, #3f51b5, #5c6bc0);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 10px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero h1 span {
    color: #ffeb3b;
}

.hero p {
    font-size: 1rem;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffeb3b;
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #fdd835;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .hero {
        padding: 20px 0px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
    }
}





/* Heading style */
h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: #222;
}

/* Form container */


form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Labels */
label {
    display: block;
    font-weight: 500;
    color: #444;
}

/* Text input, select, and file inputs */
input[type="text"],
select,
input[type="file"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.8px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fafafa;
    transition: border-color 0.3s ease;
}

/* Focus states */
input[type="text"]:focus,
select:focus,
input[type="file"]:focus {
    border-color: #3f51b5;
    outline: none;
    background-color: #fff;
}

.required {
    color: red;
    margin-left: 4px;
    font-weight: bold;
}


/* Submit button styling */
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #3f51b5;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}



/* Submit hover effect */
input[type="submit"]:hover {
    background-color: #303f9f;
}






/* ===================== */
/* Responsive tweaks */
/* ===================== */

/* Tablets and below */
@media (max-width: 768px) {
    form {
        padding: 25px 30px;
    }

    .form-row {
        flex-direction: column;
    }

    input[type="submit"] {
        font-size: 17px;
    }
}

/* Phones */
@media (max-width: 600px) {
    form {
        padding: 20px;
    }

    label {
        font-size: 15px;
    }

    input[type="text"],
    select,
    input[type="file"] {
        font-size: 15px;
    }

    input[type="submit"] {
        font-size: 16px;
    }
}

/* Ultra-small phones */
@media (max-width: 400px) {
    form {
        padding: 15px;
        margin: 0 10px;
        box-shadow: none;
        border-radius: 0;
    }

    label {
        font-size: 14px;
    }

    input[type="text"],
    select,
    input[type="file"],
    input[type="submit"] {
        font-size: 14px;
    }

    input[type="submit"] {
        padding: 12px;
    }
}




.site-footer {
    display: flex;
    justify-content: center;      /* center horizontally */
    gap: 470px;                    /* space between items */
    background-color: #3f51b5;
    color: #fff;
    padding: 15px 10px;
    font-size: 14px;
    flex-wrap: wrap;              /* wraps on small screens */
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive: stack vertically on very small screens */
@media (max-width: 400px) {
    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}



@media only screen and (max-width: 430px) {
  /* Styles for most iPhones in portrait */
  .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

