/* Custom CSS for Laravel + Bootstrap Application */

/* Custom Properties */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --info-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Typography Enhancements */
.display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Modern Floating Navigation */
#mainNavbar {
    background: transparent !important;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    width: 100%;
    top: 0;
}

#mainNavbar.scrolled {
    background: transparent !important;
    padding: 0.75rem 0;
}

/* Override Bootstrap navbar default styles */
#mainNavbar.navbar {
    width: 100%;
    max-width: none;
}

#mainNavbar .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.navbar-wrapper {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0 auto;
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: center;
        width: auto;
    }
    
    .navbar-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row;
        margin: 0;
    }
    
    .navbar-toggler {
        display: none !important;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-wrapper {
        padding: 0.75rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        position: relative;
    }
    
    .navbar-collapse {
        display: none !important;
        width: 100%;
        margin-top: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0.5rem;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        min-width: 200px;
    }
    
    .navbar-collapse.show {
        display: flex !important;
        flex-direction: column;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    
    .navbar-toggler {
        position: static;
        transform: none;
        align-self: flex-end;
        order: 1;
        margin-bottom: 1rem;
        display: block !important;
    }
    
    /* Force mobile dropdown to be hidden by default */
    .navbar-collapse:not(.show) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ensure proper mobile dropdown behavior */
    .navbar-collapse.collapsing {
        display: none !important;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: #667eea !important;
    /* background: rgba(102, 126, 234, 0.1); */
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #667eea !important;
    /* background: rgba(102, 126, 234, 0.15); */
    font-weight: 600;
    transform: translateY(-1px);
    /* box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2); */
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Navigation Spacer */
.navbar-spacer {
    height: 100px; /* Adjust based on floating navbar height */
}

/* Ensure proper spacing for fixed navbar */
body {
    padding-top: 0; /* Remove any default padding */
}

/* Smooth transitions for all sections */
section {
    scroll-margin-top: 100px; /* Account for sticky navbar */
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 0.5rem;
        text-align: center;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        transform: none;
    }
    
    /* Additional mobile dropdown fixes */
    .navbar-collapse {
        transition: all 0.3s ease;
    }
    
    .navbar-collapse.show {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 576px) {
    .navbar-wrapper {
        padding: 0.5rem 1rem;
        margin: 0 1rem;
    }
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Hero Section with Carousel */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    top: 0;
}

.hero-carousel {
    width: 100%;
    height: 100vh;
    margin-top: 0;
    padding-top: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-carousel .carousel {
    height: 100%;
    will-change: transform;
}

.hero-carousel .carousel-inner {
    height: 100%;
    transition: transform 3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel .carousel-item {
    height: 100vh;
    transition: all 3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel .carousel-item {
    height: 100vh;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.hero-slide.fade-out {
    opacity: 0.8;
    transform: scale(1.05);
}

.hero-slide.fade-in {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .container.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .container.slide-out {
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide .min-vh-100 {
    min-height: 100vh !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content transitions - subtle and smooth */

.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Carousel Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: none;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel .carousel-control-prev {
    left: 30px;
}

.hero-carousel .carousel-control-next {
    right: 30px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Carousel Indicators */
.hero-carousel .carousel-indicators {
    bottom: 40px;
    z-index: 3;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.hero-carousel .carousel-indicators button:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.7);
}

.hero-carousel .carousel-indicators button.active {
    background: white;
    border-color: white;
    transform: scale(1.3);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-slide .min-vh-100 {
        min-height: 80vh !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        margin: 0.5rem 0;
    }
    
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .hero-carousel .carousel-control-prev {
        left: 15px;
    }
    
    .hero-carousel .carousel-control-next {
        right: 15px;
    }
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 60px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card .card-body {
    padding: 2rem;
}

.feature-card .bi {
    transition: transform 0.3s ease;
}

.feature-card:hover .bi {
    transform: scale(1.1);
}

/* Button Enhancements */
.btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Modern Contact Form Styles */
.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.contact-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.contact-form .form-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.contact-form .form-control:focus + .form-label::after,
.contact-form .form-control:not(:placeholder-shown) + .form-label::after {
    width: 100%;
}

.contact-form .form-control {
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.contact-form .form-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-form .form-control:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-form .form-control:focus::before {
    left: 100%;
}

.contact-form .form-control::placeholder {
    color: #95a5a6;
    font-weight: 400;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus::placeholder {
    color: #bdc3c7;
    transform: translateX(10px);
}

.contact-form .form-select {
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    color: #2c3e50;
    cursor: pointer;
}

.contact-form .form-select:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-form .btn-submit::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: left 0.6s ease;
}

.contact-form .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.contact-form .btn-submit:hover::before {
    left: 100%;
}

.contact-form .btn-submit:active {
    transform: translateY(-1px);
}

/* Form Group Enhancements */
.contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form .form-group:last-child {
    margin-bottom: 0;
}

/* Floating Label Effect */
.contact-form .form-floating {
    position: relative;
}

.contact-form .form-floating .form-control {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.contact-form .form-floating .form-label {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #95a5a6;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.contact-form .form-floating .form-control:focus ~ .form-label,
.contact-form .form-floating .form-control:not(:placeholder-shown) ~ .form-label {
    top: 0.5rem;
    left: 1.25rem;
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Enhancements */
.form-control {
    border-radius: 0.75rem;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Card Enhancements */
.card {
    border-radius: 1rem;
    border: none;
    overflow: hidden;
}

.card.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 1rem;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .feature-card .card-body {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-success {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warning {
    background: var(--warning-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-info {
    background: var(--info-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Section Styles */
/* Both designs are now visible */
.about-design-1,
.about-design-2 {
    display: block;
}

/* Add spacing between the two designs */
.about-design-2 {
    /* margin-top: 4rem; */
    padding-top: 3rem;
    /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
}

/* Design 2: Statistics Cards (Alternative) */
.stat-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.stat-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.info-card h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.info-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Staggered animation for info cards */
.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design for About Section */
@media (max-width: 991.98px) {
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .info-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h4 {
        font-size: 1.2rem;
    }
}

.teacher-image-container {
    position: relative;
    padding: 2rem;
}

.teacher-image-wrapper {
    position: relative;
    display: inline-block;
}

.teacher-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teacher-image:hover {
    transform: scale(1.02);
}

.teacher-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.teacher-description {
    padding: 1rem 2rem;
}

.teacher-qualifications .d-flex {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.teacher-qualifications .d-flex:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.teacher-philosophy {
    background: rgba(102, 126, 234, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #667eea;
    margin-top: 2rem;
}

/* Gallery Card Slider Styles */
.about-gallery-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.image-card-slider {
    position: relative;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.gallery-card-overlay h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gallery-card-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* About Carousel Controls */
#aboutImageCarousel .carousel-control-prev,
#aboutImageCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: none;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

#aboutImageCarousel .carousel-control-prev:hover,
#aboutImageCarousel .carousel-control-next:hover {
    background: rgba(102, 126, 234, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#aboutImageCarousel .carousel-control-prev {
    left: -25px;
}

#aboutImageCarousel .carousel-control-next {
    right: -25px;
}

/* About Carousel Indicators */
#aboutImageCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#aboutImageCarousel .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#aboutImageCarousel .carousel-indicators button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scaleY(1.5);
}

#aboutImageCarousel .carousel-indicators button.active {
    background: #747474;
    transform: scaleY(1.5);
}

/* Responsive About Section */
@media (max-width: 991.98px) {
    .teacher-image-container {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .teacher-description {
        padding: 1rem;
    }
    
    .teacher-qualifications .col-md-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-card {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    .about-gallery-section {
        margin-top: 2rem;
    }
    
    #aboutImageCarousel .carousel-control-prev,
    #aboutImageCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #aboutImageCarousel .carousel-control-prev {
        left: -15px;
    }
    
    #aboutImageCarousel .carousel-control-next {
        right: -15px;
    }
    
    /* Mobile Image Card Layout Fix
    #aboutImageCarousel .carousel-item .row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0;
    }
    
    #aboutImageCarousel .carousel-item .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start;
        padding: 0 0.5rem;
    } */
    
    /* Hide carousel controls on mobile for better UX */
    #aboutImageCarousel .carousel-control-prev,
    #aboutImageCarousel .carousel-control-next {
        display: none !important;
    }
    
    /* Adjust indicators position for mobile */
    #aboutImageCarousel .carousel-indicators {
        bottom: -30px;
    }
}

/* Bootstrap default sliding transitions - smooth and natural */

/* Smooth Bootstrap carousel transitions - using default sliding with enhanced smoothness */

/* YouTube Video Section Styles */
.video-container {
    background: transparent;
    border-radius: 1rem;
    padding: 0rem;
    margin-left: 10rem;
    margin-right: 10rem;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-container .ratio {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    border-radius: 0.75rem;
}

/* Responsive Video Section */
@media (max-width: 991.98px) {
    .video-container {
        /*padding: 1.5rem;*/
        margin: 0 1rem;
    }
    
    .video-container h3 {
        font-size: 1.5rem;
    }
}

/* Classes Section Styles */
.class-section {
    background-image: url('https://cdn.pixabay.com/photo/2019/02/10/09/21/lecture-3986809_1280.jpg'), linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    position: relative;
    padding: 4rem 0;
    min-height: 100vh;
    background-color: #f8f9fa;    
}

.class-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #180404 0%, #0c083d 100%);
    opacity: 0.85;
    z-index: 1;
}

.class-section .container {
    position: relative;
    z-index: 2;
}

.class-tabs {
    border: none;
    border-radius: 1rem;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0);
}

.class-tabs .nav-link {
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin: 0 0.25rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    background: transparent;
}

.class-tabs .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.class-tabs .nav-link.active {
    color: #667eea;
    background: #667eea;
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.class-tabs .nav-link i {
    font-size: 1.1rem;
}

/* Class Tab Content */
.tab-content {
    /* background: rgba(164, 182, 255, 0.1);; */
    border-radius: 1rem;
    /* padding: 2rem; */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    margin-top: 0.5rem;
}
.tab-pane {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Class Info */
.class-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.class-info .lead {
    color: #6c757d;
    line-height: 1.8;
}

.class-actions{
    margin-left: 10rem;
    margin-right: 10rem;
}
/* Class Action Buttons */
.class-actions .btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.class-actions .btn-success {
    background: #25d366;
    color: white;
}

.class-actions .btn-success:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.class-actions .btn-info {
    background: #0088cc;
    color: white;
}

.class-actions .btn-info:hover {
    background: #006699;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.class-actions .btn-primary {
    background: #667eea;
    color: white;
}

.class-actions .btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    padding: 1rem 0.75rem 0.75rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.gallery-carousel-item:hover .slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-overlay h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}
/* Responsive Classes Section */
@media (max-width: 991.98px) {
    .class-tabs {
        padding: 0.25rem;
    }
    
    .class-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin: 0 0.125rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .class-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1260px) {
    .class-actions{
        margin-left: 0rem;
        margin-right: 0rem;
    }
}
@media (max-width: 768px) {
    .class-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .class-tabs .nav-link {
        margin: 0;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.75rem;
        /* background: rgba(102, 126, 234, 0.05);
        border: 1px solid rgba(102, 126, 234, 0.1); */
        transition: all 0.3s ease;
        flex: 0 0 auto;
        min-width: 120px;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .class-tabs .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        border-color: rgba(102, 126, 234, 0.2);
        transform: translateY(-2px);
    }
    
    .class-tabs .nav-link.active {
        background: #667eea;
        color: white !important;
        border-color: #667eea;
        transform: translateY(-2px);
    }
    
    .tab-content {
        padding: 1rem;
        margin-top: 1rem;
    }
}

/* Mobile responsive for class section image slider */
@media (max-width: 768px) {
    .about-gallery-section .carousel-item .row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        scrollbar-width: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0;
    }
    
    .about-gallery-section .carousel-item .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start;
        padding: 0 0.5rem;
    }
    
    /* Hide carousel controls on mobile for better UX */
    .about-gallery-section .carousel-control-prev,
    .about-gallery-section .carousel-control-next {
        display: none !important;
    }
    
    /* Adjust indicators position for mobile */
    .about-gallery-section .carousel-indicators {
        bottom: -30px;
    }
}

/* Class Section Image Slider Carousel Controls */
#classImageCarousel .carousel-control-prev,
#classImageCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.8);
    border-radius: 50%;
    border: none;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 10;
}

#classImageCarousel .carousel-control-prev:hover,
#classImageCarousel .carousel-control-next:hover {
    background: rgba(102, 126, 234, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#classImageCarousel .carousel-control-prev {
    left: -25px;
}

#classImageCarousel .carousel-control-next {
    right: -25px;
}

/* Class Section Image Slider Carousel Indicators */
#classImageCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#classImageCarousel .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 0;
    background: rgba(102, 126, 234, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#classImageCarousel .carousel-indicators button:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scaleY(1.5);
}

#classImageCarousel .carousel-indicators button.active {
    background: #667eea;
    transform: scaleY(1.5);
}

/* Mobile responsive for class section image slider controls */
@media (max-width: 768px) {
    #classImageCarousel .carousel-control-prev,
    #classImageCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #classImageCarousel .carousel-control-prev {
        left: -15px;
    }
    
    #classImageCarousel .carousel-control-next {
        right: -15px;
    }
    
    /* Hide carousel controls on mobile for better UX */
    #classImageCarousel .carousel-control-prev,
    #classImageCarousel .carousel-control-next {
        display: none !important;
    }
    
    /* Adjust indicators position for mobile */
    #classImageCarousel .carousel-indicators {
        bottom: -30px;
    }
}

/* Teachers Section Styles */
.teachers-slider {
    position: relative;
    margin-top: 2rem;
}

.teacher-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.teachers-slider .teacher-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.teachers-slider .teacher-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.teachers-slider .teacher-card:hover .teacher-image-wrapper img {
    transform: scale(1.05);
}

.teacher-info {
    padding: 1.5rem;
    text-align: center;
}

.teacher-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.teacher-subject {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.teacher-qualifications {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Teachers Carousel Controls */
#teachersCarousel .carousel-control-prev,
#teachersCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.8);
    border-radius: 50%;
    border: none;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 10;
}

#teachersCarousel .carousel-control-prev:hover,
#teachersCarousel .carousel-control-next:hover {
    background: rgba(102, 126, 234, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#teachersCarousel .carousel-control-prev {
    left: -25px;
}

#teachersCarousel .carousel-control-next {
    right: -25px;
}

/* Teachers Carousel Indicators */
#teachersCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#teachersCarousel .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 0;
    background: rgba(102, 126, 234, 0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#teachersCarousel .carousel-indicators button:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scaleY(1.5);
}

#teachersCarousel .carousel-indicators button.active {
    background: #667eea;
    transform: scaleY(1.5);
}

/* Mobile responsive for teachers section */
@media (max-width: 768px) {
         .teachers-slider .teacher-image-wrapper {
         height: 340px;
         background: #f8f9fa;
     }
    
    .teachers-slider .teacher-image-wrapper img {
        object-position: center top;
    }
    
    .teacher-info {
        padding: 1rem;
    }
    
    .teacher-name {
        font-size: 1.1rem;
    }
    
    .teacher-subject {
        font-size: 0.9rem;
    }
    
    .teacher-qualifications {
        font-size: 0.8rem;
    }
    
         /* Horizontal scrolling for mobile instead of vertical stacking */
     .teachers-slider .carousel-item .row {
         flex-direction: row !important;
         flex-wrap: nowrap !important;
         overflow-x: auto;
         scroll-snap-type: x mandatory;
         -webkit-overflow-scrolling: touch;
         margin: 0;
         scrollbar-width: none;
     }
     
     .teachers-slider .carousel-item .col-md-3 {
         flex: 0 0 100% !important;
         max-width: 100% !important;
         scroll-snap-align: start;
         padding: 0 0.5rem;
         margin-bottom: 0;
     }
    
    #teachersCarousel .carousel-control-prev,
    #teachersCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #teachersCarousel .carousel-control-prev {
        left: -15px;
    }
    
    #teachersCarousel .carousel-control-next {
        right: -15px;
    }
    
    /* Hide carousel controls on mobile for better UX */
    #teachersCarousel .carousel-control-prev,
    #teachersCarousel .carousel-control-next {
        display: none !important;
    }
    
         /* Adjust indicators position for mobile */
     #teachersCarousel .carousel-indicators {
         bottom: -30px;
     }
 }

/* Extra Section Styles */
.extra-section {
    background: #f8f9fa;
}

/* Extra Carousel Controls */
.extraImageCarousel .carousel-control-prev,
.extraImageCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: none;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.extraImageCarousel .carousel-control-prev:hover,
.extraImageCarousel .carousel-control-next:hover {
    background: rgba(102, 126, 234, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.extraImageCarousel .carousel-control-prev {
    left: -25px;
}

.extraImageCarousel .carousel-control-next {
    right: -25px;
}

/* Extra Carousel Indicators */
.extraImageCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

.extraImageCarousel .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.extraImageCarousel .carousel-indicators button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scaleY(1.5);
}

.extraImageCarousel .carousel-indicators button.active {
    background: #747474;
    transform: scaleY(1.5);
}

/* Mobile responsive for extra section */
@media (max-width: 768px) {
    .extraImageCarousel .carousel-control-prev,
    .extraImageCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .extraImageCarousel .carousel-control-prev {
        left: -15px;
    }
    
    .extraImageCarousel .carousel-control-next {
        right: -15px;
    }
    
    /* Hide carousel controls on mobile for better UX */
    .extraImageCarousel .carousel-control-prev,
    .extraImageCarousel .carousel-control-next {
        display: none !important;
    }
    
                   /* Adjust indicators position for mobile */
      .extraImageCarousel .carousel-indicators {
          bottom: -30px;
      }
  }

/* Modern Social Media Links Styles */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: currentColor;
}

.social-link:hover::before {
    opacity: 1;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-text {
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* WhatsApp Styling */
.social-link.whatsapp {
    color: #25d366;
}

.social-link.whatsapp .social-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.social-link.whatsapp:hover .social-text {
    color: white;
}

/* Facebook Styling */
.social-link.facebook {
    color: #1877f2;
}

.social-link.facebook .social-icon {
    background: linear-gradient(135deg, #1877f2 0%, #0d6efd 100%);
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d6efd 100%);
    color: white;
}

.social-link.facebook:hover .social-text {
    color: white;
}

/* YouTube Styling */
.social-link.youtube {
    color: #ff0000;
}

.social-link.youtube .social-icon {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
}

.social-link.youtube:hover .social-text {
    color: white;
}

/* Instagram Styling */
.social-link.instagram {
    color: #e4405f;
}

.social-link.instagram .social-icon {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram:hover .social-text {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-media-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .social-link {
        padding: 1.5rem 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
         .social-text {
         font-size: 1rem;
     }
 }

/* Mobile responsive for contact form */
@media (max-width: 768px) {
     .contact-form {
         padding: 1.5rem;
         margin: 0 1rem;
     }
     
     .contact-form .form-control,
     .contact-form .form-select {
         padding: 0.875rem 1rem;
         font-size: 0.95rem;
     }
     
     .contact-form .btn-submit {
         padding: 0.875rem 1.5rem;
         font-size: 0.95rem;
         width: 100%;
     }
     
     .contact-form .form-label {
         font-size: 0.85rem;
     }
 }

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    position: relative;
}

.footer-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #1f9ae1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #1f9ae1 100%);
    border-radius: 2px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: white;
    transform: translateX(5px);
}

.contact-item i {
    color: #ffffff;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #1f9ae1 100%);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    color: white;
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.social-link-footer:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
    text-decoration: none;
}

.social-link-footer.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.social-link-footer.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-link-footer.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.social-link-footer.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-credits {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-credits p {
    margin: 0;
}

/* Design 2: Statistics Cards (Alternative) */
.stat-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.stat-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.info-card h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.info-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Staggered animation for info cards */
.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design for About Section */
@media (max-width: 991.98px) {
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .info-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card h4 {
        font-size: 1.2rem;
    }
}

/* Mobile responsive for footer */
@media (max-width: 991.98px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-title::after,
    .footer-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item:hover {
        transform: translateX(0);
    }
    
    .footer-links li a:hover {
        transform: translateX(0);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.75rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .social-link-footer {
        width: 45px;
        height: 45px;
    }
}

