* { margin: 0;
    padding: 0; 
    box-sizing: border-box; 
    font-family: sans-serif; }

.navbar {
    background: #2c3e50;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo { color: white; font-size: 26px; font-weight: bold; }

.nav-links { display: flex; list-style: none; }

.nav-links li a {
    color: white; 
    text-decoration: none;
    padding: 15px 20px; 
    font-size: 18px;
    font-weight: 600;
    transition: 0.8s;
}

.nav-links li a:hover {
    color: #3498db; 
    text-decoration: none;
    padding: 15px 20px; 
    font-size: 18px;
}
.nav-links li a:hover, 
.nav-links li a.active {
    color: #3498db;        /* Pehle wala Bright Blue color */
}
/* Dropdown */
.dropdown-content { display: none; 
    position: 
    absolute; 
    background: #2c3e50; 
    min-width: 220px; 
    top: 82%; 

}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content li a { color: #ffffff; display: block; border-bottom: 1px solid #eee; }

/* --- MOBILE TOGGLE BUTTON DESIGN --- */
.menu-btn {
    display: none; /* Desktop pe hide */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 30px; height: 4px;
    background-color: white;
    transition: 0.4s;
}

/* --- MOBILE RESPONSIVE --- */
/* --- MOBILE VIEW FIX (900px se kam screen ke liye) --- */
@media screen and (max-width: 900px) {
    
    /* 1. Hamburger Icon ko dikhao */
    .menu-btn { 
        display: flex !important; 
    }

    /* 2. Mobile Menu ka layout (Initially hidden) */
    .nav-links {
        display: none; 
        position: absolute;
        top: 80px; 
        left: 0; 
        width: 100%;
        background: #2c3e50; 
        flex-direction: column;
        padding: 20px 0;
        z-index: 999;
    }

    /* 3. Jab hamburger click ho (JS se active class aayegi) */
    .nav-links.active { 
        display: flex !important; 
    }

    .nav-links li { 
        width: 100%; 
        text-align: center; 
    }

    .nav-links li a { 
        display: block; 
        padding: 15px; 
        font-size: 22px; /* Bada Font */
    }

    /* 4. MOBILE DROPDOWN FIX (Hover disable, Click enable) */
    
    /* Hover karne par apne aap nahi khulega */
    .dropdown:hover .dropdown-content {
        display: none ; 
        
    }

    /* Jab "Our Verticals" par click ho (JS se open class aayegi) */
    .dropdown-content.open {
        display: block !important;
        position: static; /* List ki tarah niche dikhega */
        width: 100%;
        background-color: #34495e; /* Thoda light shade taaki alag dikhe */
        box-shadow: none;
    }

    .dropdown-content li a {
        font-size: 18px;
        color: #ecf0f1 !important;
        border-bottom: 1px solid #2c3e50;
    }
}

/* --- MOBILE TOGGLE BUTTON DESIGN --- */
.menu-btn {
    display: none; /* Desktop pe hide */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 30px; height: 4px;
    background-color: white;
    transition: 0.4s;
}

/* --- MOBILE RESPONSIVE --- */
/* --- MOBILE VIEW FIX (900px se kam screen ke liye) --- */
@media screen and (max-width: 900px) {
    
    /* 1. Hamburger Icon ko dikhao */
    .menu-btn { 
        display: flex !important; 
    }

    /* 2. Mobile Menu ka layout (Initially hidden) */
    .nav-links {
        display: none; 
        position: absolute;
        top: 80px; 
        left: 0; 
        width: 100%;
        background: #2c3e50; 
        flex-direction: column;
        padding: 20px 0;
        z-index: 999;
    }

    /* 3. Jab hamburger click ho (JS se active class aayegi) */
    .nav-links.active { 
        display: flex !important; 
    }

    .nav-links li { 
        width: 100%; 
        text-align: center; 
    }

    .nav-links li a { 
        display: block; 
        padding: 15px; 
        font-size: 22px; /* Bada Font */
    }

    /* 4. MOBILE DROPDOWN FIX (Hover disable, Click enable) */
    
    /* Hover karne par apne aap nahi khulega */
    .dropdown:hover .dropdown-content {
        display: none ; 
        
    }

    /* Jab "Our Verticals" par click ho (JS se open class aayegi) */
    .dropdown-content.open {
        display: block !important;
        position: static; /* List ki tarah niche dikhega */
        width: 100%;
        background-color: #34495e; /* Thoda light shade taaki alag dikhe */
        box-shadow: none;
    }

    .dropdown-content li a {
        font-size: 18px;
        color: #ecf0f1 !important;
        border-bottom: 1px solid #2c3e50;
    }
}


/* --- 1. SUBMENU BASE STYLING (Desktop) --- */
.dropdown-submenu {
    position: relative;
}

.submenu-content {
    display: none; /* Default hidden */
    position: absolute;
    top: 0;
    left: 100%; /* Side mein khulega */
    background-color: #34495e;
    min-width: 200px;
    list-style: none;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    z-index: 1001;
}

/* Desktop Hover Logic */
.dropdown-submenu:hover > .submenu-content {
    display: block;
}

/* Submenu Links Styling */
.submenu-content li a {
    padding: 12px 20px;
    color: white !important;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
}

/* --- 2. MOBILE TOGGLE CLASS (JS use karega) --- */
.active-submenu {
    display: block !important;
}

/* --- 3. MOBILE VIEW FIX (900px) --- */
@media screen and (max-width: 900px) {
    /* Mobile par hover band */
    .dropdown-submenu:hover > .submenu-content {
        display: none; 
    }

    .submenu-content {
        position: static; /* List ki tarah niche dikhega */
        width: 100%;
        background-color: #1a252f; /* Thoda dark shade */
        box-shadow: none;
    }

    /* Jab active-submenu class JS se add ho tab dikhega */
    .submenu-content.active-submenu {
        display: block !important;
    }
}

/*contact hero section starts here*/

/* --- COMPLETE CONTACT PAGE CSS --- */

/* 1. Global Container - Sabse Zaruri (Ye center karega) */
.container {
    max-width: 1200px;
    margin: 0 auto;       /* Browser ke dono side se gap banayega */
    padding: 0 5%;        /* Kinaro se safe distance rakhega */
    box-sizing: border-box;
}

/* 2. Hero Section */
.contact-hero {
    background: #1a2a3a;
    color: white;
    padding: 150px 0 80px; /* Header ke niche se start hoga */
    text-align: center;
}
.contact-hero h1 { font-size: 42px; margin-bottom: 15px; }
.contact-hero p { font-size: 19px; color: #E3F2FD; opacity: 0.9; }

/* 3. Main Section Layout */
.contact-main {
    padding: 100px 0;
    background: #ffffff;
    width: 100%;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    gap: 80px; /* Form aur Info ke beech ka gap */
    align-items: flex-start;
}

/* 4. Left Side: Contact Form Box */
.contact-form-box {
    flex: 1.5;
    padding: 20px; /* Form ke andar ki space */
}

.section-header-left h2 { font-size: 32px; color: #2c3e50; }
.underline-left { 
    width: 50px; 
    height: 4px; 
    background: #3498db; 
    margin: 10px 0 35px; 
    transition: 0.4s; 
}
.contact-form-box:hover .underline-left { width: 100px; }

/* Form Elements Styling */
.contact-form { display: flex; flex-direction: column; gap: 25px; }
.form-group { display: flex; gap: 20px; }

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fcfcfc;
    transition: 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #3498db;
    background: #fff;
    outline: none;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    width: fit-content;
    transition: 0.3s;
}
.submit-btn:hover { background: #2c3e50; transform: translateY(-3px); }

/* 5. Right Side: Contact Info Box */
.contact-info-box {
    flex: 1;
    background: #f9f9f9;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 35px; }
.info-item i { 
    font-size: 22px; 
    color: #3498db; 
    margin-top: 5px; 
}
.info-item h4 { font-size: 18px; color: #2c3e50; margin-bottom: 5px; }
.info-item p { color: #666; font-size: 15px; line-height: 1.5; }

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .flex-container { flex-direction: column; gap: 50px; }
    .contact-form-box, .contact-info-box { width: 100%; padding: 0; }
    .form-group { flex-direction: column; }
    .contact-hero h1 { font-size: 32px; }
    .contact-info-box { padding: 40px; }
}



/*contact hero section ends here*/


/*--footer section starts--*/

/* --- FOUNTENA FOOTER STYLING --- */
.fountena-footer {
    background-color: #2c3e50; /* Same as Header */
    color: #ffffff;
    padding: 70px 0 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* desktop par 4 columns ko pakka ek line mein rakhne ke liye */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; /* Gap thoda kam kiya hai taaki jagah ban sake */
    padding: 0 4%;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-box h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    color: #3498db; /* Bright Blue Accent */
}

/* Heading ke niche choti line */
.footer-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.footer-box p {
    line-height: 1.8;
    color: #bdc3c7;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.footer-links li a i {
    font-size: 12px;
    margin-right: 10px;
    color: #3498db;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(8px); /* Hover effect */
}

/* Social Media Icons */
.social-media {
    margin-top: 25px;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: #34495e;
    color: white;
    margin-right: 12px;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}


.social-media a:hover {
    background: #3498db;
    transform: translateY(-5px);
}

/* Contact Details Icons */
.contact-box p i {
    margin-right: 12px;
    color: #3498db;
    width: 20px;
}

/* Copyright Section */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    font-size: 15px;
    color: #bdc3c7;
}

.footer-bottom span {
    color: #ffffff;
    font-weight: 600;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

@media screen and (max-width: 992px) {
    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr); /* Tablet pe 2 columns */
    }
}

@media screen and (max-width: 600px) {
    .footer-wrapper {
        grid-template-columns: 1fr; /* Mobile pe 1 column */
        text-align: center;
    }
    
    .footer-box h3::after {
        left: 50%;
        transform: translateX(-50%); /* Line center mein */
    }

    .footer-links li a {
        justify-content: center;
    }

    .footer-links li a:hover {
        transform: none; /* Mobile pe shift effect band */
    }
}

