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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    background: var(--gradient-background);
    overflow-x: hidden;
}

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

/* Typography */
h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-teal);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary-teal);
    margin-bottom: 1rem;
    line-height: 1.4;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary-teal);
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    line-height: 1.7;
}

a {
    color: var(--color-primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c9be9d;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg-overlay);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.top-bar {
    background: var(--gradient-hero);
    padding: 8px 0;
    color: var(--color-text-white);
    font-size: 0.9rem;
}

.contact-info .highlight {
    color: var(--color-text-white);
    font-weight: 500;
}

.contact-info .highlight a {
    color: var(--color-text-white);
    text-decoration: none;
}

.main-nav {
    padding: 15px 0;
    background: var(--gradient-background);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--color-secondary-navy);
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
    color: var(--color-primary-teal);
}

.nav-menu .current > a {
    color: var(--color-accent-red);
    font-weight: 600;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-white);
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text-dark);
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--color-bg-light-gray);
    color: var(--color-primary-teal);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-secondary-navy);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 120px;
    background: var(--gradient-hero);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 45, 96, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-text-white);
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--color-text-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--color-text-white-90);
    margin-bottom: 0;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

/* Content Sections */
.intro-section,
.mission-section,
.activities-section {
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.text-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.text-content h1 {
    color: #1d7184;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Visual Sections */
.visual-section,
.framework-section {
    padding: 2rem 0;
    text-align: center;
}

.visual-content {
    background: #e8e4da;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.image-container {
    display: inline-block;
    max-width: 100%;
}

.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

/* Governance and Plan Sections */
.governance-section,
.plan-section {
    padding: 3rem 0;
    text-align: center;
}

.document-link {
    display: inline-block;
    position: relative;
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.document-link:hover {
    transform: translateY(-5px);
}

.pdf-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.document-preview {
    max-width: 300px;
    height: auto;
    display: block;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 113, 132, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pdf-overlay span {
    font-weight: 500;
}

.document-link:hover .pdf-overlay {
    opacity: 1;
}

/* PDF Placeholder Styles */
.pdf-placeholder {
    display: inline-block;
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed #1d7184;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pdf-placeholder:hover {
    background: rgba(29, 113, 132, 0.1);
    border-color: #c9be9d;
}

.pdf-placeholder-content {
    text-align: center;
    color: #1d7184;
}

.pdf-placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pdf-placeholder-content span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* PDF Embed Styles */
.pdf-embed-container {
    min-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pdf-embed-container iframe {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pdf-download-link {
    margin-top: 1rem;
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1d7184;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-download:hover {
    background: #2a9fb0;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-download i {
    font-size: 1rem;
}

/* Highlight Style */
.highlight-yellow {
    background-color: #ffff99;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 2rem 0;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1d7184;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    background: #e7e4db;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    margin-bottom: 1.5rem;
}

.partner-logo img {
    max-width: 200px;
    height: auto;
}

.partner-info h4 {
    color: #1d7184;
    margin-bottom: 1rem;
}

.partner-info p {
    color: #555;
    margin-bottom: 0;
}

.partner-info a {
    color: #1d7184;
    font-weight: 500;
}

.partner-info a:hover {
    color: #c9be9d;
}

/* Footer */
.footer {
    background: rgb(41,175,160);
    background: linear-gradient(90deg, rgba(41,175,160,1) 0%, rgba(24,80,116,1) 56%, rgba(21,40,96,1) 100%);
    color: white;
    margin-top: 4rem;
}

.footer-content {
    padding: 3rem 0 2rem;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-logo,
.partners-logo {
    max-width: 200px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover,
.partners-logo:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.copyright a {
    color: rgba(255, 255, 255, 0.9);
}

.copyright a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1d7184;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2a9fb0;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu > li > a {
        font-size: 0.9rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu > li > a {
        display: block;
        padding: 15px 20px;
        color: #333;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .text-content {
        padding: 1.5rem;
    }
    
    .text-content h1 {
        font-size: 1.8rem;
    }
    
    .visual-content {
        padding: 1rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        order: 2;
    }
    
    .social-links {
        order: 1;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .text-content {
        padding: 1rem;
    }
    
    .document-preview {
        max-width: 250px;
    }
    
    .pdf-embed-container {
        padding: 0.5rem;
    }
    
    .pdf-embed-container iframe {
        height: 400px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    body {
        background: white !important;
    }
    
    .text-content,
    .visual-content,
    .partner-card {
        background: white !important;
        box-shadow: none !important;
    }
}