html {
    scroll-behavior: smooth;
}

:root {
    --accent: #ff8c00;
    --white: #ffffff;
    --text-dark: #1d1d1f; 
    --glass: rgba(0, 0, 0, 0.03);
    --border: rgba(0, 0, 0, 0.1);
    /* CSS 2 Colors */
    --primary-gradient: linear-gradient(135deg, #1a1a1a, #434343);
    --accent-color-css2: #27ae60;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background: var(--white);
    color: var(--text-dark);
}
/* --- NAVBAR UPDATED --- */
.navbar {
    background: var(--primary-gradient);
    position: static;
    top: 0;
    z-index: 1100;
    width: 100%;
}

.nav-top {
    display: flex;
    justify-content: center; /* Desktop par logo center rahega */
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.logo {
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px 10px;
}

/* --- Hamburger Menu (Mobile Only) --- */
.hamburger-menu {
    display: none; /* Desktop par hide */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    left: 5%;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s;
}

/* --- Desktop Nav Links --- */
.nav-links {
    display: flex;
    list-style: none;
    background: rgba(0,0,0,0.10);
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    margin: 10;
    transition: 0.4s ease;
}

.nav-links li { margin: 0 1px; }

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 18px;
    margin: 0 10px;
    transition: 0.3s;
    display: block;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--accent-color-css2);
    color: white !important;
    border-radius: 5px;
}

.sidebar-header { display: none; } /* Mobile Only */

/* --- Mobile Styling (Responsive) --- */
@media (max-width: 900px) {
    .hamburger-menu { display: flex; } /* Show Hamburger */

    .logo { font-size: 1.4rem; padding-left: 40px; } /* Adjust logo size */

    .nav-links {
    position: fixed;
    left: -260px;
    top: -40px;
    width: 200px;
    height: 100vh;
    background: #111;
    flex-direction: column;
    padding-top: 80px;
    z-index: 1200;
    transition: left 0.4s ease;
}
    .nav-links.active { left: 0;  } /* Show Sidebar */

    .nav-links li { width: 100%; margin: -25px 0 45px 0; }

    .sidebar-header {
        display: block;
        position: absolute;
        top: 60px;
        right: 20px;
    }

    #closeMenu {
        color: white;
        font-size: 3rem;
        cursor: pointer;
        line-height: 1;
    }

    /* Background Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 1150;
    }
    .menu-overlay.active { display: block; }
}

/* Welcome Section Styling */
.welcome-section {
    padding: 80px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.welcome-container {
    max-width: 1000px;
    background: #fdfdfd;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid #333;
}

.main-heading {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.2;
}

.main-heading span {
    color: #a78a8a;
    display: block;
}

.sub-heading {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.description strong {
    color: #000;
    font-weight: 700;
}

.highlight-courses {
    background: #fff3f3;
    padding: 2px 5px;
    border-bottom: 2px solid #a78a8a;
    font-weight: 600;
}

/* Buttons Area */
.cta-area {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #333;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary {
    border: 2px solid #333;
    color: #333;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #555;
}

.btn-secondary:hover {
    background: #333;
    color: #fff;
}


/* Hero Section Updated */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('Students Image.JPG');
    background-size: cover;
    background-position: center center; /* Image hamesha center mein rahegi */
    background-repeat: no-repeat;
    height: 100vh;
    display: flex; /* Display block ki jagah flex karein center karne ke liye */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Mobile par height thodi kam takki image zyada na khiche */
        background-attachment: scroll; /* Mobile browsers par fixed background issue karta hai */
    }

    .hero h1 {
        font-size: 2rem; /* Mobile par font chota karein */
    }

    .hero p {
        font-size: 1rem;
    }
}

.cta-btn {
    background-color: #a78a8a;
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #ffffff;
}

/* Slider Wrapper */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #f4f4f9;
    padding: 40px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slide-item {
    width: 100vw;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.slide-item img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 5px solid white;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10;
}

