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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header and Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #8B4513;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-text {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.content-text h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.content-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.content-text h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

/* Inline Links */
.inline-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.inline-link:hover {
    color: #A0522D;
    border-bottom: 1px solid #A0522D;
}

/* Reader Problems Section */
.reader-problems {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #f39c12;
    margin: 2rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.reader-problems h3 {
    color: #1a1a1a;
    margin-top: 0;
    font-size: 1.6rem;
}

.reader-problems ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.reader-problems li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.reader-problems p {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.5rem;
}

/* Personal Story Section */
.personal-story {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 2rem;
    border-left: 5px solid #8B4513;
    border-radius: 8px;
    margin: 2rem 0;
    font-style: italic;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.personal-story h3 {
    font-style: normal;
    color: #1a1a1a;
    margin-top: 0;
}

.personal-story p {
    font-style: italic;
    color: #2c3e50;
}

/* Social Proof Section */
.social-proof {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 2rem;
    border-left: 5px solid #2196F3;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.social-proof p {
    font-style: italic;
    font-size: 1.1rem;
    color: #1565c0;
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #d4edda 0%, #a8d5ba 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #28a745;
    margin: 2rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.benefits-section h4 {
    color: #1a1a1a;
    margin-top: 0;
}

.benefits-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.benefits-section li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
}

/* Popular Projects Section */
.popular-projects {
    margin: 2rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #8B4513;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-card h4 {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.project-card p {
    margin-bottom: 1rem;
    color: #555;
}

.project-link {
    display: inline-block;
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.project-link:hover {
    color: #A0522D;
    border-bottom: 2px solid #A0522D;
}

/* Skill Levels Section */
.skill-levels {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.skill-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.skill-card h4 {
    color: #8B4513;
    margin-top: 0;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #555;
    margin: 0;
}

/* Testimonial Box */
.testimonial-box {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    padding: 2rem;
    border-left: 5px solid #9c27b0;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-box p {
    font-style: italic;
    font-size: 1.15rem;
    color: #4a148c;
    margin: 0;
}

/* Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    padding: 2rem;
    border: 3px solid #ffa726;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.guarantee-box h4 {
    color: #e65100;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.guarantee-box p {
    color: #555;
    margin: 0;
    font-size: 1.05rem;
}

/* Features List */
.features-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 1.5rem;
    font-weight: bold;
}

.features-list strong {
    color: #1a1a1a;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #8B4513;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.cta-button:hover {
    background-color: #A0522D;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.cta-button.primary-cta {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    font-size: 1.2rem;
    padding: 1.25rem 3.5rem;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(139, 69, 19, 0.6);
    }
}

.cta-button.secondary-cta {
    background-color: #2c3e50;
}

.cta-button.secondary-cta:hover {
    background-color: #34495e;
}

.cta-button.small {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
}

/* Image Cards */
.content-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.image-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.sidebar-cta h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 1rem;
}

.sidebar-cta p {
    color: #fff;
    margin-bottom: 1.5rem;
}

.sidebar-cta .cta-button {
    background-color: #fff;
    color: #8B4513;
    margin: 0;
}

.sidebar-cta .cta-button:hover {
    background-color: #f0f0f0;
    color: #A0522D;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #A0522D;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .content-text {
        padding: 1.5rem;
    }

    .content-text p,
    .features-list li {
        font-size: 1rem;
    }

    .content-text h2 {
        font-size: 1.75rem;
    }

    .content-text h3 {
        font-size: 1.35rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .cta-button.primary-cta {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .skill-cards {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .content-text {
        padding: 1rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .reader-problems,
    .personal-story,
    .social-proof,
    .benefits-section,
    .testimonial-box,
    .guarantee-box {
        padding: 1.5rem;
    }

    .cta-button {
        width: 100%;
        padding: 1rem;
    }
}
