/* General Styles */
:root {
    --primary-color: #001f3f; /* Navy Blue */
    --secondary-color: #ffcc00; /* Gold/Yellow for contrast */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

/* Header */
header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background-color: #e6b800;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 31, 63, 0.85), rgba(0, 31, 63, 0.85)), url('instructor.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-text {
    max-width: 800px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 18px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1.2rem;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

/* Sections General */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

/* Pain Points Section */
.pain-points {
    background: var(--light-bg);
}

.pain-points .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pain-points .card {
    background: var(--white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pain-points .card:hover {
    transform: translateY(-10px);
}

.pain-points .card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pain-points .card p {
    font-size: 1.1rem;
    color: #555;
}

/* Features Section */
.features {
    background: var(--white);
}

.features .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.features .feature-item {
    display: flex;
    align-items: flex-start;
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.features .feature-item .icon {
    font-size: 2rem;
    margin-right: 20px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.features .feature-item h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.features .feature-item p {
    font-size: 1rem;
    color: #666;
}

/* Instructor Bio Section */
.instructor-bio {
    background: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
}

.instructor-bio h2 {
    color: var(--white);
}

.instructor-bio .bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.instructor-bio .bio-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.instructor-bio .bio-text {
    max-width: 700px;
    text-align: center;
}

.instructor-bio .bio-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.instructor-bio .bio-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Pricing Section */
.pricing {
    background: var(--light-bg);
}

.pricing .price-card {
    background: var(--white);
    max-width: 550px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.pricing .price-card:hover {
    transform: translateY(-10px);
}

.pricing .price-card h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.pricing .price-card .price {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing .price-card .installments {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-buy {
    display: block;
    background: #28a745; /* Green for Buy Button */
    color: var(--white);
    padding: 22px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    border-radius: 8px;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-buy:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

.pricing .guarantee {
    font-size: 1rem;
    color: #777;
    margin-top: 25px;
}

/* Footer */
footer {
    background: #222;
    color: #bbb;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .hero-text {
        text-align: left;
        margin-bottom: 0;
        flex: 1;
        padding-right: 40px;
    }

    .hero-image {
        flex: 0 0 400px; /* Fixed width for image on larger screens */
        text-align: right;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    .instructor-bio .bio-content {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }

    .instructor-bio .bio-text {
        text-align: left;
        max-width: 600px;
    }

    .instructor-bio .bio-image {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .pain-points .grid {
        grid-template-columns: 1fr;
    }

    .features .feature-list {
        grid-template-columns: 1fr;
    }

    .instructor-bio .bio-image img {
        width: 200px;
        height: 200px;
    }

    .instructor-bio .bio-text h2 {
        font-size: 2rem;
    }

    .pricing .price-card {
        padding: 40px 20px;
    }

    .pricing .price-card .price {
        font-size: 3rem;
    }

    .btn-primary, .btn-buy {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}
