@charset "utf-8";
/* CSS Document */

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

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
    opacity: 0.4;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(31, 41, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 134, 0.08) 0%, transparent 50%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-right a:hover {
    color: var(--text-light);
    transform: translateY(-1px);
}

.footer-right a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-right a:hover::after {
    width: 100%;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-right {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-right a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-right {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Peacock Green Theme: Update your :root variables */
:root {
    --peacock-green: #008080;
    --peacock-green-light: #00a0a0;
    --peacock-green-dark: #006666;
    --accent-gold: #b8860b;
    --accent-bronze: #cd7f32;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-light: #ffffff;
    --bg-primary: #f0fdf4;
    /* A very light, natural green */
    --bg-secondary: #d1fae5;
    /* A light minty green */
    --bg-dark: #064e3b;
    /* A dark forest green */
    --bg-card: rgba(255, 255, 255, 0.95);

    /* UPDATED GRADIENTS for the requested background aesthetic */
    --gradient-primary: linear-gradient(135deg, var(--peacock-green), var(--peacock-green-dark));
    --gradient-secondary: linear-gradient(135deg, var(--peacock-green-light) 0%, var(--peacock-green) 100%);
    --gradient-tertiary: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-bronze) 100%);
    --gradient-elegant: linear-gradient(135deg, var(--peacock-green), var(--peacock-green-light), var(--accent-gold));
    --gradient-primary2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary2: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-elegant2: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    background-color: var(--bg-primary);
    position: relative;
}

/* Headings - friendly & approachable */
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.section-title,
.hero h1,
.about-text h3,
.portfolio-content h4 {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    margin: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
        }

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}


.logo {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;

}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--peacock-green);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding-top: 2.5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding-top: 2.5rem;
}

.mobile-nav-links li {
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-links a {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    background: none;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--text-primary);
}

.mobile-nav-links a:hover {
    transform: scale(1.05);
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
}

.language-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 140px;
    display: none;
    z-index: 1000;
}

.language-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f0f9ff;
    color: #0ea5e9;
}

.mobile-lang-menu {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
}

.mobile-lang-menu a {
    padding: 10px 0;
    color: #374151;
    text-decoration: none;
}

.lang-selector::after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 5px;
}

/* ======================================================= */
/* Hero Section - Base Styles (Mobile-First) */
/* ======================================================= */
.hero {
    min-height: 100vh !important;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: 55% 45%;
    /* Mobile-First: Stack content vertically and center it */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* This column will now hold the slider. */
.hero-slider-column {
    /* On mobile, we give it some space */
    width: 100%;
    max-width: 400px;
    /* Control slider size on mobile */
    margin-top: 40px;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 2rem;
    margin: auto;
}

/* Gradient text shared style */
.hero-subtitle,
.hero h1,
.hero .subtitle {
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    /* Increased weight for visibility */
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero h1 {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    /* Increased weight */
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
    line-height: 1.2;
    /* Tightened line height */
    letter-spacing: -1.5px;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #4b5563;
    /* Darker gray for contrast on white BG */
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.3);
    /* Using peacock green for shadow */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* ======================================================= */
/* START: Diamond Slider CSS (Rotation & Scale) */
/* ======================================================= */

.diamond-clip {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    /* This creates a square aspect ratio */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: #e9ecef;
    /* Fallback background */
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Start scaled up and rotated */
    transform: scale(1.1) rotate(5deg);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
    /* End state: Scale normal and no rotation */
    transform: scale(1) rotate(0deg);
}

/* Fallback for missing images */
.slider-image:not([src]),
.slider-image[src=""],
.slider-image[src*="undefined"] {
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.slider-image:not([src])::after,
.slider-image[src=""]::after,
.slider-image[src*="undefined"]::after {
    content: attr(alt);
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Slider Navigation Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: var(--bg-dark);
}

/* ======================================================= */
/* END: Diamond Slider CSS */
/* ======================================================= */

/* ------------------------------------------------------------------ */
/* MEDIA QUERY: Desktop Layout (min-width: 992px) */
/* ------------------------------------------------------------------ */
@media (min-width: 992px) {
    .hero {
        height: auto;
        padding: 100px 50px;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 55% 45%;
        gap: 60px;
        align-items: center;
        height: 100%;
        padding: 0 40px;
    }

    .hero-content {
        text-align: left;
        padding: 0;
        max-width: none;
        margin: 0;
    }

    .hero .subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-slider-column {
        display: block;
        width: 100%;
        max-width: none;
        margin-top: 0;
    }
}

/* ------------------------------------------------------------------ */
/* MEDIA QUERY: Mobile Adjustments (max-width: 768px) */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
    .hero {
        min-height: 140vh;
        padding: 80px 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 800;
    }

    .hero .subtitle {
        font-size: 1rem;
        padding-top: 1rem;
    }

    .diamond-clip {
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        position: relative;
        width: 60%;
        height: 0;
        padding-bottom: 60%;
        /* This creates a square aspect ratio */
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        background: #e9ecef;
        /* Fallback background */
        margin: 0 auto;
    }

}

@media (max-width: 456px) {
    .hero {
        min-height: 340vh;
        padding: 90px 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 800;
    }

    .hero .subtitle {
        font-size: 1rem;
        padding-top: 4rem;
    }

    .diamond-clip {
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        position: relative;
        width: 50%;
        height: 0;
        padding-bottom: 43%;
        /* This creates a square aspect ratio */
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        background: #e9ecef;
        /* Fallback background */
        margin: 0 auto;
    }

}

/* Scroll indicator style for contrast on white BG */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.section-title {
    text-align: center;
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}




#about {
    padding-top: 3%;
}

/* About Section */
.about {
    background: var(--bg-card);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 128, 128, 0.05) 0%, transparent 50%);
    /* Updated color */
}

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 0.1rem;
    align-items: center;
    position: relative;
}

