/* about.css */

/* Page Hero */
.page-hero-about {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(rgba(13, 27, 75, 0.75), rgba(13, 27, 75, 0.85)), url('../img/10.webp') center/cover no-repeat;
    text-align: center;
    color: #fff;
    z-index: 1;
}

/* Base structural sections */
.about-section {
    padding: 110px 0;
    position: relative;
}

/* Image framing with life */
.framed-image-wrap {
    position: relative;
    z-index: 1;
    padding: 20px; /* Space for the decorative frame */
}

.framed-image-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 3px solid rgba(201, 168, 76, 0.5); /* Gold frame */
    border-radius: 12px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.framed-image-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background-color: rgba(13, 27, 75, 0.08); /* Navy subtle block */
    border-radius: 12px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.framed-image-wrap:hover::before {
    transform: translate(-10px, -10px);
}
.framed-image-wrap:hover::after {
    transform: translate(10px, 10px);
}

.framed-image-wrap img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(13, 27, 75, 0.2);
    display: block;
}

/* Alternating text alignments */
.about-content-box {
    padding: 20px;
}

.about-content-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.about-content-box ul {
    list-style: none;
    padding: 0;
}
.about-content-box ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #0D1B4B;
}
.about-content-box ul li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: #C9A84C;
}

/* Philosophy Section & CTA Transition on About Page */
.philosophy-section::after {
    display: none !important;
}

.cta-section::before {
    display: block !important;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0 40 Q90 75 180 40 T360 40 T540 40 T720 40 T900 40 T1080 40 T1260 40 T1440 40 L1440 0 L0 0 Z' fill='%230D1B4B'/></svg>") no-repeat !important;
    background-size: 100% 100% !important;
}

.philosophy-section {
    padding: 100px 0 60px;
    background-color: #0D1B4B;
    color: #fff;
    position: relative;
}

.cta-section {
    padding: 120px 0 160px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 168, 76, 0.8);
    box-shadow: 0 15px 35px rgba(201, 168, 76, 0.15);
}

.philosophy-icon {
    font-size: 3rem;
    color: #C9A84C;
    margin-bottom: 20px;
}

.philosophy-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.philosophy-desc {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* Mission & Vision Banners */
.mission-vision-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.8);
    box-shadow: 0 15px 35px rgba(201, 168, 76, 0.15);
}

.mv-icon {
    font-size: 3rem;
    color: #C9A84C;
    margin-bottom: 20px;
    display: block;
}

.mv-card h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 15px;
}

.mv-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .mission-vision-wrapper {
        grid-template-columns: 1fr;
    }
}
