/* ================= GLOBAL RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
    padding-top: 80px; /* Reserve space for fixed navbar */
}

/* ================= NAVBAR ================= */

.navbar {
    display: flex;
    align-items: center;          /* Vertically center content */
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;                 /* Fixed navbar height */
    background: #ffffff;
    position: fixed;              /* Keep navbar on top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* subtle shadow */
}

/* LOGO */

.navbar .logo img {
    height: 60px;   /* Bigger logo */
    width: auto;    /* Maintain aspect ratio */
    display: block;
}

/* NAV LINKS */

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff7a00;
}

/* BUTTON */

.btn-orange {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-orange:hover {
    background-color: #e56700;
}

/* ================= RESPONSIVE NAVBAR ================= */

@media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 10px;
    }

    .btn-orange {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-orange {
        align-self: center;
        width: 100%;
        text-align: center;
    }
}

/* ================= OPTIONAL: NAVBAR SHADOW ON SCROLL ================= */
.navbar.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* ================= NAVBAR END ================= */

/* ================= CONTACT HERO SECTION ================= */

.contact-hero{
    background-color:#1f3c88;   /* Prime Blue */
    height:50vh;                /* Same height as other hero sections */
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
}

/* Hero Content */

.contact-hero-content{
    max-width:800px;
}

/* Heading */

.contact-hero-content h1{
    font-size:55px;
    color:#ffffff;
    font-weight:700;
    margin-bottom:20px;
}

/* Description */

.contact-hero-content p{
    font-size:20px;
    color:#d1d5db;   /* Light Grey */
    line-height:1.6;
}


/* ================= CONTACT SECTION ================= */


/*=================== FORM PAGE =====================*/


/* ================= BODY ================= */

body{
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7fc;
}


/* ================= CONTACT SECTION ================= */

.contact-section{
    padding: 80px 60px;
}

/* Container */

.contact-container{
    display: flex;
    gap: 40px;
    align-items: stretch;   /* Makes both sides same height */
}


/* ================= LEFT FORM ================= */

.contact-form{
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-form h2{
    color: #1f3c88;
    margin-bottom: 30px;
}

.contact-form label{
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
    margin-top: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.contact-form textarea{
    height: 120px;
    resize: none;
}

/* Submit Button */

.contact-form button{
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: #ff6a00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover{
    background: #e65c00;
}


/* ================= RIGHT SIDE ================= */

.contact-info{
    flex: 1;                /* Same width as left side */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Info Cards */

.info-card{
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertical center */
    align-items: center;       /* horizontal center */
    text-align: center;        /* center text */
}
.info-card h3{
    color: #1f3c88;
    margin-bottom: 10px;
}

.info-card p{
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Business Hours Box */

.business-hours{
    background: linear-gradient(135deg, #1f3c88, #3056d3);
    color: white;
    padding: 30px;
    border-radius: 12px;
}

.business-hours h3{
    margin-bottom: 15px;
}

.business-hours p{
    font-size: 14px;
    line-height: 1.8;
}



/*=================== FORM PAGE =====================*/


/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-column {
    width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom-buttons {
    margin-top: 10px;
  }

  .footer-bottom-buttons a {
    margin-left: 0;
    margin-right: 10px;
  }
}


/* Footer Section */



/* ================= FINAL MOBILE RESPONSIVE FIX ================= */

@media (max-width: 768px) {

    /* ================= NAVBAR ================= */
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 15px;
        text-align: center;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 10px;
        text-align: center;
    }

    .btn-orange {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* ================= HERO SECTION ================= */
    .contact-hero {
        height: auto;
        padding: 80px 20px;
        text-align: center;
    }

    .contact-hero-content h1 {
        font-size: 34px;
    }

    .contact-hero-content p {
        font-size: 16px;
    }

    /* ================= CONTACT SECTION ================= */
    .contact-section {
        padding: 60px 20px;
    }

    /* STACK FORM AND INFO */
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-info {
        width: 100%;
    }

    /* ================= INFO CARDS ================= */
    .info-card {
        min-height: auto;
        padding: 20px;
    }

}
