/* ==========================================================================
   MK ACADEMY TENNIS - MAIN STYLESHEET
   Aesthetic: Premium Dark Mode with Tennis Neon Green Accents & Glassmorphism
   ========================================================================== */

/* --- CSS Variables / Design System --- */
:root {
    --bg-darker: #080b11;
    --bg-dark: #0f131a;
    --bg-card: rgba(22, 28, 38, 0.6);
    --bg-card-hover: rgba(29, 37, 51, 0.85);
    
    --primary: #ccff00; /* Neon Tennis Yellow/Green */
    --primary-hover: #b3df00;
    --primary-glow: rgba(204, 255, 0, 0.2);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(204, 255, 0, 0.3);
    
    --gradient-hero: linear-gradient(135deg, #0b0f17 30%, rgba(22, 33, 20, 0.8) 100%);
    --gradient-accent: linear-gradient(90deg, #ccff00 0%, #00ffaa 100%);
    --gradient-card: linear-gradient(180deg, rgba(25, 33, 46, 0.8) 0%, rgba(15, 20, 29, 0.9) 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
    --shadow-primary: 0 8px 30px rgba(204, 255, 0, 0.2);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Dividers / Globals --- */
section {
    padding: 6rem 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    background: var(--primary-glow);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section-header {
    margin-bottom: 4rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-lg {
    padding: 0.95rem 2.25rem;
    font-size: 1.1rem;
}

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

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: rgba(8, 11, 17, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--primary);
}

.navbar {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 8rem;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_tennis.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

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

.hero-content {
    max-width: 750px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Wave Divider */
.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.section-divider .shape-fill {
    fill: var(--bg-darker);
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img-container {
    position: relative;
}

.about-img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.about-card-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: rgba(22, 28, 38, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--primary);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-primary);
    animation: float 4s ease-in-out infinite;
}

.about-card-badge h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-card-badge p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.about-text-content .section-title {
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(204, 255, 0, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(204, 255, 0, 0.2);
}

.feature-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Programs Section --- */
.programs-section {
    background-color: var(--bg-dark);
}

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

.program-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(204, 255, 0, 0.3);
    box-shadow: var(--shadow-md);
}

.program-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.program-age {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(8, 11, 17, 0.85);
    backdrop-filter: blur(5px);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

.program-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.program-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.program-features li i {
    color: var(--primary);
}

.program-card.premium-card {
    border: 1px solid var(--primary);
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.1);
}

.program-card.premium-card:hover {
    box-shadow: var(--shadow-primary);
}

/* --- Locations Section --- */
.locations-section {
    background-color: var(--bg-darker);
}

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

.location-card {
    background: var(--gradient-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.1);
}

.location-icon-box {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.location-card:hover .location-icon-box {
    background-color: var(--primary);
    color: var(--bg-darker);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.location-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.location-address {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.location-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.location-link:hover {
    color: var(--primary);
}

/* --- Pricing Section --- */
.pricing-section {
    background-color: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: rgba(204, 255, 0, 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-primary);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.pricing-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
}

.pricing-price .period {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-left: 0.25rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 2rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--primary);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

.pricing-additional-info {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-additional-info p {
    margin-bottom: 0.75rem;
}

.pricing-additional-info p i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.text-link {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--primary);
}

.text-link:hover {
    color: var(--primary-hover);
    border-bottom-style: solid;
}

/* --- Gallery Section --- */
.gallery-section {
    background-color: var(--bg-darker);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 11, 17, 0.9) 0%, rgba(8, 11, 17, 0.3) 60%, rgba(8, 11, 17, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-primary);
    opacity: 0;
}

.gallery-text h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-text p {
    color: var(--primary);
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: var(--transition);
    transition-delay: 0.05s;
}

/* Gallery Hover State */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

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

.gallery-item:hover .gallery-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

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

/* --- Gallery Modal --- */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 11, 17, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.gallery-modal.show {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
}

.modal-prev { left: 2rem; }
.modal-next { right: 2rem; }

.modal-prev:hover,
.modal-next:hover {
    background-color: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.modal-content-wrapper {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.modal-caption {
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* --- Contact CTA Section --- */
.contact-cta-section {
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.05) 0%, rgba(0, 255, 170, 0.02) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 0;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-grid h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-hours ul,
.footer-contact p {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-hours .hours-item {
    font-weight: 600;
    color: var(--text-primary);
    padding-left: 0.5rem;
    border-left: 2px solid var(--primary);
}

.footer-contact p {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact p i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Floating WhatsApp & Animations --- */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 0px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulseWhatsapp 2s infinite;
    transition: var(--transition);
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* --- Responsive Media Queries --- */

/* Tablas y Computadoras Pequeñas */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
    .about-grid {
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Mobile & Tablets (Responsive Menu Triggered) */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .about-img-container {
        max-width: 500px;
        margin: 0 auto;
    }
    .about-card-badge {
        right: 0rem;
    }
    
    /* Navigation Drawer for Mobile */
    .mobile-nav-toggle {
        display: block;
        z-index: 1010;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #0b0f17;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        z-index: 1005;
        transition: right 0.4s ease;
        padding: 6rem 2rem 2rem 2rem;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.75rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
    }
    
    .header-cta {
        display: none; /* Hide top CTA in mobile header to save space */
    }
    
    .modal-prev,
    .modal-next {
        width: 3rem;
        height: 3rem;
    }
    .modal-prev { left: 0.5rem; }
    .modal-next { right: 0.5rem; }
    .modal-content-wrapper { max-width: 95%; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .about-card-badge {
        padding: 1rem 1.25rem;
    }
    .about-card-badge h3 {
        font-size: 1.85rem;
    }
}