.about-image {
    width: 76%;
    height: 95%;
    background: url('images/from-struggles-to-sulabh-jivan.png') center/cover;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
    margin-top: auto;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 0.7;
}

.about-image::after {
    opacity: 1;
}

.about-text h3 {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.2;
}

.about-text p {

    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.skill-tag {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    color: var(--peacock-green);
    /* Updated color */
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 128, 128, 0.2);
    /* Updated color */
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-tag:hover {
    background: var(--peacock-green);
    /* Updated color */
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#portfolio {
    padding-top: 2%;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 1rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.portfolio-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-image {
    width: 100%;
    height: 180px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.portfolio-item:nth-child(1) .portfolio-image {
    background-image: url('images/sjf-scholarship-for-single-parent-child.jpg');
}

.portfolio-item:nth-child(2) .portfolio-image {
    background-image: url('images/sjf-bicycle-distribution.jpg');
}

.portfolio-item:nth-child(3) .portfolio-image {
    background-image: url('images/sjf-educational-support-2024.jpg');
}

.portfolio-item:nth-child(4) .portfolio-image {
    background-image: url('images/sjf-cloth-bag.jpg');
}

.portfolio-item:nth-child(5) .portfolio-image {
    background-image: url('images/marketing-strategy-women.jpg');
}

.portfolio-item:nth-child(6) .portfolio-image {
    background-image: url('images/sjf-education-support.jpg');
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-image::before {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.4) 0%, rgba(0, 150, 150, 0.3) 100%);
    /* Updated color */
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h4 {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.portfolio-tech {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--peacock-green);
    /* Updated color */
    color: var(--text-light);
}

#donate {
    padding-top: 0%;
}

/* Base styles needed for context (assuming a dark background for the contact section) */
.contact {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', 'Poppins', sans-serif;
    /* Adjusted to include your Poppins font */
}


/* Container utility: adjust max-width as needed */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Contact Section Styles (Two-Column Layout) --- */

.contact {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    /* Add top/bottom padding for separation */
}

.contact-content {
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Section Title Styling */
.contact .section-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Two-Column Layout Setup */
.contact-columns {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    /* Spacing between the columns */
    margin-top: 3rem;
    text-align: left;
}

/* Info Column (1/3 Width) */
.contact-info-column {
    flex: 1;
    /* Makes this column 1/3 the width of the form (1 + 2 = 3 parts total) */
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.detail-item p,
.detail-item a {
    color: var(--text-light);
    font-size: 1rem;
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* Form Column (2/3 Width) */
.contact-form-column {
    flex: 2;
    /* Makes this column 2/3 the width */
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form .form-row {
    display: flex;
    gap: 2rem;
}

.contact-form .form-group {
    flex: 1;
    display: grid;
    gap: 0.75rem;
    text-align: left;
}

/* Form Element Styling */
.form-group label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--peacock-green);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.3);
}

/* --- Responsive Design FIX (Mobile Stacking) --- */
@media (max-width: 768px) {
    .contact-columns {
        flex-direction: column;
        /* Stack columns vertically below 768px */
        gap: 3rem;
    }

    .contact-info-column {
        text-align: center;
        /* Center content in the info block on mobile */
    }

    .contact-details {
        align-items: center;
    }

    .detail-item {
        justify-content: center;
    }

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

    .contact-form .form-row {
        flex-direction: column;
        /* Stacks name and email inputs on mobile */
        gap: 1.5rem;
    }
}

/* --- Floating Shapes CSS (Optional Background Elements) --- */
.contact-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-shape-1 {
    width: 70px;
    height: 70px;
    top: 15%;
    left: 8%;
    animation: contactFloatShape1 24s ease-in-out infinite;
}

.contact-shape-2 {
    width: 110px;
    height: 110px;
    top: 65%;
    right: 12%;
    background: rgba(255, 255, 255, 0.06);
    animation: contactFloatShape2 28s ease-in-out infinite reverse;
}

.contact-shape-3 {
    width: 55px;
    height: 55px;
    top: 25%;
    right: 30%;
    background: rgba(255, 255, 255, 0.1);
    animation: contactFloatShape3 20s ease-in-out infinite;
}

.contact-shape-4 {
    width: 90px;
    height: 90px;
    bottom: 20%;
    left: 18%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    animation: contactFloatShape4 26s ease-in-out infinite;
}

.contact-shape-5 {
    width: 35px;
    height: 35px;
    top: 12%;
    right: 45%;
    background: rgba(255, 255, 255, 0.12);
    animation: contactFloatShape5 18s ease-in-out infinite reverse;
}

.contact-shape-6 {
    width: 130px;
    height: 130px;
    bottom: 12%;
    right: 8%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 35px;
    animation: contactFloatShape6 32s ease-in-out infinite;
}

@keyframes contactFloatShape1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-25px) translateX(15px) rotate(90deg);
    }

    50% {
        transform: translateY(-10px) translateX(-8px) rotate(180deg);
    }

    75% {
        transform: translateY(-35px) translateX(12px) rotate(270deg);
    }
}

