:root {
    --nav-height: 70px;
    --nav-bg: #f9f9f9;
    --nav-color: #333333;
    --nav-hover: #FFA500;
    --gradient: linear-gradient(45deg,#FFA500, #ff8e53);
    --nav-height-xs: 45px;
    --nav-height-sm: 50px;
    --nav-height-md: 60px;
    --nav-height-lg: 70px;
    --text-gradient: linear-gradient(45deg, #FFA500, #ff4d00, #ff8e53);
    --logo-shadow: 0 2px 15px rgba(255, 165, 0, 0.2);
}

/* Base Navigation Styles */
.main-nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);  - to remove shadow */ 
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--nav-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

/* Donate Button */
.donate-btn {
    background: var(--gradient);
    border-radius: 50px;
    padding: 0.8rem 1.5rem !important;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease !important;
}

.donate-btn:hover {
    transform: translateY(-2px);
}

.donate-btn::after {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 10px;
    position: relative;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--nav-color);
    transition: all 0.3s ease;
}

/* Updated Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 10px;
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 2000;
}

/* Top Header Styles */
.top-header {
    padding: 30px 0;
    background: linear-gradient(to right, #fff 40%, #fdf2e3);
}

.header-container {
    max-width: 2000px;
    margin: 0 auto;
    gap :0px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-section img {
    width: 150px;
    height: 80px;
    object-fit: contain;
    transition: all 0.4s ease;
    
}

.logo-section img:hover {
    transform: scale(1.5);
}

.logo-text {
    line-height: 1.8;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 800;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 2px;
    text-shadow: var(--logo-shadow);
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-text span {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    opacity: 0.9;
    text-transform: capitalize;
}

.contact-lang-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    color: var(--primary);
    font-size: 12px;
}

.contact-item a {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.language-switcher {
    display: flex;
    gap: 8px;
    padding-left: 3px;
    border-left: 1px solid #ddd;
}

.lang-btn {
    padding: 4px 4px;
    border: 1px solid #ddd;
    background: transparent;
    color: #555;
    border-radius: 1px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.social-header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 15px;
    padding: 8px 0;
    flex-direction: row;
    white-space: nowrap;
}

.header-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-decoration: none;  /* Remove underline */
}

.header-social-icon i {
    display: block;  /* Ensure icon displays properly */
    line-height: 1;  /* Align icon vertically */
}

.header-social-icon .fa-youtube {
    color: #FF0000;
    font-size: 25px;
}

.header-social-icon .fa-whatsapp {
    color: #25D366;
    font-size: 25px;
}

.header-social-icon .fa-facebook {
    color: #3b5998;
    font-size: 25px;
}

.header-social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Google Translate Styles */
.skiptranslate {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-frame {
    box-shadow: none !important;
    position: fixed !important;
    top: 60px !important;
    right: 10px !important;
    left: auto !important;
}

body {
    top: 0 !important;
}

@media (max-width: 768px) {
    .contact-lang-card {
        flex-wrap: wrap;
        align-items: center;
    }
    
    .social-header-icons {
        margin: 0 10px;
        padding: 5px 0;
    }
}

/* Google Translate Styles */
.skiptranslate {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-frame {
    box-shadow: none !important;
    position: fixed !important;
    top: 60px !important;
    right: 10px !important;
    left: auto !important;
}

body {
    top: 70 !important;
}

/* Fix for mobile */
@media (max-width: 768px) {
    .goog-te-menu-frame {
        max-width: 250px !important;
        top: 50px !important;
    }
}

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .nav-container {
        padding: 0 40px;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199px) {
    .nav-links {
        gap: 1.0rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.8rem;
    }

    .header-container {
        gap: 0.5rem;
    }
    
    .contact-lang-card {
        min-width: 10px;
    }
    .language-switcher{
        gap: 8px;
    padding-left: 3px;
    }
}

/* Tablet Screens (768px to 991px) */
@media (max-width: 991px) {
    :root {
        --nav-height: 60px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .donate-btn {
        padding: 0.7rem 1.2rem !important;
    }

    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        font-size: 32px;
    }
    
    .contact-lang-card {
        padding: 1rem;
        gap: 10px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        min-width: 200px;
    }

    .contact-info-top {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item {
        gap: 6px;
        padding: 4px 0;
    }

    .contact-item i {
        font-size: 12px;
        width: 20px;
    }

    .contact-item a {
        font-size: 12px;
    }

    .language-switcher {
        margin-left: 10px;
        gap: 5px;
        justify-content: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .top-header {
        padding: 10px 0;
    }

    .logo-section img {
        width: 180px;
        height: 70px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text span {
        font-size: 14px;
    }
}

/* Mobile Screens (below 767px) */
@media (max-width: 767px) {
    :root {
        --nav-height: 50px;
    }
    
    .hamburger {
        display: block;
        position: fixed;
        right: 15px;
        top: 10px;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .nav-container {
        position: relative;
        padding: 0 12px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transition: all 0.3s ease;
        opacity: 0;
        z-index: 1500;
        padding: 20px 0;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem;
        width: 60%;
        text-align: center;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0.8;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }

    .donate-btn {
        margin-top: 1.5rem;
        width: auto;
    }

    .top-header {
        padding: 5px 0;
        position: relative;
    }

    .header-container {
        margin-top: 40px;
        padding: 5px 10px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .logo-section {
        flex: 0 1 auto;
        gap: 3px;
        line-height: 0.4;
    }

    .logo-section img {
        width: 40px;
        height: 20px;
    }

    .logo-text h1 {
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .logo-text span {
        font-size: 10px;
    }

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

    .contact-lang-card {
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0px;
        padding: 0;
    }

    .contact-item {
        font-size: 10px;
        font-weight: 500;
        padding: 0 0px;
        gap: 0px;
        margin: 0;
    }

    .contact-item i {
        font-size: 10px;
        gap: 0;
    }

    .contact-item a {
        font-size: 11px;
        gap: 0;
        white-space: nowrap;
        overflow: visible;
        text-overflow: ellipsis;
        max-width: 100px;
    }

    .language-switcher {
        margin: 0;
        padding: 0px 0;
        border: none;
    }

    .lang-btn {
        padding: 0px 0px;
        font-size: 11px;
    }
}

/* Small Mobile Screens (below 480px) */
@media (max-width: 479px) {
    :root {
        --nav-height: 45px;
    }
    
    .hamburger {
        transform: scale(0.85);
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .donate-btn {
        padding: 0.7rem 1rem !important;
    }

    .top-header {
        padding: 3px 0;
    }

    .header-container {
        padding: 3px 5px;
    }

    .logo-section img {
        width: 150px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 12px;
    }

    .contact-item a {
        max-width: 120px;
    }
}

/* Extra Small Devices (< 360px) */
@media (max-width: 359px) {
    .main-nav {
        height: var(--nav-height-xs);
    }

    .logo-section img {
        width: 120px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 14px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 8px;
    }
}

/* Small Mobile (360px - 480px) */
@media (min-width: 360px) and (max-width: 480px) {
    .main-nav {
        height: var(--nav-height-sm);
    }

    .nav-container {
        padding: 0 10px;
    }

    .logo-section img {
        width: 140px;
        height: 55px;
    }
}

/* Medium Devices (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Landscape Mode */
@media (max-height: 480px) and (orientation: landscape) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
    }
}

