:root {
    --primary-color: #0f4c81;
    --secondary-color: #2ab7ca;
    --accent-color: #fe4a90;
    --bg-color: #f8fafc;
    --text-color: #334155;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 166px; /* 130px navbar + 36px top bar */
}

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

/* Top Bar */
.top-bar {
    background: #16a34a; /* Vibrant Green */
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

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

.top-bar-contact a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 25px;
    transition: color var(--transition-speed);
    font-weight: 600;
}

.top-bar-contact a:hover {
    color: var(--secondary-color);
}

/* Header */
.navbar {
    background: #ffffff; /* Solid white to blend with the logo */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 36px; /* Offset for top bar */
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 110px; /* Increased height so the square logo is legible */
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-speed);
}

.nav-links a:hover, .nav-links a.active {
    color: #ff9800;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ff9800;
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background var(--transition-speed), transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e67a00;
    transform: translateY(-2px);
}

/* Page Hero Breadcrumb */
.page-hero {
    background: var(--primary-color);
    color: white;
    padding: 80px 20px 100px;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.5rem;
    margin: 0;
}

.nav-links a.nav-btn {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    transition: all var(--transition-speed);
}

.nav-links a.nav-btn::after {
    display: none;
}

.nav-links a.nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    color: var(--text-light); /* Since they are now in the primary color top-bar */
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

/* Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    transition: color var(--transition-speed);
}

.menu-icon:hover {
    color: var(--secondary-color);
}

.menu-icon svg {
    width: 100%;
    height: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh; /* Changed from calc(100vh - 110px) to make the image bigger */
    padding: 0; /* Override the default section 100px padding */
    overflow: hidden;
    border-top: 5px solid #f97316;
    border-bottom: 5px solid #f97316;
}

.slides-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.slide .overlay h2 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s forwards 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide .overlay p {
    font-size: 24px;
    font-weight: 400;
    max-width: 800px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s forwards 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide .overlay .btn {
    margin-top: 30px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(42, 183, 202, 0.4);
    transition: all 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeUp 1s forwards 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide .overlay .btn:hover {
    background-color: #239ea0;
    box-shadow: 0 6px 20px rgba(42, 183, 202, 0.6);
    transform: translateY(-2px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 2;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev-btn, .next-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* General Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title .underline {
    height: 4px;
    width: 80px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Glassmorphism Classes */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.hover-lift {
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* About Section */
.about-section {
    background-color: var(--bg-color);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #475569;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    padding: 80px 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.impact-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.impact-number {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
}

.impact-text {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* Vision & Mission */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-mission-section .card {
    text-align: left;
    padding: 50px;
}

.vision-mission-section .icon {
    font-size: 50px;
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(42, 183, 202, 0.1);
    padding: 20px;
    border-radius: 50%;
}

.vision-mission-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
}

.vision-mission-section p {
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
}

/* Focus Areas */
.focus-section {
    background-color: #fff;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.focus-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.focus-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.focus-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.focus-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

.focus-card h4 {
    color: var(--primary-color);
    font-size: 20px;
}

/* Leadership */
.leadership-section {
    background-color: var(--bg-color);
}
.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.leadership-card, .dpo-card {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.leader-avatar {
    font-size: 60px;
    margin-bottom: 20px;
    text-align: center;
}

.leadership-card h3, .dpo-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.leadership-card .role {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.dpo-list {
    list-style: none;
    margin-top: 20px;
}

.dpo-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    color: #475569;
}

.dpo-list li:last-child {
    border-bottom: none;
}

.dpo-list li strong {
    color: var(--text-color);
    display: inline-block;
    width: 150px;
}

.leader-info p {
    color: #475569;
    font-size: 17px;
}

.dpo-details h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.dpo-details ul {
    list-style: none;
}

.dpo-details ul li {
    margin-bottom: 15px;
    font-size: 17px;
    padding-left: 30px;
    position: relative;
    color: #475569;
}

.dpo-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h3, .footer-contact h3 {
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed);
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .leadership-content, .about-grid, .focus-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .slide .overlay h2 {
        font-size: 32px;
    }
    .slide .overlay p {
        font-size: 16px;
    }
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-icon {
        display: block;
    }
    .navbar {
        padding: 10px 0;
        top: 65px; /* Adjust for taller top bar on mobile */
    }
    
    /* Mobile Top Bar Fixes */
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .top-bar-contact a {
        margin: 0 10px;
        font-size: 12px;
    }
    
    /* Mobile Logo Fixes */
    .logo-img {
        height: 70px; /* Smaller logo on mobile */
    }
    
    /* Mobile Slider Fixes */
    .hero-slider {
        height: 70vh; /* Smaller slider height on mobile */
    }
    body {
        padding-top: 155px; /* Adjust body padding for mobile header */
    }
}

/* Ensure images embedded into the About page via CMS are responsive on the homepage */
.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
