* { 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;
    }
}

/*hero section starts */

/* --- ABOUT PAGE CONTENT STYLING --- */

/* Global Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* 1. Hero Section */
.about-hero {
    background: #1a2a3a;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}
.about-hero h1 { 
    font-size: 42px; 
    margin-bottom: 20px; 
    color: #ffffff;
    font-weight: 800;
}
.about-hero p { 
    max-width: 850px; 
    margin: 0 auto; 
    font-size: 20px; 
    line-height: 1.8; 
    color: #F8F9FA; /* Ice White color for readability */
    font-family: 'Poppins', sans-serif;
}

/* 2. Who We Are (Two-Column Layout) */
.about-story { padding: 80px 0; background: #ffffff; }
.flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.story-content { flex: 1; text-align: left; }
.whowe{
    line-height: 1.8;
    font-size: 18px;
    text-align: justify;
}

.story-image { flex: 1; text-align: right; }
.story-image img { 
    width: 100%; 
    max-width: 450px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.section-header-left h2 { font-size: 32px; color: #2c3e50; }
.underline-left { width: 60px; height: 4px; background: #3498db; margin: 10px 0 25px; }
.section-header-left:hover .underline-left {
    width: 100px; /* Line lambi ho jayegi */
    background: #2c3e50; /* Color dark ho jayega */
}

/* 3. Verticals Grid */
.verticals-section { padding: 80px 0; background: #f9f9f9; text-align: center; }
.section-header { margin-bottom: 40px; }
.underline { width: 60px; height: 4px; background: #3498db; margin: 15px auto; }
.verticalspara {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.v-card {
    background: #ffffff; padding: 40px 25px; border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s;
}
.v-card:hover { transform: translateY(-10px); border-bottom: 4px solid #3498db; }
.v-card i { font-size: 45px; color: #3498db; margin-bottom: 20px; }
.v-card h3 { color: #2c3e50; margin-bottom: 12px; }
.v-link {
    display: inline-block;
    color: #3498db; text-decoration: none; font-weight: bold;
    border: 1px solid #3498db; padding: 8px 15px; border-radius: 5px; transition: 0.3s;
}
.v-link:hover { background: #3498db; color: #fff; }

/* 4. Why Choose Us */
.why-choose { padding: 80px 0; background: #ffffff; text-align: center; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px; margin-top: 40px;
}
.f-box { padding: 30px; border: 1px solid #eee; border-radius: 12px; transition: 0.3s; }
.f-box:hover { border-color: #3498db; }

/* 5. Mission & Vision */
.mission-vision-section { padding: 80px 0; background: #f4f7f6; }
.mv-flex { display: flex; gap: 30px; }
.mv-box { flex: 1; padding: 40px; border-radius: 12px; color: #ffffff; }
.mission { background: #2c3e50; border-left: 10px solid #3498db; }
.vision { background: #34495e; border-left: 10px solid #3498db; }

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .flex-container { flex-direction: column; text-align: center; }
    .story-content { text-align: center; }
    .underline-left { margin: 10px auto 25px; }
    .story-image { text-align: center; }
    .mv-flex { flex-direction: column; }
    .about-hero h1 { font-size: 32px; }
    .about-hero { padding-top: 120px; }
}





/* Hero Section Ends*/


/*--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 */
    }
}

