/* =================== CSS RESET & ROOT VARIABLES =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - TheChap Gold */
    --gold: #d4af37;
    --dark-gold: #8b7355;
    --light-gold: #f2d06b;
    
    /* Neutral Colors */
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --off-white: #fafafa;
    
    /* Text Colors */
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;
    --text-white: #ffffff;
    
    /* Typography - First Manhattan Style */
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 80px;
    --container-max: 1200px;
}

/* =================== BASE TYPOGRAPHY =================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin-bottom: 1rem;
}

p {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =================== HEADER & NAVIGATION =================== */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

nav {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
    border: 2px solid var(--dark-gold);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--dark-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-medium);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    padding-left: 1.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =================== HERO SECTION =================== */
.hero {
    background: linear-gradient(to bottom, var(--off-white) 0%, var(--white) 100%);
    padding: 160px 2rem 100px;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1875rem;
    line-height: 1.75;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.hero-supporting {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    color: var(--gold);
    margin: 2.5rem 0;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

/* =================== BUTTONS =================== */
.cta-button-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.cta-button-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.text-link {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.text-link::after {
    content: '→';
    margin-left: 6px;
    transition: margin-left 0.3s ease;
}

.text-link:hover::after {
    margin-left: 10px;
}

/* =================== VALUE PROPOSITION SECTION =================== */
.value-section {
    padding: var(--section-padding) 2rem;
    background: var(--white);
}

.value-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.value-container h2 {
    font-family: var(--font-serif);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 4rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    text-align: left;
    padding: 2rem;
    border-left: 3px solid var(--gold);
    background: var(--off-white);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.value-card h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-medium);
    line-height: 1.75;
}

/* =================== SERVICES OVERVIEW =================== */
.services-overview {
    padding: var(--section-padding) 2rem;
    background: var(--light-bg);
}

.services-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.services-container h2 {
    font-family: var(--font-serif);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 0;
    border-top: 3px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--dark-gold);
    border-color: var(--dark-gold);
}

/* =================== ABOUT SECTION =================== */
.about-section {
    padding: var(--section-padding) 2rem;
    background: var(--white);
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-medium);
    line-height: 1.8;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* =================== PHILOSOPHY SECTION =================== */
.philosophy-section {
    padding: var(--section-padding) 2rem;
    background: var(--light-bg);
}

.philosophy-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.philosophy-container h2 {
    font-family: var(--font-serif);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.philosophy-block {
    background: var(--white);
    padding: 3rem;
    border-left: 3px solid var(--gold);
}

.philosophy-block h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.philosophy-block p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.philosophy-block ul {
    list-style: none;
    padding: 0;
}

.philosophy-block li {
    color: var(--text-medium);
    padding: 0.625rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.philosophy-block li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
}

.philosophy-close {
    background: var(--white);
    padding: 3rem;
    text-align: center;
    border-top: 3px solid var(--gold);
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-close p {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* =================== WEBINAR SECTION =================== */
.webinar-section {
    padding: var(--section-padding) 2rem;
    background: var(--white);
}

.webinar-container {
    max-width: 1000px;
    margin: 0 auto;
}

.webinar-header {
    text-align: center;
    margin-bottom: 3rem;
}

.webinar-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.webinar-header h2 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.webinar-header p {
    color: var(--text-medium);
    font-size: 1.0625rem;
}

.webinar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.webinar-info {
    background: var(--light-bg);
    padding: 2.5rem;
    border-left: 3px solid var(--gold);
}

.webinar-info h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.webinar-details {
    margin-bottom: 2rem;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-content h4 {
    font-family: var(--font-sans);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-content p {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.topics-list {
    background: rgba(212, 175, 55, 0.08);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
}

.topics-list h4 {
    font-family: var(--font-sans);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.topics-list ul {
    list-style: none;
    padding: 0;
}

.topics-list li {
    color: var(--text-medium);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.topics-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Registration Form */
.registration-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-left: 3px solid var(--gold);
}

.registration-form h3 {
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 1rem;
}

.registration-form p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.submit-btn:hover:not(:disabled) {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message,
.error-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: none;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #2e7d32;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #c62828;
}

.privacy-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 1rem;
    line-height: 1.5;
}

.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =================== CTA SECTION =================== */
.cta-section {
    padding: var(--section-padding) 2rem;
    background: var(--light-bg);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* =================== FOOTER =================== */
footer {
    background: var(--dark-bg);
    color: var(--text-white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-top: 1rem;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.footer-section h4 {
    font-family: var(--font-sans);
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social img {
    width: 20px;
    height: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .philosophy-content {
        grid-template-columns: 1fr;
    }

    .webinar-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    header {
        padding: 0.75rem 0;
    }

    nav {
        padding: 0 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        transition: right 0.4s ease;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        border-left: 2px solid rgba(212, 175, 55, 0.2);
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .nav-cta {
        margin-top: 1rem;
        display: block;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(212, 175, 55, 0.05);
        margin: 0.5rem 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    /* Hero Section */
    .hero {
        padding: 120px 1.5rem 60px;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    /* Sections */
    .value-section,
    .services-overview,
    .about-section,
    .philosophy-section,
    .webinar-section,
    .cta-section {
        padding: 50px 1.5rem;
    }

    .service-card,
    .webinar-info,
    .registration-form,
    .philosophy-block {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    .logo-circle {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .service-card,
    .webinar-info,
    .registration-form,
    .philosophy-block {
        padding: 1.5rem;
    }
}