/* ==========================================================================
   SENPERTAR - PREMIUM CONSCIOUS HIKING DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg: #060f08;
    --color-bg-tint: #0d1e11;
    --color-bg-card: #132a19;
    --color-primary: #4caf50;
    --color-primary-glow: rgba(76, 175, 80, 0.3);
    --color-gold: #e2b442;
    --color-gold-glow: rgba(226, 180, 66, 0.3);
    --color-text: #f0f7f2;
    --color-text-muted: #a4bfa9;
    
    /* Semantic Colors */
    --color-success: #2ecc71;
    --color-error: #e74c3c;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Glassmorphism */
    --glass-bg: rgba(13, 30, 17, 0.65);
    --glass-border: rgba(226, 180, 66, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --backdrop-blur: blur(12px);
    
    /* Typography */
    --font-heading: 'Outfit', sans-family: -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-family: -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-dark-tint {
    background-color: var(--color-bg-tint);
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3d8c40 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c4962b 100%);
    color: var(--color-bg);
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 180, 66, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: #ffffff;
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: var(--border-radius-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--border-radius-sm);
}

/* Header styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 15, 8, 0.85);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.15));
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    margin-left: 14px;
    line-height: 1.1;
    transition: var(--transition-smooth);
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    transition: var(--transition-smooth);
}

.logo-subtitle {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-top: 3px;
    margin-bottom: 0;
    transition: var(--transition-smooth);
}

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

.logo:hover .logo-title {
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .logo-text-container {
        margin-left: 10px;
    }
    .logo-title {
        font-size: 1.05rem;
        letter-spacing: 0.1em;
    }
    .logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.24em;
        margin-top: 2px;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

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

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6, 15, 8, 0.95) 40%, rgba(6, 15, 8, 0.6) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(226, 180, 66, 0.1);
    border: 1px solid var(--color-gold-glow);
    color: var(--color-gold);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse-border 3s infinite alternate;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.section-header.text-center {
    flex-direction: column;
    align-items: center;
}

.section-tag {
    display: inline-block;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 700px;
}

/* Cards & Generic Cards */
.card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15);
}

/* Philosophy Cards */
.essence-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--color-primary-glow);
}

