﻿:root {
    --deep-purple: #5D1143;
    --soft-pink: #D190B9;
    --cream-bg: #EEE2DA;
    --cool-gray: #8DA5B5;
    --rich-navy: #1F3747;
    --warm-gray: #6F6F70;
    --accent-purple: #902167;
    --dark-navy: #1E3747;
    --deep-violet: #501F5D;
    --wine: #96709D;
}

/* Sections */
.section {
    padding: 45px 0;
}

.section-title {
    font-size: 30px;
    color: var(--deep-purple);
    text-align: left;
    margin-bottom: 20px;
    position: relative;
}

    .section-title::after {
        content: '';
        width: 80px;
        height: 3px;
        background: var(--soft-pink);
        display: block;
        margin-top: 10px;
    }

.section-subtitle {
    font-size: 21px;
    color: var(--accent-purple);
    text-align: left;
    font-style: italic;
    max-width: 900px;
    margin-bottom: 20px;
}

/* 1. Who We Are */
.who-section {
    background: #fff;
}

.who-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 83px;
    justify-content: space-around;
}

.who-text {
    font-size: 14px;
    line-height: 1.9;
}

    .who-text p {
        margin-bottom: 20px;
    }

    .who-text strong {
        color: var(--deep-purple);
    }

.who-img {
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(93, 17, 67, 0.18);
}

.read-more-btn {
    background: transparent;
    color: var(--deep-purple);
    border: 2px solid var(--soft-pink);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    display: inline-block;
}

    .read-more-btn:hover {
        background: var(--soft-pink);
        color: #fff;
        transform: translateY(-2px);
    }

/* 2. Vision & Mission */
.vm-section {
    background: var(--cream-bg);
    padding: 80px 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.vm-card {
    text-align: center;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(93,17,67,0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

    .vm-card.fade-in {
        opacity: 1;
        transform: translateY(0);
    }

.vm-number {
    font-size: 60px;
    color: var(--soft-pink);
    font-weight: 800;
    margin-bottom: 15px;
}

.vm-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--deep-purple);
    margin-bottom: 20px;
}

.vm-desc {
    font-size: 16.5px;
    line-height: 1.8;
}

.birth-section {
    background: #fff;
    text-align: center;
    padding: 140px 0;
}

.birth-logo {
    font-size: 120px;
    color: var(--deep-purple);
    margin-bottom: 40px;
}

.birth-content {
    max-width: 900px;
    margin: 0 auto;
}

    .birth-content h2 {
        font-size: 42px;
        color: var(--deep-violet);
        margin-bottom: 30px;
    }

.birth-milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.milestone {
    padding: 30px;
    background: var(--cream-bg);
    border-radius: 15px;
    transition: transform 0.3s;
}

    .milestone:hover {
        transform: translateY(-10px);
    }

.milestone-year {
    font-size: 28px;
    color: var(--accent-purple);
    font-weight: bold;
    margin-bottom: 15px;
}

.milestone-desc {
    font-size: 16px;
    line-height: 1.7;
}

.customp-5 {
    padding: 3rem;
}

/* Vision & Mission Two Column Grid */
.vm-grid-two-col {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: #29123a;
}

.vm-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 calc(50% - 1rem);
    min-width: 300px;
}

.vm-img-container {
    flex: 0 0 150px;
}

    .vm-img-container img {
        width: 75%;
        border-radius: 8px;
        object-fit: cover;
    }

.vm-content {
    flex: 1;
    margin-top: 0px;
}

    .vm-content h3 {
        margin-top: 0;
        font-size: 1.5rem;
        color: #ffffff;
    }

    .vm-content p {
        font-size: 0.7rem;
        color: #EEE2DA;
        line-height: 1.5;
    }

.vm-readmore {
    display: inline-block;
    margin-top: 0.5rem;
    color: #8DA5B5;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

    .vm-readmore:hover {
        text-decoration: underline;
    }

/* Team Section */
.team-section img:hover {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 992px) {
    .who-grid, .vm-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 900px) {
    .vm-grid-two-col {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 38px;
    }

    .container {
        padding: 0 20px;
    }

    .smallmargin {
        margin-left: 50px;
    }

    .customp-5 {
        padding: 1.5rem;
    }

    .team-section .rounded-circle {
        width: 140px !important;
        height: 140px !important;
    }
}

/* Main Flip Container */
.vm-flip-card {
    width: 100%;
    height: 300px;
    perspective: 1000px;
}

/* Wrapper (front + back) */
.vm-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

/* Flip on Hover */
.vm-flip-card:hover .vm-inner {
    transform: rotateY(180deg);
}

/* Card Faces */
.vm-front,
.vm-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
}

/* FRONT */
.vm-front {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.vm-img {
    width: 100%;
    height: 100%;
}

.vm-front-title {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
}

/* BACK SIDE */
.vm-back {
    background: var(--primary);
    color: var(--deep-purple);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    text-align: center;
}
