:root {
    --primary: #001d3d; /* Dark Navy from the 'T' */
    --secondary: #003566; /* Deep Blue from the wave base */
    --accent: #00a8cc; /* Teal/Cyan from the wave crest */
    --accent-dark: #0077b6; /* Medium Blue from the wave */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --gradient: linear-gradient(135deg, #001d3d 0%, #003566 100%);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Navbar */
.tp-navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tp-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around; /* Spread items evenly */
    align-items: center;
    padding: 0 2rem;
}

.tp-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.tp-nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.tp-nav-links a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(44, 82, 130, 0.8)), url('https://images.unsplash.com/photo-1524334228333-0f6db392f8a1?auto=format&fit=crop&q=80') center/cover;
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Journals Section */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.journal-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #edf2f7;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.journal-card-img {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-card-content {
    padding: 1.5rem;
}

.journal-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    color: var(--primary);
}

.journal-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--secondary);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}