@keyframes contactFloatShape2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(20px) translateX(-15px) scale(1.05);
    }

    66% {
        transform: translateY(-15px) translateX(20px) scale(0.95);
    }
}

@keyframes contactFloatShape3 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) translateX(-25px) rotate(180deg);
    }
}

@keyframes contactFloatShape4 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(15px) translateX(-12px) rotate(30deg);
    }

    50% {
        transform: translateY(-8px) translateX(25px) rotate(60deg);
    }

    75% {
        transform: translateY(12px) translateX(-18px) rotate(90deg);
    }
}

@keyframes contactFloatShape5 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-30px) translateX(15px) scale(1.15);
    }
}

@keyframes contactFloatShape6 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) translateX(8px) rotate(45deg);
    }

    66% {
        transform: translateY(8px) translateX(-20px) rotate(90deg);
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}


/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 5rem 0;
    }

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

    .about-text h3 {
        font-size: 2rem;
    }

    .skills {
        margin-top: 2rem;
    }

}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}


/* Style for the "View More" button */
.view-more-container {
    text-align: center;
    margin-top: 40px;
}

.view-more-button {
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    margin: auto;
    letter-spacing: 0.5px;
}

.view-more-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.3);
    /* Updated color */
}

/* Style for the hidden content */
.hidden-activities {
    display: none;
    /* This ensures it is hidden by default */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Styling for the new activities page */
.activities-page {
    padding-top: 150px;
    padding-bottom: 80px;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* This will make each card take up the full width */
    gap: 50px;
}

.activity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.activity-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background-color: #f0f0f0;
    /* Placeholder color, you can replace with your image */
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Flexbox layout for wider screens */
@media (min-width: 768px) {
    .activity-card {
        flex-direction: row;
        text-align: left;
    }

    .activity-image {
        width: 40%;
        margin-right: 30px;
        margin-bottom: 0;
    }

    .activity-content {
        flex-grow: 1;
    }
}

/* ---------------- ABOUT PAGE EXTRA STYLES ---------------- */

/* New About Us Section Layout */
.about-flex-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.about-image-left {
    flex: 1;
}

.about-image-left img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.about-content-right {
    flex: 1.5;
}

/* New Registration Details Layout */
.registration-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.details-box {
    flex: 1.5;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.details-box p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.registration-image-placeholder {
    flex: 1;
    text-align: center;
}

.registration-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}


/* Registration Box */
.registration-box {
    background: var(--bg-secondary);
    /* Using the new light green */
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    line-height: 1.6;
}

.registration-box p {
    margin: 0.4rem 0;
}



/* New Page Layouts */
.about-page,
.registration-details {
    padding-top: 50px;
    padding-bottom: 40px;
}

.our-team {
    padding-top: 40px;
    padding-bottom: 40px;
    /* Reduced space after the team section */
}

.team-sub-title {
    text-align: center;
    margin-top: 50px;
    color: var(--peacock-green);
    /* Updated color */
}

.member-role {
    color: #7f8c8d;
    font-size: 0.9em;
    font-weight: 500;
    margin-top: -10px;
}

.mission-text {
    padding: top 2px;
}

.container-about {
    max-width: 1400px;
    margin: 20px;
    padding-top: 20px;
}


/* This rule will apply to the entire page when the language is set to Hindi or Marathi */
:lang(hi) body,
:lang(mr) body {
    /* Change the font to Poppins for both languages */
    font-family: 'Poppins', sans-serif;

    /* Decrease the font size. You can adjust the value as needed. */
    font-size: 13px;
    /* Example size, you can use px, rem, or em */
}

:lang(mr) .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.8rem;

}

