/* Global Styles */
:root {
    /* Color scheme */
    --primary-color: #0056b3;
    --secondary-color: #ffc107;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-color: #28a745;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

section {
    padding: 5rem 0;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.primary-cta {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.primary-cta:hover {
    background-color: #e6af06;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.secondary-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.secondary-cta:hover {
    background-color: #004494;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero-section h2 {
    font-weight: 400;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    opacity: 0.9;
}

.social-proof-badges {
    margin-top: 3rem;
}

.social-proof-badges p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Social Proof Section */
.social-proof-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.video-testimonial {
    text-align: center;
    margin-top: 3rem;
}

.video-placeholder {
    width: 100%;
    max-width: 600px;
    height: 338px;
    background-color: #ddd;
    margin: 0 auto 1rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
}

.play-button:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--primary-color);
}

/* Pain Points Section */
.pain-points-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 5rem 0;
}

.pain-points-list {
    max-width: 800px;
    margin: 0 auto;
}

.pain-point {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.pain-point:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.pain-point-icon {
    min-width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 1.5rem;
    position: relative;
}

.pain-point-icon:before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-bg);
    font-weight: bold;
}

.pain-point p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

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

.benefit {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
}

.benefit h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.benefit p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Features Section */
.features-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5rem 0;
}

.features-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.features-timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.2);
}

.feature {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-number {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-bg);
    margin-right: 2rem;
    z-index: 1;
}

.feature-content {
    padding-top: 0.5rem;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
}

.feature-content p {
    opacity: 0.9;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    position: relative;
}

.process-step:not(:last-child):after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* Case Studies Section */
.case-studies-section {
    background-color: white;
    padding: 5rem 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.case-study {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.case-study.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.case-study-image {
    height: 100%;
    min-height: 250px;
    background-color: #ddd;
}

.case-study.featured .case-study-image {
    height: 100%;
}

.case-study-content {
    padding: 2rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.before, .after {
    padding: 1rem;
    border-radius: 5px;
}

.before {
    background-color: rgba(0, 0, 0, 0.05);
}

.after {
    background-color: rgba(40, 167, 69, 0.1);
}

.before h4, .after h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.results {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.result {
    text-align: center;
}

.result h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.case-study.small .result {
    margin-top: 1rem;
}

.case-study.small .result h4 {
    color: var(--accent-color);
}

/* FAQs Section */
.faqs-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.faq-question {
    background-color: white;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-toggle:before, .faq-toggle:after {
    content: "";
    position: absolute;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-toggle:before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.faq-toggle:after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

.faq-item.active .faq-toggle:after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    background-color: white;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.9)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 5rem 0;
    text-align: center;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    min-width: 100px;
}

.countdown-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.spots-remaining {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a, .footer-column p {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study.featured {
        grid-template-columns: 1fr;
    }
    
    .case-study-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step:not(:last-child):after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -1.5rem;
        transform: translateX(50%);
    }
    
    .countdown-container {
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-around;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 6rem 0;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .logo-container {
        gap: 1rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
    
    .results {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
/* Modal form styles */
.application-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10000; /* ensures modal appears on top */
}

.modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.modal-content .cta-button.primary-cta {
    margin-top: 1rem;
    width: 100%;
}

/* Ensure modal visibility when shown */
.application-modal.active {
    opacity: 1;
}
