/* ===================================
   About Page Specific Styles
   =================================== */

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--color-mint-green) 0%, #3d9875 100%);
    padding: 100px 0 60px;
    margin-top: 92px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 16px;
    font-weight: 700;
}

.about-hero .programs-main-title {
    font-family: 'Pirata One', cursive;
    color: var(--color-sunshine-yellow);
    font-size: 4.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--color-white);
    opacity: 0.95;
}

.hero-description {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    color: var(--color-white);
    line-height: 1.8;
    max-width: 1100px;
    margin: 30px auto 0;
    text-align: center;
}

.hero-description p {
    margin-bottom: 20px;
}

.hero-description p:last-child {
    margin-bottom: 0;
    font-size: 2rem;
}

/* Wave Decorations */
.wave-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.15;
}

.wave-top {
    top: -50px;
    right: -50px;
    background: radial-gradient(circle, var(--color-sunshine-yellow) 0%, transparent 70%);
    border-radius: 50%;
}

.wave-bottom-left {
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-sunshine-yellow) 0%, transparent 70%);
    border-radius: 50%;
}

.wave-bottom-right {
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-sunshine-yellow) 0%, transparent 70%);
    border-radius: 50%;
}

/* Vision, Mission, Philosophy Section */
.vmp-section {
    padding: 80px 0;
    background: #E8F5E9; /* Light green background */
    position: relative;
}

.vmp-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.vmp-item:last-child {
    margin-bottom: 0;
}

.vmp-item.reverse .vmp-content {
    order: 1;
}

.vmp-item.reverse .vmp-image {
    order: 2;
}

.vmp-image-placeholder {
    width: 100%;
    max-width: 450px;
    height: 450px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vmp-image-placeholder:hover {
    transform: scale(1.05);
}

.vision-bg {
    background: linear-gradient(135deg, #D62C4E 0%, #e84c6d 100%);
}

.mission-bg {
    background: linear-gradient(135deg, #1E5BA8 0%, #2a7fd4 100%);
}

.philosophy-bg {
    background: linear-gradient(135deg, #9B4F96 0%, #b66bb1 100%);
}

.vmp-image-placeholder svg {
    width: 150px;
    height: 150px;
}

.vmp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.vmp-content {
    padding: 20px;
}

.vmp-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.vmp-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
}

/* Our Preschool Section */
.preschool-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-mint-green) 0%, #3d9875 100%);
    position: relative;
    overflow: hidden;
}

.preschool-content {
    margin-top: 60px;
}

.preschool-text {
    max-width: 900px;
    margin: 0 auto;
}

.lead-paragraph {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
}

.body-paragraph {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--color-white);
    margin-bottom: 24px;
    text-align: center;
}

.preschool-highlight {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    background: var(--color-white);
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.preschool-tagline {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--color-white);
    text-align: center;
    margin-top: 50px;
    line-height: 1.6;
}

.highlight-image {
    text-align: center;
}

.highlight-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.highlight-img:hover {
    transform: scale(1.05);
}

.highlight-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.highlight-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 16px;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 70px 0;
    background: var(--color-white);
    background-image: url('images/about.PNG');
    background-size: 60% auto;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 1;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-section .section-header {
    position: relative;
    z-index: 3;
}