:lang(mr) .about h2 .portfolio-content h4 {
    font-family: 'Poppins', sans-serif;

}

:lang(hi) .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.8rem;

}

:lang(hi) .about h2 .portfolio-content h4 {
    font-family: 'Poppins', sans-serif;

}

@media (max-width: 768px) {

    /* Adjust font sizes for mobile screens */
    :lang(hi) body,
    :lang(mr) body {
        font-size: 2.5rem;
        /* Make the main headline smaller */
        font-weight: 700;
        margin-top: auto;

    }

    .hero .subtitle {
        font-size: 1rem;
        padding-top: 1rem;
        /* Make the subtitle smaller */
    }
}

/* Enhanced Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .hero {
        height: 90vh !important;
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .hero .subtitle {
        font-size: 1.1rem !important;
        padding: 0 1rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.5 !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }

    .section-title {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .about-content {
        text-align: center !important;
        gap: 2rem !important;
    }

    .about-text h3 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .about-text p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .skill-tag {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.2rem !important;
        margin: 0.3rem !important;
        display: inline-block;
    }

    .cta-button,
    .view-more-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        min-height: 44px !important;
    }

    .contact-form {
        padding: 2rem 1rem !important;
    }

    .nav-container {
        padding: 0 1rem;
        position: relative;
        min-height: 60px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .logo {
        font-size: 1.3rem;
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100vw - 100px);
    }

    .mobile-menu-toggle {
        flex-shrink: 0;
        margin-left: auto;
        position: relative;
        right: 0;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-nav-links a {
        padding: 1rem !important;
        min-height: 44px !important;
        display: block;
    }

    .mobile-lang-menu a {
        padding: 12px 0 !important;
        color: #ffffff !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        min-height: 44px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 85vh !important;
        min-height: 500px !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero .subtitle {
        font-size: 1rem !important;
        padding: 0 0.5rem !important;
    }

    .hero-subtitle {
        font-size: 0.8rem !important;
    }

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

    .about-text h3 {
        font-size: 1.5rem !important;
    }

    .mobile-nav-links a {
        font-size: 1rem !important;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px !important;
        padding: 1rem !important;
    }

    .cta-button,
    .view-more-button {
        padding: 0.9rem 1.8rem !important;
        font-size: 0.95rem !important;
    }

    .container {
        padding: 0 1rem !important;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.9rem !important;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    .container {
        padding: 0 0.8rem !important;
    }

    .nav-container {
        padding: 0 0.8rem !important;
        width: 100%;
        max-width: 100vw;
    }
    
    .logo {
        font-size: 1.3rem !important;
        max-width: calc(100vw - 80px) !important;
    }
}


/* Fix Language Font Sizes for Mobile Consistency */
@media (max-width: 768px) {

    /* Reset Hindi and Marathi body font sizes to match English on mobile */
    :lang(hi) body,
    :lang(mr) body {
        font-size: 1rem !important;
        font-weight: 400 !important;
    }

    /* Keep section titles consistent across languages */
    :lang(hi) .section-title,
    :lang(mr) .section-title {
        font-size: 2.2rem !important;
    }

    /* Keep activity/portfolio content consistent */
    :lang(hi) .portfolio-content h4,
    :lang(mr) .portfolio-content h4 {
        font-size: 1.2rem !important;
    }

    /* Keep hero elements consistent */
    :lang(hi) .hero h1,
    :lang(mr) .hero h1 {
        font-size: 2.8rem !important;
    }

    :lang(hi) .hero .subtitle,
    :lang(mr) .hero .subtitle {
        font-size: 1.1rem !important;
    }

    /* Keep about section consistent */
    :lang(hi) .about-text h3,
    :lang(mr) .about-text h3 {
        font-size: 1.8rem !important;
    }

    :lang(hi) .about-text p,
    :lang(mr) .about-text p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {

    /* Keep smaller mobile sizes consistent too */
    :lang(hi) body,
    :lang(mr) body {
        font-size: 0.95rem !important;
    }

    :lang(hi) .section-title,
    :lang(mr) .section-title {
        font-size: 1.8rem !important;
    }

    :lang(hi) .hero h1,
    :lang(mr) .hero h1 {
        font-size: 2.2rem !important;
    }
}


/* Fix Certification Badges Display on Mobile */
@media (max-width: 768px) {
    .about-image {
        height: 250px !important;
        min-height: 250px;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        transform: rotate(0deg) !important;
        border-radius: 15px !important;
        margin: 0 auto 2rem auto;
        max-width: 300px;
    }

    .about-image:hover {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    .about-image {
        height: 200px !important;
        min-height: 200px;
        max-width: 280px;
        background-size: contain !important;
    }
}

/* Force Poppins font for section titles */
.section-title {
    font-family: 'Poppins', sans-serif !important;
}

/* --- Base Donate Section Styling --- */
.donate {
    background-color: #f7fbf7;
    /* Light background for the section */
    padding-top: 80px;
    padding-bottom: 80px;
}

.donate h2 {
    text-align: center;
    font-family: 'Poppins', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* --- Cause Cards (Left Column) Styling --- */
.cause-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #007bff;
    /* Primary color border on the left */
}

.cause-card:hover {
    transform: translateY(-5px);
    /* Lift card on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Icons within the cards */
.cause-card .fa-3x {
    min-width: 50px;
    /* Ensure icon size is consistent */
}

/* Color Palette for Icons (Matching Bootstrap context) */
.text-primary {
    color: #007bff !important;
}

/* Education */
.text-danger {
    color: #dc3545 !important;
}

/* Health */
.text-success {
    color: #28a745 !important;
}

/* Environment */


/* --- Reusing and Adjusting .details-box for Donate Section --- */

/* Your existing .details-box styles from about page */
.details-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
    height: 100%;
    /* Ensures it fills the column height if cause cards are taller */
    display: flex;
    flex-direction: column;
}

.details-box p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.8;
}

.details-box strong {
    color: #008080;
    font-weight: 600;
}


.donate-bank-details .donate-details-title {
    color: #008080;
    /* Match strong tag color for consistency */
    font-weight: 700;
}

/* Copy Field Styling within the new .details-box context */
.copy-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e9ecef;
    /* Light grey background for the input/display field */
    padding: 8px 15px;
    border-radius: 8px;
    margin-top: 5px;
    /* Space between label and field */
    /* Adjust margin-bottom via Bootstrap mb-3 class on the parent div in HTML */
}

.copy-field .detail-value {
    font-weight: bold;
    word-break: break-all;
    color: #334155;
    /* Ensure text is visible on light background */
    flex-grow: 1;
    /* Allows the number to take up available space */
}

.copy-field .copy-btn {
    border: none;
    background-color: #008080;
    /* Button color matching strong text */
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    margin-left: 10px;
    /* Space between number and button */
}

.copy-field .copy-btn:hover {
    background-color: #005f5f;
    /* Darker shade on hover */
}

/* Tax Exemption Status Styling */
.tax-exempt-status {
    background-color: #e6ffed;
    /* Light green background */
    color: #008080;
    /* Dark teal text */
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: auto;
    /* Pushes it to the bottom of the flex container */
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: 1px solid #b3ffd9;
    /* Subtle border */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tax-exempt-status i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* --- Mobile Responsiveness Adjustments (Optional but Recommended) --- */
@media (max-width: 991.98px) {

    /* On tablets and smaller, stack the Bank Details Card first for better visibility */
    .col-lg-6:last-child {
        /* Targets the second column which contains bank details */
        margin-bottom: 3rem !important;
        /* Add space below it */
    }
}

@media (max-width: 768px) {
.donate h2{
    font-size: 2rem;
}
}