/* Custom CSS Variables */
:root {
    --primary-color: #011a42;
    --secondary-color: #f57c02;
    --accent-color: #f57c02;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #0d47a1);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ff9800);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.text-accent {
    color: var(--accent-color) !important;
}

.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--gradient-secondary);
    border: none;
}

.btn-outline-light {
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Navigation Styles */
.custom-navbar {
    background: rgba(1, 26, 66, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-navbar.scrolled {
    background: var(--primary-color);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), rgba(1, 26, 66, 0.8));
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(245, 124, 2, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
    opacity: 1;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* About Section */
#about-us {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    padding-right: 30px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-content .lead {
    color: var(--text-dark);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    min-width: 200px;
    border: 3px solid var(--secondary-color);
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.floating-card h5 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.floating-card p {
    margin: 0;
    color: var(--text-light);
}

.stats-row {
    margin-top: 50px;
}

.stat-item {
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
/* About Cards */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

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

.card-icon-wrapper {
    margin-bottom: 2rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-icon {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.mission-icon {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.goal-icon {
    background: linear-gradient(135deg, #ff9800 0%, #f57c02 100%);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: iconShine 3s infinite;
}

@keyframes iconShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }

    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 200px;
    padding-right: 10px;
}

.mission-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.mission-list::-webkit-scrollbar,
.card-text::-webkit-scrollbar {
    width: 5px;
}

.mission-list::-webkit-scrollbar-track,
.card-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.mission-list::-webkit-scrollbar-thumb,
.card-text::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.mission-list::-webkit-scrollbar-thumb:hover,
.card-text::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.card-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.vision-decoration {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.mission-decoration {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}


/* Gallery Section */
#gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 26, 66, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* Courses Section */
#courses {
    padding: 100px 0;
    background: var(--white);
}

.course-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.course-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.course-card {
    min-width: 100%;
    background: var(--white);
    display: flex;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    height: 400px;
}

.course-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.course-image {
    flex: 1;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.course-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.course-features {
    display: flex;
    gap: 20px;
}

.course-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.course-features i {
    color: var(--secondary-color);
}

.course-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.course-nav-btn {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.course-nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.course-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.course-indicators {
    display: flex;
    gap: 10px;
}

/* Course Slider Styles */
.course-slider-container {
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.course-slider {
    position: relative;
    width: 100%;
    margin: 0 auto 30px;
    min-height: 400px; /* Reduced height for better proportions */
}

.course-card {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    pointer-events: none;
}

.course-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s, visibility 0.6s 0.2s;
    pointer-events: auto;
}

/* Course card layout */
.course-image {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    margin: 0;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.course-content {
    flex: 0 0 55%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.course-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.course-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.course-description {
    color: var(--text-light);
    margin: 20px 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

.course-features {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.course-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    background: rgba(0,0,0,0.02);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.course-features span:hover {
    background: var(--secondary-color);
    color: #fff;
}

.course-features span:hover i {
    color: #fff;
}

.course-features i {
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .course-card {
        flex-direction: column;
        padding: 0;
    }
    
    .course-image {
        flex: 0 0 250px;
        max-width: 100%;
        width: 100%;
        border-radius: 8px 8px 0 0;
    }
    
    .course-content {
        flex: 1;
        padding: 25px;
    }
    
    .course-title {
        font-size: 1.5rem;
    }
    
    .course-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .course-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .course-features span {
        width: 100%;
        justify-content: center;
    }
}

/* Hover effects */
.course-card:hover .course-image img {
    transform: scale(1.05);
}

/* Ensure smooth transitions between slides */
.course-slider {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

/* Hide inactive cards but keep them in the document flow for transitions */
.course-card:not(.active) {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    pointer-events: none;
}

/* Add transition for the active card */
.course-card.active {
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s, visibility 0.6s 0.2s;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.course-description {
    color: var(--text-light);
    margin-bottom: 15px;
}

.course-features {
    display: flex;
    gap: 15px;
    color: var(--accent-color);
    font-weight: 500;
}

.course-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.course-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-nav-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.course-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.course-indicators {
    display: flex;
    gap: 10px;
}

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

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

/* Branches Section */
#branches {
    padding: 100px 0;
    background: var(--bg-light);
}

.branch-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary-color);
    height: 100%;
}

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

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

.branch-icon i {
    font-size: 2rem;
    color: #fff;
}

.branch-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.branch-address {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.branch-contact {
    margin-bottom: 25px;
}

.branch-contact p {
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.branch-contact i {
    color: var(--secondary-color);
    width: 16px;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 124, 2, 0.25);
    background: var(--white);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Footer */
.footer-logo {
    display: flex;
    align-items: center;
    margin-left: 10px; /* Move logo 10px to the right */
}

.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-widget h5 {
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-widget p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-info i {
    color: var(--secondary-color);
    width: 18px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .course-card {
        flex-direction: column;
        height: auto;
    }

    .course-image {
        height: 250px;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .floating-card {
        position: static;
        margin-top: 20px;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .course-content {
        padding: 30px;
    }

    .course-navigation {
        gap: 15px;
    }

    .course-nav-btn {
        width: 40px;
        height: 40px;
    }

    .branch-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-secondary);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}