/* =========================================
           1. VARIABLES & RESET
           ========================================= */
        :root {
            /* Colors */
            --color-primary: #3D1B85;
            --color-accent: #EC4872; /* The requested pink color */
            --color-text: #331F20;
            --color-text-gray: #331F20;
            --color-white: #FFFFFF;
            --color-hover: #00A1E4;
            --color-bg-light: #f9f9f9;
            --color-bg-purple-light: rgba(61, 27, 133, 0.05);
            --color-footer-bg: #231F20;
            --color-footer-text: #D5D5D5;

            /* Layout */
            --max-width: 1140px;
            --border-radius: 8px;

            /* Typography */
            --font-family: 'Ubuntu', sans-serif;
        }

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

        body {
            font-family: var(--font-family);
            font-weight: 300;
            color: var(--color-text);
            line-height: 1.6;
            background-color: var(--color-white);
            -webkit-font-smoothing: antialiased;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        ul {
            list-style: none;
        }

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

        button {
            border: none;
            background: none;
            font-family: inherit;
            cursor: pointer;
        }

        /* Utility Class for Width */
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 15px;
        }

        /* =========================================
           2. HEADER & NAVIGATION (UPDATED LAYOUT)
           ========================================= */
        .site-header {
            background-color: var(--color-white);
            border-bottom: 1px solid #eee;
            position: relative;
            z-index: 1000;
            padding: 15px 0;
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .site-logo img {
            max-width: 220px;
            height: auto;
        }

        /* Nav Wrapper handles the right column */
        .nav-wrapper {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 12px; /* Space between the two rows */
        }

        /* Shared Row Styles */
        .nav-row {
            display: flex;
            align-items: center;
            gap: 25px; /* Horizontal space between items */
            margin: 0;
            padding: 0;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: 400;
            color: var(--color-text);
            text-transform: lowercase;
            letter-spacing: 0.5px;
            padding-bottom: 2px;
        }

        .nav-link:hover, .nav-link:focus {
            color: var(--color-hover);
        }

        /* Active State styling (Parama) */
        /* UPDATED: Uses accent color #EC4872 */
        .nav-link.active-link {
            color: var(--color-accent);
            font-weight: 500;
        }

        .arrow-icon {
            font-size: 10px;
            margin-left: 6px;
            color: #333;
        }

        /* Dropdowns */
        .dropdown {
            position: absolute;
            top: 100%;
            left: -15px; /* Offset slightly to align */
            background: #f7f7f7;
            min-width: 240px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 999;
            padding: 10px 0;
            text-align: left;
        }

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

        .dropdown li a {
            display: block;
            padding: 10px 20px;
            font-size: 15px;
            color: var(--color-text);
            text-transform: none; /* Submenus usually normal case */
        }

        .dropdown li a:hover {
            color: var(--color-hover);
            background-color: rgba(0,0,0,0.02);
        }

        /* Mobile Menu Toggle */
        .mobile-toggle {
            display: none;
            font-size: 24px;
            color: var(--color-text);
            padding: 10px;
            margin-left: auto;
        }

        /* =========================================
           3. HERO & INTRO SECTIONS
           ========================================= */
        .hero-section {
            background-image: url('https://wowuniversity.org/storage/2023/08/Remimas_2-1536x595.webp');
            background-size: cover;
            background-position: center;
            min-height: 400px;
            position: relative;
            width: 100%;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(241, 118, 149, 0) 26%, rgba(241, 118, 149, 0.78) 69%);
        }

        .intro-section {
            padding: 50px 0;
            text-align: center;
        }

        .intro-heading {
            font-size: 32px;
            color: var(--color-primary);
            max-width: 900px;
            margin: 0 auto 25px;
            line-height: 1.3;
            font-weight: 700;
        }

        .intro-subtext {
            font-size: 18px;
            max-width: 1060px;
            margin: 0 auto;
            color: var(--color-text-gray);
        }

        /* =========================================
           4. PROJECTS GRID SECTION
           ========================================= */
        .projects-section {
            background-color: var(--color-accent);
            padding: 80px 0;
            margin-top: 30px;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: start;
        }

        .project-card {
            background: var(--color-white);
            border-radius: var(--border-radius);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
            height: 100%;
        }

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

        .project-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .project-content {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .project-title {
            color: var(--color-primary);
            font-size: 28px;
            margin-bottom: 15px;
            text-align: center;
            font-weight: 700;
        }

        .project-desc {
            font-size: 16px;
            margin-bottom: 25px;
            text-align: justify;
            color: var(--color-text-gray);
            min-height: 150px; 
        }

        /* Donation Widget */
        .donation-widget {
            background: var(--color-bg-purple-light);
            padding: 20px;
            border-radius: var(--border-radius);
            margin-top: auto;
        }

        .widget-title {
            font-size: 16px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 5px;
            color: var(--color-primary);
        }

        .widget-subtitle {
            text-align: center;
            font-size: 14px;
            margin-bottom: 15px;
            color: var(--color-accent);
        }

        .amount-options {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 15px;
        }

        .amount-btn {
            background: var(--color-white);
            border: 1px solid var(--color-accent);
            color: var(--color-accent);
            padding: 10px;
            font-size: 16px;
            font-weight: 500;
            border-radius: 4px;
            transition: all 0.2s;
        }

        .amount-btn:hover, .amount-btn.selected {
            background: var(--color-accent);
            color: var(--color-white);
        }

        .custom-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-bottom: 15px;
            font-family: var(--font-family);
            text-align: center;
            font-size: 16px;
        }

        .submit-btn {
            display: block;
            width: 100%;
            padding: 15px;
            background: var(--color-primary);
            color: var(--color-white);
            text-align: center;
            border-radius: 30px;
            font-size: 18px;
            font-weight: 700;
            transition: background 0.3s;
        }

        .submit-btn:hover {
            background: #2a115e;
        }

        /* More Info Link Style */
        .more-info-link {
            display: block;
            margin-top: 20px;
            text-align: center;
            color: var(--color-text-gray);
            font-weight: 500;
            font-size: 16px;
            text-decoration: underline;
            text-decoration-color: var(--color-accent);
            text-underline-offset: 4px;
        }

        .more-info-link:hover {
            color: var(--color-accent);
        }

        /* =========================================
           5. CONTACT SECTION
           ========================================= */
        .contact-section {
            padding: 60px 0;
            text-align: center;
            background-color: var(--color-white);
            margin-bottom: 50px;
        }

        .contact-title {
            color: var(--color-primary);
            font-size: 20px;
            font-weight: 400;
            max-width: 900px;
            margin: 0 auto 40px;
        }

        .contact-grid {
            display: flex;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;
        }

        .contact-card {
            background: var(--color-bg-light);
            padding: 20px;
            border-radius: var(--border-radius);
            min-width: 300px;
            text-align: center;
            border: 1px solid #eee;
        }

        .contact-name {
            font-size: 18px;
            font-weight: 700;
            color: var(--color-primary);
            display: block;
        }

        .contact-role {
            font-size: 14px;
            color: var(--color-text-gray);
            display: block;
            margin-bottom: 10px;
            font-style: italic;
        }

        .contact-link {
            display: block;
            color: var(--color-accent);
            font-weight: 700;
            margin: 5px 0;
        }

        /* =========================================
           6. FOOTER
           ========================================= */
        .site-footer {
            background-color: var(--color-footer-bg);
            color: var(--color-white);
            padding: 55px 0 20px;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .footer-logo {
            width: 185px;
            margin-bottom: 20px;
            margin-top: 15px;
        }

        .footer-text {
            font-size: 15px;
            line-height: 1.5;
            margin-bottom: 10px;
        }

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

        .footer-links a {
            color: var(--color-white);
            font-weight: 200;
            font-size: 15px;
        }

        .footer-links a:hover {
            color: var(--color-accent);
        }

        .social-links {
            margin-top: 15px;
        }

        .social-links a {
            margin-right: 15px;
            color: var(--color-footer-text);
            font-size: 18px;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: var(--color-accent);
        }

        /* =========================================
           7. RESPONSIVE MEDIA QUERIES
           ========================================= */
        @media (max-width: 1024px) {
            .mobile-toggle {
                display: block;
            }

            /* Reset flex direction for mobile */
            .nav-wrapper {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--color-white);
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
                border-bottom: 1px solid #eee;
                z-index: 998;
            }

            .nav-wrapper.active {
                max-height: 1000px;
            }

            .nav-row {
                flex-direction: column;
                width: 100%;
                align-items: flex-start;
                gap: 0;
            }

            /* Order rows if needed, or keep top then bottom */
            .nav-row.top-row { order: 1; }
            .nav-row.bottom-row { order: 2; }

            .nav-item {
                width: 100%;
            }

            .nav-link {
                padding: 15px 20px;
                border-bottom: 1px solid #f9f9f9;
                width: 100%;
                justify-content: space-between;
                font-size: 16px;
            }

            /* Mobile Dropdowns */
            .dropdown {
                position: static;
                box-shadow: none;
                background: #f9f9f9;
                padding: 0;
                opacity: 1;
                visibility: visible;
                transform: none;
                display: none; /* JS toggle */
                width: 100%;
            }
            
            .nav-item.mobile-expanded .dropdown {
                display: block;
            }
            
            .dropdown li a {
                padding-left: 40px;
                border-bottom: 1px solid #eee;
            }
        }

        @media (max-width: 768px) {
            .header-inner {
                flex-wrap: wrap;
            }
            
            .site-logo img {
                max-width: 180px;
            }

            .hero-section {
                min-height: 250px;
            }

            .intro-heading {
                font-size: 24px;
            }

            .intro-subtext {
                font-size: 16px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .project-desc {
                min-height: auto;
            }

            .contact-grid {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-col {
                align-items: center;
            }
        }