/* ==========================================================================
   Lokrang Theatre & Films - Global Styles & Design System
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-color: #B91C1C; /* Crimson Red */
    --primary-hover: #991B1B;
    --secondary-color: #F59E0B; /* Amber Gold */
    --secondary-hover: #D97706;
    --dark-color: #111827; /* Rich Charcoal */
    --dark-light: #1F2937; /* Lighter Charcoal */
    --light-color: #F9FAFB; /* Off-White */
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --success: #10B981;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Tokens */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 20px rgba(185, 28, 28, 0.35);
}

/* Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-color);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* Common Layout Elements */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Background Utilities */
.bg-dark {
    background-color: var(--dark-color);
    color: var(--white);
}

.bg-dark .section-header h2 {
    color: var(--white);
}

.bg-dark .section-header p {
    color: var(--gray-300);
}

.bg-white-section {
    background-color: var(--white);
}

/* ==========================================================================
   1. Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    height: 80px;
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .brand-logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.brand-name span {
    color: var(--primary-color);
}

.brand-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

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

.nav-links a.active {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    position: absolute;
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* Mobile Navigation Open */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding: 0;
    background-color: var(--dark-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) contrast(1.1);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-content {
    max-width: 750px;
}

.hero-tagline-badge {
    background-color: rgba(185, 28, 28, 0.2);
    border: 1px solid rgba(185, 28, 28, 0.4);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-title span {
    color: var(--secondary-color);
    position: relative;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--gray-200);
    margin-bottom: 16px;
    animation: fadeInUp 1s ease 0.2s both;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 35px;
    max-width: 650px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. About Us Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-info p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.about-feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.about-feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.about-feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature-card h4 svg {
    color: var(--primary-color);
}

.about-feature-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.about-objectives {
    background-color: var(--gray-100);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.about-objectives h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--dark-color);
    text-align: center;
}

.objectives-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.objective-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.objective-item svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================================
   4. Programs Section
   ========================================================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.program-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(185, 28, 28, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(5deg) scale(1.05);
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.program-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ==========================================================================
   5. Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
    transform: translateY(15px);
    transition: var(--transition);
}

.gallery-overlay span {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(15px);
    transition: var(--transition);
    transition-delay: 0.05s;
}

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

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

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

/* ==========================================================================
   6. Team Section
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-image-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--gray-100);
    transition: var(--transition);
}

.team-card:hover .team-image-container {
    border-color: var(--primary-color);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.team-position {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--gray-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-socials a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   7. Testimonials Section
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-quote {
    color: var(--gray-500);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: rgba(185, 28, 28, 0.1);
    position: absolute;
    top: -20px;
    left: -15px;
    line-height: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-user-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 2px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    color: var(--secondary-color);
}

.testimonial-rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ==========================================================================
   8. Events Section
   ========================================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.event-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    flex-grow: 1;
}

.event-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    background-color: var(--gray-100);
    color: var(--dark-color);
    transition: var(--transition);
}

.event-card:hover .event-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   9. Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(185, 28, 28, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.contact-text p, .contact-text a {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.map-wrapper {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--gray-200);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-input:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

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

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.form-submit-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
}

/* Form success message popup simulation */
.form-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.form-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.form-toast svg {
    color: var(--success);
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding: 80px 0 30px;
    border-top: 1px solid var(--dark-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .brand {
    color: var(--white);
}

.footer-brand .brand-name span {
    color: var(--secondary-color);
}

.footer-brand .brand-subtext {
    color: var(--gray-500);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-light);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-links h4, .footer-newsletter h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

.footer-links h4::after, .footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-list a {
    font-size: 0.95rem;
}

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

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-newsletter p {
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.newsletter-input {
    flex-grow: 1;
    padding: 14px;
    background-color: var(--dark-light);
    color: var(--white);
    border: 1px solid var(--dark-light);
    font-size: 0.9rem;
}

.newsletter-input:focus {
    border-color: var(--secondary-color);
}

.newsletter-btn {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

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

/* ==========================================================================
   Responsive Design Media Queries
   ========================================================================== */

/* Large screens and laptops */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
}

/* Tablets and medium viewports */
@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Navigation drawer menu for mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1005;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Hero layout adjust */
    .hero-content {
        text-align: center;
    }
    .hero-tagline {
        border-left: none;
        padding-left: 0;
    }
    .hero-actions {
        justify-content: center;
    }
    
    /* About grid stack */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .objectives-list {
        grid-template-columns: 1fr;
    }
    
    /* Gallery grid adjust */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact grid stack */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 40px 24px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .programs-grid, 
    .team-grid, 
    .testimonials-grid, 
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   WhatsApp Floating Widget
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    font-family: var(--font-body);
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 0 0 0px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    animation: whatsappPulse 2s infinite;
}

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

.whatsapp-btn:hover {
    transform: scale(1.08);
    background-color: #20ba5a;
}

.whatsapp-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.whatsapp-popup.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.whatsapp-popup-header {
    background-color: #075E54;
    color: var(--white);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.whatsapp-popup-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    padding: 2px;
}

.whatsapp-popup-header-info h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.whatsapp-popup-header-info span {
    font-size: 0.7rem;
    opacity: 0.8;
}

.whatsapp-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    opacity: 0.8;
    transition: var(--transition);
}

.whatsapp-popup-close:hover {
    opacity: 1;
}

.whatsapp-popup-body {
    background-color: #ECE5DD;
    padding: 20px;
    flex-grow: 1;
    max-height: 200px;
    overflow-y: auto;
}

.whatsapp-msg {
    background-color: var(--white);
    padding: 10px 14px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    max-width: 85%;
}

.whatsapp-msg-sender {
    font-size: 0.65rem;
    font-weight: 700;
    color: #075E54;
    margin-bottom: 3px;
}

.whatsapp-msg-text {
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.whatsapp-msg-time {
    display: block;
    text-align: right;
    font-size: 0.6rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.whatsapp-popup-footer {
    padding: 16px;
    background-color: var(--white);
}

.whatsapp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: #25D366;
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.whatsapp-chat-btn:hover {
    background-color: #20ba5a;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}
