/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00539B 0%, #1e3a8a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logoFloat 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.wave-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: waveExpand 2s ease-out infinite;
}

.wave-animation::before,
.wave-animation::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.wave-animation::before {
    width: 160px;
    height: 160px;
    animation: waveExpand 2s ease-out infinite 0.4s;
}

.wave-animation::after {
    width: 180px;
    height: 180px;
    animation: waveExpand 2s ease-out infinite 0.8s;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    animation: textPulse 1.5s ease-in-out infinite;
}

.progress-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 10px;
    width: 0%;
    animation: progressLoad 2s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes waveExpand {
    0% {
        width: 120px;
        height: 120px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Country Flag in Navigation */
.country-flag-nav {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.nav-flag-icon {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.nav-flag-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .country-flag-nav {
        margin-left: 0;
        padding: 0.5rem 1.5rem;
        justify-content: center;
    }
}

/* Base Styles */
:root {
    --primary-color: #00539B; /* New Blue */
    --secondary-color: #1e3a8a;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-bg: #f3f4f6;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    overflow-x: hidden;
}

body.loaded {
    background-color: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 20, 40, 0.3);
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 83, 155, 0.85); /* Semi-transparent background for blur effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.mobile-only {
    display: none; /* Hide mobile links on desktop */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 65px; /* Made bigger */
    width: auto;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center; /* Align all items vertically */
    gap: 2rem;
}


.nav-link-main {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link-main:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.nav-link-secondary {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.nav-link-secondary:hover {
    color: #fff;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align content to the left */
    padding: 0; /* Remove padding to allow full width */
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}


.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Between background and content */
    width: 350px;
    height: 350px;
    opacity: 0.07; /* The key for the subconscious effect */
}

.hero-watermark img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1); /* Make it white */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ensures the image is centered */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-container img.active {
    opacity: 1;
}



.hero-content {
    position: relative;
    z-index: 3;
    transform: translateY(-10vh); /* Moved content further down */
    text-align: left; /* Align text to the left */
    max-width: 600px; /* Constrain width for better readability */
    margin-left: 5%; /* Add left margin to prevent content from touching edge */
    padding: 0 2rem; /* Add horizontal padding */
}

.hero-content h1 {
    font-size: 4.5rem; /* Made smaller */
    font-weight: 700;
    margin-bottom: 0.5rem; /* Reduced margin to bring it closer to h2 */
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: -4px; /* Made even tighter */
    white-space: nowrap; /* Ensure it stays on one line */
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #fff;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}


.carousel-dots {
    position: absolute;
    bottom: 9rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.75rem;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #fff;
}

.scroll-down {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    animation: bounce 2s infinite;
    z-index: 3;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    scroll-margin-top: 100px;
}

/* Hero section should be full width */
section.hero {
    max-width: none;
    padding: 0;
    margin: 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px; /* Adjusted size for better fit */
    height: 240px;
    background-image: url('../images/cw.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05; /* Make it very subtle */
    z-index: -1; /* Place it behind the text */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about-content {
    position: relative; /* Needed for watermark positioning */
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* Adjust size as needed */
    height: 200px;
    background-image: url('../images/cw.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05; /* Very subtle */
    z-index: -1; /* Behind the text */
}

.about-text {
    flex: 1;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.experience-highlights,
.industries {
    margin: 2rem 0;
}

.experience-highlights h3,
.industries h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.regions {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.region {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 25px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.region:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.region i {
    font-size: 1.1rem;
}

.industry-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.industry-tags span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--light-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.industry-tags span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.skills h3 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tags span {
    background: var(--light-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.skill-tags span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Why Us & Our Culture Sections */
.why-us,
.culture {
    background-color: var(--light-bg);
}

.culture {
    background-color: #fff; /* Alternate background color */
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -2rem auto 3rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

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

.why-us-card {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.why-us-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.why-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.why-us-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Projects Section */
.projects {
    background-color: var(--light-bg);
}

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

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-metrics,
.project-outcome {
    margin: 1rem 0;
    padding: 0.8rem;
    border-radius: 8px;
    background: var(--light-bg);
}

.project-metrics {
    border-left: 4px solid var(--primary-color);
}

.project-outcome {
    border-left: 4px solid #10b981;
}

.metrics-label,
.outcome-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.metrics-value,
.outcome-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #fff; /* Light background for contrast */
    color: var(--primary-color); /* Dark text for readability */
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.consultation-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 83, 155, 0.3);
}

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

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Donation Section */
.donation-section {
padding: 120px 0 80px;
background: #f8f9fa;
min-height: 100vh;
}

.donation-header {
text-align: center;
margin-bottom: 3rem;
}

.back-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: #6c757d;
text-decoration: none;
margin-bottom: 2rem;
font-weight: 500;
transition: color 0.3s ease;
}

.back-btn:hover {
color: #495057;
}

.donation-header h1 {
font-size: 2.5rem;
color: #2c3e50;
margin-bottom: 1rem;
}

.donation-header p {
font-size: 1.2rem;
color: #6c757d;
max-width: 600px;
margin: 0 auto;
}

.payment-methods-container {
background: white;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
}

.payment-methods-container h3 {
color: #2c3e50;
margin-bottom: 2rem;
font-size: 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

.payment-methods-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}

.payment-method-card {
background: #f8f9fa;
border: 2px solid #e9ecef;
border-radius: 15px;
padding: 1.5rem;
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
transition: all 0.3s ease;
}

.payment-method-card:hover {
border-color: #007bff;
background: #fff;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.payment-method-card.active {
border-color: #007bff;
background: #fff;
box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.method-icon {
font-size: 2.5rem;
color: #007bff;
min-width: 60px;
text-align: center;
}

.method-info {
flex: 1;
}

.method-info h4 {
margin: 0 0 0.5rem 0;
color: #2c3e50;
font-size: 1.2rem;
}

.method-info p {
margin: 0 0 0.5rem 0;
color: #6c757d;
font-size: 0.9rem;
}

.method-features {
display: flex;
align-items: center;
gap: 0.3rem;
font-size: 0.8rem;
color: #28a745;
}

.method-arrow {
color: #6c757d;
font-size: 1.2rem;
}


@media (max-width: 768px) {
.payment-methods-grid {
grid-template-columns: 1fr;
}
.donation-header h1 {
font-size: 2rem;
}
.payment-methods-container {
padding: 1.5rem;
}
}

.donation {
padding: 5rem 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
text-align: center;
}

.donation h2 {
margin-bottom: 2rem;
font-size: 2.5rem;
}

.donation-cta {
margin: 3rem 0;
}

.primary-donation-btn {
background: rgba(255, 255, 255, 0.2);
color: white;
border: 2px solid rgba(255, 255, 255, 0.3);
padding: 1.2rem 3rem;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease;
font-weight: 600;
font-size: 1.2rem;
backdrop-filter: blur(10px);
}

.primary-donation-btn:hover {
background: rgba(255, 255, 255, 0.3);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.primary-donation-btn i {
margin-right: 0.8rem;
font-size: 1.1rem;
}

.donation-message {
margin-top: 2rem;
}

.donation-message p {
font-size: 1rem;
opacity: 0.9;
margin: 0;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}

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

.donation-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.donation-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.donation-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.donation-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.donation-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.paypal-btn {
    background: #0070ba;
}

.paypal-btn:hover {
    background: #005ea6;
}

.mastercard-btn {
    background: #eb001b;
}

.mastercard-btn:hover {
    background: #d50016;
}

.visa-btn {
    background: #1a1f71;
}

.visa-btn:hover {
    background: #15195f;
}

.donation-amounts {
    text-align: center;
    margin-bottom: 2rem;
}

.donation-amounts h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.amount-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.amount-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}

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

.amount-btn.custom {
    background: var(--light-bg);
    color: var(--text-color);
    border-color: var(--light-text);
}

.amount-btn.custom:hover {
    background: var(--text-color);
    color: white;
    border-color: var(--text-color);
}

.donation-message {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    max-width: 500px;
    margin: 0 auto;
}

.donation-message p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.donation-message i {
    color: #ef4444;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 5%;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .desktop-only {
        display: none; /* Hide desktop-specific links */
    }

    .mobile-only {
        display: list-item; /* Show mobile-specific links */
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none; /* Hide nav-links container initially */
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        padding: 0 5%;
        transform: translateY(0);
        max-width: 100%;
    }

    .hero {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh; /* Full height on mobile */
        min-height: 600px; /* Ensure minimum height */
    }

    .nav-links a {
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem 1.5rem 1rem 2rem;
        border-radius: 16px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.3px;
        width: 320px;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        opacity: 0;
        animation: slideInFromLeft 0.4s ease forwards;
        z-index: 100;
        backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .nav-links.active a {
        opacity: 1;
    }

    .nav-links.active li:nth-child(1) a { animation-delay: 0s; }
    .nav-links.active li:nth-child(2) a { animation-delay: 0.08s; }
    .nav-links.active li:nth-child(3) a { animation-delay: 0.16s; }
    .nav-links.active li:nth-child(4) a { animation-delay: 0.24s; }
    .nav-links.active li:nth-child(5) a { animation-delay: 0.32s; }
    .nav-links.active li:nth-child(6) a { animation-delay: 0.4s; }
    .nav-links.active li:nth-child(7) a { animation-delay: 0.48s; }

    .nav-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
        border-radius: 16px 0 0 16px;
    }

    .nav-links a::after {
        content: '→';
        position: absolute;
        right: 1.5rem;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1.2rem;
        font-weight: 300;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: #ffffff;
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .nav-links a:hover::before {
        transform: scaleY(1);
    }

    .nav-links a:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a:active {
        transform: translateX(4px) scale(0.98);
    }

    /* Add visual separator after mobile-only items */
    .nav-links li:has(a.mobile-only):last-of-type {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        position: relative;
    }

    .nav-links li:has(a.mobile-only):last-of-type::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .nav-links a.nav-link-main,
    .nav-links a.nav-link-secondary {
        border: none;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
        flex-direction: column;
        isolation: isolate;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 3rem 0;
        overflow-y: auto;
        --menu-bg-image: none;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: var(--menu-bg-image);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.6;
        z-index: 0;
        pointer-events: none;
        transition: background-image 0.5s ease, filter 0.5s ease;
        filter: grayscale(0.7) brightness(0.8) contrast(1.15);
    }

    .nav-links::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 83, 155, 0.3) 0%, rgba(30, 58, 138, 0.3) 100%);
        z-index: 1;
        pointer-events: none;
    }

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

    /* Enhance header when menu is open */
    .nav-links.active ~ .hamburger {
        position: relative;
        z-index: 1001;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        text-align: center;
        margin-left: 0;
        padding: 0 1.5rem;
        max-width: 100%;
        transform: translateY(-5vh); /* Less offset on mobile */
    }

    .hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: -2px;
        white-space: normal; /* Allow wrapping on mobile */
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 6rem; /* Move dots up to make room for scroll down */
    }

    .scroll-down {
        bottom: 3rem;
        font-size: 0.9rem;
    }

    .scroll-down i {
        font-size: 1.2rem;
        margin-top: 0.3rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 4rem 5%; /* Reduce padding on mobile */
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 1rem;
        margin: -1rem auto 2.5rem;
        padding: 0 1.5rem;
        line-height: 1.6;
    }

    .why-us,
    .culture {
        padding: 3rem 1rem;
    }

    .why-us-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .why-us-card {
        padding: 2rem 1.5rem;
        margin: 0;
    }

    .why-us-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .why-us-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .why-us-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .regions {
        justify-content: center;
        gap: 1rem;
    }

    .region {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .industry-tags {
        justify-content: center;
        gap: 0.8rem;
    }

    .industry-tags span {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .skill-tags {
        justify-content: center;
        gap: 0.8rem;
    }

    .skill-tags span {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    .skill-tags {
        justify-content: center;
    }

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

    .project-card {
        margin: 0 1rem;
    }

    /* Donation responsive styles */
    .donation-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .donation-card {
        margin: 0 1rem;
    }

    .amount-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .amount-btn {
        width: 200px;
    }

    .donation h2 {
        font-size: 2rem;
    }

    .donation {
        padding: 3rem 0;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-content h2 {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 4%;
    }

    .logo {
        height: 50px;
    }

    nav {
        padding: 0.8rem 4%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    max-width: 500px;
    animation: slideIn 0.3s ease forwards;
    backdrop-filter: blur(10px);
}

.notification-success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
    border-left: 4px solid #059669;
}

.notification-error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
    border-left: 4px solid #dc2626;
}

.notification-info {
    background: rgba(59, 130, 246, 0.95);
    color: white;
    border-left: 4px solid #2563eb;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading state for submit button */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Donation Section */
.donation-section {
    padding: 100px 0;
    background: var(--light-bg);
    min-height: calc(100vh - 80px);
}

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

.donation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.donation-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.donation-header p {
    font-size: 1.2rem;
    color: var(--light-text);
}

.donation-amount-section {
    margin-bottom: 3rem;
}

.donation-summary {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.donation-summary p {
    font-size: 1.2rem;
    margin: 0;
}

@media (min-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); /* Enforce 3 columns on very large screens */
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color); /* Same color as header */
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3); /* Light thumb for contrast */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5); /* Lighter on hover */
}
