/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0b466b;
    --dark-blue: #0b466b;
    --light-blue: #0f6499;
    --accent-blue: #0f6499;
    --text-dark: #0b466b;
    --text-light: #5a6c7d;
    --bg-light: #eff6ff;
    --bg-hero: #eff6ff;
    --white: #ffffff;
}

::selection {
    background-color: var(--primary-blue);
    color: var(--white);
}

body {
    font-family: arial, Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 15px;
}

/* Premium gradient effect for headings */
h1,
h2 {
    background: linear-gradient(358deg, var(--text-dark) 0%, #1c7eba 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header and Navigation */
header {
    background-color: var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 70px;
}

nav {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    height: 100%;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    height: 44px;
    color: var(--white) !important;
    text-decoration: none !important;
    padding: 0 22px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    border-radius: 6px;
    margin: 0 4px;
}

.nav-menu > li > a.active {
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.nav-menu > li > a:hover:not(.dropdown-toggle) {
    background-color: rgb(255, 255, 255);
    color: var(--primary-blue) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle:hover {
    background-color: transparent !important;
    color: var(--white) !important;
    box-shadow: none !important;
}
.dropdown-toggle:hover::after {
    transform: translateY(3px);
}

.dropdown-toggle::after {
    content: " ▾";
    font-size: 24px;
    margin-left: 4px;
    transition: transform 0.3s ease-in-out;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05),
        0 2px 8px rgba(131, 131, 131, 0.08);
    list-style: none;
    padding: 8px;
    padding-top: 12px;
    margin-top: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-size: 14px;

    border-radius: 6px;
    margin: 2px 0;
    position: relative;
    overflow: hidden;
}

.dropdown-menu li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    opacity: 0;

    z-index: -1;
}

.dropdown-menu li a:hover {
    /* background-color: var(--bg-light); */
    box-shadow: 0 2px 8px rgba(11, 70, 107, 0.1);
    color: white !important;
}

.dropdown-menu li a:hover::before {
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.hero {
    background-color: var(--bg-hero);
    padding: 80px 20px;
    margin-bottom: 0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--light-blue);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-description {
    color: var(--text-dark);
    margin-bottom: 35px;
    line-height: 1.7;
    font-size: 15px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none !important;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 13px;
    text-transform: capitalize;
}

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

.btn-primary:hover {
    background-color: var(--dark-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 60px;
}

.welcome-section h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.welcome-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
    font-size: 15px;
}

/* Project Highlight Section */
.project-highlight {
    background-color: var(--light-blue);
    color: var(--white);
}

.highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-left h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
    text-transform: capitalize;
}

.highlight-left p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--white);
}

.highlight-right {
    display: flex;
    align-items: center;
}

.highlight-box-white {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight-box-white h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.highlight-box-white p {
    line-height: 1.7;
    color: var(--text-dark);
}

.btn-white {
    background-color: var(--white);
    color: var(--light-blue);
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-light:hover {
    background-color: var(--bg-light);
}

/* Partners Section */
.partners-section {
    background-color: #eff6ff;
    padding: 20px 0;
    margin: 0;
}

.partners-section h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 80px;
    font-weight: 700;
    text-align: center;
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.partners-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    flex-shrink: 0;
    min-width: 90px;
}

.stat-description {
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 15px;
    padding-top: 8px;
}

.partners-text {
    text-align: left;
}

.partners-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Links in content */
a {
    color: #0066cc;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.partners-link {
    color: #0066cc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 400;
}

.partners-link:hover {
    color: #004999;
    text-decoration: underline;
}

/* Related Links Section */
.related-links {
    text-align: center;
    margin: 60px 0;
}

.related-links h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 600;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.logo-item {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 50px 20px 25px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 6px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.footer-logos img {
    max-height: 80px;
    width: auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Content Pages Styles */
.page-header {
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 22px;
    font-weight: 600;
}

.content-section h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 25px 0 15px;
    font-weight: 600;
}

.content-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
    font-size: 15px;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 15px;
}

/* Coordination Diagram */
.diagram-container {
    margin: 40px 0;
    text-align: center;
}

.diagram-container img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    background-color: var(--white);
}

