html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
}

ul {
    padding-left: 40px;
}

/* CSS Variables (Light Mode Default) */
:root {
    /* Fonts */
    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'IBM Plex Sans', sans-serif;

    /* Colors */
    --bg-color: #f4f4f4;
    --text-color: #2a2a2a;
    --nav-bg: #1e1e1e;
    --nav-text: #ffffff;
    --card-bg: #ffffff;
    --accent: #6a5acd;
}


body.dark-mode {
    --bg-color: #121212;
    --text-color: #f4f4f4;
    --nav-bg: #1f1f1f;
    --nav-text: #ffffff;
    --card-bg: #1e1e1e;
    --accent: #00bcd4;
}


body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.75;
    font-size: 1.05vw;
    transition: background 0.3s, color 0.3s;
}



nav {
    background: var(--nav-bg);
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: var(--accent);
}


.toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--nav-text);
    background: transparent;
    color: var(--nav-text);
    cursor: pointer;
    font-size: 1rem;

    /* Center the icon perfectly */
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    line-height: 1;

    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background: var(--nav-text);
    color: var(--nav-bg);
}


.toggle-btn:hover {
    background: var(--nav-text);
    color: var(--nav-bg);
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    transition: background 0.3s;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 4vw;
    margin-bottom: 20px;
}

p {
  font-size: 1vw; 
}


.logo {
    width: 110px;
    height: auto;
    margin-bottom: 20px;
}

/* Full-Screen Landing Section */
.landing {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-color);
    padding: 20px;
}

/* Centered Content */
.landing-content {
    max-width: 700px;
}

/* Logo */
.logo {
    width: 110px;
    height: auto;
    margin-bottom: 25px;
}

/* Main Title */
.landing h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Tagline */
.tagline {
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Scroll Button */
.scroll-down {
    text-decoration: none;
    color: var(--text-color);  /* key change */
    font-weight: 500;
    font-size: 1.1rem;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.scroll-down:hover {
    opacity: 0.6;
}

.resource-list {
    list-style-type: disc;
    padding-left: 60px;
    margin-top: 25px;
}

.resource-list li {
    margin-bottom: 12px;
}
