@import url('https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* Base Styles */
:root {
    --ah-orange: #ff914d;
    --ah-teal: #006B6B;
    --ah-teal-dark: #005555;
    --ah-gold: #D4AF37;
    --ah-grey: #a6a6a6;
    --ah-green: #00bf63;
    --ah-dark: #0c0003;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--ah-dark);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
}

.font-crete {
    font-family: 'Crete Round', serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--ah-teal);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: var(--ah-teal-dark);
    transform: translateY(-2px);
    color: white;
}

/* WhatsApp CTA (with icon) */
.cta-whatsapp {
    position: relative;
    padding-left: 56px;
    /* Space for icon */
    display: inline-flex;
    align-items: center;
}

.cta-whatsapp i {
    position: absolute;
    left: 20px;
    font-size: 1.25rem;
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
    color: white;
    font-size: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    /* Ensure no underline */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b85a;
    color: white;
}

/* Mobile adjustment for float to avoid overlap with sticky CTA */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 90px;
        /* Above sticky CTA (approx 70-80px height including padding) */
        right: 20px;
    }
}

/* Sticky Mobile CTA - Overriding/Updating existing one */
#mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--ah-teal);
    color: white;
    padding: 12px 24px;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    /* Hidden by default */
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mobile-sticky-cta.visible {
    transform: translateY(0);
}

@media (min-width: 768px) {
    #mobile-sticky-cta {
        display: none !important;
    }
}


/* Modal Styles (Intensive Membership) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    padding: 0;
    margin: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--ah-dark);
}

.modal-header {
    padding: 24px 30px 10px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ah-dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.modal-body {
    padding: 10px 30px 30px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ah-dark);
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ah-teal);
    box-shadow: 0 0 0 2px rgba(0, 107, 107, 0.1);
}

.form-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
    display: block;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    background: var(--ah-teal);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: var(--ah-teal-dark);
}

.modal-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal-footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 15px;
}

.form-error-msg {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}