/* --- RESET & CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- BACKGROUND ANIMATION (About Theme) --- */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    animation: floatFullPage linear infinite;
    color: #53C3B1;
    font-size: 30px;
}

.bg-shape:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-duration: 25s;
    content: '🤝';
    font-size: 24px;
}

.bg-shape:nth-child(2) {
    top: 25%;
    right: 12%;
    font-size: 60px;
    animation-duration: 35s;
    animation-delay: -5s;
    color: #333;
    opacity: 0.03;
}

.bg-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -10s;
    color: #FF6A00;
}

.bg-shape:nth-child(4) {
    bottom: 35%;
    right: 8%;
    animation-duration: 32s;
    color: #1E88E5;
    opacity: 0.04;
}

@keyframes floatFullPage {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 40px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- HEADER STYLES (Identical) --- */
.header {
    background: #F8EBD6;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    animation: slideDown 0.8s ease forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    display: block;
}



.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn-login {
    padding: 8px 24px;
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
}

.auth-buttons .btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #bbb;
}

.auth-buttons .btn-signup {
    background: #FF6A00;
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 106, 0, 0.2);
}

.auth-buttons .btn-signup:hover {
    background: #e05c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.3);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    margin-left: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* --- ABOUT HERO --- */
.about-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: #004D40;
    /* Teal Dark */
    color: white;
    overflow: hidden;
    text-align: center;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.about-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.about-hero p {
    font-size: 20px;
    color: #B2DFDB;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- STORY SECTION --- */
.story-section {
    padding: 100px 0;
    background: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: #53C3B1;
    z-index: -1;
    border-radius: 12px;
    opacity: 0.5;
}

.story-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #004D40;
}

.story-content h2 span {
    color: #53C3B1;
}

.story-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- VALUES SECTION --- */
.values-section {
    padding: 80px 0;
    background: #f4fcfb;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e0f2f1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #e0f2f1;
    color: #004D40;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #004D40;
}

/* --- STATS SECTION --- */
.stats-bar {
    padding: 60px 0;
    background: #004D40;
    color: white;
}

.stats-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 48px;
    color: #53C3B1;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    position: relative;
    group;
}

.team-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: 0.4s;
}

.team-member:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-info span {
    color: #FF6A00;
    font-weight: 500;
    font-size: 14px;
}

.social-mini {
    margin-top: 10px;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(10px);
}

.team-member:hover .social-mini {
    opacity: 1;
    transform: translateY(0);
}

.social-mini a {
    color: #999;
    margin: 0 5px;
}

.social-mini a:hover {
    color: #333;
}

/* --- CTA --- */
.about-cta {
    padding: 100px 0;
    background: url('assets/images/knowledge.jpg') center/cover fixed;
    position: relative;
    text-align: center;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.about-cta .container {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: #FF6A00;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #e05c00;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- FOOTER STYLES (Identical) --- */
.footer {
    background: #f9f9f9;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.footer-logo h3 span {
    display: block;
    font-size: 14px;
    color: #FF6A00;
    font-weight: 500;
}

.footer-logo p {
    color: #777;
    margin: 10px 0;
}

.tagline {
    font-weight: 600;
    color: #FF6A00 !important;
    font-size: 18px;
    margin: 15px 0 30px;
}

.footer-links a {
    margin: 0 15px;
    color: #666;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FF6A00;
}

.footer-copyright {
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

/* --- ANIMATIONS --- */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-hidden {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate-hidden {
    transform: translateY(40px);
}

.fade-right.animate-hidden {
    transform: translateX(-40px);
}

.fade-left.animate-hidden {
    transform: translateX(40px);
}

.animate-active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.stagger-children.animate-active>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.animate-active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.animate-active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.animate-active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.animate-active>*:nth-child(4) {
    transition-delay: 0.4s;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        align-items: stretch;
        border-bottom: 1px solid #eee;
    }

    .nav.active {
        max-height: 600px;
    }

    .nav a {
        justify-content: center;
        padding: 15px;
        border-bottom: 1px solid #f9f9f9;
    }

    .nav .auth-buttons {
        flex-direction: column;
        padding: 20px;
        margin: 0;
    }

    .hamburger-menu {
        display: block;
    }

    .nav-dropdown {
        flex-direction: column;
        width: 100%;
    }

    .nav-dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
        border: none;
        background: #fafafa;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-content {
        display: block;
    }

    .nav .nav-dropdown-content a {
        justify-content: center;
        border-bottom: 1px solid #eee;
    }

    .about-hero {
        padding: 100px 0 60px;
    }

    .story-grid,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-flex {
        flex-direction: column;
        gap: 40px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}