@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

   
   * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-orange: #FFA500;
            --nav-text: #374151;
            --nav-bg: #ffffff;
            --border-color: #e5e7eb;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
            --dropdown-hover: #f97316;
            --white: #ffffff;
            /* --primary-orange: #f9a007; */
    --primary-navy: #180158;
    --text-shadow-color: #63636380;
    --font-montserrat: "Montserrat", sans-serif;
    --font-manrope: "Manrope", sans-serif;

    --primary-color: #4285F4; /* Blue */
    --secondary-color: #34A853; /* Green */
    --accent-color: #FBBC05; /* Yellow */
    --background-light: #f4f6f9;
    --card-bg: #ffffff;


        }

        body {
            /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
            background-color: #f9fafb;
            font-family: "Montserrat", Sans-serif;
            overflow-x: hidden;
        }



        .top-bar a {
            text-decoration: none;
            color: inherit;
            transition: all .3s ease-in-out;
        }

        .top-bar a:hover{
            transform: scale(1.02);
        }

        /* Header */
        .header {
            background-color: var(--nav-bg);
            box-shadow: var(--shadow);
            width: 100%;    
           position: relative;
           z-index: 100;
        }

        /* Top Bar with Logo */
        .top-bar {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1.5rem 1rem;
            }

        .top-bar img {
            width: min(250px, 40vw);
            height: auto;
            border-radius: 50%;
        }

        /* Navbar Container */
        .navbar-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
            height: 64px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Desktop Navigation */
        .nav-links-desktop {
            display: none;
            align-items: center;
            height: 100%;
        }

        .desktop-menu-list {
            display: flex;
            list-style: none;
            height: 100%;
            padding: 0 3rem;
            gap: 2.5rem;
            align-items: center;
            border-bottom: 1px dotted black;
            border-top: 1px dotted black;
        }

        .desktop-menu-list > li {
            height: 100%;
            display: flex;
            align-items: center;
        }

        /* Nav Link Styling */
        .nav-link-item {
            position: relative;
            cursor: pointer;
            color: var(--nav-text);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s;
            height: 100%;
            display: flex;
            align-items: center;
            white-space: nowrap;
        }

        .nav-link-item a {
            height: 100%;
            display: flex;
            text-decoration: none;
            color: var(--nav-text);
            align-items: center;
        }

        .nav-link-item:hover {
            color: var(--primary-orange);
        }

        /* Orange Underline Effect */
        .nav-link-item::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-orange);
            transform: scaleX(0);
            transition: transform 0.3s ease;
            transform-origin: center;
        }

      
        .nav-link-item:hover::after {
            transform: scaleX(1.5);
        }

        /* Dropdown Wrapper */
        .dropdown-wrapper {
            position: relative;
            height: 100%;
            z-index: 1000;
        }

        .dropdown-trigger {
            display: flex;
            align-items: center;
            gap: 4px;
            height: 100%;
        }

        /* Dropdown Content - Enhanced Styling */
        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 0;
            z-index: 999;
            min-width: 220px;
            background-color: white;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: all 0.3s ease;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .dropdown-wrapper:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .dropdown-content a {
            display: block;
            padding: 14px 20px;
            font-size: 0.9rem;
            color: var(--nav-text);
            transition: all 0.2s;
            border-left: 3px solid transparent;
            text-decoration: none;
        }

        .dropdown-content a:hover {
            background: linear-gradient(90deg, #fff5e6 0%, #ffffff 100%);
            border-left-color: var(--primary-orange);
            color: var(--dropdown-hover);
            padding-left: 24px;
        }

        .dropdown-arrow {
            height: 16px;
            width: 16px;
            transition: transform 0.3s;
        }

        .dropdown-wrapper:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Mobile Menu Button */
        .mobile-menu-button-wrapper {
            display: flex;
            align-items: center;
        }

        .mobile-menu-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px;
            border-radius: 6px;
            color: var(--nav-text);
            background-color: transparent;
            border: none;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .mobile-menu-button:hover {
            background-color: #f3f4f6;
        }

        .mobile-menu-icon {
            height: 28px;
            width: 28px;
        }

        /* Mobile Menu Container */
        .mobile-menu-container {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;
            background-color: var(--nav-bg);
            border-top: 1px solid var(--border-color);
        }

        .mobile-menu-container.open {
            max-height: 1000px;
            padding: 12px 0;
        }

        .mobile-menu-content {
            padding: 0 8px;
        }

        .mobile-link {
            display: block;
            padding: 12px 16px;
            margin: 4px 0;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            color: var(--nav-text);
            transition: all 0.2s;
        }

        .mobile-link:hover,
        .mobile-link.active {
            background-color: #fff5e6;
            color: var(--primary-orange);
        }

        /* Mobile Dropdown */
        .mobile-dropdown-wrapper {
            margin: 4px 0;
        }

        .mobile-dropdown-button {
            width: 100%;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            color: var(--nav-text);
            transition: all 0.2s;
        }

        .mobile-dropdown-button:hover {
            background-color: #f3f4f6;
        }

        .mobile-dropdown-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-in-out;
            background-color: #f9fafb;
            border-radius: 8px;
            margin: 4px 8px;
        }

        .mobile-dropdown-content.open {
            max-height: 500px;
            padding: 8px 0;
        }

        .mobile-dropdown-content a {
            display: block;
            padding: 10px 16px 10px 28px;
            margin: 2px 8px;
            border-radius: 6px;
            font-size: 0.9rem;
            color: #6b7280;
            transition: all 0.2s;
            text-decoration: none;
        }

        .mobile-dropdown-content a:hover {
            background-color: white;
            color: var(--primary-orange);
            padding-left: 32px;
        }

        .mobile-dropdown-button .dropdown-arrow {
            transition: transform 0.3s;
        }

        .mobile-dropdown-button.open .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Mobile Donate Button */
        .mobile-donate-button {
            display: block;
            text-align: center;
            padding: 12px 24px;
            margin: 16px 8px 8px;
            color: white;
            background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
        }

        .mobile-donate-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4);
        }

        /* Responsive Breakpoints */
        
        /* Tablet: 768px - 1023px */
        @media (min-width: 768px) and (max-width: 1023px) {
            .top-bar img {
                width: min(180px, 35vw);
            }
            
         
            
            .mobile-donate-button {
                grid-column: 1 / -1;
            }
        }

        /* Desktop: 1024px and up */
        @media (min-width: 1024px) {
            .nav-links-desktop {
                display: flex;
            }

            .mobile-menu-button-wrapper {
                display: none;
            }

            .mobile-menu-container {
                display: none !important;
            }
        }

        /* Large Desktop: 1280px and up */
        @media (min-width: 1280px) {
            .desktop-menu-list {
                gap: 6rem;
            }

            .nav-link-item {
                font-size: 1rem;
            }
        }

        /* Extra Small Mobile: up to 375px */
        @media (max-width: 375px) {
            .top-bar {
                padding: 1rem 0.5rem;
            }

            .navbar-container {
                padding: 0 0.5rem;
            }

            .mobile-link,
            .mobile-dropdown-button {
                font-size: 0.9rem;
                padding: 10px 12px;
            }
        }
