/* Global Variables */
:root {
    --color-saffron: #FF9933;
    --color-saffron-light: #FFB86C;
    --color-saffron-dark: #D67A18;

    --color-blue: #000080;
    --color-blue-dark: #000050;
    --color-blue-light: #333399;

    --color-white: #FFFFFF;
    --color-off-white: #F8F9FA;
    --color-gray-100: #F1F3F5;
    --color-gray-200: #E9ECEF;
    --color-gray-600: #6C757D;
    --color-gray-800: #343A40;
    --color-text: #212529;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(255, 153, 51, 0.3);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-off-white);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-gray-600);
}

.highlight {
    color: var(--color-saffron);
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(255, 153, 51, 0.15) 60%, rgba(255, 153, 51, 0.15) 100%);
    background-repeat: no-repeat;
    background-size: 100% 90%;
    background-position: 0 90%;
}

.text-center {
    text-align: center;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-saffron) 0%, var(--color-saffron-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    margin-left: 1rem;
}


/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--color-blue);
    transition: all 0.3s ease;
}

.mobile-only {
    display: none;
}

/* Tablet & Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide conflicting display */
        position: absolute;
        right: 0px;
        top: 70px;
        height: auto;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transform: translateY(-150%);
        transition: transform 0.5s ease-in;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
        transform: translateY(0%);
    }

    .nav-links li {
        margin: 1.5rem 0;
        opacity: 0;
    }

    .nav-links.open li {
        opacity: 1;
        transition: opacity 0.5s ease-in 0.2s;
    }

    .hamburger {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    /* Hamburger Animation */
    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Adjust hero text for mobile */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .container {
        width: 95%;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text-content {
        align-items: center;
    }

    .hero-image-content {
        justify-content: center;
        margin-bottom: 2rem;
    }
}


.btn-white {
    background: var(--color-white);
    color: var(--color-saffron-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--color-saffron);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blue);
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-logo {
    display: block;
    line-height: 1;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-logo-subtext {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray-600);
    margin-top: 0;
    line-height: 1.2;
}

.dot {
    color: var(--color-saffron);
}

.dot-white {
    color: var(--color-white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-gray-800);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-saffron);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-saffron-dark);
}

.nav-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Sub-page Specifics - To account for fixed header */
.page-header-spacer {
    height: 70px;
    width: 100%;
    background: var(--color-off-white);
}

/* Hero Section */



/* Profile Intro Section */
.profile-intro-section {
    position: relative;
    padding: 5rem 0;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-gray-200);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-content {
    z-index: 2;
    padding-right: 2rem;
}

.hero-title {
    font-family: 'Times New Roman', serif;
    /* Using a standard serif stack as requested for "Serif" */
    font-weight: 700;
    color: var(--color-blue);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-blue-light);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-gray-600);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

.hero-portrait {
    width: auto;
    max-height: 80vh;
    /* Allow it to be taller, scaling with viewport/content */
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    /* Slight roundness */
    /* Remove mask for the white section, just show the image cleanly */
    mask-image: none;
    -webkit-mask-image: none;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.1));
    /* Soft shadow for depth */
}

/* Response adjustments for Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-portrait {
        max-width: 80%;
        margin: 0 auto;
    }
}

/* About Section */
.about-section {
    padding: 3rem 0;
    background: var(--color-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    overflow: visible;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: none;
}

.about-img {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Enforce consistent height to prevent layout shifts */
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top center;
    /* Focus on faces/top usually */
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.8s ease-in-out;
}



.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    border-left: 5px solid var(--color-saffron);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-blue);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-600);
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-saffron);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 153, 51, 0.2);
    color: var(--color-saffron-dark);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background-color: var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 153, 51, 0.2);
}

.mission-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-saffron);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.mission-card:hover::after {
    transform: scaleX(1);
}

.mission-card .icon-box {
    width: 80px;
    height: 80px;
    background: var(--color-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.mission-card:hover .icon-box {
    background: var(--color-blue);
    transform: rotateY(180deg);
}

.mission-card:hover .icon-box img,
.mission-card:hover .icon-box svg {
    filter: brightness(0) invert(1);
    transform: rotateY(180deg);
    /* Counteract parent rotation */
}

.icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mission-svg {
    width: 40px;
    height: 40px;
    color: var(--color-blue);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-blue);
}

.featured-card {
    background: linear-gradient(145deg, #ffffff, #fff8f0);
    border: 1px solid rgba(255, 153, 51, 0.1);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-light) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--color-white);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-container h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-text .section-title {
    margin-bottom: 1.5rem;
}

.contact-info {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    /* Aligns label to top for multi-line values */
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--color-gray-100);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.info-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.info-item .label {
    font-weight: 600;
    color: var(--color-blue);
    min-width: 80px;
    /* Ensures label doesn't squish */
}

.info-item .value {
    color: var(--color-gray-600);
    text-align: left;
    max-width: 60%;
}

.social-link {
    display: flex;
    align-items: center;
    color: #1877F2;
    /* FB Blue */
    font-weight: 700;
    font-size: 1.1rem;
}

.social-link svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-gray-800);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-gray-100);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-saffron);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
}

/* Footer */
.footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    padding: 5rem 0 2rem;
    color: var(--color-gray-800);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
    text-align: left;
    /* Left align text */
}

.footer-col h4 {
    color: var(--color-blue);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--color-gray-600);
    font-weight: 500;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-saffron);
    padding-left: 5px;
}

.footer-social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    color: var(--color-blue);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-social-link.whatsapp:hover {
    background: #25D366;
    color: var(--color-white);
}

