﻿/* --- GLOBAL RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Soft off-white background (easier on the eyes than pure white) */
    background-color: #f4f6f8;
    color: #333333; /* Dark gray text for readability */
    line-height: 1.6;
}

/* --- COLOR VARIABLES (The Palette) --- */
:root {
    --primary-red: #a93226; /* A professional brick red */
    --accent-orange: #d35400; /* Burnt orange */
    --card-bg: #ffffff; /* Pure white for cards */
    --text-dark: #2c3e50; /* Navy-ish gray for headings */
    --text-body: #566573; /* Softer gray for paragraphs */
}

/* --- NAVIGATION --- */
.navbar {
    /* We keep the navbar dark to anchor the top of the page */
    background-color: var(--primary-red);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 800; /* Extra bold */
    font-size: 1.3rem;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Style for the author name inside the logo */
.logo .author {
    font-size: 0.8rem;      /* Much smaller font size */
    font-weight: 400;       /* Normal weight (not bold) */
    text-transform: none;   /* Turns off the "ALL CAPS" effect */
    opacity: 0.9;           /* Makes it slightly softer white */
    margin-left: 8px;       /* Adds a little space after "GUIDE" */
    font-style: italic;     /* Optional: looks nice for signatures */
    letter-spacing: normal; /* Resets the wide spacing from the logo */
}



.nav-links {
    list-style: none;
}

    .nav-links li {
        display: inline;
        margin-left: 20px;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #ffccbc; /* Light peach hover effect */
        }

/* --- HERO SECTION --- */
.hero {
    /* A relaxed gradient: Very light orange to white */
    background: linear-gradient(135deg, #fdf2e9, #ffffff);
    height: 50vh; /* Slightly shorter for a cleaner look */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--text-dark);
    }

    .hero p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        color: var(--text-body);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-button {
    background-color: var(--accent-orange);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* Rounded pill shape looks friendlier */
    box-shadow: 0 4px 6px rgba(211, 84, 0, 0.3);
    transition: transform 0.2s, background 0.2s;
}

    .cta-button:hover {
        background-color: #ba4a00;
        transform: translateY(-2px); /* Slight lift */
    }

/* --- MAIN LAYOUT --- */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 20px;
}

section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    /* A small underline instead of a side border for a cleaner look */
    border-bottom: 3px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 5px;
}

.section-subtitle {
    margin-bottom: 2.5rem;
    color: var(--text-body);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* --- CARDS GRID SYSTEM --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    /* This creates the "Card" look on the light background */
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    /* Interactive Hover Effect */
    #resources .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        border-top: 5px solid var(--accent-orange); /* Pop of color on hover */
    }

    .card h3 {
        margin-bottom: 1rem;
        color: var(--primary-red); /* Headings inside cards are red */
        font-size: 1.4rem;
    }

    .card p {
        color: var(--text-body);
    }

/* Resource Link Buttons */
.link-btn {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--accent-orange); /* Thicker border */
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s;
}

    .link-btn:hover {
        background-color: var(--accent-orange);
        color: white;
    }

footer {
    /* Use the same variable as your navbar */
    background-color: var(--primary-red);
    color: rgba(255, 255, 255, 0.9); /* Soft white text */
    text-align: center;
    padding: 3rem;
    margin-top: auto;
    /* Optional: Add a subtle top border for definition */
    border-top: 5px solid var(--accent-orange);
}

/* --- TEXT SECTION STYLING --- */
.text-section {
    background-color: white; /* Clean white background */
    padding: 4rem 20px;
    border-bottom: 1px solid #eaeaea; /* Subtle separator line */
}

/* This limits the width of the text so it's easy to read */
.content-wrapper {
    max-width: 800px; /* Standard "reading width" */
    margin: 0 auto; /* Centers the block */
}

/* The "Lead" paragraph style */
.lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Standard paragraphs in this section */
.text-section p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* The "Info Box" for highlighting tips */
.info-box {
    background-color: #fff8f0; /* Very light orange background */
    border-left: 5px solid var(--accent-orange);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
    color: var(--text-dark);
    font-style: italic;
}


/* --- SPACING FIXES --- */

/* 1. Reduce the space below the text section */
#transfer-basics {
    margin-bottom: 0; /* Remove the bottom margin completely */
    border-bottom: none; /* Optional: remove the line if you want them to flow together */
}

/* 2. Reduce the space above the main container (where the classes are) */
.main-container {
    padding-top: 2rem; /* Reduced from 4rem to 2rem */
}

/* --- FULL WIDTH CARD SPACING --- */
.full-width-card {
    /* This creates space between the top rectangle and the 3 squares */
    margin-bottom: 2rem;
}