/* 
===========================================
   Olirum Madurai - NGO Website Styles
=========================================== 
*/

:root {
    /* Color Palette */
    --primary-color: #00695c;
    /* Deep Teal - Trustworthy/Nature */
    --primary-light: #4db6ac;
    --primary-dark: #004d40;
    --secondary-color: #fdd835;
    /* Warm Yellow - Hope/Optimism */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #2e7d32;
    --error-color: #c62828;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Merriweather', serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --section-padding: 80px 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1rem;
}

.section-divider {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-color);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: #fbc02d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 216, 53, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Navigation */
.header {
    background-color: var(--bg-white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 85px;
    /* Adjust based on logo proportions */
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-dark);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.btn-donate-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-donate-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    padding-top: var(--header-height);
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 4;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: white;
    color: var(--primary-dark);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

@media (max-width: 576px) {
    .slider-dots {
        gap: 8px;
        bottom: 15px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    margin-top: 0;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Subpage Layout */
.page-header-spacer {
    height: var(--header-height);
    background-color: var(--bg-white);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.founder-message {
    margin-top: 4rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-left: 5px solid var(--secondary-color);
    border-radius: 4px;
}

.founder-message blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-dark);
}

.founder-message cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--text-color);
}

/* Causes Section */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

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

.cause-image {
    height: 200px;
    overflow: hidden;
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cause-card:hover .cause-image img {
    transform: scale(1.1);
}

.cause-body {
    padding: 25px;
    position: relative;
}

.cause-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    position: absolute;
    top: -30px;
    right: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cause-body h3 {
    margin-top: 10px;
    font-size: 1.25rem;
}

.cause-body p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery .container {
    max-width: 1400px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background-color: var(--bg-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Section */
.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.video-embed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-embed .video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    color: #fff;
    font-size: 3rem;
}

.video-embed .video-play-overlay i {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.video-embed-link {
    display: block;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    border: 3px solid white;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--secondary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-nav:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

@media (max-width: 576px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    .close-lightbox {
        top: 20px;
        right: 25px;
        font-size: 32px;
    }
}

/* Donate Section */
.donate {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: white;
}

.donate-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.donate-content {
    flex: 1;
}

.donate-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.transparency-note {
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.donate-details {
    flex: 1;
    max-width: 500px;
}

.bank-card {
    background: white;
    color: var(--text-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bank-card h3 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.bank-info p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.upi-section {
    margin-top: 20px;
    text-align: center;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
}

.upi-section p {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

/* Volunteer & Contact Forms */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.shadow-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(77, 182, 172, 0.2);
}

.form-success {
    background-color: #e8f5e9;
    color: var(--success-color);
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 105, 92, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form-wrapper form {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
}

.contact-form-wrapper .btn {
    background-color: var(--primary-dark);
    color: white;
    border: none;
}

.contact-form-wrapper .btn:hover {
    background-color: var(--primary-color);
}

.map-placeholder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder img {
    border-radius: 8px;
    width: 100%;
    display: block;
    transition: var(--transition);
}

.map-link {
    display: block;
    position: relative;
}

.map-link:hover img {
    transform: scale(1.02);
    filter: brightness(0.8);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.map-link:hover .map-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #212121;
    color: #bdbdbd;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header {
        height: 70px;
    }
    .page-header-spacer {
        height: 70px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid,
    .contact-grid,
    .donate-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .donate-details {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px; /* Matching mobile header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        overflow-y: auto;
        z-index: 1001;
    }

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

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .hero-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .form-group-row {
        flex-direction: column;
        gap: 0;
    }

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

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .who-we-are-image-wrapper {
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .who-we-are-content .lead-text {
        font-size: 1.15rem;
    }
}

/* Brand Text - Tamil */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Spacing between logo and text */
    text-decoration: none;
}

.brand-text-tamil {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 1.8rem;
    /* Adjustable relative to logo size */
    font-weight: 600;
    /* Semi-bold */
    color: #4E342E;
    /* Dark Brown */
    line-height: 1.2;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .brand-text-tamil {
        font-size: 1.3rem;
    }
    .logo img {
        height: 60px;
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments for Tamil Text */
@media (max-width: 768px) {
    .brand-text-tamil {
        font-size: 1.5rem;
    }

    .logo img {
        height: 60px;
        /* Resize logo on mobile to fit text better */
    }
}

@media (max-width: 480px) {
    .brand-text-tamil {
        font-size: 1.1rem;
        padding-top: 3px;
    }

    .logo img {
        height: 60px;
        /* Resize logo on mobile to fit text better */
    }
}

@media (max-width: 480px) {
    .brand-text-tamil {
        font-size: 1.1rem;
        padding-top: 3px;
    }

    .logo {
        gap: 8px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

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

/* Impact Section Styles */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.impact-stat {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.impact-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.impact-stat i {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.impact-stat .impact-title {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.impact-stat p {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Activities Section Styles */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

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

.activity-content {
    padding: 25px;
}

.activity-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.activity-content .date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.activity-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 8px;
}



/* Responsive for new sections */
@media (max-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


}

/* Unique Causes Layout */
.causes-section-unique {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.causes-title-huge {
    font-size: 3.5rem;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.causes-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

.causes-list-unique {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.cause-row {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.cause-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.cause-row.reverse {
    flex-direction: row-reverse;
}

.cause-image-large {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cause-image-large::after {
    content: '';
    display: block;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

.cause-image-large img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cause-row:hover .cause-image-large img {
    transform: scale(1.05);
}

.cause-content-large {
    flex: 1;
    position: relative;
    padding: 20px 0;
    text-align: left;
}

.cause-number {
    position: absolute;
    top: -45px;
    left: 0;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(0, 105, 92, 0.08);
    z-index: 0;
    font-family: var(--font-heading);
    line-height: 1;
    pointer-events: none;
}

.cause-content-large h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cause-content-large p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.cause-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.cause-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-color);
}

.cause-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    background: var(--primary-dark);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .cause-row, .cause-row.reverse {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .causes-title-huge {
        font-size: 2.8rem;
    }
    
    .cause-number {
        top: -30px;
        font-size: 4.5rem;
    }

    .cause-content-large h3 {
        font-size: 1.8rem;
    }
}

/* Who We Are Teaser */
.who-we-are-section {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.who-we-are-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(77, 182, 172, 0.05);
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    z-index: 0;
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.who-we-are-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.who-we-are-image-wrapper .main-img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.who-we-are-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: var(--secondary-color);
    border-radius: 20px;
    z-index: 1;
}

.who-we-are-content .sub-heading {
    color: var(--primary-light);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.who-we-are-content .lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.who-we-are-content .desc-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.core-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(77, 182, 172, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.value-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-family: var(--font-primary);
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .who-we-are-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Unique Styles */
.about-hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.about-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('./assets/images/swachh2.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero-content .hero-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
}

@media (max-width: 768px) {
    .about-hero-content .hero-title {
        font-size: 2.2rem;
    }
}

.about-modern {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-showcase {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.about-showcase-image {
    flex: 1;
    position: relative;
}

.about-showcase-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.about-showcase-image::after {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    z-index: 1;
}

.floating-stat {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    animation: floatUpDown 5s infinite ease-in-out;
}

.floating-stat.box-1 {
    bottom: -20px;
    right: -20px;
}

.floating-stat i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.floating-stat span {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

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

.about-showcase-text {
    flex: 1;
}

.about-showcase-text .sub-heading {
    color: var(--primary-light);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.about-showcase-text .lead-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

.text-muted {
    color: var(--text-light);
}

.vision-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    display: flex;
    gap: 20px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vision-icon {
    width: 60px; height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vision-content h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    position: relative;
    top: -5px;
    color: var(--primary-dark);
}

.vision-content p {
    font-size: 1.05rem;
    margin: 0;
    color: var(--text-color);
}

.stats-glass-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 20px 40px rgba(0, 77, 64, 0.2);
    margin-bottom: 80px;
    color: white;
}

.stat-glass-item {
    text-align: center;
    position: relative;
    padding: 0 30px;
}

.stat-glass-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 10%; height: 80%;
    width: 2px; background: rgba(255,255,255,0.2);
}

.icon-wrap {
    width: 70px; height: 70px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    color: var(--secondary-color);
}

.stat-counter-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.stat-glass-item .stat-number, .stat-glass-item .stat-number-plus {
    font-size: 2.8rem; font-weight: 800; font-family: var(--font-heading);
    color: white;
}

.stat-glass-item .stat-label {
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; opacity: 0.9;
    color: white;
    display: block;
}

.founder-message-unique {
    background: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    position: relative;
    margin-top: 40px;
}

.quote-mark {
    font-size: 4rem;
    color: rgba(253, 216, 53, 0.3);
    position: absolute;
    top: 30px; left: 40px;
}

.quote-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.quote-author {
    margin-top: 30px;
    display: flex; align-items: center; justify-content: center; gap: 15px;
}

.author-line {
    width: 40px; height: 3px; background: var(--secondary-color);
}

.author-name {
    font-weight: 700; color: var(--text-color); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;
}

/* Animations */
.animate-pop-in { animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.animate-fade-in-up { animation: fadeInUp 1s ease forwards; opacity: 0; animation-delay: 0.3s; }
.animate-slide-in-left { animation: slideInLeft 1s ease forwards; }
.animate-slide-in-right { animation: slideInRight 1s ease forwards; }
.animate-scale-in { animation: scaleIn 1s ease forwards; opacity: 0; animation-delay: 0.6s; }

@keyframes popIn { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
@keyframes slideInLeft { 0% { opacity: 0; transform: translateX(-50px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { 0% { opacity: 0; transform: translateX(50px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { 0% { opacity: 0; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } }

@media (max-width: 992px) {
    .about-showcase { flex-direction: column; gap: 50px; }
    .stats-glass-bar { flex-direction: column; gap: 40px; }
    .stat-glass-item:not(:last-child)::after { display: none; }
    .founder-message-unique { padding: 40px 20px; }
    .quote-mark { top: 10px; left: 10px; font-size: 3rem; }
    .floating-stat.box-1 { right: 0; }
}

/* Heritage Quote Section */
.heritage-quote-section {
    margin-top: 80px;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.heritage-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px;
}

.heritage-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.heritage-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.heritage-image:hover img {
    transform: scale(1.1);
}

.divine-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.heritage-content {
    flex: 1.2;
    text-align: right;
    color: #fff;
}

.heritage-brand {
    font-family: 'Noto Sans Tamil', sans-serif;
    color: #ffd700;
    font-size: 2.8rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.heritage-sub {
    font-family: 'Noto Sans Tamil', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.tamil-quote {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #e6f1ff;
    position: relative;
    padding-right: 20px;
    font-style: italic;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: #ffd700;
    margin-top: 30px;
    margin-left: auto;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .heritage-container {
        flex-direction: column-reverse;
        padding: 40px 20px;
        text-align: center;
    }
    .heritage-content {
        text-align: center;
    }
    .heritage-brand {
        font-size: 2.2rem;
    }
    .heritage-sub {
        font-size: 1.5rem;
    }
    .tamil-quote {
        font-size: 1.2rem;
        padding-right: 0;
    }
    .accent-line {
        margin: 30px auto 0;
    }
}