/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-blue: #1e40af;
    --light-blue: #dbeafe;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation Bar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: var(--light-blue);
}

.dropdown {
    position: relative;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 1;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Banner Redesign - Rising Tide Style */
.hero-banner {
    background: var(--white);
    padding: 20px 0 30px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
    grid-template-areas:
        "top visual"
        "bottom visual";
}

.hero-content-top {
    grid-area: top;
    text-align: left;
    max-width: 500px;
}

.hero-content-bottom {
    grid-area: bottom;
    text-align: left;
    max-width: 500px;
}

.hero-visual-center {
    grid-area: visual;
}


/* Rating Badge */
/* Google Reviews Badge */
.google-review-badge {
    display: inline-flex;
    text-decoration: none;
    background: #5c6f7a;
    /* Dark background similar to image */
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #5c6f7a;
    margin-bottom: 30px;
    margin-top: 30px;
    /* Added spacing from stats */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-review-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.google-badge-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.google-badge-header {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.google-badge-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 13px;
}

.rating-score {
    color: #ffffff;
    font-weight: bold;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #f59e0b;
    /* Golden star color */
    font-size: 12px;
}

.review-count {
    color: #ffffff;
    /* Blue link color similar to Google's */
}

/* .hero-text {
    text-align: left;
    max-width: 500px;
} */

.company-name {
    font-size: 64px;
    font-weight: 800;
    /* Restored bold weight */
    line-height: 1.1;
    margin-bottom: 25px;
    /* Removed Times New Roman */
    color: var(--text-dark);
}

.highlight-text {
    font-style: normal;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
}

.btn-enroll {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    /* Boxy look */
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-enroll:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* New Stats Row */
.hero-stats-new {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    /* Reduced margin */
}

.stat-item-new h3 {
    font-size: 42px;
    /* significantly bigger */
    font-weight: 800;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-item-new p {
    color: var(--text-light);
    font-size: 16px;
}

/* Visual Center - The Graphic Part */
.hero-visual-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px;
}

/* The Big Gradient Circle */
.gradient-circle {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: linear-gradient(135deg, #109cdd 0%, #1285f1 100%);
    /* Orange/Red gradient like reference */
    /* background: linear-gradient(135deg, #2563eb 0%, #10b981 100%); */
    /* Or keep brand colors? Let's go with ref first as requested */
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* The White Box Feature */
.white-box-feature {
    position: relative;
    width: 380px;
    background: #fff;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.spacer {
    flex: 1;
}

.feature-header i {
    font-size: 16px;
    color: #000000;
}

.feature-content h2 {
    /* Removed Times New Roman */
    font-weight: 700;
    /* Added bold to match original style better */
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #111;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.feature-image-container {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
}

.feature-image-container img {
    width: 100%;
    display: block;
}

.feature-card-bottom {
    display: flex;
    gap: 15px;
}

.inner-card {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orange-card {
    background: oklch(52.577% 0.20247 264.82);
    /* Reddish orange */
    color: #fff;
    flex: 2;
}

.dark-card {
    background: #0a97f5;
    color: #fff;
    flex: 1;
    align-items: center;
    text-align: center;
}

.card-label {
    font-size: 14px;
    opacity: 0.9;
}

.card-value {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0;
}

.card-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    width: 100%;
}

.card-progress .fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: #000;
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    width: 140px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.float-card i {
    font-size: 18px;
    margin-bottom: 5px;
}

.float-card span {
    font-size: 12px;
    font-weight: 600;
}

.float-card small {
    font-size: 10px;
    color: #ffffff;
}

.card-left {
    top: 30%;
    left: 0px;
    background: linear-gradient(135deg, #1a77f1 0%, #15a1f3 100%);
}

.card-right {
    top: 30%;
    right: 0px;
    background: linear-gradient(135deg, #1a77f1 0%, #15a1f3 100%);
}

.side-decoration {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: monospace;
    font-size: 12px;
}

.side-decoration .line {
    width: 1px;
    height: 50px;
    background: #333;
}

@media (max-width: 992px) {
    .container {
        overflow-x: hidden;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        /* Reduced from 60px */
        text-align: center;
        grid-template-areas:
            "top"
            "visual"
            "bottom";
    }

    .hero-content-top,
    .hero-content-bottom {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .enroll-button-wrapper {
        justify-content: center !important;
    }

    .hero-stats-new {
        justify-content: center;
        flex-wrap: wrap;
        /* Ensure they don't overflow */
        margin-top: 20px;
        /* Reduced margin */
        gap: 30px;
        /* Adjust gap between stats */
    }

    /* Ensure badge is centered on mobile */
    .google-review-badge {
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
        /* Reduced from 30px */
    }

    .rating-badge {
        margin: 0 auto 30px;
    }

    .hero-visual-center {
        height: auto;
        padding: 50px 0;
    }

    .gradient-circle {
        width: 350px;
        height: 350px;
    }

    .white-box-feature {
        width: 300px;
    }

    .card-left {
        left: -10px;
        top: 10%;
    }

    .card-right {
        right: -10px;
        top: 10%;
    }
}

/* ============================================
   ACHIEVEMENT BADGES SECTION
   ============================================ */
.achievement-badges-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.achievement-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.achievement-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.badge-number {
    font-size: 48px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.achievement-badge p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    color: var(--white);
}

.enroll-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.btn-enroll {
    background: var(--white);
    color: #0991eb;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    display: inline-block;
}

.btn-enroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
    padding: 40px 0;
    background-color: var(--white);
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-top: -30px;
    margin-bottom: 50px;
    line-height: 1.5;
}

.services-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.carousel-arrow:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.services-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.service-card-large {
    flex: 0 0 calc(50% - 20px);
    min-width: 500px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s ease;
    scroll-snap-align: start;
    position: relative;
}

.service-card-large:not(.active) {
    filter: blur(4px);
    opacity: 0.5;
    transform: scale(0.95);
}

.service-card-large.active {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.service-icon-large i {
    font-size: 50px;
    color: var(--white);
}

.service-card-large h3 {
    font-size: 32px;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-item {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.service-item:hover {
    background: var(--light-blue);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.service-item i {
    color: var(--secondary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.service-item span {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Popular Courses Section */
.popular-courses {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.courses-slider {
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.course-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.course-icon i {
    font-size: 36px;
    color: var(--white);
}

.course-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.course-card p {
    color: var(--text-light);
    font-size: 14px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.slider-btn.prev {
    left: -20px;
}

.slider-btn.next {
    right: -20px;
}

/* Offers Section */
.offers-section {
    padding: 80px 0;
    background: var(--white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.offer-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.offer-content {
    padding: 25px;
}

.offer-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.offer-content p {
    color: var(--text-light);
}

/* Explore Courses Section */
.explore-courses {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.course-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-header h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-header p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.course-list {
    list-style: none;
    margin-bottom: 30px;
}

.course-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-dark);
}

.course-list li:before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

.btn-explore {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 36px;
    color: var(--primary-color);
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

/* Form Styles */
.form-modal {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.success-message {
    text-align: center;
    color: var(--secondary-color);
}

.success-message i {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Fixed Action Buttons */
.fixed-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1500;
}

.whatsapp-btn,
.chatbot-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-btn {
    background: #25d366;
    text-decoration: none;
}

.chatbot-btn {
    background: var(--gradient-primary);
}

.whatsapp-btn:hover,
.chatbot-btn:hover {
    transform: scale(1.1);
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 1500;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbot-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bot-message,
.user-message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
}

.bot-message {
    background: var(--light-blue);
    align-self: flex-start;
}

.user-message {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
}

.chatbot-input button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
}

/* Responsive Design */
@media (max-width: 890px) {
    .mobile-menu-icon {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        margin: 10px 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 15px;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 10px;
        border-radius: 8px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero-banner {
        padding: 40px 0 30px;
        min-height: 400px;
    }

    .company-name {
        font-size: 28px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .carousel-text-wrapper {
        min-height: 45px;
        margin-bottom: 15px;
    }

    .carousel-text {
        font-size: 18px;
        line-height: 1.3;
    }

    .achievement-badge {
        padding: 15px 20px;
        margin: 15px 0;
    }

    .badge-number {
        font-size: 36px;
        margin-bottom: 5px;
    }

    .achievement-badge p {
        font-size: 13px;
        line-height: 1.3;
    }

    .btn-enroll {
        padding: 10px 25px;
        font-size: 16px;
        margin-top: 10px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-top: -20px;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .services-section {
        padding: 50px 0;
    }

    .services-carousel {
        padding: 0 50px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-arrow-left {
        left: 5px;
    }

    .carousel-arrow-right {
        right: 5px;
    }

    .services-track {
        gap: 30px;
        padding: 20px 5px 40px;
    }

    .service-card-large {
        min-width: 85vw;
        padding: 0;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
    }

    .service-icon-large i {
        font-size: 40px;
    }

    .service-card-large h3 {
        font-size: 24px;
    }

    .service-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-item {
        padding: 12px 15px;
    }

    .service-item span {
        font-size: 14px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 30px 25px;
    }

    .course-card h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .course-card p {
        font-size: 13px;
        line-height: 1.4;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-categories {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-card {
        padding: 30px 25px;
    }

    .category-header h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .category-header p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .course-list li {
        padding: 10px 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .chatbot-container {
        width: 90%;
        right: 5%;
    }

    .fixed-actions {
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-btn,
    .chatbot-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

.whatsapp-btn-wrapper {
    position: relative;
    display: inline-block;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.6);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
        transform: scale(1);
    }
}


/* Footer Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background-color: #1f2933;
    /* dark footer tone */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #00bfa6;
    /* Mindtree accent color */
    transform: translateY(-4px);
}

/* Individual brand hover colors (optional but professional) */
.social-icons a:hover .fa-instagram {
    color: #e4405f;
}

.social-icons a:hover .fa-facebook-f {
    color: #1877f2;
}

.social-icons a:hover .fa-youtube {
    color: #ff0000;
}

.social-icons a:hover .fa-linkedin-in {
    color: #0a66c2;
}

@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.8;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    font-size: 32px;
    color: var(--white);
    background: rgba(37, 99, 235, 0.8);
    padding: 15px;
    border-radius: 50%;
}

.video-item {
    border: 2px solid var(--light-blue);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 18px;
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 95%;
    }
}