/* 
   SNCFI About Page Styles
   Using the SNCFI brand color scheme and typography
*/

:root {
    /* SNCFI Brand Colors */
    --primary-yellow: #f4b52a;
    --primary-blue: #394765;
    --dark-blue: #27323a;
    --gray-blue: #424b52;
    --white: #fff;
    
    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
}

/* Global Section Styles */
.section-wrapper {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
}

.section-title.display-4 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.section-divider {
    height: 4px;
    width: 80px;
    background-color: var(--primary-yellow);
    margin-bottom: 2rem;
    border-radius: 2px;
}

/* Goal Banner */
.goal-banner-section {
    background: linear-gradient(180deg, rgba(238, 241, 246, 0.7), rgba(255, 255, 255, 0.9));
    position: relative;
}

.goal-text {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-weight: var(--font-weight-semibold);
    line-height: 1.6;
}

.goal-text .highlight-blue {
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.goal-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 16rem);
    color: rgba(57, 71, 101, 0.06);
    font-weight: 800;
    pointer-events: none;
}

/* Slogan Section */
.slogan-section {
    background: #f8f9fb;
}

.slogan-paragraph {
    max-width: 900px;
    margin: 0 auto;
    color: var(--gray-blue);
}

/* About Hero Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
    height: 600px;
}

.carousel-item {
    height: 100%;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(39, 50, 58, 0.4), rgba(39, 50, 58, 0.7));
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(39, 50, 58, 0.8);
    border-left: 5px solid var(--primary-yellow);
    padding: 2rem;
    border-radius: 6px;
    max-width: 700px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-caption h2 {
    font-family: var(--font-heading);
    color: var(--primary-yellow);
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-family: var(--font-body);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/267885/pexels-photo-267885.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    border-left: 4px solid var(--primary-yellow);
    transition: var(--transition-base);
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-zoom {
    transition: transform 0.5s ease;
    box-shadow: var(--shadow-md);
}

.hover-zoom:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Why Choose SNCFI Section */
.why-choose-section {
    background-color: #f8f9fa;
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 71, 101, 0.05) 0%, rgba(244, 181, 42, 0.05) 100%);
    z-index: 0;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border-top: 4px solid var(--primary-yellow);
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    background-color: rgba(244, 181, 42, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    font-family: var(--font-body);
    color: var(--gray-blue);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Mission, Vision, and Core Values Section */
.mission-vision-section {
    background-color: var(--primary-blue);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/267885/pexels-photo-267885.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.mission-vision-section .section-title {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.mission-vision-section .section-divider {
    background-color: var(--primary-yellow);
    margin: 0 auto 2rem;
}

.mv-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    background-color: rgba(244, 181, 42, 0.1);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition-base);
}

.mv-card:hover .mv-icon {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
}

.mv-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.mv-divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-yellow);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.mv-card p {
    font-family: var(--font-body);
    color: var(--gray-blue);
    line-height: 1.7;
    margin-bottom: 0;
}

.core-values-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 0;
}

.core-values-list li {
    font-family: var(--font-body);
    color: var(--gray-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.core-values-list li i {
    color: var(--primary-yellow);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Acronym Visual Style (S N C F I) */
.acronym-list {
    font-size: 1.1rem;
}

.acronym-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.acronym-initial {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-yellow);
    font-size: 1.6rem;
    width: 24px;
    display: inline-block;
    text-align: center;
}

.acronym-word {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Campus Life Section */
.campus-life-section {
    background-color: #f8f9fa;
    position: relative;
}

.campus-life-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 71, 101, 0.03) 0%, rgba(244, 181, 42, 0.03) 100%);
    z-index: 0;
}

.campus-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    height: 100%;
    position: relative;
    z-index: 1;
}

.campus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.campus-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.campus-card-body {
    padding: 2rem;
    border-top: 4px solid var(--primary-yellow);
}

.campus-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.campus-card p {
    font-family: var(--font-body);
    color: var(--gray-blue);
    line-height: 1.7;
    margin-bottom: 0;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: var(--transition-base);
    box-shadow: 0 4px 8px rgba(57, 71, 101, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(57, 71, 101, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
}

/* School Seal Section */
.school-seal-section {
    background-color: var(--white);
    position: relative;
}

.school-seal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/267885/pexels-photo-267885.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.seal-main-container {
    display: inline-block;
    border-radius: 50%;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.seal-main-image {
    transition: var(--transition-base);
}

.seal-main-image:hover {
    transform: scale(1.05);
}

.seal-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border-top: 4px solid var(--primary-yellow);
    height: 100%;
    position: relative;
    z-index: 1;
}

.seal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.seal-icon {
    margin-bottom: 1.5rem;
    background-color: rgba(244, 181, 42, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-base);
}

.seal-card:hover .seal-icon {
    background-color: rgba(57, 71, 101, 0.1);
}

.seal-icon img {
    max-height: 60px;
    margin: 0 auto;
}

.seal-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.seal-card p {
    font-family: var(--font-body);
    color: var(--gray-blue);
    line-height: 1.7;
    margin-bottom: 0;
    text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .carousel-inner {
        height: 500px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .section-wrapper {
        padding: 4rem 0;
    }
    
    .section-title.display-4 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-inner {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-wrapper {
        padding: 3rem 0;
    }
    
    .section-title.display-4 {
        font-size: 2rem;
    }
    
    .feature-card, .mv-card, .seal-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .campus-card img {
        height: 220px;
    }
    
    .feature-icon, .mv-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 2.5rem;
    }
    
    .seal-icon {
        width: 80px;
        height: 80px;
    }
    
    .seal-icon img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .carousel-inner {
        height: 350px;
    }
    
    .carousel-caption {
        padding: 1rem;
        bottom: 40%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title.display-4 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
