* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; 
}

body {
    display: flex;
    flex-direction: column;
    height: auto;
    margin-top: 0;
    gap: 20px;
    font-family: "Jost", sans-serif;
    background: url(../Images/backgroundbdy.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #00357a;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

.logo img {
    width: 60px;
    height: auto;
}

.navLinks {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navLinks a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 550;
    transition: color 0.3s ease-in-out;
}

.navLinks a:hover {
    color: #cc4e00;
    transform: scale(1.05);
}

#CTO {
    display: flex;
    padding: 10px 15px;
    background: #cc4e00;
    border-radius: 5px;
}

#CTO:hover {
    background: #ffffff;
}

.icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.icon i {
    font-size: 24px;
    text-decoration: none;
    color: #ffffff;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.icon i:hover {
    color: #ffffff;
    transform: scale(1.05);
}

main {
    padding-top: 8%;
}

#formSection {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* image left, form right */
    place-items: center;
    gap: 40px;
    padding: 40px;
} 

#formSection h2 {
    font-size: 4rem;
    color: #cc4e00;
    text-align: center;
    font-family: 'Cinzel', serif;
}

#form img {
    width: 400px;
    height: auto;
}

form {
    width: 600px;
    background-color: #00357a;
    border: none;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 5px rgba(31, 6, 55, 0.3);
    display: flex;
    flex-direction: column;
}

.head {
    font-size: 1.5rem;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #ffffff;
    text-align: left;
}

input[type="text"], 
input[type="email"] {
    padding: 10px 12px;
    width: 50%;
    background-color: rgb(219, 219, 219);
    border: none;
    outline: none;               
    transition: all 0.3s ease; 
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 6px;
}

textarea {
    padding: 12px;
    min-height: 120px;
    width: 100%;
    background-color: rgb(219, 219, 219);
    border: none;
    outline: none;         
    transition: all 0.3s ease; 
    box-sizing: border-box;
    font-size: 1rem;
    border-radius: 6px;
}

form button {
    padding: 12px;
    width: 40%;
    align-self: center; 
    background-color: #ffffff;
    color: #00357a;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease-in-out;
    cursor: pointer;
}

form button:hover {
    background-color: #cc4e00;
    color: #ffffff;
    transform: scale(1.05);
}

form input:focus, form textarea:focus {
    border-color: #cc4e00;     /* your brand deep purple */
    box-shadow: 0 0 5px rgba(31, 6, 55, 0.3);
}

.contact-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    box-sizing: border-box;
}


.others {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 70vw;
    height: auto;
    padding: 20px;
    gap: 10px;
    background-color: #00357a;
    border-radius: 15px;
    box-shadow: 0 0 5px rgba(31, 6, 55, 0.3);
}

.others-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    color :#cc4e00;
}

.link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.c1, .c2, .c3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 5px;
}

.c1 img, .c2 img, .c3 img {
    width: 80px;
    height: auto;
}

.c1 p, .c2 p, .c3 p {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Cinzel', serif;
}


i {
    font-size: 24px;
    text-decoration: none;
    color: #ffffff;
    margin: 0 8px;
    transition: color 0.3s ease;
}

i:hover {
    color: #cc4e00;
    transform: scale(1.2) rotate(10deg);
}

.others a {
    text-decoration: none;
    font-size: 1rem;
    color: #ffffff;
}

#spinner {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

#statusMessage {
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
}

    

@media (max-width: 1024px) {
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #formSection {
        grid-template-columns: 1fr;   /* stack items */
        gap: 30px;
        padding: 20px;
        place-items: center;
    }

    #formSection img {
        width: 200px;
        height: auto;
    }

    #formSection h2 {
        font-size: 3rem;
    }

    form {
        width: 70%;
        margin: 0 auto;

    }

    .others {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        width: 60%;
    }

    .c1 img, .c2 img, .c3 img {
        width: 70px;
        height: auto;
    }
}
    

@media (max-width: 768px) {
    main{
        padding-top: 10%;
    }
    
    form {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
    }

    #formSection h2 {
        font-size: 2.5rem;
    }

    input[type="text"], input[type="email"] {
        font-size: 1rem;
        width: 80%;
    }

    textarea {
        width: 100%;
    }

    form button {
        width: 50%;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 100px;
    }

    .logo img{
        width: 40px;
        height: auto;
    }

    .navLinks.show {
        display: flex;
    }

    .icon {
        display: block; /* Show hamburger */
        color: #cc4e00;
        z-index: 1000;
    }

    .navLinks {
        display: none;
        flex-direction: column;
        background: #fcfcfce8;
        position: absolute;
        top: 80px;
        right: 10px;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    .navLinks a {
        color: #cc4e00;
        padding: 8px 0;
        font-size: 0.8rem;
        text-decoration: none
    }
    
    #CTO {
        width: 100%;
        color: #ffffff;
    }

    #formSection h2 {
        font-size: 1.5rem;
    }

    form {
        width: 95%;
        padding: 20px;
        margin-right: 0 auto;
    }

    .head {
        font-size: 1.2rem;
    }

    input[type="text"], 
    input[type="email"] {
        width: 80%;
    }

    form button {
        width: 70%;
    }

    .others-title{
        font-size: 1rem;
    }
    
    .others {
        width: 85%;
    }

    .c1 p, .c2 p, .c3 p {
        font-size: 0.9rem;
    }

    .c3 a {
        font-size: 0.9rem;
    }
}

