
        :root {
            --primary-blue: #002b5c;
            --secondary-blue: #4a90e2;
            --light-blue: #ebf5fb;
            --text-dark: #333;
            --text-gray: #666;
        }

        .foundation-box {
            border: none;
            border-top: 6px solid var(--primary-blue);
            padding: 40px;
            background-color: #fff;
            margin-bottom: 40px;
            font-family: 'Arial', sans-serif;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
            /* Soft shadow */
            border-radius: 16px;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            position: relative;
            overflow: hidden;
        }

        .foundation-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
        }

        .foundation-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .foundation-title {
            color: var(--primary-blue);
            font-weight: 800;
            /* Extra bold */
            font-size: 28px;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.3s;
        }

        .apply-btn {
            background: linear-gradient(135deg, var(--secondary-blue) 0%, #2980b9 100%);
            color: white;
            padding: 12px 35px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
            display: inline-block;
            letter-spacing: 0.5px;
        }

        .apply-btn:hover {
            background: linear-gradient(135deg, #357abd 0%, #2471a3 100%);
            color: white;
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
        }

        .foundation-description {
            margin-bottom: 25px;
        }

        .content-divider {
            border: 0;
            height: 1px;
            background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 43, 92, 0.75), rgba(0, 0, 0, 0));
            margin: 20px 0 40px 0;
            position: relative;
            overflow: visible;
        }

        .content-divider::after {
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            background: var(--primary-blue);
            transform: translateX(-50%) rotate(45deg);
            top: -6px;
            /* Half of height to center vertically on the line */
            left: 50%;
            box-shadow: 0 0 0 8px #fff;
            /* Creates a clean white gap around the diamond */
        }

        .brochure-img-box {
            border-radius: 12px;
            height: 320px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: transparent;
            transition: all 0.5s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            /* Shadow for image */
        }

        .brochure-img-box img {
            transition: transform 0.6s ease;
        }

        .brochure-img-box:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

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

        /* Remove old brochure text styles as we have an image now */
        .brochure-text {
            display: none;
        }

        .program-info-title {
            color: var(--primary-blue);
            font-weight: 700;
            text-align: center;
            margin-bottom: 25px;
            font-size: 20px;
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
            letter-spacing: 0.5px;
        }

        .program-info-title::after {
            content: '';
            position: absolute;
            width: 50px;
            /* Centered small line initially */
            height: 3px;
            bottom: 0px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
            transition: width 0.4s ease;
            border-radius: 2px;
        }

        .foundation-box:hover .program-info-title::after {
            width: 100%;
        }

        .link-item {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            transition: transform 0.3s;
            padding: 10px 20px;
            border-radius: 12px;
            background-color: transparent;
            /* hover bg effect */
        }

        .link-item:hover {
            transform: translateX(10px);
            background-color: var(--light-blue);
        }

        .icon-placeholder {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
            border: 1px solid #d6eaf8;
            margin-right: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            /* Circle */
            color: var(--secondary-blue);
            position: relative;
            transition: all 0.4s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .link-item:hover .icon-placeholder {
            background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
            color: white;
            border-color: transparent;
            transform: rotate(360deg) scale(1.1);
            box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
        }

        /* Icon text rotate class - specific to placeholder, keeping for safety but likely unused with circles */
        .icon-text-rotate {
            display: none;
        }

        .link-text {
            color: var(--primary-blue);
            font-size: 18px;
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
            transition: all 0.3s;
        }

        .link-text span {
            display: inline-block;
            margin-left: 5px;
            transition: transform 0.3s;
            opacity: 0.7;
        }

        .link-item:hover .link-text {
            color: var(--secondary-blue);
            text-decoration: none;
        }

        .link-item:hover .link-text span {
            transform: translateX(8px);
            opacity: 1;
        }

        /* New Animations */
        /* REPLACEMENT ANIMATIONS: 3D Flip on Hover */

        .brochure-flip-container {
            background-color: transparent;
            perspective: 1000px;
            height: 100%;
            width: calc(100% - 40px);
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 30px;
        }

        @media (min-width: 768px) {
            .brochure-flip-container {
                min-height: 460px;
            }
        }

        @media (max-width: 767px) {
            .brochure-flip-container {
                height: 350px;
                /* Fixed height for mobile stacking */
            }
        }

        .brochure-flip-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
        }

        .brochure-flip-container:hover .brochure-flip-inner {
            transform: rotateY(180deg);
        }

        .brochure-front,
        .brochure-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 12px;
            top: 0;
            left: 0;
        }

        .brochure-front img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
        }

        .brochure-back {
            background-color: #0d1b2a;
            /* Fallback */
            transform: rotateY(180deg);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            /* Clip the blurry image */
        }

        .brochure-back .back-bg-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Blur and darken the image so text is readable */
            filter: blur(4px) brightness(0.4);
            z-index: 1;
            transform: scale(1.1);
            /* Scale up slightly to hide blur edges */
        }

        .brochure-back .view-btn {
            position: relative;
            z-index: 2;
            /* Ensure on top of image */
            padding: 12px 30px;
            border: 2px solid #fff;
            border-radius: 50px;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }

        .brochure-back .view-btn:hover {
            background-color: #fff;
            color: #000;
        }