/* ========================================
   I-M-POSSIBLE Website Styles
   Modern, Professional, Mobile-Responsive
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    /* Brand Colors */
    --primary-blue: #4A90E2;
    --dark-blue: #2C3E50;
    --light-blue: #E8F4F8;
    --gold: #F5A623;
    --dark-gold: #D68910;
    
    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #1A1A1A;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
}

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

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-md);
}

/* ========== Header ========== */
.header {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    color: var(--gold);
    font-size: 1.75rem;
    margin: 0;
}

.logo .tagline {
    color: var(--primary-blue);
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== Buttons ========== */
.cta-button, .cta-button-secondary, .cta-button-small {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button {
    background-color: var(--gold);
    color: var(--black);
}

.cta-button:hover {
    background-color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.cta-button-secondary:hover {
    background-color: var(--gold);
    color: var(--black);
}

.cta-button-small {
    padding: 0.5rem 1rem;
    background-color: var(--gold);
    color: var(--black);
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero h2 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Value Props ========== */
.value-props {
    background-color: var(--off-white);
    padding: var(--spacing-lg) 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.value-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.value-item h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

/* ========== Section Styles ========== */
section {
    padding: var(--spacing-xl) 0;
}

section:nth-child(even) {
    background-color: var(--off-white);
}

section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
}

/* ========== About Section ========== */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========== Program Section ========== */
.program-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.program-benefits {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background-color: var(--light-blue);
    border-left: 4px solid var(--primary-blue);
}

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

/* ========== Book Section ========== */
.book-content {
    max-width: 900px;
    margin: 0 auto;
}

.book-features {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
}

.book-features li {
    margin-bottom: var(--spacing-sm);
}

.book-endorsement {
    background-color: var(--light-blue);
    padding: var(--spacing-md);
    border-left: 4px solid var(--primary-blue);
    margin: var(--spacing-md) 0;
}

.book-pricing {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.price {
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

/* ========== Courses Section ========== */
.course-card {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
}

.course-subtitle {
    font-style: italic;
    color: var(--gray);
    margin-bottom: var(--spacing-sm);
}

.course-note {
    text-align: center;
    font-style: italic;
    color: var(--gray);
    margin-top: var(--spacing-md);
}

/* ========== Speaking Section ========== */
.speaking-content {
    max-width: 900px;
    margin: 0 auto;
}

.speaking-topics {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
}

.speaking-topics li {
    margin-bottom: var(--spacing-sm);
}

.speaking-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========== Coaching Section ========== */
.coaching-content {
    max-width: 900px;
    margin: 0 auto;
}

.coaching-services {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
}

.coaching-services li {
    margin-bottom: var(--spacing-sm);
}

.coaching-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========== Testimonials ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

.testimonial .author {
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* ========== Newsletter ========== */
.newsletter {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--gold);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 600px;
    margin: var(--spacing-md) auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--light-gray);
}

/* ========== Contact Form ========== */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: var(--spacing-xs);
}

/* ========== Footer ========== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand h3 {
    color: var(--gold);
    margin: 0;
}

.footer-brand p {
    color: var(--primary-blue);
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray);
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    /* Header Mobile */
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-gray);
        padding: var(--spacing-md);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero h2 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.25rem; }
    
    /* Hero */
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .cta-button,
    .hero-cta .cta-button-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
}

/* ========== Accessibility ========== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========== Print Styles ========== */
@media print {
    .header,
    .newsletter,
    .contact,
    .footer {
        display: none;
    }
}