/**
 * ITAR Compliance Training - Landing Page Styles
 * Fixed section header colors for pricing section
 */

:root {
    --primary-color: #003366;
    --secondary-color: #0066b2;
    --accent-color: #cc0000;
    --success-color: #4CAF50;
    --light-bg: #f5f7fa;
    --dark-text: #333333;
    --light-text: #ffffff;
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: var(--accent-color);
}

.nav-cta {
    background: var(--accent-color);
    color: white;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: #a30000;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #003366 0%, #0066b2 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInLeft 0.8s ease;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInLeft 1s ease;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 30px;
    animation: fadeInLeft 1.2s ease;
}

.hero-bullets li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.hero-bullets li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    animation: fadeInLeft 1.4s ease;
}

.hero-cta:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInRight 1s ease;
}

.video-preview {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
}

.video-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: all 0.3s;
}

.video-placeholder:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.video-placeholder p {
    font-size: 14px;
    opacity: 0.9;
}

/* Trust Section */
.trust-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.trust-text {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.company-logo-placeholder {
    height: 40px;
    padding: 10px 20px;
    background: #f0f0f0;
    border-radius: 5px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.company-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s;
}

.company-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.step-arrow {
    position: absolute;
    top: 50px;
    right: -30px;
    color: var(--accent-color);
    font-size: 2rem;
}

.step-card:last-child .step-arrow {
    display: none;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    padding: 30px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Course Modules */
.modules-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.module-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.module-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    position: relative;
}

.module-number-lg {
    font-size: 3rem;
    font-weight: bold;
    opacity: 0.3;
    position: absolute;
    right: 20px;
    top: 10px;
}

.module-header h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    position: relative;
}

.module-duration {
    font-size: 0.9rem;
    opacity: 0.9;
}

.module-body {
    padding: 20px;
}

.module-description {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.module-topics {
    list-style: none;
}

.module-topics li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    padding-left: 25px;
    position: relative;
}

.module-topics li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.module-topics li:last-child {
    border-bottom: none;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.rating {
    color: #ffa500;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-info p {
    color: #888;
    font-size: 0.9rem;
}

/* Instructor Section */
.instructor-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.instructor-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.instructor-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.instructor-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.credential-badge {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    color: #555;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #003366 0%, #0066b2 100%);
    color: white;
}

/* CRITICAL FIX: Make section header white in pricing section */
.pricing-section .section-header h2 {
    color: white;
}

.pricing-section .section-header p {
    color: white;
}

.pricing-card {
    max-width: 500px;
    margin: 50px auto 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.pricing-header {
    background: var(--accent-color);
    color: white;
    padding: 30px;
    text-align: center;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: bold;
}

.price-period {
    font-size: 1.1rem;
    opacity: 0.9;
}

.pricing-body {
    padding: 40px;
    color: var(--dark-text);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--success-color);
}

.enroll-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.enroll-btn:hover {
    background: var(--secondary-color);
}

.guarantee {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.guarantee i {
    color: var(--success-color);
    margin-right: 5px;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: var(--light-bg);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button-large {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button-large:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    text-align: left;
}

.footer-column h4 {
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instructor-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .instructor-content {
        grid-template-columns: 1fr;
    }

    .instructor-placeholder {
        font-size: 3rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .pricing-card {
        margin: 30px 20px 0;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .step-card {
        padding: 20px;
    }

    .benefit-card {
        padding: 20px;
    }

    .pricing-body {
        padding: 25px;
    }
}