@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700;900&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --fdp-yellow: #FFED00;
    --fdp-blue: #002F6C;
    --fdp-blue-light: #003D8F;
    --fdp-blue-dark: #001F4A;
    --fdp-magenta: #E5007D;
    --fdp-cyan: #009EE3;
    --fdp-white: #FFFFFF;
    --fdp-gray-100: #F7F8FA;
    --fdp-gray-200: #E8EBF0;
    --fdp-gray-300: #CDD2DB;
    --fdp-gray-600: #6B7280;
    --fdp-gray-800: #1F2937;
    --text-body: #2D3142;
    --shadow-sm: 0 1px 3px rgba(0,47,108,0.08);
    --shadow-md: 0 4px 16px rgba(0,47,108,0.1);
    --shadow-lg: 0 12px 40px rgba(0,47,108,0.15);
    --radius: 6px;
    --max-width: 1180px;
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-body);
    background: var(--fdp-gray-100);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--fdp-blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--fdp-magenta);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.topbar {
    background: var(--fdp-blue-dark);
    color: var(--fdp-gray-300);
    font-size: 13px;
    padding: 6px 0;
    letter-spacing: 0.3px;
}

.topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: var(--fdp-gray-300);
    margin-left: 16px;
}

.topbar a:hover {
    color: var(--fdp-yellow);
}

header {
    background: var(--fdp-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--fdp-yellow);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 16px;
    color: var(--fdp-blue);
    letter-spacing: -0.5px;
}

.logo-text {
    color: var(--fdp-white);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    color: var(--fdp-yellow);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li > a {
    color: var(--fdp-white);
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

nav ul li > a:hover,
nav ul li > a.active {
    background: rgba(255,237,0,0.15);
    color: var(--fdp-yellow);
}

nav ul li > a .arrow {
    font-size: 10px;
    transition: transform var(--transition);
}

nav ul li:hover > a .arrow {
    transform: rotate(180deg);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--fdp-white);
    min-width: 260px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 100;
    animation: dropIn 0.2s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

nav ul li:hover > .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    border-left: 3px solid transparent;
}

.dropdown a:hover {
    background: var(--fdp-gray-100);
    color: var(--fdp-blue);
    border-left-color: var(--fdp-yellow);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--fdp-white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--fdp-blue);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,47,108,0.92) 0%, rgba(0,31,74,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    color: var(--fdp-white);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero h1 .highlight {
    color: var(--fdp-yellow);
}

.hero p {
    font-size: 19px;
    max-width: 560px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-primary {
    background: var(--fdp-yellow);
    color: var(--fdp-blue);
}

.btn-primary:hover {
    background: #FFD600;
    color: var(--fdp-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,237,0,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--fdp-white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: var(--fdp-yellow);
    color: var(--fdp-yellow);
}

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--fdp-blue);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--fdp-gray-600);
    font-size: 17px;
    margin-bottom: 40px;
    max-width: 600px;
}

.yellow-bar {
    width: 48px;
    height: 4px;
    background: var(--fdp-yellow);
    border-radius: 2px;
    margin-bottom: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.card {
    background: var(--fdp-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0,47,108,0.08);
    color: var(--fdp-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 3px;
    margin-bottom: 12px;
    width: fit-content;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--fdp-blue-dark);
    line-height: 1.35;
}

.card p {
    font-size: 15px;
    color: var(--fdp-gray-600);
    flex: 1;
    margin-bottom: 16px;
}

.card-link {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fdp-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--fdp-magenta);
}

.page-hero {
    background: var(--fdp-blue);
    padding: 60px 24px;
    text-align: center;
    color: var(--fdp-white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,237,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
}

.page-hero .breadcrumb {
    font-size: 14px;
    opacity: 0.7;
    position: relative;
}

.page-hero .breadcrumb a {
    color: var(--fdp-yellow);
    opacity: 1;
}

.content-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.content-wrapper p {
    margin-bottom: 18px;
}

.content-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--fdp-blue);
    margin: 36px 0 16px;
}

.content-wrapper h3 {
    font-size: 20px;
    color: var(--fdp-blue-dark);
    margin: 28px 0 12px;
    font-weight: 700;
}

.content-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 28px 0;
}

.content-img-caption {
    font-size: 13px;
    color: var(--fdp-gray-600);
    text-align: center;
    margin-top: -20px;
    margin-bottom: 28px;
    font-style: italic;
}

.highlight-box {
    background: linear-gradient(135deg, var(--fdp-blue) 0%, var(--fdp-blue-light) 100%);
    color: var(--fdp-white);
    padding: 28px 32px;
    border-radius: var(--radius);
    margin: 32px 0;
    border-left: 5px solid var(--fdp-yellow);
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.7;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    background: var(--fdp-white);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--fdp-yellow);
}

.stat-card .number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--fdp-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .label {
    font-size: 14px;
    color: var(--fdp-gray-600);
    font-weight: 600;
}

footer {
    background: var(--fdp-blue-dark);
    color: var(--fdp-gray-300);
    padding: 48px 0 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

footer h4 {
    color: var(--fdp-yellow);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: var(--fdp-gray-300);
    font-size: 14px;
    transition: color var(--transition);
}

footer ul li a:hover {
    color: var(--fdp-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--fdp-gray-600);
}

.footer-bottom a {
    color: var(--fdp-gray-300);
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .header-inner { height: 64px; }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--fdp-blue);
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: var(--shadow-lg);
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 12px 0;
        gap: 0;
    }

    nav ul li > a {
        padding: 14px 24px;
        border-radius: 0;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.15);
        border-radius: 0;
        display: none;
        animation: none;
    }

    nav ul li.mobile-open > .dropdown {
        display: block;
    }

    .dropdown a {
        padding-left: 40px;
        color: rgba(255,255,255,0.8);
    }

    .dropdown a:hover {
        background: rgba(255,255,255,0.05);
        color: var(--fdp-yellow);
        border-left-color: var(--fdp-yellow);
    }

    .hero {
        min-height: 320px;
    }

    .hero-content {
        padding: 50px 24px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .section { padding: 40px 16px; }
    .content-wrapper { padding: 32px 16px 60px; }
}
