/* Global Styles */
:root {
    --primary-black: #111111;
    --primary-white: #ffffff;
    --primary-red: #8B0000;
    --secondary-red: #b22222;
    --light-gray: #f8f9fa;
    --dark-gray: #222;
    --gradient-red: linear-gradient(135deg, #8B0000, #b22222);
    --shadow-light: 0 5px 20px rgba(139, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(139, 0, 0, 0.15);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

body {
    background: var(--primary-black);
    color: var(--primary-white);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.text-white{
    color: #fff !important;
}

/* Navbar */
.navbar {
    background: var(--primary-black);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.1rem 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-white);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-red);
    transform: scale(1.05);
}

.nav-link {
    color: var(--primary-white);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.1rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 50%, var(--primary-red) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./../images/banner.jpg') center/cover no-repeat;
    opacity: 0.3;
    animation: heroZoom 20s infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-section .lead {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    color: #fff;
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::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.5s;
}

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

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Dance Silhouettes Animation */
.dance-silhouettes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.silhouette {
    position: absolute;
    width: 60px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: dance 3s infinite ease-in-out;
}

.silhouette-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.silhouette-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.silhouette-3 {
    top: 30%;
    right: 30%;
    animation-delay: 2s;
}

@keyframes dance {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Programs Section */
.program-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}

.program-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-light);
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-white);
}

.program-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.program-card h5 {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.program-description {
    color: #666;
    font-size: 0.9rem;
    padding: 0 1rem 1.5rem;
    line-height: 1.4;
}

/* Services Section */
.service-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-light);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h5 {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    padding: 0 1rem 1.5rem;
    line-height: 1.4;
}

/* Enquiry Form Section */
.enquiry-form-container {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.enquiry-form-container:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-red);
}

.enquiry-form-container h4 {
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
}

.form-label {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
    outline: none;
}

.form-check-input:checked {
    background-color: var(--primary-white);
    border-color: var(--primary-red);
}

.form-check-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
}

/* Contact Section */
.contact-info {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-red);
    text-decoration: underline;
}

.contact-form {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    height: fit-content;
}

/* WhatsApp Chatbot */
.whatsapp-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-heavy);
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.chatbot-button i {
    font-size: 2rem;
    color: var(--primary-white);
}

.chatbot-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid var(--primary-black);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-chatbot:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
footer {
    background: var(--primary-black);
    color: var(--primary-white);
    border-top: 2px solid var(--primary-red);
}

