/* --- 1. Base Styles & Variables --- */
:root {
    --color-primary: #5d4a3c; /* Dark Brown/Accent */
    --color-secondary: #92755e; /* Medium Brown */
    --color-bg-light: #d8d3c9; /* Light Beige Background */
    --color-bg-white: #ffffff;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-border: #ccc;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-text-dark);
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

button {
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

/* Placeholder for missing images */
.visual-placeholder {
    background-color: #c0bcb4;
    height: 300px;
    border-radius: 8px;
}
.visual-placeholder.large {
    height: 400px;
}

/* --- 2. Navigation Header --- */
.main-header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 1.2em;
    margin-right: 5px;
    color: var(--color-bg-light);
}

.main-nav .nav-link {
    margin-left: 20px;
    font-size: 1em;
    opacity: 0.8;
}

.main-nav .nav-link:hover {
    opacity: 1;
}

/* --- 3. Hero Section --- */
.hero-section {
    background-color: var(--color-bg-light);
    padding: 80px 20px;
}

.hero-content-wrapper {
    display: grid;
    /* Define grid columns for large screen: Text Area (2fr), Visual Area (3fr), Sidebar (1fr) */
    grid-template-columns: 2fr 3fr 1fr;
    gap: 30px;
    align-items: center;
}

.text-area {
    padding-right: 20px;
}

.text-area h1 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
}

.revision-word {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--color-secondary);
    margin: -10px 0; /* Tighten the spacing between lines */
}

.text-area p {
    margin: 20px 0;
    font-size: 1.1em;
}

.actions button {
    padding: 12px 25px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 1em;
    margin-right: 15px;
}

.primary-btn {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.secondary-btn {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.sidebar {
    background-color: var(--color-bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.icon-ring {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.5em;
    color: var(--color-secondary);
}

/* --- 4. Features Section (Grid) --- */
.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 20px;
}

.feature-card {
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-height: 250px; /* Ensure visual consistency */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.f-bg-light { background-color: #f0ebe4; }
.f-bg-white { background-color: var(--color-bg-white); }
.f-bg-dark { 
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

.feature-card .icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.f-bg-dark .icon { color: var(--color-bg-light); }

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-border {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 15px;
    width: 100%;
    border-radius: 4px;
}

/* --- 5. Study Methods Section (2 Columns) --- */
.study-methods-section {
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 80px 20px;
}

.text-column {
    flex: 1;
}

.visual-column {
    flex: 1;
}

.text-column h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.method-list .method-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.bullet-point {
    width: 10px;
    height: 10px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    margin-top: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.method-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-primary);
}

/* --- 6. Footer --- */
footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 40px 20px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-cols {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-cols .col {
    flex-basis: 33%;
}

.brand-info .logo {
    margin-bottom: 10px;
}

.footer-cols h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-bg-light);
}

.footer-cols ul {
    list-style: none;
}

.footer-cols li {
    margin-bottom: 8px;
}

.footer-link:hover {
    text-decoration: underline;
}

.separator {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.copyright {
    text-align: center;
    font-size: 0.9em;
    opacity: 0.7;
}

/* ======================================= */
/* --- RESPONSIVENESS (Media Queries) --- */
/* ======================================= */

/* Tablets and larger phones (up to 992px) */
@media (max-width: 992px) {
    /* Hero Section */
    .hero-content-wrapper {
        /* Stack the sidebar below the main content on smaller screens */
        grid-template-columns: 2fr 3fr; 
        grid-template-areas: 
            "text visual"
            "sidebar sidebar";
    }

    .sidebar {
        grid-area: sidebar;
        margin-top: 20px;
    }

    /* Feature Cards */
    .features-section {
        /* Two columns per row */
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Small devices (up to 768px) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-content-wrapper {
        /* Stack everything in one column */
        grid-template-columns: 1fr;
        grid-template-areas: 
            "text"
            "visual"
            "sidebar";
        gap: 20px;
    }
    
    .text-area {
        text-align: center;
        padding-right: 0;
    }

    .revision-word {
        font-size: 2.5em;
    }
    
    .actions {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    .actions button {
        margin: 0;
        padding: 10px 15px;
        font-size: 0.9em;
    }

    /* Features */
    .features-section {
        /* Still two columns, maybe larger text */
        gap: 15px;
    }

    /* Study Methods */
    .study-methods-section {
        /* Stack columns vertically */
        flex-direction: column;
        gap: 30px;
    }

    /* Footer */
    .footer-cols {
        /* Stack footer columns */
        flex-direction: column;
        gap: 20px;
    }

    .footer-cols .col {
        flex-basis: auto;
    }
}

/* Very small devices (up to 480px) */
@media (max-width: 480px) {
    .main-header {
        padding: 10px 15px;
    }

    .logo {
        font-size: 1.3em;
    }

    .main-nav .nav-link {
        margin-left: 10px;
    }

    .features-section {
        /* Single column for features */
        grid-template-columns: 1fr;
    }
}
.visual-area {
    /* 1. Set the image path */
    background-image: url('path/to/your/image.jpg'); 

    /* 2. Mandatory: Set dimensions for the div to be visible */
    height: 300px;
    width: 100%;
    
    /* 3. Essential properties for control (Recommended) */
    
    /* Ensures the image covers the entire area without repeating */
    background-size: cover; 
    
    /* Centers the image within the element */
    background-position: center; 
    
    /* Prevents the image from tiling/repeating if the element is larger than the image */
    background-repeat: no-repeat; 

    /* Optional: Style the text inside the banner */
    color: white;
    text-align: center;
    padding-top: 100px; 
}
.logo-icon {
    font-size: 50px; /* Use font-size to control the size of text/symbol icons */
    /* You might also need to set line-height or margin for vertical alignment */
}