.essence-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.essence-card p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Hikes Catalog - Route Cards */
.route-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.route-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.badge-green { background-color: var(--color-primary); color: #ffffff; }
.badge-gold { background-color: var(--color-gold); color: var(--color-bg); }
.badge-red { background-color: #e74c3c; color: #ffffff; }

.route-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.route-meta {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

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

.route-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.route-info h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.route-desc {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.route-details {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.detail-item i {
    color: var(--color-gold);
}

.route-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.route-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.route-price small {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 30px 24px 30px;
    color: var(--color-text-muted);
    font-size: 15px;
    display: none;
}

.faq-item.active {
    border-color: var(--glass-border);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer bottom */
.footer-bottom {
    background-color: #030804;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   INTERACTIVE AI SALES AGENT (CHAT WIDGET) STYLES
   ========================================================================== */

.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #c4962b 100%);
    color: var(--color-bg);
    padding: 16px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(226, 180, 66, 0.3);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-toggle:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 40px rgba(226, 180, 66, 0.5);
}

.chat-toggle i {
    font-size: 20px;
}

.chat-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    top: 0;
    left: 0;
    z-index: -1;
    border: 2px solid var(--color-gold);
    animation: chat-pulse 2s infinite;
    opacity: 0;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 580px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Chat Header */
.chat-header {
    background-color: rgba(8, 16, 9, 0.9);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-bg);
}

.avatar-status {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-success);
    border: 2px solid #081009;
    border-radius: 50%;
    bottom: 0;
    right: 0;
}

.chat-header h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.chat-header p {
    font-size: 11px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-header p i {
    color: var(--color-success);
    font-size: 6px;
}

.chat-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-close:hover {
    color: #ffffff;
}

/* Chat Body */
.chat-body {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
}

.message {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    line-height: 1.5;
    animation: fade-in-up 0.3s forwards;
}

.bot-message {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.04);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #ffffff;
}

.user-message {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3d8c40 100%);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: #ffffff;
}

.bot-message strong {
    color: var(--color-gold);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    align-self: flex-start;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

/* Quick Actions */
.chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(8, 16, 9, 0.5);
}

.action-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.action-btn:hover {
    background-color: rgba(226, 180, 66, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Chat Footer */
.chat-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
    background-color: rgba(8, 16, 9, 0.9);
}

.chat-footer input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.chat-footer input:focus {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.chat-footer button {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3d8c40 100%);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.chat-footer button:hover {
    box-shadow: 0 0 12px var(--color-primary-glow);
    transform: scale(1.05);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes chat-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}

@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-border {
    0% { border-color: rgba(226, 180, 66, 0.15); }
    100% { border-color: rgba(226, 180, 66, 0.5); }
}

/* ==========================================================================
   REGISTRATION & LEAD CAPTURE SECTION STYLES
   ========================================================================== */

.registration {
    background-image: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-tint) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle glowing background orbs to enhance aesthetics */
.registration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 80%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

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

.grid-2-columns {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.registration-info {
    display: flex;
    flex-direction: column;
}

.value-bullets {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

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

.bullet-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(226, 180, 66, 0.08);
    border: 1px solid rgba(226, 180, 66, 0.18);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.bullet-item:hover .bullet-icon {
    background-color: rgba(226, 180, 66, 0.18);
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--color-gold-glow);
}

.bullet-item h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 6px;
}

.bullet-item p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Glassmorphic Form Card */
.registration-form-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.registration-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    animation: border-shine 8s infinite linear;
}

@keyframes border-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.registration-form-card:hover {
    border-color: rgba(226, 180, 66, 0.35);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.12);
    transform: translateY(-3px);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-header p {
    color: var(--color-text-muted);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--color-gold);
}

.form-group input,
.form-group select {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
}

/* Fix dropdown option colors on dark themes */
.form-group select option {
    background-color: var(--color-bg-card);
    color: #ffffff;
}

.form-group select option:disabled {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

.form-group input::placeholder {
    color: rgba(240, 247, 242, 0.35);
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.btn-text-link {
    background: none;
    border: none;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-text-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
    text-shadow: 0 0 8px var(--color-gold-glow);
}

/* Responsive Styling */
@media (max-width: 992px) {
    .grid-2-columns {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .registration-form-card {
        padding: 30px;
    }
    .hero-title { font-size: 44px; }
    .section-title { font-size: 32px; }
    .section { padding: 70px 0; }
    .nav { display: none; } /* Mobile navbar toggle needed for complete responsive support */
    .mobile-nav-toggle { display: block; }
}

@media (max-width: 768px) {
    .logo-img {
        height: 48px; /* Slightly smaller for mobile screens to preserve vertical space */
    }
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    .chat-window {
        width: calc(100vw - 40px);
        height: 520px;
        right: 0;
        bottom: 70px;
    }
    .chat-toggle .toggle-text {
        display: none;
    }
    .chat-toggle {
        padding: 16px;
        border-radius: 50%;
    }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    animation: whatsapp-glow 3s infinite alternate;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    visibility: hidden;
    width: 180px;
    background-color: #132a19;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 10001;
    bottom: 15px;
    left: 75px;
    opacity: 0;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: opacity 0.3s;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #132a19 transparent transparent;
}

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

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

/* ==========================================================================
   PROGRAMAS ESPECIALES SECTION
   ========================================================================== */
.programs {
    background-color: var(--color-bg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.program-card {
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    padding: 36px;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 180, 66, 0.4);
    box-shadow: 0 12px 40px rgba(226, 180, 66, 0.08);
}

.program-icon {
    transition: var(--transition-smooth);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(226, 180, 66, 0.4);
}