.prev-btn:hover, .next-btn:hover {
    background: #a78a8a;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.dots-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid rgba(0,0,0,0.1);
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}


/* Services Section */
.services {
    padding: 80px 20px;
    text-align: center;
    background-color: #f4f4f9;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.service-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.service-item h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}

.service-item p {
    margin-top: 10px;
    color: #666;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: linear-gradient(0deg, #959a95, #000000);
    color: white;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 50px;
    color: #fff9f9;
}

/* Team Section */
.team {
    padding: 80px 20px;
    background-color: #f4f4f9;
    text-align: center;
}

.team h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.team-member {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.5rem;
}

.team-member p {
    color: #666;
}

/* Contact Section */
.contact {
    background: linear-gradient(0deg, #959a95, #000000);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact input,
.contact textarea {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact button {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-color: #999898;
    color: rgb(0, 0, 0);
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease-in;
}
.contact button a 
{
    text-decoration: none;
    color: rgb(19, 16, 16);
}

.contact button:hover {
    background-color: #f1e6e6;
}

/* Certification Section */
.certification-section {
    width: 100%;
    overflow: hidden;
    background: #f9f9f9;
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
}

.certification-section .container {
    display: flex;
    width: max-content;
    animation: cert-marquee 20s linear infinite reverse;
}

.cert-item {
    display: flex;
    align-items: center;
    margin-right: 100px;
    flex-shrink: 0;
}

.cert-item img {
    height: 200px;
    width: auto;
}

@keyframes cert-marquee {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.certification-section:hover .container {
    animation-play-state: paused;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0 10px ;
}

.footer-container {
    display: flex;
    justify-content: center;
    
}

.footer-container a {
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 35px;
    transition: 1s;
}

.footer-container a:hover {
    color: #00a94c;
    transition: 0.7s;
}


    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .team-container {
        flex-direction: column;
        align-items: center;
    }

/* Floating Highlighted Buttons - No Green Line */
.floating-contact-container {
    position: fixed;
    bottom: 5px; /* Neeche se thoda upar */
    left: 10px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    pointer-events: none; /* Taki peeche ke content pe click ho sake */
}

.float-btn {
    pointer-events: auto; /* Buttons pe click active rahega */
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Call Button Styling */
.call-float {
    background: #333; /* Dark grey background for text */
    color: white;
    padding: 5px 10px 5px 5px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.call-float .icon-box {
    background: #008000; /* Sirf logo ka background green */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 2px solid white;
}

.call-float .btn-text {
    margin-left: 10px;
    font-weight: bold;
    font-size: 14px;
}

/* Center Tag Styling */
.center-brand-tag {
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    pointer-events: auto;
}

/* WhatsApp Button Styling */
.wa-float {
    background: #25d366; /* WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    border: 3px solid white;
    position: relative;
}

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 50%;
    font-weight: bold;
    border: 2px solid white;
}


/* --- RESPONSIVE FIXES --- YE wala code container ka hai fix karke yaha likha hai */ 

/* 1. Computer/Desktop Layout (Side-by-Side) */
@media (min-width: 901px) {
    .service-container, .team-container {
        flex-direction: row !important; /* Cards ko line mein laane ke liye */
        display: flex;
        justify-content: center;
    }
    
}


/* --- MOBILE IMAGE FIX START add on 28/jan/2026 --- */
@media (max-width: 768px) {
    .hero {
        /* Height ko auto karne se image ki width 100% fit ho jayegi aur sides nahi katengi */
        height: auto !important; 
        min-height: 300px; 
        padding: 100px 15px !important; /* Text ke upar-niche padding taki image stretched na lage */
        
        /* Image Settings */
        background-size: 100% 100% !important; /* Yeh image ko width aur height dono mein fit kar dega */
        background-position: center center !important;
        background-attachment: scroll !important; /* Mobile hang na ho isliye scroll rakhein */
    }

    .hero h1 {
        font-size: 1.6rem !important; /* Mobile par heading choti */
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
}
/* --- MOBILE IMAGE FIX END --- */