
        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            background-color: #f5f5f5;
            overflow-x: hidden;
        }
        
        /* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    @media (max-width: 768px) {
    .dropdown-content {
        position: relative;
    }
}

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger div {
        background-color: black; /* Ensure visibility */
    }
}

        

        /* Navigation */
        nav {
            /* background: linear-gradient(135deg, #6e8efb, #a777e3); */
            background-color: white;
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

                 .logo img {
            height: 70px;
            width:200px;
            transition: all 0.3s ease;
        }

        .logo:hover img {
            transform: scale(1.05);
        }
  
        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 2rem;
        }

        .nav-links a {
            color: black;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: #ffeb3b;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: #ffeb3b;
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
        }

        .hamburger div {
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 5px;
            transition: all 0.3s ease;
        }




        /* Carousel Container */
        .carousel-container {
            margin-top: 65px;
            width: 100%;
            height: 600px;
            /* max-width: 1200px; */
            /* margin: 6rem auto 2rem; */
            position: relative;
            overflow: hidden;
            /*border-radius: 10px;*/
            /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
        }


/* For tablets and smaller laptops */
@media (max-width: 1024px) {
    .carousel-container {
        height: 450px !important; /* Reduce height */
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .carousel-container {
        height: 400px !important; /* Smaller height for mobile */
        border-radius: 5px; /* Smaller border radius */
    }
}

/* For very small mobile devices */
@media (max-width: 480px) {
    .carousel-container {
        height: 400px !important;
        margin-top: 70px !important;
    }
}



        /* Carousel */
        .carousel {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 100%;
        }

        .carousel-slide {
            min-width: 100%;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .slide-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            background: rgba(0, 0, 0, 0.4);
            padding: 2rem;
            text-align: center;
        }

        .slide-content h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
            animation: fadeInDown 1s ease;
        }

        .slide-content p {
            font-size: 1.2rem;
            max-width: 800px;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease;
        }

        .btn {
            padding: 0.8rem 2rem;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            animation: fadeIn 1.5s ease;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* Carousel Controls */
        .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.3);
            color: white;
            border: none;
            padding: 1rem;
            cursor: pointer;
            font-size: 1.5rem;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: 10;
            backdrop-filter: blur(5px);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-control:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        #prevBtn {
            left: 20px;
        }

        #nextBtn {
            right: 20px;
        }

        /* Carousel Indicators */
        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 10;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator.active {
            background: white;
            transform: scale(1.2);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Section Styles */
        section {
            /* padding: 4rem 2rem; */
            max-width: 1200px;
            margin: 0 auto;
        }

        section h2 {
            text-align: center;
            margin-bottom: 2rem;
            font-size: 2.5rem;
            color: #333;
        }

        /* Service Section Styles */
        .service-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
        }

        .service-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 80px;
            gap: 40px;
            justify-content: space-between;
        }

        .service-row.reverse {
            flex-direction: row-reverse;
        }

        .service-text, 
        .service-img {
            flex: 1;
            min-width: 300px;
        }

        .service-text {
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            
        }

        .service-text h2 {
            font-size: 32px;
            margin-bottom: 25px;
            color: #2c3e50;
            position: relative;
            padding-bottom: 10px;
            display: inline-block; /* Only wrap around text */
        }

        .service-text h2::after {
            content: '';
            position: absolute;
             left: 50%; /* Center horizontally */
    bottom: -10px; /* Slightly below text */
            width: 60px;
            height: 3px;
            background: #3498db;
        }

        .service-text p {
            font-size: 17px;
            line-height: 1.7;
            color: #555;
            margin-bottom: 20px;
        }

        .service-text ul {
            margin: 20px 0;
            padding-left: 25px;
        }

        .service-text li {
            margin-bottom: 10px;
            line-height: 1.6;
            position: relative;
            list-style-type: none;
            padding-left: 25px;
        }

        .service-text li::before {
            content: '✓';
            color: #3498db;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        .service-img img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .service-img img:hover {
            transform: scale(1.02);
        }

        /* Animation Classes */
        .animate-left {
            opacity: 0;
            transform: translateX(-50px);
            animation: slideInLeft 0.8s ease-out forwards;
            animation-delay: 0.2s;
        }

        .animate-right {
            opacity: 0;
            transform: translateX(50px);
            animation: slideInRight 0.8s ease-out forwards;
            animation-delay: 0.2s;
        }

        @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .service-row, 
            .service-row.reverse {
                flex-direction: column;
            }
            
            .service-text, 
            .service-img {
                min-width: 100%;
            }
            
            .service-text {
                padding: 25px;
                margin-top: 20px;
            }

            .service-text h2 {
                font-size: 28px;
            }
        }

        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h2 {
            font-size: 36px;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        .section-header p {
            color: #7f8c8d;
            max-width: 700px;
            margin: 0 auto;
        }

         /* Service Section Styles */
        #service-section {
            max-width: 1200px;
            margin: 0 auto;
            /* padding: 60px 20px; */
        }

        #service-section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        #service-section-header h2 {
            font-size: 36px;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        #service-section-header p {
            color: #7f8c8d;
            max-width: 700px;
            margin: 0 auto;
        }

        .service-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 80px;
            gap: 40px;
            justify-content: space-between;
        }

        #row-1, #row-3 {
            flex-direction: row;
        }

        #row-2 {
            flex-direction: row-reverse;
        }

        #text-1, #text-2, #text-3, 
        #img-1, #img-2, #img-3 {
            flex: 1;
            min-width: 300px;
        }

        #text-1, #text-2, #text-3 {
            padding: 30px;
            background: white;
            border-radius: 10px;
            /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
        }

        #text-1 h2, #text-2 h2, #text-3 h2 {
            font-size: 32px;
            margin-bottom: 25px;
            color: #2c3e50;
            position: relative;
            padding-bottom: 10px;
        }

        #text-1 h2::after, #text-2 h2::after, #text-3 h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background: #3498db;
        }

        #text-1 p, #text-2 p, #text-3 p {
            font-size: 17px;
            line-height: 1.7;
            color: #555;
            margin-bottom: 20px;
        }

        #text-3 ul {
            margin: 20px 0;
            padding-left: 25px;
        }

        #text-3 li {
            margin-bottom: 10px;
            line-height: 1.6;
            position: relative;
            list-style-type: none;
            padding-left: 25px;
        }

        #text-3 li::before {
            content: '✓';
            color: #3498db;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

        #img-1 img, #img-2 img, #img-3 img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        #img-1 img:hover, #img-2 img:hover, #img-3 img:hover {
            transform: scale(1.02);
        }

        /* Animation Classes */
        .animate-left {
            opacity: 0;
            transform: translateX(-50px);
            animation: slideInLeft 0.8s ease-out forwards;
            animation-delay: 0.2s;
        }

        .animate-right {
            opacity: 0;
            transform: translateX(50px);
            animation: slideInRight 0.8s ease-out forwards;
            animation-delay: 0.2s;
        }

        @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            #row-1, #row-2, #row-3 {
                flex-direction: column;
            }
            
            #text-1, #text-2, #text-3, 
            #img-1, #img-2, #img-3 {
                min-width: 100%;
            }
            
            #text-1, #text-2, #text-3 {
                padding: 25px;
                margin-top: 20px;
            }

            #text-1 h2, #text-2 h2, #text-3 h2 {
                font-size: 28px;
            }
        }
        /* Responsive Styles */
        @media (max-width: 992px) {
            .carousel {
                height: 400px;
            }

            .slide-content h2 {
                font-size: 2.5rem;
            }

            .slide-content p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: absolute;
                right: 0;
                top: 70px;
                background: linear-gradient(135deg, #6e8efb, #a777e3);
                width: 100%;
                flex-direction: column;
                align-items: center;
                padding: 1rem 0;
                clip-path: circle(0px at 90% -10%);
                transition: all 0.5s ease-out;
            }

            .nav-links.active {
                clip-path: circle(1000px at 90% -10%);
            }

            .nav-links li {
                margin: 1rem 0;
            }

            .hamburger {
                display: block;
            }

            .hamburger.active div:nth-child(1) {
                transform: rotate(-45deg) translate(-5px, 6px);
            }

            .hamburger.active div:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active div:nth-child(3) {
                transform: rotate(45deg) translate(-5px, -6px);
            }

            .carousel {
                height: 350px;
            }

            .slide-content h2 {
                font-size: 2rem;
            }

            .slide-content p {
                font-size: 1rem;
            }

            .btn {
                padding: 0.6rem 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .carousel {
                height: 300px;
            }

            .slide-content h2 {
                font-size: 1.8rem;
            }

            .carousel-control {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            section {
                /*padding: 3rem 1rem;*/
            }

            section h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 400px) {
            .carousel {
                height: 250px;
            }

            .slide-content h2 {
                font-size: 1.5rem;
            }

            .slide-content p {
                font-size: 0.9rem;
            }
        }

@media (max-width: 480px) {
    .carousel-container { /* Carousel wrapper class name change pannunga */
        margin-bottom: 0 !important; /* Extra gap remove */
        padding-bottom: 0!important;
        height: auto !important; /* Fixed height avoid pannum */
    }


    /* Bottom social icons overlap avoid */
    .social-icons {
        bottom: 5% !important; 
    }
}

@media (max-width: 400px) {
    .carousel-container { /* Carousel wrapper class name change pannunga */
        margin-bottom: 0 !important; /* Extra gap remove */
        padding-bottom: 0!important;
        height: auto !important; /* Fixed height avoid pannum */
    }


    /* Bottom social icons overlap avoid */
    .social-icons {
        bottom: 5% !important; 
    }
}


@media (max-width: 480px) {
    /* Popular Courses section adjust */
    .popular-courses-section { /* actual section class name use pannunga */
        padding-top: 20px !important; /* Top space reduce */
        padding-bottom: 20px !important; /* Bottom space reduce */
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .popular-courses-section h2 { /* Heading spacing adjust */
        margin-top: 10px !important;
        margin-bottom: 5px !important;
    }

    .popular-courses-section p { /* Subtitle spacing adjust */
        margin-bottom: 15px !important;
    }
}

@media (max-width: 400px) {
    /* Popular Courses section adjust */
    .courses-section { /* actual section class name use pannunga */
        padding-top: 20px !important; /* Top space reduce */
        padding-bottom: 20px !important; /* Bottom space reduce */
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .courses-section h2 { /* Heading spacing adjust */
        margin-top: 10px !important;
        margin-bottom: 5px !important;
    }

    .courses-section p { /* Subtitle spacing adjust */
        margin-bottom: 15px !important;
    }
}


/* Realme 11 Pro 5G specific screen size */
@media only screen 
  and (min-device-width: 360px) 
  and (max-device-width: 412px) 
  and (min-device-height: 800px) 
  and (max-device-height: 950px) 
  and (-webkit-device-pixel-ratio: 3) {

    .courses-section {
        padding-top: 15px !important; /* Top gap reduce */
        padding-bottom: 15px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .courses-section .section-title h2 {
        margin-top: 8px !important;
        margin-bottom: 5px !important;
    }

    .courses-section .section-title p {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}




        /* service */
        .service-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 30px;
  flex-wrap: wrap;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
  min-width: 300px;
}

.service-text h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.service-text p, .service-text ul {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.service-text ul {
  padding-left: 20px;
}

.service-img {
  flex: 1;
  min-width: 300px;
}

.service-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Animation Classes */
.animate-right {
  opacity: 0;
  transform: translateX(150px);
  animation: slideRight 1.5s ease-out forwards;
}

.animate-left {
  opacity: 0;
  transform: translateX(-150px);
  animation: slideLeft 1.5s ease-out forwards;
}

@keyframes slideRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animation setup */
.animate-left {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideLeft 1.2s ease-out forwards;
}

.animate-right {
  opacity: 0;
  transform: translateX(100px);
  animation: slideRight 1.2s ease-out forwards;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Optional: Animation delay if needed */
.animate-left, .animate-right {
  animation-delay: 0.1s;
}

/* Responsive list spacing */
ul {
  padding-left: 20px;
  margin-top: 10px;
}

ul li {
  margin-bottom: 5px;
  color: #333;
}

/* course */
        /* Section Container */
        .courses-section {
            padding: 4rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            bottom: -10px;
            left: 25%;
        }

        .section-title p {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Courses Grid */
        .courses-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .course-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .course-img {
            height: 160px;
            overflow: hidden;
        }

        .course-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .course-card:hover .course-img img {
            transform: scale(1.1);
        }

        .course-content {
            padding: 1.5rem;
        }

        .course-content h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }

        .course-content p {
            color: #7f8c8d;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .course-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .course-price {
            font-weight: bold;
            color: #6e8efb;
            font-size: 1.1rem;
        }

        .course-rating {
            color: #f39c12;
            font-size: 0.9rem;
        }

        .enroll-btn {
            display: inline-block;
            padding: 0.6rem 1.2rem;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            color: white;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            margin-top: 1rem;
            border: none;
            cursor: pointer;
            width: 100%;
            text-align: center;
        }

        .enroll-btn:hover {
            background: linear-gradient(135deg, #5a7df4, #9665d8);
            box-shadow: 0 5px 15px rgba(106, 142, 251, 0.4);
        }

        /* Responsive Grid */
        @media (max-width: 992px) {
            .courses-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .courses-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .courses-grid {
                grid-template-columns: 1fr;
            }
            
            .course-img {
                height: 200px;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .section-title p {
                font-size: 1rem;
            }
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .course-card {
            animation: fadeInUp 0.5s ease forwards;
            opacity: 0;
        }

        .course-card:nth-child(1) { animation-delay: 0.1s; }
        .course-card:nth-child(2) { animation-delay: 0.2s; }
        .course-card:nth-child(3) { animation-delay: 0.3s; }
        .course-card:nth-child(4) { animation-delay: 0.4s; }
        .course-card:nth-child(5) { animation-delay: 0.5s; }
        .course-card:nth-child(6) { animation-delay: 0.6s; }
        .course-card:nth-child(7) { animation-delay: 0.7s; }
        .course-card:nth-child(8) { animation-delay: 0.8s; }
        .course-card:nth-child(9) { animation-delay: 0.9s; }
        .course-card:nth-child(10) { animation-delay: 1s; }
        .course-card:nth-child(11) { animation-delay: 1.1s; }
        .course-card:nth-child(12) { animation-delay: 1.2s; }

        /* course-end */

        /* Gallery--->Start */
                /* Gallery Section */
       .gallery {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .gallery-item {
            width: calc(25% - 20px);
            box-sizing: border-box;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .gallery-item img:hover {
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .gallery-item {
                width: calc(50% - 20px);
            }
        }

        @media (max-width: 480px) {
            .gallery-item {
                width: 100%;
            }
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            bottom: -10px;
            left: 25%;
        }

        .section-title p {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Gallery Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
        }

        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            aspect-ratio: 1 / 1;
            transition: all 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: white;
            padding: 1rem;
            text-align: center;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .gallery-overlay p {
            font-size: 0.9rem;
            transform: translateY(20px);
            transition: transform 0.3s ease 0.1s;
        }

        .gallery-item:hover .gallery-overlay h3,
        .gallery-item:hover .gallery-overlay p {
            transform: translateY(0);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .gallery-item {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }

        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.2s; }
        .gallery-item:nth-child(3) { animation-delay: 0.3s; }
        .gallery-item:nth-child(4) { animation-delay: 0.4s; }
        .gallery-item:nth-child(5) { animation-delay: 0.5s; }
        .gallery-item:nth-child(6) { animation-delay: 0.6s; }
        .gallery-item:nth-child(7) { animation-delay: 0.7s; }
        .gallery-item:nth-child(8) { animation-delay: 0.8s; }

        /* Responsive Grid */
        @media (max-width: 992px) {
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .section-title p {
                font-size: 1rem;
            }
            
            .gallery-item {
                aspect-ratio: 16/9;
            }
        }
        
        
        /*social media*/
          /* For larger screens - show all icons */
    @media (min-width: 768px) {
        .social-icons {
            flex-direction: row;
            bottom: 30px;
            right: 30px;
        }
        
        .social-icons a {
            width: 45px;
            height: 45px;
        }
    }
    
    /* For very small screens */
    @media (max-width: 400px) {
        .social-icons {
            bottom: 15px;
            right: 15px;
        }
        
        .social-icons a {
            width: 36px;
            height: 36px;
        }
    }
        
        
        

        /* Gallery-->end */


        /* About--> start */
        /* General Styles */
.about-section, .mission-vision-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    margin-bottom: 30px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: #3498db;
    bottom: -10px;
    left: 0;
}

.about-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-img:hover {
    transform: translateY(-10px);
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* What We Offer Section */
.bg-light {
    background-color: #f8f9fa !important;
}

.feature-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2d3e50;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #7b8ca0;
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
}

.section-subtitle::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #5bc6ff, #9b59b6);
  margin: 8px auto 0;
  border-radius: 4px;
}

.features-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.academy-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: 0.4s;
  text-align: center;
}

.academy-card .icon {
  font-size: 30px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.academy-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2c3e50;
  transition: 0.3s;
}

.academy-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  transition: 0.3s;
}

/* Unique Hover Gradient Styles */
#card1:hover {
  background: linear-gradient(to right, #4facfe, #00f2fe);
}
#card2:hover {
  background: linear-gradient(to right, #f093fb, #f5576c);
}
#card3:hover {
  background: linear-gradient(to right, #43e97b, #38f9d7);
}
#card4:hover {
  background: linear-gradient(to right, #667eea, #764ba2);
}
#card5:hover {
  background: linear-gradient(to right, #f7971e, #ffd200);
}
#card6:hover {
  background: linear-gradient(to right, #30cfd0, #330867);
}

/* Hover Text/Icon to White */
#card1:hover .icon,
#card2:hover .icon,
#card3:hover .icon,
#card4:hover .icon,
#card5:hover .icon,
#card6:hover .icon,
#card1:hover h4,
#card2:hover h4,
#card3:hover h4,
#card4:hover h4,
#card5:hover h4,
#card6:hover h4,
#card1:hover p,
#card2:hover p,
#card3:hover p,
#card4:hover p,
#card5:hover p,
#card6:hover p {
  color: white;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  .section-subtitle {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* Mission & Vision Section */
.mv-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    opacity: 0;
}

.mv-card:nth-child(1) {
    animation: slideInLeft 0.6s ease 0.4s forwards;
}

.mv-card:nth-child(2) {
    animation: slideInRight 0.6s ease 0.6s forwards;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mv-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.mv-card p {
    color: #7f8c8d;
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .mv-card {
        padding: 25px;
    }
}

@media (max-width: 991.98px) {
    .about-section, .mission-vision-section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .mv-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mv-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .about-section, .mission-vision-section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-img {
        margin-bottom: 30px;
    }
    
    .feature-card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .list-group-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title h2::after {
        width: 50px;
        height: 2px;
        bottom: -8px;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .mv-card h3 {
        font-size: 1.5rem;
    }
    
    .mv-card p {
        font-size: 0.9rem;
    }
}

/* Delay animations for feature cards */
.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.footer {
  font-size: 15px;
  line-height: 1.7;
}

.footer h5 {
  font-weight: 600;
  color: #fff;
}

.footer a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.footer i {
  color: #0d6efd;
}

/* ===== Footer Styles ===== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
  color: #ffffff;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=10') center/cover;
  opacity: 0.05;
  z-index: 0;
}

.footer-content a {
  pointer-events: auto;
  z-index: 2;
  position: relative;
}

/* Make links clickable in footer */
.footer-content a,
.footer-content a i,
.footer-content .d-flex a {
  pointer-events: auto !important;
  z-index: 5;
  position: relative;
  color: #ffffff; /* or any visible color */
  text-decoration: none;
}


.footer-content {
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.footer-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: #3498db;
  bottom: -10px;
  left: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #3498db;
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #bdc3c7;
}

.footer-contact i {
  margin-right: 12px;
  color: #3498db;
  font-size: 1.2rem;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: #3498db;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  text-align: center;
  color: #bdc3c7;
  font-size: 0.9rem;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
  .footer {
    padding: 50px 0 25px;
  }
  
  .footer-col {
    margin-bottom: 30px;
  }
  
  .footer-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .footer-title::after {
    width: 40px;
    height: 2px;
    bottom: -8px;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .footer {
    text-align: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-links a:hover {
    transform: none;
  }
}

/* Animation delays for footer links */
.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.footer-links li:nth-child(4) { animation-delay: 0.4s; }
.footer-links li:nth-child(5) { animation-delay: 0.5s; }



.whatsapp { background-color: #25d366; }
.instagram { background-color: #E1306C; }
.youtube { background-color: #FF0000; }
.linkedin { background-color: #0077b5; }
.threads { background-color: black; }
.twitter { background-color: #1DA1F2; }

/* Responsive safe - icons will always be visible */
.social-icons {
    position: fixed;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    padding: 5px;
    z-index: 9999;
    gap: 10px;
}

.social-icons a {
    margin: 5px 0;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ✅ Responsive: Move icons slightly for smaller screens */
@media (max-width: 768px) {
    .social-icons {
        top: auto;
        bottom: 20%;
        right: 10px;
        transform: none;
    }

    .social-icons img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        position: fixed; /* Ensure it's fixed if floating over content */
        bottom: 10%;       /* You can adjust this */
        right: 15px;       /* Increased from 5px for better spacing */
        z-index: 9999;     /* Ensure it appears above other content */
    }

    .social-icons img {
        width: 30px;
        height: 30px;
        margin: 5px 0;     /* Adds space between stacked icons */
    }
}

@media (max-width: 480px) {
    .social-icons {
        display: flex;
        flex-direction: column;
        align-items: flex-end; /* Align right */
    }
}


       
        /* ===== Section Styles ===== */
        .about-section,
        .mission-vision-section {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .bg-light {
            background-color: var(--light-color) !important;
        }

        /* ===== Typography ===== */
        .section-title {
            margin-bottom: 40px;
            position: relative;
            text-align: center;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--secondary-color);
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--primary-color);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* ===== About Image ===== */
        .about-img {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform: perspective(1000px) rotateY(0deg);
        }

        .about-img:hover {
            transform: perspective(1000px) rotateY(5deg) translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }

        .about-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(46, 204, 113, 0.2) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 1;
        }

        .about-img:hover::before {
            opacity: 1;
        }

        .about-img img {
            width: 100%;
            height: auto;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .about-img:hover img {
            transform: scale(1.08);
        }

        /* ===== Feature Cards ===== */
        .feature-card {
            background: var(--white);
            padding: 35px 25px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            text-align: center;
            height: 100%;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            transform: translateY(0);
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .feature-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
            border-color: rgba(52, 152, 219, 0.3);
        }

        .feature-icon {
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 25px;
            transition: all 0.4s ease;
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1);
            color: var(--accent-color);
        }

        .feature-card h4 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--secondary-color);
            font-weight: 600;
        }

        .feature-card p {
            color: var(--text-color);
            font-size: 1rem;
        }

        /* ===== Why Choose Us Card ===== */
        .why-choose-card {
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.4s ease;
            opacity: 0;
            animation: fadeIn 0.8s ease 0.3s forwards;
            border: none;
            background: linear-gradient(135deg, var(--white) 0%, #f5f7fa 100%);
        }

        .why-choose-card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
        }

        .list-group-item {
            padding: 16px 25px;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            background: transparent;
            border-left: 0;
            border-right: 0;
        }

        .list-group-item:first-child {
            border-top: 0 !important;
        }

        .list-group-item:last-child {
            border-bottom: 0 !important;
        }

        .list-group-item:hover {
            background-color: rgba(52, 152, 219, 0.05);
            padding-left: 30px;
            color: var(--secondary-color);
        }

        .list-group-item i {
            margin-right: 12px;
            font-size: 1.1rem;
        }

        /* ===== Mission & Vision Cards ===== */
        .mv-card {
            background: var(--white);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
            display: flex;
            align-items: flex-start;
            transition: all 0.4s ease;
            opacity: 0;
            border-left: 4px solid transparent;
        }

        .mv-card:nth-child(1) {
            animation: slideInLeft 0.6s ease 0.4s forwards;
            border-left-color: var(--primary-color);
        }

        .mv-card:nth-child(2) {
            animation: slideInRight 0.6s ease 0.6s forwards;
            border-left-color: var(--success-color);
        }

        .mv-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }

        .mv-icon {
            font-size: 2.8rem;
            margin-right: 25px;
            flex-shrink: 0;
            transition: all 0.4s ease;
        }

        .mv-card:hover .mv-icon {
            transform: rotate(5deg) scale(1.1);
        }

        .mv-card h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--secondary-color);
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .mv-card h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background: currentColor;
            bottom: -8px;
            left: 0;
        }

        .mv-card p {
            color: var(--text-color);
            margin-bottom: 15px;
            font-size: 1.05rem;
        }

        /* ===== Animations ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-60px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(60px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* ===== Responsive Styles ===== */
        @media (max-width: 1199.98px) {
            .section-title h2 {
                font-size: 2.2rem;
            }

            .mv-card {
                padding: 35px;
            }

            .feature-card {
                padding: 30px 20px;
            }
        }

        @media (max-width: 991.98px) {

            .about-section,
            .mission-vision-section {
                padding: 70px 0;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .mv-card {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 30px;
            }

            .mv-icon {
                margin-right: 0;
                margin-bottom: 20px;
            }

            .mv-card h3::after {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        @media (max-width: 767.98px) {

            .about-section,
            .mission-vision-section {
                padding: 60px 0;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .about-img {
                margin-bottom: 40px;
            }

            .feature-card {
                padding: 25px 20px;
                margin-bottom: 20px;
            }

            .why-choose-card {
                margin-top: 20px;
            }

            .list-group-item {
                padding: 14px 20px;
                font-size: 1rem;
            }
        }

        @media (max-width: 575.98px) {
            .section-title h2 {
                font-size: 1.7rem;
            }

            .section-title h2::after {
                width: 60px;
                height: 3px;
                bottom: -12px;
            }

            .mv-card {
                padding: 25px 20px;
            }

            .mv-card h3 {
                font-size: 1.6rem;
            }

            .feature-card h4 {
                font-size: 1.2rem;
            }

            .feature-icon {
                font-size: 2.4rem;
                margin-bottom: 20px;
            }
        }

        /* Delay animations for feature cards */
        .feature-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .feature-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .feature-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        .feature-card:nth-child(4) {
            animation-delay: 0.4s;
        }

        .feature-card:nth-child(5) {
            animation-delay: 0.5s;
        }

        .feature-card:nth-child(6) {
            animation-delay: 0.6s;
        }
   
        /* Make all footer social icons white */
.footer a i {
  color: white;
  transition: color 0.3s ease;
}

/* On hover – you can change to light blue or any color */
.footer a:hover i {
  color: #0dcaf0; /* Bootstrap info color on hover */
}


    .hover-effect {
      transition: all 0.3s ease;
      transform: translateY(0);
    }
    .hover-effect:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }
    .card {
      border-radius: 12px !important;
      overflow: hidden;
    }
    .card-text {
      line-height: 1.6;
      color: #555;
    }
    #reviews {
      /* background: black; */
    
    }
    @media (max-width: 768px) {
      .card {
        margin-bottom: 20px;
      }
    }

    .course-icon {
    font-size: 3rem;
    color: #4a6bff;
    margin: 20px 0;
    text-align: center;
}

/* student count number */
.facts-section {
    background: linear-gradient(135deg, #2f3640 0%, #1e272e 100%);
    color: #fff;
    padding: 5rem 1.25rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.facts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../newCsk academy/asset/images/Services-3.jpg') no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.facts-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 75rem;
    margin: 0 auto;
    gap: 2rem;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.facts-text {
    flex: 1 1 31.25rem;
}

.facts-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.facts-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 0;
    width: 5rem;
    height: 0.25rem;
    background: #fbb03b;
    border-radius: 0.125rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.fact-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.875rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(0.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.2);
}

.fact-box h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fbb03b;
    margin: 0;
}

.fact-box p {
    font-size: 1rem;
    margin-top: 0.625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.facts-image {
    flex: 1 1 25rem;
    text-align: center;
    position: relative;
}

.facts-image img {
    max-width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.facts-image:hover img {
    transform: scale(1.02);
}

/* Animation for counting numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count {
    display: inline-block;
    animation: countUp 0.5s ease forwards;
}

/* Responsive Design */
@media (max-width: 62rem) {
    .facts-content {
        flex-direction: column;
        text-align: center;
    }
    
    .facts-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 48rem) {
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .fact-box {
        padding: 1.25rem;
    }
    
    .facts-text h2 {
        font-size: 1.75rem;
    }
    
    .fact-box h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 30rem) {
    .facts-section {
        padding: 3rem 1rem;
    }
    
    .facts-text h2 {
        font-size: 1.5rem;
    }
}

/* contact us form */

.contact-form-section {
  /* background: #f5f7fa; */
  padding: 50px 20px;
  font-family: 'Arial', sans-serif;
}

.form-container {
  max-width: 100%;
  margin: 0 auto;
  /* background: white; */
  /* padding: 30px; */
  border-radius: 10px;
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

.form-container h2 {
  color: black;
  text-align: center;
  margin-bottom: 10px;
}

.form-container p {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #25D366; /* WhatsApp Green */
  color: black;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #128C7E; /* Darker WhatsApp Green */
}

 .contact-container {
      margin-top: 50px;
      background: #fff;
      border-radius: 10px;
      /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
      /* padding: 30px; */
    }
    .form-control, .form-select {
      height: 50px;
    }
    .btn-success {
      height: 50px;
      font-size: 18px;
    }

      /* Dropdown */
        .dropdown {
            position: relative;
        }

        .dropdown-content {
            height: 160px;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 180px;
            border-radius: 5px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            z-index: 1;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
        }

        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown:hover>a i {
            transform: rotate(180deg);
        }

        .dropdown-content a {
            color: #333 !important;
            padding: 12px 16px;
            display: block;
            border-bottom: 1px solid #f1f1f1;
        }

        .dropdown-content a:last-child {
            border-bottom: none;
        }

        .dropdown-content a:hover {
            background: #f8f9fa;
            color: #3498db !important;
            padding-left: 20px;
        }

        /* Mobile Menu */
        #mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: black;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {


            .dropdown-content {
                position: static;
                box-shadow: none;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                background: rgba(0, 0, 0, 0.05);
                width: 100%;
            }

            .dropdown:hover .dropdown-content {
                display: none;
            }

            .dropdown.active .dropdown-content {
                display: block;
            }
        }

    /* 🔍 Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 600px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.fade-up {
  animation: fadeUp 1s ease-in-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Mission & Vision Section */
#mission_vission {
    /* background-color: var(--light-bg); */
    padding: 80px 0;
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mission-card, .vision-card {
    border: none;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: white;
    overflow: hidden;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
}

/* Background Gradient for cards */
.mission-card .card-body {
    background: linear-gradient(135deg, #f5f7fa, #e4e8eb);
    position: relative;
    z-index: 1;
}

.vision-card .card-body {
    background: linear-gradient(135deg, #eef2f3, #d9e2e8);
    position: relative;
    z-index: 1;
}

/* Decorative Top Corners */
.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-bottom-left-radius: 100%;
    z-index: 0;
}
.mission-card::before {
    background-color: rgba(52, 152, 219, 0.1);
}
.vision-card::before {
    background-color: rgba(46, 204, 113, 0.1);
}

/* Title Styling */
.card-title {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}
.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}
.vision-card .card-title::after {
    background: #2ecc71;
}

/* Text Styling */
.card-text {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.lead {
    font-weight: 500;
}

/* Icon Container */
.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}
.mission-icon {
    color: var(--primary-color);
    font-size: 2rem;
}
.vision-icon {
    color: #2ecc71;
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .card-title {
        font-size: 1.6rem;
    }
    .card-text {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    #mission_vission {
        padding: 60px 0;
    }
    .col-lg-6 {
        margin-bottom: 30px;
    }
    .card-title {
        font-size: 1.5rem;
    }
}
