/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7d;
    --secondary-color: #f39c12;
    --accent-color: #e67e22;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.donate-btn {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #1a3f54);
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

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

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

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

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

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Welcome Section */
.welcome {
    background: var(--white);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.welcome-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.welcome-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e7ef, #c7d5e0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

/* Features Grid */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), #1a3f54);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #1a3f54);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* About Page */
.about-content {
    background: var(--white);
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-intro p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.mv-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Team Section */
.team {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-photo {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Statistics */
.statistics {
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.2rem;
}

/* Accreditation */
.accreditation {
    background: var(--bg-light);
    text-align: center;
}

.accreditation h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.accreditation-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.accreditation-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 5px;
    color: var(--success-color);
    font-weight: 600;
}

/* Services Page */
.services-content {
    background: var(--white);
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-intro h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-list {
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    gap: 2rem;
    background: var(--bg-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.service-icon {
    font-size: 4rem;
    min-width: 80px;
}

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

.service-details ul {
    margin-left: 1.5rem;
}

.service-details li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Admission Process */
.admission-process {
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.step-number {
    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;
    font-weight: bold;
    margin: 0 auto 1rem;
}

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

/* Gallery */
.gallery-content {
    background: var(--white);
}

.gallery-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e0e7ef, #c7d5e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.gallery-caption {
    padding: 1rem;
    background: var(--white);
}

.gallery-caption h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.gallery-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    background: var(--bg-light);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: linear-gradient(135deg, #2c5f7d, #1a3f54);
    height: 450px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
}

.video-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-content {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    min-width: 40px;
}

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

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

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

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-icon {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Forms */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Map Section */
.map-section {
    background: var(--bg-light);
}

.map-container {
    max-width: 1000px;
    margin: 2rem auto 0;
}

.map-placeholder {
    background: linear-gradient(135deg, #e0e7ef, #c7d5e0);
    height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e8ecef;
}

.faq-question h3 {
    color: var(--primary-color);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Donation Page */
.donation-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.donation-impact {
    background: var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.impact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-top: 5px solid var(--secondary-color);
}

.impact-amount {
    font-size: 2.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

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

/* Donation Form */
.donation-form-section {
    background: var(--bg-light);
}

.donation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.donation-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.donation-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.donation-benefits li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.tax-info {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 1.5rem;
}

.donation-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.donation-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.donation-type {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-btn {
    flex: 1;
    padding: 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.type-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.amount-btn.selected {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.custom-amount {
    margin-bottom: 2rem;
}

.amount-input-wrapper {
    position: relative;
    margin-top: 0.5rem;
}

.currency {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

.amount-input-wrapper input {
    padding-left: 2.5rem;
}

.donation-form h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    background: #e8ecef;
}

.payment-option input[type="radio"] {
    width: auto;
}

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

.bank-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 5px;
}

.bank-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bank-details p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.donation-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.total-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.btn-donate {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
}

.btn-donate:hover {
    background: var(--accent-color);
}

.secure-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Other Ways Section */
.other-ways {
    background: var(--white);
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.way-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.way-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Donor Testimonials */
.donor-testimonials {
    background: var(--bg-light);
}

/* Footer */
.footer {
    background: #1a3f54;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid,
    .testimonials-grid,
    .mission-vision,
    .team-grid,
    .stats-grid,
    .process-steps,
    .gallery-grid,
    .impact-grid,
    .ways-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome-content,
    .contact-grid,
    .donation-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 568px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .testimonials-grid,
    .mission-vision,
    .team-grid,
    .stats-grid,
    .process-steps,
    .gallery-grid,
    .impact-grid,
    .ways-grid,
    .footer-content,
    .amount-buttons {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