.why-choose-section .section-title {
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.why-choose-section .section-tag {
    font-weight: 700;
    background: rgba(73, 175, 139, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

.feature-item {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-item:nth-child(1) {
    background: #FFD6E0; /* Pink */
}

.feature-item:nth-child(2) {
    background: #D4F4E7; /* Green */
}

.feature-item:nth-child(3) {
    background: #FFE5CC; /* Orange */
}

.feature-item:nth-child(4) {
    background: #D6E9FF; /* Blue */
}

.feature-item:nth-child(5) {
    background: #F5E6FF; /* Purple */
}

.feature-item:nth-child(6) {
    background: #FFF4CC; /* Yellow */
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-item p {
    color: var(--color-text);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--color-mint-green) 0%, #3d9875 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(246, 180, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(246, 180, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-white);
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--color-mint-green);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive Design for About Page */
@media (max-width: 968px) {
    .page-title {
        font-size: 2.5rem;
    }

    .about-hero .programs-main-title {
        font-size: 3.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }

    .hero-description p:last-child {
        font-size: 1.7rem;
    }

    .vmp-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .vmp-item.reverse .vmp-content,
    .vmp-item.reverse .vmp-image {
        order: unset;
    }

    .vmp-image-placeholder {
        max-width: 380px;
        height: 380px;
    }

    .vmp-title {
        font-size: 2.5rem;
    }

    .lead-paragraph {
        font-size: 1.6rem;
    }

    .body-paragraph {
        font-size: 1.6rem;
    }

    .preschool-highlight {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 32px;
    }

    .preschool-tagline {
        font-size: 1.7rem;
        margin-top: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-item {
        width: 240px;
        height: 240px;
        padding: 25px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    .why-choose-section {
        background-size: 80% auto;
        background-position: center center;
    }

    .why-choose-section::before {
        background: rgba(255, 255, 255, 0.90);
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 2rem;
    }

    .about-hero .programs-main-title {
        font-size: 2.8rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .hero-description p:last-child {
        font-size: 1.5rem;
    }

    .vmp-item {
        gap: 30px;
        margin-bottom: 50px;
    }

    .vmp-image-placeholder {
        max-width: 320px;
        height: 320px;
    }

    .vmp-image-placeholder svg {
        width: 120px;
        height: 120px;
    }

    .vmp-title {
        font-size: 2rem;
    }

    .vmp-description {
        font-size: 1.05rem;
    }

    .lead-paragraph {
        font-size: 1.5rem;
    }

    .body-paragraph {
        font-size: 1.5rem;
    }

    .preschool-highlight {
        padding: 32px 20px;
    }

    .preschool-tagline {
        font-size: 1.5rem;
        margin-top: 35px;
    }

    .highlight-content h3 {
        font-size: 1.6rem;
    }

    .why-choose-section {
        background-size: 90% auto;
        background-position: center center;
        background-attachment: scroll;
    }

    .why-choose-section::before {
        background: rgba(255, 255, 255, 0.92);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-item {
        width: 200px;
        height: 200px;
        padding: 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .feature-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .feature-item p {
        font-size: 0.85rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Extra Small Devices - About Page */
@media (max-width: 480px) {
    .about-hero {
        padding: 90px 0 50px;
    }

    .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .about-hero .programs-main-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-description p:last-child {
        font-size: 1.4rem;
    }

    .vmp-image-placeholder {
        max-width: 280px;
        height: 280px;
    }

    .vmp-image-placeholder svg {
        width: 100px;
        height: 100px;
    }

    .vmp-title {
        font-size: 1.75rem;
    }

    .vmp-description {
        font-size: 1rem;
    }

    .lead-paragraph {
        font-size: 1.3rem;
    }

    .body-paragraph {
        font-size: 1.3rem;
    }

    .preschool-highlight {
        padding: 28px 16px;
    }

    .preschool-tagline {
        font-size: 1.4rem;
        margin-top: 30px;
    }

    .highlight-content h3 {
        font-size: 1.4rem;
    }

    .feature-item {
        width: 180px;
        height: 180px;
        padding: 18px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }

    .feature-item h4 {
        font-size: 0.95rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 375px) {
    .page-title {
        font-size: 1.6rem;
    }

    .vmp-image-placeholder {
        max-width: 250px;
        height: 250px;
    }

    .vmp-image-placeholder svg {
        width: 90px;
        height: 90px;
    }

    .vmp-title {
        font-size: 1.6rem;
    }

    .feature-item {
        width: 160px;
        height: 160px;
        padding: 16px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .feature-item h4 {
        font-size: 0.9rem;
    }

    .feature-item p {
        font-size: 0.75rem;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vmp-item {
    animation: fadeInUp 0.8s ease backwards;
}

.vmp-item:nth-child(1) {
    animation-delay: 0.1s;
}

.vmp-item:nth-child(2) {
    animation-delay: 0.2s;
}

.vmp-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Print Styles for About Page */
@media print {
    .about-hero,
    .wave-decoration {
        display: none;
    }

    .vmp-item,
    .preschool-highlight,
    .feature-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
