﻿/* ===== Global Styles ===== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f9fff7;
    color: #333;
    scroll-behavior: smooth;
}

/* ===== Hero Section ===== */
.about-hero {
    position: relative;
    background: url('../Images/about-bg.jpg') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(0, 60, 20, 0.6), rgba(0, 0, 0, 0.7));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    color: #fff;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 52px;
        font-weight: 700;
        letter-spacing: 1px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }

.intro {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 20px;
    color: #fffbe6;
}

/* ===== About Grid Section ===== */
.about-main {
    background: linear-gradient(135deg, #f0fff4, #e3f2fd);
    padding: 80px 5%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* ===== Individual Cards ===== */
.about-card {
    padding: 25px;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Different Background Colors */
.card-green {
    background: linear-gradient(135deg, #4caf50, #81c784);
}

.card-yellow {
    background: linear-gradient(135deg, #ffd54f, #ffeb3b);
    color: #4e342e;
}

.card-orange {
    background: linear-gradient(135deg, #ff9800, #ffcc80);
}

.card-blue {
    background: linear-gradient(135deg, #64b5f6, #4fc3f7);
}

.card-purple {
    background: linear-gradient(135deg, #ab47bc, #ce93d8);
}

.card-teal {
    background: linear-gradient(135deg, #26a69a, #80cbc4);
}

/* ===== Hover Effects ===== */
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* ===== Typography ===== */
.about-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.about-card p {
    font-size: 16px;
    line-height: 1.6;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card li {
    margin: 6px 0;
    font-size: 15px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade {
    animation: fadeIn 1.4s ease forwards;
}

.animate-zoom {
    animation: zoomIn 1.3s ease forwards;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .intro {
        font-size: 16px;
        padding: 0 10px;
    }

    .about-main {
        padding: 60px 5%;
    }
}
