* { 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 { columns: #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;
    }
}


/* --- 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;
    }
}


/* Header Section Ends--*/

/*Hero Slider Sections Starts Here--*/

.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: #000;
    margin-top: 80px;
}


.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth transition */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { opacity: 1; z-index: 1; }

.slide video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Video ko dark karne ke liye */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.3rem; margin-bottom: 30px; }

.hero-btn {
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    z-index: 15;
    font-size: 24px;
}

.prev { left: 15px; }
.next { right: 15px; }
.slider-nav:hover { background: #3498db; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-slider { height: 70vh; }
}


/*hero slider section ends here--*/

/*Our Vertical Section Starts Here*/

/* --- SERVICES SECTION STYLING --- */
.services-container {
    padding: 80px 8%;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Heading ke niche blue line */
.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: #3498db;
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

/* 8 Cards ka Grid Layout */
.services-grid {
    display: grid;
    /* Desktop par 4 cards, Tablet par 2, Mobile par 1 */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.service-card i {
    font-size: 45px;
    color: #3498db;
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-link {
    text-decoration: none;
    color: #3498db;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.service-link:hover {
    border-bottom: 2px solid #3498db;
}

/* --- RESPONSIVE SETTINGS --- */

/* Tablet View (992px se niche) */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* Mobile View (600px se niche) */
@media screen and (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column */
    }
    .services-container {
        padding: 50px 5%;
    }
    .section-title {
        font-size: 28px;
    }
}


/*Our Vertical Section Ends Here*/

/*Company Stats section ends here*/

.about-stats {
    padding: 80px 8%;
    background-color: #2c3e50; /* Dark Theme for Contrast */
    color: white;
    text-align: center;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.stat-box h2 {
    font-size: 45px;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 18px;
    color: #bdc3c7;
}

.why-choose-content .section-title {
    color: white;
    margin-bottom: 40px;
}

.why-choose-content .section-title::after {
    background: #3498db;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
}

.feature i {
    color: #3498db;
}

@media screen and (max-width: 600px) {
    .stat-box h2 { font-size: 35px; }
    .feature { font-size: 16px; }
}


/*Company Stats section ends here*/

/*Contact Section Starts*/

.contact-section { 
    padding: 100px 8%; 
    background-color: #f8f9fa; /* Light clean grey */
}

/* --- 2. GRID CONTAINER (Desktop Space) --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px; /* Big clear space between Map & Form */
    align-items: start;
}

/* --- 3. SEPARATE CARD STYLING --- */
.map-box, .form-box {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.07); /* Smooth premium shadow */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.map-box:hover, .form-box:hover {
    transform: translateY(-5px); /* Subtle hover lift */
}

/* Map specific */
.map-box { 
    min-height: 550px; 
    height: 100%;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Form specific */
.form-box { 
    padding: 50px; 
}

.form-box h3 { 
    font-size: 32px; 
    color: #1a1a1a; 
    margin-bottom: 15px; 
}

.form-box p { 
    color: #666; 
    margin-bottom: 35px; 
    line-height: 1.6;
}

/* --- 4. INPUT CUSTOMIZATION --- */
.form-box input, 
.form-box select, 
.form-box textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 25px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-size: 16px;
    background: #fdfdfd;
    transition: 0.3s;
    outline: none;
}

.form-box input:focus, 
.form-box select:focus, 
.form-box textarea:focus { 
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover { 
    background: #217dbb; 
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

/* --- 5. RESPONSIVE MOBILE FIXES --- */
@media screen and (max-width: 1024px) {
    .contact-section { padding: 60px 5%; }
    .contact-container { gap: 40px; }
}

@media screen and (max-width: 768px) {
    .contact-container { 
        grid-template-columns: 1fr; /* Stacks everything on mobile */
        gap: 35px; /* Vertical space between cards */
    }

    .contact-section { 
        padding: 40px 15px; 
    }

    .map-box { 
        height: 350px; 
        min-height: 350px; 
        order: 2; /* Map appears after form for better conversion */
    }

    .form-box { 
        padding: 35px 25px; 
        order: 1; 
    }

    .form-box h3 { font-size: 26px; }
}
/*Contact 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 */
    }
}
