
    .history-section {
        padding: 20px 0; 
        background-color: #fff;
        overflow: hidden;
    }

    .history-title {
        font-family: 'Playfair Display', serif;
        font-size: 38px;
        line-height: 1.2;
        color: #444;
        margin-bottom: 15px;
    }

    .history-title .text-blue {
        color: #1965c0;
        font-weight: 700;
    }

    .history-text {
        font-family: 'Quicksand', sans-serif;
        font-size: 16px;
        line-height: 1.7;
        color: #5a5a5a;
        margin-top: 10px;
        max-width: 520px;
    }

    .history-img-wrapper {
        position: relative;
        padding: 0; 
    }

    .history-img {
        width: 100%;
        border-radius: 12px;
        -webkit-mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 60%, transparent 95%);
        mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, black 60%, transparent 95%);
        filter: brightness(1.05);
        transform: scale(1.1); 
    }

    .about-cards-section {
        background-color: #fff;
        padding: 30px 0; 
    }

    .info-card {
        border-radius: 24px;
        border: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .card-title {
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        font-size: 24px;
        color: #444;
    }

    .card-vision {
        background-color: #eaf2fb;
    }

    .card-mission {
        background-color: #fdf5e6;
    }

    .card-charism {
        background-color: #eaf2fb;
    }

    .growth-section {
        padding: 20px 0; 
        background-color: #fff;
        overflow: hidden;
    }

    .growth-text p {
        font-family: 'Quicksand', sans-serif;
        font-size: 16px;
        line-height: 1.7;
        color: #5a5a5a;
    }

    .growth-img {
        width: 100%;
        -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 30%, transparent 90%);
        mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 30%, transparent 90%);
        filter: brightness(1.02);
    }

    .sisters-stack-section {
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .sisters-stack-section .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 1200px;
    }


    .stack-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }

    .stack-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        height: clamp(350px, 45vh, 480px); /* Responsive height range */
    }

    .about-image-portrait {
        width: 100%;
        height: 100%; /* Fill container */
        max-height: 450px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .stack-img {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .main-img {
        width: 60%;
        z-index: 3;
        position: relative;
        height: 90%; /* Proportional height */
        max-height: 440px;
        object-fit: cover;
        border: 5px solid #fff;
    }

    .side-img {
        width: 48%;
        z-index: 1;
        height: 80%; /* Proportional height */
        max-height: 380px;
        object-fit: cover;
        filter: brightness(0.98);
    }

    .side-img.left {
        margin-right: -12%; /* Reduced overlap for better visibility on smaller screens */
        transform: scale(0.85);
    }

    .side-img.right {
        margin-left: -12%; /* Reduced overlap */
        transform: scale(0.85);
    }


    .history-section .col-lg-6:first-child {
        opacity: 0;
        transform: translateX(-50px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .history-section .col-lg-6:last-child {
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .history-section .col-lg-6.show {
        opacity: 1;
        transform: translateX(0);
    }

    .about-cards-section .col-lg-4 {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }

    .about-cards-section .col-lg-4.show {
        opacity: 1;
        transform: translateY(0);
    }

    .growth-section .col-lg-5 {
        opacity: 0;
        transform: translateX(-40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .growth-section .col-lg-7 {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .growth-section .col-lg-5.show,
    .growth-section .col-lg-7.show {
        opacity: 1;
        transform: translateX(0);
    }

    .sisters-stack-section {
        opacity: 1;
        transform: none;
    }

    .stack-img {
        opacity: 0;
        transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .main-img {
        transform: translateY(40px) scale(0.9);
    }

    .side-img.left {
        transform: translateX(100px) scale(0.7);
    }

    .side-img.right {
        transform: translateX(-100px) scale(0.7);
    }

    .sisters-stack-section.show .main-img {
        opacity: 1;
        transform: translateY(0) scale(1);
        transition-delay: 0.1s;
    }

    .sisters-stack-section.show .side-img.left {
        opacity: 1;
        transform: translateX(0) scale(0.9);
        transition-delay: 0.3s;
    }

    .sisters-stack-section.show .side-img.right {
        opacity: 1;
        transform: translateX(0) scale(0.9);
        transition-delay: 0.4s;
    }

    @media (max-width: 768px) {
        .stack-container {
            flex-direction: column;
            gap: 20px;
        }

        .main-img,
        .side-img {
            width: 80%;
            margin: 0 !important;
            transform: none !important;
        }
    }

    @media (max-width: 991px) {
        .about-hero-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .about-hero-title {
            font-size: 42px;
            line-height: 1.1;
            margin: 15px 0;
        }

        .history-section {
            padding: 50px 0;
        }
    }

    @media (max-width: 576px) {
        .about-hero {
            min-height: 280px;
            margin: 5px auto 0;
            padding-top: 100px;
            padding-bottom: 20px;
        }

        .about-hero-title {
            font-size: 32px;
        }

        .about-hero-subtitle {
            font-size: 1rem !important;
        }
    }

    /* Federation Directory Styles */
    .federation-section {
        padding: 60px 0;
        background-color: #f8fbff;
    }

    .intro-card {
        background: #fff;
        border-radius: 30px;
        padding: 50px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.04);
        margin-bottom: 60px;
        border-left: 10px solid #1965c0;
    }

    .intro-title {
        font-family: 'Playfair Display', serif;
        font-size: 32px;
        font-weight: 700;
        color: #1965c0;
        margin-bottom: 20px;
    }

    .intro-meta {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #eee;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .meta-icon {
        width: 54px;
        height: 54px;
        background: linear-gradient(135deg, #eaf2fb 0%, #d0e3f7 100%);
        color: #1965c0;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        box-shadow: 0 4px 10px rgba(25, 101, 192, 0.1);
    }

    .meta-text strong {
        display: block;
        font-size: 13px;
        color: #1965c0;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 2px;
    }

    .meta-text span {
        font-weight: 700;
        color: #333;
        font-size: 15px;
    }

    /* Fed Cards */
    .fed-card {
        background: #fff;
        border-radius: 28px;
        height: 100%;
        padding: 40px;
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: 1px solid rgba(0,0,0,0.02);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }

    .fed-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 8px;
        height: 0;
        background: linear-gradient(to bottom, #1965c0, #0d47a1);
        transition: height 0.5s ease;
    }

    .fed-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    }

    .fed-card:hover::before {
        height: 100%;
    }

    .fed-num {
        font-family: 'Quicksand', sans-serif;
        font-weight: 800;
        font-size: 48px;
        color: rgba(25, 101, 192, 0.05);
        position: absolute;
        top: 20px;
        right: 20px;
        line-height: 1;
    }

    .fed-city {
        font-family: 'Playfair Display', serif;
        font-size: 26px;
        font-weight: 800;
        color: #1965c0;
        margin-bottom: 5px;
    }

    .fed-name {
        font-size: 14px;
        font-weight: 600;
        color: #888;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .fed-info-list {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }

    .fed-info-item {
        display: flex;
        gap: 15px;
        margin-bottom: 18px;
        font-size: 15px;
        color: #555;
        line-height: 1.5;
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    .fed-info-item span {
        min-width: 0;
        flex: 1;
    }

    .fed-info-item i {
        color: #1965c0;
        margin-top: 4px;
        width: 16px;
        flex-shrink: 0;
    }

    .fed-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #1965c0;
        font-weight: 700;
        text-decoration: none;
        margin-top: 10px;
        padding: 10px 20px;
        background: #f0f7ff;
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .fed-link:hover {
        background: #1965c0;
        color: #fff;
        transform: scale(1.05);
    }

    @media (max-width: 991px) {
        .federation-section {
            padding: 40px 0;
        }
        .intro-card {
            padding: 35px;
            border-left-width: 8px;
            margin-bottom: 40px;
        }
        .intro-title {
            font-size: 28px;
        }
        .fed-card {
            padding: 30px;
        }
        .fed-city {
            font-size: 24px;
        }
    }

    @media (max-width: 768px) {
        .intro-card {
            padding: 25px;
            border-left-width: 6px;
        }
        .intro-title {
            font-size: 24px;
        }
        .intro-meta {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        .fed-num {
            font-size: 36px;
        }
    }

    @media (max-width: 576px) {
        .federation-section {
            padding: 30px 0;
        }
        .intro-card {
            padding: 20px;
            border-left-width: 5px;
            border-radius: 20px;
        }
        .intro-title {
            font-size: 22px;
            margin-bottom: 15px;
        }
        .scv-text {
            font-size: 14px;
            line-height: 1.5;
        }
        .meta-icon {
            width: 44px;
            height: 44px;
            font-size: 18px;
        }
        .meta-text span {
            font-size: 14px;
        }
        .fed-card {
            padding: 20px;
            border-radius: 20px;
        }
        .fed-city {
            font-size: 22px;
        }
        .fed-num {
            font-size: 32px;
            top: 15px;
            right: 15px;
        }
        .fed-name {
            font-size: 13px;
            margin-bottom: 20px;
        }
        .fed-info-item {
            font-size: 14px;
            gap: 12px;
            margin-bottom: 12px;
        }
        .fed-link {
            padding: 8px 16px;
            font-size: 14px;
        }
    }