footer h5 {
    color: var(--primary-red);
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border: none;
    border-radius: 50%;
    color: var(--primary-white);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .program-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .enquiry-form-container {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-chatbot {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-button {
        width: 50px;
        height: 50px;
    }
    
    .chatbot-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 85vh;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .program-card,
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-top: -30px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        margin-top: -40px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .enquiry-form-container {
        padding: 1.5rem 1rem;
    }
}

/* 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.4), transparent);
    animation: loading 1.5s infinite;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert styles */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Enhanced button and form styles */
.btn, .form-control, .program-card, .service-card {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
} 

/* Modern Card Glassmorphism & Gradient Enhancements */
.program-card, .service-card, .enquiry-form-container, .contact-info, .contact-form {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(60, 60, 60, 0.18);
    border: 1.5px solid rgba(230, 57, 70, 0.12);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.program-card:hover, .service-card:hover, .enquiry-form-container:hover, .contact-info:hover, .contact-form:hover {
    box-shadow: 0 16px 48px 0 rgba(230, 57, 70, 0.18);
    border-color: var(--primary-red);
    transform: translateY(-8px) scale(1.03);
}

/* Gradient Headings */
h2.display-4, h3, h4, h5 {
    background: linear-gradient(90deg, #e63946 30%, #dc3545 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.accordion-header h4{
    background: linear-gradient(90deg, #fff 30%, #f8f9fa 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Section Backgrounds */
section {
    position: relative;
    z-index: 1;
}
section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.08;
    background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png'), linear-gradient(120deg, #e63946 0%, #fff 100%);
    background-size: 300px 300px, cover;
    background-repeat: repeat, no-repeat;
}
section.bg-light::before {
    background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png'), linear-gradient(120deg, #fff 0%, #e63946 100%);
    opacity: 0.06;
}

/* Button Enhancements */
.btn-danger, .btn-outline-light, .btn-lg, .btn {
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.12);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-danger {
    background: linear-gradient(90deg, #e63946 0%, #dc3545 100%);
    border: none;
}
.btn-danger:hover, .btn-danger:focus {
    background: linear-gradient(90deg, #dc3545 0%, #e63946 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.18);
    transform: translateY(-2px) scale(1.04);
}
.btn-outline-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline-light:hover, .btn-outline-light:focus {
    background: #fff;
    color: #e63946;
    border: 2px solid #e63946;
}

/* Card Icon Glow */
.card-icon, .service-icon {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.25), 0 4px 16px rgba(230, 57, 70, 0.10);
    transition: box-shadow 0.3s, transform 0.3s;
}
.program-card:hover .card-icon, .service-card:hover .service-icon {
    box-shadow: 0 0 24px 4px rgba(230, 57, 70, 0.25), 0 8px 32px rgba(230, 57, 70, 0.18);
    transform: scale(1.12) rotate(6deg);
}

/* Hero Section Heading Animation */
.hero-section h1 {
    background: linear-gradient(90deg, #fff 60%, #e63946 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 4px 24px rgba(230, 57, 70, 0.12);
    animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Responsive Tweaks for Modern Look */
@media (max-width: 768px) {
    .program-card, .service-card, .enquiry-form-container, .contact-info, .contact-form {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }
    h2.display-4, h3, h4, h5 {
        font-size: 1.3rem;
    }
}
@media (max-width: 576px) {
    .program-card, .service-card, .enquiry-form-container, .contact-info, .contact-form {
        border-radius: 10px;
        padding: 1rem 0.5rem;
    }
    h2.display-4, h3, h4, h5 {
        font-size: 1.1rem;
    }
} 

/* Custom Animations */
[data-aos="fade-zoom-in"] {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
[data-aos="fade-zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1) translateY(0);
}
[data-aos="slide-up"] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
[data-aos="slide-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
[data-aos="rotate-in"] {
    opacity: 0;
    transform: rotateY(30deg) scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
[data-aos="rotate-in"].aos-animate {
    opacity: 1;
    transform: rotateY(0) scale(1);
}
[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section Parallax Optimization */
.parallax-bg {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}

/* Hero Button Enhanced Hover */
.hero-btn-anim {
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.hero-btn-anim::after {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(230,57,70,0.12) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.hero-btn-anim:hover::after {
    opacity: 1;
}
.hero-btn-anim:active {
    transform: scale(0.97);
}

/* Card Image Hover Effect */
.program-card .program-image img, .service-card .service-image img {
    transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s;
    will-change: transform;
}
.program-card:hover .program-image img, .service-card:hover .service-image img {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(230,57,70,0.12);
}

/* Performance: Reduce heavy effects on mobile */
@media (max-width: 576px) {
    [data-aos] {
        transition-duration: 0.5s !important;
    }
    .program-card:hover .program-image img, .service-card:hover .service-image img {
        transform: scale(1.03);
    }
} 

/* Service Card Creative Hover Effect */
.service-hover-anim {
    transition: box-shadow 0.4s, border-color 0.4s, transform 0.4s;
    border: 2px solid transparent;
}
.service-hover-anim:hover {
    box-shadow: 0 12px 40px 0 rgba(230,57,70,0.18), 0 0 0 4px rgba(230,57,70,0.10);
    border-color: #e63946;
    transform: scale(1.04) rotate(-2deg);
    z-index: 2;
} 

/* Form Button Animation */
.form-btn-anim {
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.form-btn-anim::after {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.12) 0%, rgba(230,57,70,0.10) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.form-btn-anim:hover::after {
    opacity: 1;
}
.form-btn-anim:hover, .form-btn-anim:focus {
    box-shadow: 0 8px 32px rgba(230,57,70,0.18);
    transform: scale(1.04);
}
.form-btn-anim:active {
    transform: scale(0.97);
}

/* Form Input Animation */
.form-anim {
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-anim:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 0.2rem rgba(230,57,70,0.15);
    background: rgba(230,57,70,0.03);
}
.form-anim:hover {
    border-color: #dc3545;
    background: rgba(230,57,70,0.02);
} 

/* WhatsApp Chatbot Button Creative Hover */
.chatbot-btn-anim {
    transition: box-shadow 0.4s, transform 0.4s;
}
.chatbot-btn-anim:hover {
    box-shadow: 0 0 24px 4px #25d366, 0 8px 32px rgba(37,211,102,0.18);
    transform: scale(1.12) rotate(-6deg);
} 

/* Horizontal Accordion Styles */
.horizontal-accordion-container {
    margin: 0 0 3rem 0;
    position: relative;
}

.horizontal-accordion-container::before {
    display: none;
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red), #ff6b6b);
    border-radius: 2px;
}

.horizontal-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red), #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.accordion-item.active {
    border-color: var(--primary-red);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.25);
    transform: scale(1.02) translateY(-5px);
}

.accordion-item.active::before {
    transform: scaleX(1);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 50%, #ff6b6b 100%);
    color: var(--primary-white);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.accordion-header::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;
}

.accordion-header:hover::before {
    left: 100%;
}

.accordion-header:hover {
    background: linear-gradient(135deg, var(--secondary-red) 0%, var(--primary-red) 50%, #ff6b6b 100%);
    transform: translateY(-2px);
}

.accordion-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.accordion-item.active .accordion-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.accordion-icon i {
    font-size: 1.8rem;
    color: var(--primary-white);
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-icon i {
    transform: scale(1.2);
}

.accordion-header h4 {
    margin: 0;
    font-weight: 700;
    flex-grow: 1;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.accordion-arrow {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    opacity: 0.8;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(90deg) scale(1.2);
    opacity: 1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 700px;
}

.programs-scroll {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.programs-scroll::-webkit-scrollbar {
    height: 10px;
}

.programs-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
    margin: 0 1rem;
}

.programs-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    border-radius: 5px;
    border: 2px solid #f1f1f1;
}

.programs-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--secondary-red), var(--primary-red));
}

.program-item {
    min-width: 320px;
    background: var(--primary-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    position: relative;
}

.program-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-item:hover::before {
    transform: scaleX(1);
}

.program-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.2);
}

.program-item .program-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.program-item .program-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-item:hover .program-image::after {
    opacity: 1;
}

.program-item .program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-item:hover .program-image img {
    transform: scale(1.15) rotate(2deg);
}

.program-info {
    padding: 2rem;
    position: relative;
}

.program-info h5 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.program-info p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.program-features span {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.program-features span:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.program-features span i {
    font-size: 0.8rem;
}

/* Instagram Stories Styles */
.instagram-stories-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.instagram-stories-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red), #ff6b6b);
    border-radius: 2px;
}

.instagram-stories {
    position: relative;
    height: 550px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.story-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-item.active {
    opacity: 1;
}

.story-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(17,17,17,0.95));
    color: var(--primary-white);
    padding: 3rem 2.5rem 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-item.active .story-overlay {
    transform: translateY(0);
    opacity: 1;
}

.story-content h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    opacity: 0.95;
}

.story-meta {
    display: flex;
    gap: 2rem;
}

.story-meta span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.story-meta span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.story-meta span i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.story-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.story-nav-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-red);
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.story-nav-btn:hover {
    background: var(--primary-red);
    color: var(--primary-white);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.story-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-red);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
}

/* Responsive Design for Horizontal Accordion */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1.5rem 2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .accordion-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 50px;
        height: 50px;
    }
    
    .accordion-icon i {
        font-size: 1.5rem;
    }
    
    .accordion-header h4 {
        font-size: 1.2rem;
    }
    
    .programs-scroll {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .program-item {
        min-width: 280px;
    }
    
    .program-info {
        padding: 1.5rem;
    }
    
    .instagram-stories {
        height: 450px;
    }
    
    .story-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .story-content h5 {
        font-size: 1.4rem;
    }
    
    .story-content p {
        font-size: 1rem;
    }
    
    .story-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .story-meta {
        gap: 1.5rem;
    }
    
    .story-meta span {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Social Media Section Styles */
#social-media {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 50%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

#social-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.social-media-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.social-media-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
}

.social-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(230, 57, 70, 0.2);
}

.social-header i {
    font-size: 2.5rem;
    margin-right: 1rem;
    background: linear-gradient(45deg, #e63946, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-header h3 {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-white);
    margin: 0;
}

.instagram-feed,
.youtube-feed {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.instagram-media {
    border-radius: 15px !important;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.youtube-embed {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.youtube-shorts h5 {
    color: var(--primary-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.video-item {
    text-align: center;
}

.video-thumbnail {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-thumbnail:hover {
    background: rgba(230, 57, 70, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.video-thumbnail i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.video-thumbnail span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-white);
    font-weight: 500;
}

.social-follow {
    text-align: center;
    margin-top: auto;
}

.btn-instagram,
.btn-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #e1306c, #f56040, #fcaf45);
    color: white;
}

.btn-youtube {
    background: linear-gradient(45deg, #ff0000, #ff4500);
    color: white;
}

.btn-instagram:hover,
.btn-youtube:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-instagram i,
.btn-youtube i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.social-links {
    text-align: center;
}

.social-links h4 {
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #e1306c, #f56040, #fcaf45);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.social-icon.youtube:hover {
    background: linear-gradient(45deg, #ff0000, #ff4500);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.social-icon.facebook:hover {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-icon i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-media-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .social-header {
        flex-direction: column;
        text-align: center;
    }
    
    .social-header i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-media-card {
        padding: 1rem;
    }
    
    .social-header h3 {
        font-size: 1.5rem;
    }
    
    .btn-instagram,
    .btn-youtube {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Instagram Embed Responsive */
.instagram-media {
    max-width: 100% !important;
    width: 100% !important;
}

/* YouTube Embed Responsive */
.youtube-embed iframe {
    border-radius: 15px;
}

/* Animation for social media cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.social-media-card:hover {
    animation: float 3s ease-in-out infinite;
}

/* Loading animation for embeds */
.loading-placeholder {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
    border-radius: 15px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 576px) {
    .accordion-header {
        padding: 1.25rem 1.5rem;
    }
    
    .accordion-icon {
        width: 45px;
        height: 45px;
    }
    
    .accordion-icon i {
        font-size: 1.3rem;
    }
    
    .accordion-header h4 {
        font-size: 1.1rem;
    }
    
    .programs-scroll {
        padding: 1rem;
        gap: 1rem;
    }
    
    .program-item {
        min-width: 250px;
    }
    
    .program-info {
        padding: 1.25rem;
    }
    
    .program-info h5 {
        font-size: 1.1rem;
    }
    
    .program-features {
        gap: 0.75rem;
    }
    
    .program-features span {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .instagram-stories {
        height: 400px;
    }
    
    .story-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .story-content h5 {
        font-size: 1.2rem;
    }
    
    .story-content p {
        font-size: 0.9rem;
    }
    
    .story-meta {
        gap: 1rem;
        flex-direction: column;
    }
    
    .story-meta span {
        font-size: 0.85rem;
        padding: 0.3rem 0.7rem;
    }
    
    .story-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
} 

/* Enhanced Section Headers */
section h2.display-4 {
    position: relative;
    margin-bottom: 1rem;
}

section h2.display-4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red), #ff6b6b);
    border-radius: 2px;
}

section .lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 3rem;
}

/* Enhanced Instagram Section */
#instagram {
    background: var(--primary-black);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

#instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e63946" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

#instagram h2.display-4 {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

#instagram h2.display-4 i {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Enhanced Programs Section */
#programs {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

#programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e63946" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

/* Enhanced Navigation for Instagram Stories */
.story-navigation {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.instagram-stories:hover .story-navigation {
    opacity: 1;
}

/* Enhanced Program Cards Animation */
.program-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Accordion Animation */
.accordion-item {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Story Transitions */
.story-item {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Scrollbar for Programs */
.programs-scroll {
    scroll-behavior: smooth;
}

.programs-scroll::-webkit-scrollbar {
    height: 12px;
}

.programs-scroll::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #f1f1f1, #e9ecef);
    border-radius: 6px;
    margin: 0 1rem;
}

.programs-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red), #ff6b6b);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.programs-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, var(--secondary-red), var(--primary-red), #ff6b6b);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced Feature Tags */
.program-features span {
    position: relative;
    overflow: hidden;
}

.program-features span::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: left 0.5s ease;
}

.program-features span:hover::before {
    left: 100%;
}

/* Enhanced Story Meta */
.story-meta span {
    position: relative;
    overflow: hidden;
}

.story-meta span::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.5s ease;
}

.story-meta span:hover::before {
    left: 100%;
}

/* Enhanced Navigation Buttons */
.story-nav-btn {
    position: relative;
    overflow: hidden;
}

.story-nav-btn::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: left 0.6s ease;
}

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

/* Enhanced Indicators */
.indicator {
    position: relative;
    overflow: hidden;
}

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

.indicator:hover::before {
    left: 100%;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    section h2.display-4::after {
        width: 60px;
        height: 3px;
    }
    
    section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .instagram-stories-container::before {
        width: 60px;
        height: 3px;
    }
    
    .horizontal-accordion-container::before {
        width: 50px;
        height: 3px;
    }
}

@media (max-width: 576px) {
    section h2.display-4 {
        font-size: 2rem;
    }
    
    section h2.display-4::after {
        width: 50px;
        height: 2px;
    }
    
    section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .instagram-stories-container::before {
        width: 50px;
        height: 2px;
    }
    
    .horizontal-accordion-container::before {
        width: 40px;
        height: 2px;
    }
} 

/* Ensure text inside white cards is black */
.program-item, .service-card, .enquiry-form-container, .contact-info, .contact-form, .accordion-item {
    color: var(--primary-black);
}
.program-item h5, .service-card h5, .enquiry-form-container h4, .contact-info h4, .contact-form h4, .accordion-item h4 {
    color: var(--primary-white);
}
.program-item p, .service-card p, .accordion-item p, .enquiry-form-container label, .contact-info label, .contact-form label {
    color: #222;
}

/* Ensure text on black backgrounds is white */
body, #programs, #services, #enquiry, #contact, #instagram, .navbar, footer {
    color: var(--primary-white);
}
#programs h2, #services h2, #enquiry h2, #contact h2, #instagram h2 {
    color: var(--primary-white);
}

/* Instagram Stories Styles */
.instagram-stories-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.instagram-stories {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-stories.active {
    display: block;
    opacity: 1;
}

.stories-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stories-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
}

.story-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
    object-fit: cover;
}

.story-username {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.story-time {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.story-close {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.story-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.stories-progress {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    z-index: 1001;
}

.progress-bar {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: white;
    width: 0;
    transform-origin: left;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

.story-content {
    position: relative;
    width: 100%;
    height: 80vh;
    max-height: 600px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.story-media-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.story-media {
    width: 100%;
    height: 100%;
    position: relative;
}

.story-image, .story-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.story-caption p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.story-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.story-link:hover {
    background: var(--secondary-red);
    color: white;
    text-decoration: none;
}

.story-actions {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.story-actions button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.story-actions button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.story-navigation-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 1001;
}

.nav-arrow {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.story-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
}

.story-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 20px;
}

.story-error i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.story-error h3 {
    margin-bottom: 10px;
    color: white;
}

.story-error p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Instagram Grid Display */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.instagram-story-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 4/2;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.instagram-story-preview:hover {
    transform: scale(1.05);
}

.story-preview-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.story-preview-content i {
    font-size: 48px;
    margin-bottom: 10px;
}

.story-preview-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: white;
    -webkit-text-fill-color: #fff;
}

.story-preview-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stories-wrapper {
        max-width: 100%;
        height: 100vh;
    }
    
    .story-content {
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }
    
    .stories-header {
        top: 10px;
        left: 10px;
        right: 10px;
    }
    
    .stories-progress {
        top: 60px;
        left: 10px;
        right: 10px;
    }
    
    .story-actions {
        right: 10px;
    }
    
    .story-caption {
        padding: 15px;
    }
    
    .story-caption p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .story-user-info {
        gap: 8px;
    }
    
    .story-avatar {
        width: 35px;
        height: 35px;
    }
    
    .story-username {
        font-size: 13px;
    }
    
    .story-time {
        font-size: 11px;
    }
}

/* Story Thumbnails */
.story-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.story-thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    padding: 3px;
    cursor: pointer;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

.story-thumbnail:hover {
    transform: scale(1.1);
}

.story-thumbnail-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    overflow: hidden;
}

.story-thumbnail-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Instagram Follow Button */
.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    margin-top: 20px;
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Feature tags and meta badges: strong contrast */
.program-features span, .story-meta span {
    background: var(--primary-red);
    color: var(--primary-white);
    border: 1px solid var(--primary-black);
}

/* Form fields: dark on dark, light on light */
/* On dark backgrounds */
#enquiry input, #enquiry textarea, #contact input, #contact textarea {
    background: #222;
    color: #fff;
    border: 1px solid var(--primary-red);
}
#enquiry input::placeholder, #enquiry textarea::placeholder, #contact input::placeholder, #contact textarea::placeholder {
    color: #bbb;
}
/* On white cards */
.program-item input, .program-item textarea, .service-card input, .service-card textarea, .enquiry-form-container input, .enquiry-form-container textarea, .contact-info input, .contact-info textarea, .contact-form input, .contact-form textarea {
    background: #fff;
    color: #111;
    border: 1px solid var(--primary-red);
}
.program-item input::placeholder, .program-item textarea::placeholder, .service-card input::placeholder, .service-card textarea::placeholder, .enquiry-form-container input::placeholder, .enquiry-form-container textarea::placeholder, .contact-info input::placeholder, .contact-info textarea::placeholder, .contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #888;
}

/* Icon visibility */
/* On dark backgrounds */
.navbar i, footer i, #instagram i, .story-meta i, .accordion-header i, .btn i {
    color: var(--primary-white);
}
/* On white cards */
.program-item i, .enquiry-form-container i, .contact-info i, .contact-form i {
    color: var(--primary-red);
}

.service-card i, .accordion-item i{
    color: var(--primary-white);
}

/* Fix select fields */
select, .form-control {
    background: #fff;
    color: #111;
    border: 1px solid var(--primary-red);
}
#enquiry select, #contact select {
    background: #222;
    color: #fff;
    border: 1px solid var(--primary-red);
}

/* Fix for any accidental inheritance */
.program-item *, .service-card *, .enquiry-form-container *, .contact-info *, .contact-form *, .accordion-item * {
    color: unset;
}

/* Ensure strong contrast for all headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-black);
}

/* Responsive video ratio utility classes */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}

.ratio-4x3 {
    --bs-aspect-ratio: 75%;
}

.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* YouTube iframe specific styling */
.youtube-feed iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}