:root {
    --primary-accent: #f86216;
    --secondary-accent: #ffa559;
    --text-muted: #555;
    --card-bg: #ffffff;
    --header-overlay: rgba(247, 108, 31, 0.3);
}
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

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


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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    width: 100%;
    min-height: 43vh;
    position: sticky;
    top: 0;
    z-index: 999;
    color: white;
    background-image: url('../asset/imgs/hd.jpg');
	background-color: rgba(100, 90, 0, 0.098);
    background-attachment: fixed;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header .nav-links .donate-button {
    background: white;
    color: var(--primary-accent) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 250px;
    width: auto;
    max-width: 700px;
}

/* Navigation Styles */
.nav {
    display: flex;
    align-items: center;
    margin-bottom: -29.7%;
    margin-right: 0%;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2.5px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a.active {
	filter:none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	color: #f86216;
    background: rgba(255, 255, 255, 1);
	box-shadow: moz !important;
    font-weight: 600;
}

/* Donate Button */
.donate-button {
    background: white;
    padding: 0.75rem 1.5rem;
	position: reative;
	top: -110px;
    border-radius: 25px;
	box-shadow: 0 3.3px 0px !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.1s ease;
}

.donate-button:hover {
	background: white !important;
	box-shadow: 0 0px 0px !important;
}

/* Hamburger Menu Styles - CRITICAL FIX */
.hamburger {
    display: none; /* Will be shown on mobile */
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
	margin-top:-153%;
	margin-left:-24%;
    background: none;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation - CRITICAL */
.hamburger.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles - CRITICAL */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

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

    .nav {
        margin-bottom: 0;
        margin-right: 0;
    }

    .logo img {
        height: 155px;
    }
}

/* Section Styles */
.section {
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.sectionb {
    padding: 4rem 0;
    margin-bottom: 2rem;
    background-image: url('../asset/imgs/hd.jpg');
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.sectionb:nth-child(even) {
    background: #f8f9fa;
}

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

.section h2 {
    color: var(--primary-accent);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.sectionb h2 {
    color: var(--primary-accent);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.sectionb h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Mission Section */
.mission-content {
    text-align: center;
}

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

.arm-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-accent);
    transition: transform 0.3s ease;
}

.arm-box:hover {
    transform: translateY(-5px);
}

.arm-icon {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.arm-box h3 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

/* Team Section */
.members-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.member-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

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

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: black;
    margin-bottom: 0.5rem;
}

.member-role {
    color: rgba(180,90,37,1);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #e65f13;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

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

.social-links a {
    background: white;
    color: var(--primary-accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
}

.footer-bottom-text {
    color: inherit;
    text-decoration: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        text-align: center;
        min-width: 200px;
    }

    .donate-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .header-container {
        padding: 1rem;
    }

    .logo img {
        height: 155px;
    }

    .section {
        padding: 2rem 0;
    }
    
    .sectionb {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }
    
    .sectionb h2 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .arms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .social-links {
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem;
    }

    .logo img {
        height: 155px;
    }

    .section h2 {
        font-size: 1.8rem;
    }
    
    .sectionb h2 {
        font-size: 1.8rem;
    }

    .nav-links a {
        font-size: 1.3rem;
        min-width: 180px;
    }
}