.diagram-caption {
    font-style: italic;
    color: var(--text-light);
    margin-top: 15px;
    font-size: 14px;
}

/* Deliverables List */
.deliverables-list {
    margin-bottom: 40px;
}

.deliverables-list h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin: 30px 0 15px;
    font-weight: 600;
}

.deliverables-list ul {
    list-style: disc;
    margin-left: 40px;
}

.deliverables-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.deliverables-list a {
    color: #0066cc;
    text-decoration: underline;
    transition: all 0.3s;
}

.deliverables-list a:hover {
    text-decoration: none;
}

/* Partners Table */
.partners-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.partners-table thead {
    background-color: var(--bg-light);
}

.partners-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid #ddd;
}

.partners-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
    font-size: 14px;
}

.partners-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.partners-table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Contact Box */
.contact-box {
    background-color: var(--bg-light);
    padding: 30px 55px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0px auto;
}

.contact-box h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-box h2 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 25px 0 10px;
    font-weight: 600;
}

.contact-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Context Page Sections */
.context-section-white {
    background-color: var(--white);
    padding: 60px 20px;
}

.context-section-blue {
    background-color: #eff6ff;
    color: black;
    padding: 60px 20px;
}

.context-section-blue h2,
.context-section-blue h3,
.context-section-blue h4 {
    color: var(--text-dark);
}

.context-section-blue p,
.context-section-blue li {
    color: var(--text-dark);
}

.context-section-blue a {
    color: #a8d5ff;
    text-decoration: underline;
}

.context-section-blue a:hover {
    color: var(--white);
    text-decoration: none;
}

.context-section-blue .content-section {
    max-width: 1000px;
    margin: 0 auto;
}

/* Newsroom Page */
.news-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: justify;
    font-size: 15px;
}

.news-item ul {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.news-item li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Planning Page Sections */
.planning-section-blue {
    background-color: #2b6a8e;
    color: var(--white);
    padding: 60px 20px;
}

.planning-section-blue h1,
.planning-section-blue h2,
.planning-section-blue h3 {
    color: var(--white);
}

.planning-section-blue p,
.planning-section-blue li {
    color: var(--white);
}

.planning-section-blue .page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.planning-intro {
    font-size: 16px;
    margin-bottom: 40px;
}

.planning-section-gray {
    background-color: white;
}

.planning-section-gray h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 22px;
    font-weight: 600;
}

.planning-section-gray p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
    font-size: 15px;
}

.planning-section-gray ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.planning-section-gray li {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 851px) {
    /* Adjust navbar for medium screens */
    nav {
        padding: 0 1rem;
    }

    .nav-menu > li > a {
        padding: 0 12px;
        font-size: 11px;
        margin: 0 2px;
    }

    .logo {
        font-size: 16px;
    }
}

@media (max-width: 850px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        height: 100vh;
        left: 0;
        right: 0;
        background-color: var(--primary-blue);
        flex-direction: column;
        padding: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0);
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 40px;
        color: var(--white) !important;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Project Highlight */
    .project-highlight {
        padding: 60px 20px;
    }

    .highlight-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .highlight-left h2 {
        font-size: 28px;
    }

    .highlight-box-white {
        padding: 30px;
    }

    /* Partners Section */
    .partners-section {
        padding: 60px 0;
    }

    .partners-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .partners-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .partners-stats {
        gap: 30px;
    }

    .stat-box {
        gap: 30px;
    }

    .stat-number {
        font-size: 48px;
        min-width: auto;
    }

    .stat-description {
        padding-top: 0;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Table Responsive */
    .partners-table {
        font-size: 14px;
    }

    .partners-table th,
    .partners-table td {
        padding: 10px;
    }

    /* Contact Box */
    .contact-box {
        padding: 40px 20px;
    }

    .contact-box h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
