/* 
  Umeed Vriksh Society Foundation - Stylesheet
  Colors: Green (#2E7D32), Brown (#8D6E63), Light(#F1F8E9)
*/

:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary-color: #8D6E63;
    --accent-color: #FFC107;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F1F8E9;
    --white: #FFFFFF;
    --dark-bg: #222222;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Types */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 10px auto;
    border-radius: 2px;
}

.underline-left {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 10px 0 20px 0;
    border-radius: 2px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #6D4C41;
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-nav.active {
    max-height: 350px;
}

.mobile-nav-links li {
    text-align: center;
    border-bottom: 1px solid #eee;
}

.mobile-nav-links a {
    display: block;
    padding: 15px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: calc(100vh - 70px);
    min-height: 500px;
    background: url('images/gallery2.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(46, 125, 50, 0.85);
    padding: 20px;
    border-radius: 10px;
    color: var(--white);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    display: block;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

blockquote {
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
    font-style: italic;
    margin: 20px 0;
    color: #555;
    background: #fff;
}

.core-values {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Causes Section */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cause-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cause-card:hover {
    transform: translateY(-10px);
}

.cause-img {
    height: 200px;
    overflow: hidden;
}

.cause-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cause-content {
    padding: 25px;
    text-align: center;
    position: relative;
}

.cause-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: -55px auto 15px;
    border: 4px solid var(--white);
}

.cause-content h3 {
    font-size: 1.4rem;
}

.cause-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Donate Section */
.donate-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.donate-info {
    flex: 1;
}

.transparency-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.transparency-list i {
    color: var(--primary-color);
}

.bank-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
}

.donate-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent-color);
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.amount-radio {
    flex: 1;
    min-width: 80px;
    position: relative;
}

.amount-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.amount-radio span {
    display: block;
    text-align: center;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.amount-radio input:checked~span {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.amount-custom input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.payment-methods {
    margin-bottom: 20px;
}

.methods {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.methods button {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.methods button:hover,
.methods button.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

/* Volunteer Section */
.row {
    display: flex;
    gap: 50px;
    align-items: center;
}

.col-text {
    flex: 1;
}

.col-form {
    flex: 1;
}

.benefits-list {
    margin: 20px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefits-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.volunteer-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.volunteer-form input,
.volunteer-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 125, 50, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    color: var(--text-color);
}

.contact-info {
    flex: 1;
    background: var(--primary-color);
    padding: 40px;
    color: var(--white);
}

.contact-card {
    margin-bottom: 30px;
}

.contact-card i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.contact-card h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.contact-form-area {
    flex: 1.5;
    padding: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #333;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    flex: 1;
}

.newsletter-form button {
    padding: 10px 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-content,
    .row {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header {
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        background: transparent;
        padding: 0;
    }

    .stat-item {
        background: rgba(46, 125, 50, 0.85);
        padding: 15px;
        border-radius: 8px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .donate-container,
    .contact-wrapper {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3 {
        border-left: none;
        border-bottom: 2px solid var(--primary-color);
        display: inline-block;
    }

    .social-icons {
        justify-content: center;
    }
}