       :root {
            --primary-color: #2c3e50;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --light-color: #ecf0f1;
            --dark-color: #2c3e50;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
        }
        
              
        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 150px 0 100px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            opacity: 0.2;
            z-index: 0;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .hero-section h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInUp 1s ease;
        }
        
        .hero-section p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease 0.2s forwards;
            opacity: 0;
        }
        
        .hero-btns {
            animation: fadeInUp 1s ease 0.4s forwards;
            opacity: 0;
        }
        
        .hero-img {
            animation: fadeInRight 1s ease;
            border-radius: 10px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
/* Enhanced Button Styles with Animation */
.btn-outline-primary {
    background-color: #ff6b00;
    border-color: #003366;
    padding: 12px 20px;
    font-weight: 600;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-outline-primary:hover {
    background-color: #e05d00;
    border-color: #002b4d;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary:hover::before {
    left: 100%;
}

.btn-outline-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Programs Section */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
    animation: underlineGrow 1s ease-out;
}

@keyframes underlineGrow {
    from { width: 0; left: 50%; }
    to { width: 50%; left: 25%; }
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.5s ease-in-out;
}

/* Enhanced Card Styles with Border Animation */
.program-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background: white;
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card .card-body {
    padding: 30px;
}

/* Enhanced Image Border with Animation */
.program-card .card-img-top {
    height: 200px;
    width: 200px;
    object-fit: contain;
    margin: 20px auto 10px;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    border-radius: 15px;
    padding: 10px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--secondary-color), var(--accent-color)) border-box;
}

.program-card:hover .card-img-top {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.program-card:hover .card-title {
    color: var(--secondary-color);
}

.card-text {
    color: #555;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 25px;
}

.program-features li {
    margin-bottom: 10px;
    color: #7f8c8d;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.program-card:hover .program-features li {
    transform: translateX(5px);
}

.program-features li:nth-child(1) { transition-delay: 0.1s; }
.program-features li:nth-child(2) { transition-delay: 0.2s; }
.program-features li:nth-child(3) { transition-delay: 0.3s; }
.program-features li:nth-child(4) { transition-delay: 0.4s; }

.program-features i {
    color: var(--secondary-color);
    margin-right: 8px;
    transition: all 0.3s ease;
}

.program-card:hover .program-features i {
    color: var(--accent-color);
    transform: scale(1.2);
}

.btn-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

  /* Testimonials */
        .testimonial-card {
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .testimonial-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--light-color);
            margin-bottom: 20px;
        }
        
        .testimonial-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .testimonial-content p {
            font-style: italic;
            color: #555;
            margin-bottom: 20px;
        }
        
        .testimonial-content h5 {
            color: var(--dark-color);
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .designation {
            color: var(--secondary-color);
            font-size: 0.9rem;
        }
        
        .carousel-control-prev, .carousel-control-next {
            width: 40px;
            height: 40px;
            background-color: var(--secondary-color);
            border-radius: 50%;
            top: 50%;
            transform: translateY(-50%);
            opacity: 1;
        }
         .rating {
            color: #ffc107;
            margin-top: 5px;
        }
  
       /* Enhanced Gallery Section */
        .gallery-container {
            position: relative;
            overflow: hidden;
        }

        .gallery-slider {
            display: flex;
            transition: transform 0.5s ease;
            height: 400px; /* Fixed height for slider */
        }

        .gallery-slide {
            min-width: 100%;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gallery-slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
            cursor: zoom-in;
        }

        .gallery-slide img.zoomed {
            transform: scale(2);
            cursor: zoom-out;
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            z-index: 10;
            padding: 0 20px;
        }

        .gallery-nav button {
            background-color: rgba(52, 152, 219, 0.7);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-nav button:hover {
            background-color: rgba(41, 128, 185, 0.9);
            transform: scale(1.1);
        }

        .gallery-thumbnails {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .gallery-thumb {
            width: 80px;
            height: 60px;
            object-fit: cover;
            margin: 5px;
            border-radius: 5px;
            cursor: pointer;
            opacity: 0.7;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .gallery-thumb:hover, .gallery-thumb.active {
            opacity: 1;
            transform: scale(1.05);
        }

        .gallery-thumb.active {
            border-color: var(--secondary-color);
        }

        /* Zoom controls */
        .zoom-controls {
            position: absolute;
            bottom: 20px;
            right: 20px;
            z-index: 20;
            display: flex;
            gap: 10px;
        }

        .zoom-controls button {
            background-color: rgba(52, 152, 219, 0.7);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .zoom-controls button:hover {
            background-color: rgba(41, 128, 185, 0.9);
        }

        /* Animation for slide transitions */
        @keyframes slideInFromRight {
            0% { transform: translateX(100%); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }

        @keyframes slideInFromLeft {
            0% { transform: translateX(-100%); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }

        .slide-from-right {
            animation: slideInFromRight 0.5s ease forwards;
        }

        .slide-from-left {
            animation: slideInFromLeft 0.5s ease forwards;
        }

        /* The rest of your existing styles remain the same */
 /* Animations */
 @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes zoomIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes zoomOut {
    0% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.zoom-in {
    animation: zoomIn 0.5s ease forwards;
}

.zoom-out {
    animation: zoomOut 0.5s ease forwards;
}

    