.copyright {
    border-top: 1px solid var(--color-gray-200);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

/* Page Header */
.page-header {
    width: 100%;
    height: auto;
    /* Allow height to adjust to image */
    min-height: 200px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    /* Offset for fixed navbar */
}

.page-header-image {
    width: 100%;
    height: auto;
    /* Mantain aspect ratio */
    display: block;
    /* Remove bottom gap */
    max-height: 85vh;
    /* Prevent it from being too tall on huge screens, crop if necessary but minimal */
    object-fit: contain;
    /* Ensure full image is visible if constrained */
    object-position: top center;
    filter: brightness(0.95) contrast(1.05);
}

.page-header-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    /* Slight overlay for text readability if needed */
}

.page-header-title {
    color: var(--color-white);
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsiveness for Page Header */
@media (max-width: 768px) {
    .page-header {
        height: 30vh;
        min-height: 200px;
    }

    .page-header-title {
        font-size: 2.5rem;
    }
}

.footer-logo {
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-blue);
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-blue);
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--color-saffron);
    transform: translateY(-3px);
}

.footer-social-link.whatsapp {
    background: #25D366;
    margin-left: 10px;
}

.footer-social-link.whatsapp:hover {
    background: #128C7E;
}

.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.2;
    }

    /* Full bg on mobile/tablet but dimmed */
    .hero-bg::after {
        background: linear-gradient(180deg, var(--color-off-white) 0%, transparent 100%);
    }

    .overlay {
        background: rgba(255, 255, 255, 0.85);
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrapper {
        order: -1;
    }

    /* Image on top */
    .experience-badge {
        left: 10px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Mobile Menu would go here (simplified for now) */
    .navbar .nav-btn {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Language Selector */
.lang-select {
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid var(--color-gray-200);
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-blue);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--color-saffron);
    box-shadow: 0 0 0 2px rgba(255, 153, 51, 0.1);
}

/* Gujarati Font Support */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gujarati:wght@300;400;500;600;700&display=swap');

body.lang-gu {
    font-family: 'Noto Sans Gujarati', var(--font-body);
}

/* Hide desktop socials on mobile by default if needed, or adjust */
@media (max-width: 768px) {
    .desktop-socials {
        display: none;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

/* Nari Raksha Sena Section */
.leadership-box {
    background: #fff8f0;
    border: 1px solid var(--color-saffron-light);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.leadership-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.leadership-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    padding-bottom: 1.5rem;
}

.org-logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 2px dashed var(--color-saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-saffron);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.leader-item {
    margin-bottom: 1.5rem;
}

.leader-item:last-child {
    margin-bottom: 0;
}

.leader-item strong {
    display: block;
    color: var(--color-blue);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.leader-item span {
    color: var(--color-gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .leadership-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.impact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
    /* Ensure all cards stretch to same height in a row */
}

.impact-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray-200);
    /* 1px border */
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Force height to fill flex item */
    display: flex;
    /* Flex layout */
    flex-direction: column;
    /* Column direction */
    justify-content: space-between;
    /* Space out content initially */

    /* Horizontal Fill Control */
    flex: 1 1 300px;
    /* Grow: 1, Shrink: 1, Basis: 300px. This allows items to expand to fill empty space. */
    max-width: 100%;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

/* Card variants for top border colors */
.impact-card:nth-child(1)::before {
    background-color: var(--color-blue);
}

.impact-card:nth-child(2)::before {
    background-color: #138808;
}

/* Green */
.impact-card:nth-child(3)::before {
    background-color: var(--color-saffron);
}

.impact-card:nth-child(4)::before {
    background-color: var(--color-blue);
}


.impact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

/* Icon backgrounds */
.impact-card:nth-child(1) .impact-icon {
    background: rgba(0, 0, 128, 0.08);
    color: var(--color-blue);
}

.impact-card:nth-child(2) .impact-icon {
    background: rgba(19, 136, 8, 0.08);
    color: #138808;
}

.impact-card:nth-child(3) .impact-icon {
    background: rgba(255, 153, 51, 0.08);
    color: var(--color-saffron);
}

.impact-card:nth-child(4) .impact-icon {
    background: rgba(0, 0, 128, 0.08);
    color: var(--color-blue);
}

/* Card 5 */
.impact-card:nth-child(5)::before {
    background-color: var(--color-saffron);
}

.impact-card:nth-child(5) .impact-icon {
    background: rgba(255, 153, 51, 0.08);
    color: var(--color-saffron);
}

.impact-card h3 {
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.impact-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    /* Allow paragraph to fill remaining space */
    display: flex;
    flex-direction: column;
}

/* Read More / Truncation Styles */
.read-more-btn {
    color: var(--color-blue);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: auto;
    /* Push to bottom of flex container (the p tag) */
    display: inline-block;
    text-decoration: underline;
    padding-top: 1rem;
    /* Provide some separation from text */
}


.read-more-btn:hover {
    opacity: 0.8;
}

/* Impact Cards Text Styling */
.impact-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.4em;
    /* Approx 2 lines */
    margin-bottom: 2.5rem;
    /* Space for the absolute button */
    color: var(--color-gray-600);
    line-height: 1.7;
    position: static;
    /* Let the button break out of P to the CARD context */
}

/* When expanded, show full text */
.impact-card p.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    height: auto;
    overflow: visible;
}

/* Ensure the card is relative so we can position the button at the bottom */
.impact-card {
    position: relative;
    padding-bottom: 4rem;
    /* Make definitely enough room */
}

/* The button inside the P tag needs to be positioned relative to the CARD */
.impact-card .read-more-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    /* Match card padding */
    cursor: pointer;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: transparent;
    z-index: 10;
}

.read-more-btn:hover {
    text-decoration: underline;
}

/* Hide the old legacy spans if they still exist in some translations */
.more-content {
    display: inline !important;
    /* Force visible so line-clamp works on full text */
}

.ellipsis {
    display: none !important;
}



.more-content {
    display: none;
}