body {
    margin: 0;
    /* font-family: 'Univers LT Std'; */
    font-family: 'Univers LT Std';
    background-color: #fff;
    color: #333;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/pn.jpg');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    opacity: 0.07;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Top */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.au-logo {
    height: 40px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: bold;
}

.social-icons a {
    color: #522b39;
    margin-left: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #000;
}

/* Banner Header */
.banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.left-banner {
    height: 60px;
}

.right-banner {
    height: 60px;
}

.breadcrumb {
    background-color: #FBBC05;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    text-decoration: none;
    color: inherit;
}

.breadcrumb a.active {
    background-color: #FBBC05;
    color: #522B39;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.breadcrumb a.inactive {
    background-color: #FBBC05;
    color: #522B39;
    padding: 4px 10px;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-top: 20px;
    height: 60vh;
    overflow: hidden;
}

/* .slideshow-wrapper {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   z-index: 1;
}

.hero-img {
   position: absolute;
   width: 100%;
   height: 100%;
   object-fit: cover;
   animation: fadeSlideshow 30s infinite;
   opacity: 0;
   border-radius: 0;
}

.img1 {
   animation-delay: 0s;
}

.img2 {
   animation-delay: 5s;
}

.img3 {
   animation-delay: 10s;
}

.img4 {
   animation-delay: 15s;
}

.img5 {
   animation-delay: 20s;
}

.img6 {
   animation-delay: 25s;
}
.img7 {
   animation-delay: 30s;
}
.img8 {
   animation-delay: 35s;
}



@keyframes fadeSlideshow {
   0% {
       opacity: 1;
   }

   15% {
       opacity: 1;
   }

   20% {
       opacity: 0;
   }

   100% {
       opacity: 0;
   }
} */

.slideshow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.sand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/bg/slider/sand.jpg') repeat;
    background-size: cover;
    opacity: 0.08;
    pointer-events: none;
    z-index: 2;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlideshow 40s infinite;
    transition: opacity 2s ease-in-out;
    border-radius: 0;
}

.img1 {
    animation-delay: 0s;
}

.img2 {
    animation-delay: 5s;
}

.img3 {
    animation-delay: 10s;
}

.img4 {
    animation-delay: 15s;
}

.img5 {
    animation-delay: 20s;
}

.img6 {
    animation-delay: 25s;
}

.img7 {
    animation-delay: 30s;
}

.img8 {
    animation-delay: 35s;
}

@keyframes fadeSlideshow {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-text {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: white;
    max-width: 800px;
    background: rgba(120, 118, 118, 0.5);
    padding: 20px;
    border-radius: 6px;
    z-index: 2;
}


h1 {
    font-family: 'Univers LT Std';
    font-size: 25px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: 25px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.5;
}

.hero-buttons {
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: bold;
}

.primary {
    background-color: #4c1d2c;
    color: white;
}

.secondary {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}

.aumf-section {
    margin: 40px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    grid-auto-rows: 200px;
}




.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    /* ⬅️ Remove rounded corners */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #000;
}

/* Yellow line at the middle-left */
.video-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    /* Adjust length as needed */
    background-color: #FFCD04;
    /* Yellow */
    z-index: 2;
}


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

/* ============================= */
/* 📱 Responsive Adjustments */
/* ============================= */

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text {
        max-width: 100%;
        left: 15px;
        right: 15px;
        font-size: 14px;
        padding: 15px;
    }

    .hero-text h1 {
        font-size: 22px;
    }

    .top-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .banner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        font-size: 13px;
        padding: 12px;
    }

    .hero-text h1 {
        font-size: 18px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .top-right {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }

    .video-card {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* Video Cards */
.video-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

/* Taller video card */
.video-card.tall {
    grid-row: span 2;
}

/* Overlay Text */
.video-card p {
    position: absolute;
    bottom: 0;
    padding: 12px;
    margin: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    font-size: 14px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FBBC05;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button i {
    font-size: 20px;
    color: #000;
}

/* Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-box {
    position: relative;
    width: 90%;
    max-width: 720px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.modal-box iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.media-filter-buttons .filter-btn {
    padding: 8px 16px;
    margin-left: 8px;
    border: none;
    background-color: #80002a;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.media-filter-buttons .filter-btn:hover,
.media-filter-buttons .filter-btn.active {
    background-color: #4c1d2c;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.05)),
        url('cta.png') no-repeat center/cover;
    padding: 60px 20px;
    color: white;
    text-align: left;
    position: relative;
}

.cta-content {
    max-width: 500px;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Univers LT Std';
    font-weight: 600;
    text-rendering:antialiased;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: 'Univers LT Std';
    
}

.btn-cta {
    padding: 10px 18px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: white;
    color: #000;
}

/* Footer */
.au-footer {
    background-color: #522b39;
    color: #f9f8f8;
    padding: 40px 20px 20px;
    font-family: sans-serif;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #fdfcfc;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.footer-col p,
.footer-col ul {
    font-size: 14px;
    margin: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 6px 0;
}

.footer-col ul li a {
    text-decoration: none;
    color: #f4f3f3;
}

.footer-icons a {
    margin-right: 10px;
    font-size: 18px;
    color: #f8f8f8;
}

.footer-bottom {
    border-top: 1px solid #aaa;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* ============================= */
/* 📱 Responsive Adjustments */
/* ============================= */

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content h2 {
        font-size: 24px;
        font-family: 'Univers LT Std';
    }

    .cta-content p {
        font-size: 15px;
    }

    .modal-box iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .video-card.tall {
        grid-row: auto;
    }

    .cta-banner {
        padding: 40px 15px;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 20px;
        font-family: 'Univers LT Std';
    }

    .cta-content p {
        font-size: 14px;
    }

    .btn-cta {
        width: 100%;
        display: inline-block;
        text-align: center;
    }

    .modal-box iframe {
        height: 220px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 40px;
}

.footer-links a {
    margin-right: 15px;
    color: #f8f6f6;
    text-decoration: none;
}

.footer-copy {
    margin-top: 10px;
}

/* Call Section */
.aumf-call-section {
    padding: 30px 20px;
}

.breadcrumb-nav {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    background-color: #ccc197;
    padding: 6px 12px;
    border-radius: 20px;
    color: #fbf9f9;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-nav .active {
    background-color: #4c1d2c;
    color: white;
}

.call-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.call-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.call-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.call-image-container img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.call-image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.call-image-container .overlay h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.call-image-container .overlay p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.apply-btn {
    padding: 8px 16px;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    width: fit-content;
}

.apply-btn:hover {
    background-color: white;
    color: black;
}

/* Sidebar */
.call-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    border-top: 2px solid #4c1d2c;
    padding-top: 10px;
}

.sidebar-box h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.theme-placeholder {
    height: 30px;
    background-color: #f0e9dd;
    border: 1px solid #ddd;
}

.sidebar-app-img {
    width: 100%;
    border-radius: 6px;
    margin-top: 10px;
}

/* AUMF Objectives Section */
  .aumf-objectives {
      font-family: 'Univers LT';
      font-size: 20px;
  }

  .text-block h2 {
      font-size: 25px;
      color: #333;
      font-weight: bold;
      margin-bottom: 10px;
      font-family: 'Univers LT Std';
      display: inline-block;
      border-bottom: 3px solid #FBBC05;
      /* underline with custom color */
      padding-bottom: 4px;
      /* space between text and underline */
  }

  .text-block p {
      font-size: 20px;
      color: #444;
      margin-bottom: 15px;
      line-height: 1.6;
      font-family: 'Univers LT Std';
  }

.objectives h3 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.objective-card {
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.objective-card i {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

/* Colors */
.objective-card.yellow {
    background-color: #f3b400;
}

.objective-card.pink {
    background-color: #ec007f;
}

.objective-card.maroon {
    background-color: #4c1d2c;
}

/* ============================= */
/* 📱 Responsive Adjustments */
/* ============================= */
@media (max-width: 1024px) {
    .call-grid {
        grid-template-columns: 1fr;
    }

    .call-sidebar {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }

    .sidebar-box {
        flex: 1;
        min-width: 220px;
    }

    .call-image-container .overlay {
        padding: 20px;
    }

    .call-image-container .overlay h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .call-title {
        font-size: 22px;
    }

    .breadcrumb-nav a {
        font-size: 13px;
        padding: 5px 10px;
    }

    .call-image-container .overlay {
        padding: 15px;
    }

    .call-image-container .overlay h3 {
        font-size: 18px;
    }

    .call-image-container .overlay p {
        font-size: 13px;
    }

    .apply-btn {
        width: 100%;
        text-align: center;
    }

    .aumf-objectives {
        padding: 30px 12px;
    }

    .text-block h2 {
        font-size: 22px;
        font-family: 'Univers LT Std';
    }

    .objectives h3 {
        font-size: 18px;
    }

    .objective-card {
        padding: 30px 16px;
    }

    .objective-card i {
        font-size: 28px;
    }
}

/* Hover effect */
.objective-card:hover {
    transform: scale(1.05);
}

.overlay {
    padding-bottom: 40px;
}

/* Offering */
.aumf-offering {
    margin-top: 40px;
}

.aumf-offering h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #2c2c2c;
    font-weight: bold;
}

.offer-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.offer-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.offer-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #c71f3e;
}

/* Timeline */
.timeline {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.timeline li {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.timeline li strong {
    color: #4c1d2c;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Thematic Tracks */
.thematic-tracks {
    margin-top: 40px;
}

.thematic-tracks h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c2c2c;
    line-height: 1.4;
}

.thematic-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.thematic-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.thematic-list li strong {
    font-weight: 600;
    color: #2d1c2c;
}

.thematic-list .dot {
    position: absolute;
    top: 8px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #c71f3e;
    border-radius: 50%;
}

/* Cohort Section Layout */
.cohort-container {
    display: flex;
    position: relative;
    padding: 20px;
    gap: 20px;
}

.cohort-sidebar {
    width: 220px;
    border-right: 1px solid #ddd;
    padding-right: 20px;
    flex-shrink: 0;
    font-size: 20px;
}

.cohort-sidebar ul {
    list-style: none;
    padding: 0;
    font-size: 20px;
}

.cohort-sidebar li {
    margin-bottom: 16px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
}

.cohort-sidebar li a {
    text-decoration: none;
    color: #2d4d68;
    font-weight: 500;
    display: block;
}

.cohort-sidebar li.active a {
    color: #00a6a6;
    font-weight: bold;
    border-left: 3px solid #00a6a6;
    padding-left: 8px;
}

/* Content Area */
.cohort-content {
    flex: 1;
    padding-left: 40px;
    overflow-y: auto;
}

.cohort-content h2 {
    font-size: 28px;
    color: #4c1d2c;
    margin-bottom: 20px;
    font-family: 'Univers LT Std';
}

.cohort-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 20px;
}

/* Social Icons */
.cohort-social {
    position: fixed;
    right: 20px;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.cohort-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e1ecf4;
    color: #f9f7f8;
    text-decoration: none;
    font-size: 16px;
}

/* Tabs */
.tab-link {
    cursor: pointer;
}

.tab-link.active {
    color: #4c1d2c;
    font-weight: bold;
    border-left: 3px solid #4c1d2c;
    padding-left: 8px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================= */
/* 📱 Responsive Adjustments */
/* ============================= */
@media (max-width: 1024px) {
    .cohort-container {
        flex-direction: column;
    }

    .cohort-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-right: 0;
        margin-bottom: 20px;
        font-size: 20px;
    }

    .cohort-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 20px;
    }

    .cohort-sidebar li {
        border: none;
        padding: 0;
        margin: 0;
        font-size: 20px;
    }

    .cohort-sidebar li a,
    .tab-link {
        padding: 8px 12px;
        border-radius: 4px;
        background-color: #f4f4f4;
        border: 1px solid #ccc;
        font-size: 20px;
    }

    .tab-link.active {
        background-color: #4c1d2c;
        color: #fff;
        border: none;
    }

    .cohort-content {
        padding-left: 0;
    }

    .cohort-social {
        display: none;
    }
}

@media (max-width: 768px) {

    .offer-list li,
    .timeline li,
    .thematic-list li {
        font-size: 14px;
    }

    .cohort-content h2 {
        font-size: 22px;
        font-family: 'Univers LT Std';
    }

    .aumf-offering h3,
    .objectives h3,
    .thematic-tracks h3 {
        font-size: 18px;
    }
}

/* Tab Content */
.tab-content.active {
    display: block;
}

/* Right-side floating social bar */
.cohort-social {
    position: fixed;
    right: 20px;
    top: 320px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.cohort-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #4c1d2c;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cohort-social a:hover {
    background-color: #4c1d2c;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(76, 29, 44, 0.4);
}

/* Profile Grid */
.cohort-profiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-right: 20px;
}

.profile-card {
    text-align: center;
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    /* Optional: remove if you want sharp corners */
    overflow: hidden;
    margin: 0 auto 10px;
    border: 2px solid #ccc;
    transition: border 0.3s ease;
}

.profile-image:hover {
    border-color: yellow;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover Overlay Effect */
.profile-image::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 29, 44, 0.7);
    transition: top 0.4s ease;
    z-index: 1;
    border-radius: 50%;
}

.profile-image:hover::after {
    top: 0;
}

.country-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.country-info img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* Cohort Layout */
.cohort-container {
    display: flex;
    height: calc(100vh - 60px);
    /* adjust if header changes */
    overflow: hidden;
}

.cohort-sidebar {
    width: 220px;
    flex-shrink: 0;
    padding: 20px;
    border-right: 1px solid #ddd;
}

.content-scroll-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.cohort-content {
    max-width: 100%;
    padding-right: 60px;
    /* ensures content avoids social icons */
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.modal-body {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    font-family: 'Univers LT Std';
}

.modal-image img {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #4c1d2c;
    flex-shrink: 0;
}

.modal-details {
    flex: 1;
}

.modal-details h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
    border-bottom: 3px solid #4c1d2c;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.modal-details p {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 0.96rem;
    color: #333;
}

.modal-details a {
    color: #1a73e8;
    text-decoration: none;
}

.modal-details a:hover {
    text-decoration: underline;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        align-items: center;
    }

    .modal-image img {
        margin-bottom: 15px;
    }

    .modal-details {
        text-align: center;
    }
}


.modal-video-section {
    margin-top: 30px;
    width: 100%;
}

.modal-video-section h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-left: 4px solid #4c1d2c;
    padding-left: 10px;
}

.video-wrapper {
    width: 100%;
    max-width: 100%;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}


.modal-video-section {
    margin-top: 30px;
    width: 100%;
}

.modal-video-section h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-left: 4px solid #4c1d2c;
    padding-left: 10px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Sticky Header Wrapper */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sticky-header-wrapper .top-header,
.sticky-header-wrapper .banner-header,
.sticky-header-wrapper .breadcrumb {
    padding: 10px 15px;
}

/* ============================= */
/* 📱 Responsive Adjustments */
/* ============================= */
@media (max-width: 768px) {
    .modal-body img {
        width: 100px;
        height: 100px;
    }

    .modal-body h3 {
        font-size: 18px;
    }

    .modal-body p {
        font-size: 13px;
    }

    .modal .close {
        top: 8px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 16px;
        line-height: 28px;
    }

    .sticky-header-wrapper .top-header,
    .sticky-header-wrapper .banner-header,
    .sticky-header-wrapper .breadcrumb {
        padding: 8px 12px;
    }
}

/* Hide toggle button on desktop */
.breadcrumb-toggle {
    display: none;
    background: #4c1d2c;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .breadcrumb-toggle {
        display: inline-block;
    }

    .breadcrumb {
        display: none;
        flex-direction: column;
        background-color: #ccc197;
        padding: 10px;
        border-radius: 5px;
    }

    .breadcrumb.show {
        display: flex;
    }

    .breadcrumb a {
        margin-bottom: 8px;
    }
}

.form-guidelines {
    background-color: #f9f9f9;
    border-left: 5px solid #4c1d2c;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: 'Univers LT Std';
    color: #333;
    font-size: 15px;
    line-height: 1.7;
}

.form-guidelines p {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: #4c1d2c;
}

.form-guidelines ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

.form-guidelines ul li {
    margin-bottom: 8px;
}

.aumf-toggle-heading {
    background: #4c1d2c;
    color: #fff;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

.aumf-toggle-content {
    display: none;
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.aumf-toggle-content.active {
    display: block;
}

.fellowship-timeline {
    list-style: none;
    padding-left: 0;
}

.fellowship-timeline li {
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #006837;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.fellowship-timeline li:hover {
    background-color: #e8f5ea;
    border-left-color: #00a859;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fellowship-timeline li strong {
    color: #006837;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}


.countdown-inline-card {
    padding: 10px 16px;
    background-color: #fff8e1;
    border-left: 4px solid #f39c12;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.application-count-card {
    padding: 15px 20px;
    background-color: #fff8e1;
    /* light beige */
    border-left: 4px solid #007847;
    /* AU Green */
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    color: #333333;
    /* dark text */
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.application-count-card:hover {
    background-color: #fef3c7;
    border-left-color: #f9a825;
}

.countdown-inline-card strong {
    color: #e67e22;
    margin-right: 6px;
}

.fellowship-expectations {
    list-style: none;
    padding-left: 0;
}

.fellowship-expectations li {
    margin-bottom: 12px;
    padding: 10px 14px;
    background-color: #f9f9f9;
    /* border-left: 4px solid #006837; */
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.fellowship-expectations li:hover {
    background-color: #eefaf1;
    border-left-color: #00a859;
    transform: translateX(5px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.application-instructions {
    margin-top: 40px;
    background: #f9fdfb;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.application-instructions h2 {
    color: #006837;
    margin-bottom: 15px;
    font-size: 24px;
    font-family: 'Univers LT Std';
}

.aumf-instructions-list {
    padding-left: 20px;
}

.aumf-instructions-list li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.aumf-instructions-list ul {
    margin-top: 5px;
    padding-left: 20px;
    list-style-type: disc;
}


.news-ticker {
    background-color: #522b39;
    /* AU Green */
    color: #fff;
    display: flex;
    align-items: center;
    padding: 6px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

.news-label {
    color: #f9a825;
    /* AU Gold */
    font-weight: 600;
    white-space: nowrap;
    margin-right: 10px;
     /* background-color: #f4f4f4; */
}

.news-scroll {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
    position: relative;
}

.news-items {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 80s linear infinite;
    /* changed from 35s to 80s */
}

.news-items span {
    margin-right: 80px;
    display: inline-block;
}

.news-items a {
    color: #f9a825;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 500;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.newsroom-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.newsroom-title {
    font-size: 28px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 30px;
    color: #333;
}

.newsroom-title span {
    color: #f9a825;
    /* AU gold */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 16px;
    flex-grow: 1;
}

.news-label {
    font-weight: 700;
    color: #1c1812;
    margin-bottom: 10px;
}

.news-summary {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
}

.news-date {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 6px;
    color: #333;
}

/* === Contact Form Styling === */

.contact-wrapper {
    background-color: #ffffff;
    padding: 40px 30px;
    max-width: 850px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', sans-serif;
}

.contact-wrapper h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #222;
    text-align: center;
}

.contact-wrapper p {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-group {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

.contact-form-group-full {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.contact-input,
.contact-textarea,
.contact-input select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-input select:focus {
    border-color: #4c1d2c;
    outline: none;
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.contact-submit-btn {
    background-color: #4c1d2c;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.contact-submit-btn:hover {
    background-color: #370f1f;
}

/* Alerts */
.contact-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-alert-success {
    background: #e6f5ec;
    border: 1px solid #b6dfc3;
    color: #2e7d32;
}

.contact-alert-danger {
    background: #ffe9e9;
    border: 1px solid #f5c2c2;
    color: #a94442;
}

/* Responsive layout */
@media (max-width: 768px) {
    .contact-form-group {
        flex: 1 1 100%;
    }

    .contact-wrapper {
        padding: 25px 20px;
    }
}

.btn-outline-primary {
    color: rgb(58, 29, 44);
    border-color: rgb(58, 29, 44);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: rgb(58, 29, 44);
    color: white;
    border-color: rgb(58, 29, 44);
}

.timeline-section {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

.timeline-title {
    font-size: 24px;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-weight: 600;
}

.timeline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-step {
    background: white;
    border-radius: 20px;
    padding: 20px;
    flex: 1 1 18%;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.step-1 {
    background-color: #FBBC05;
    /* Yellow-ish */
    color: #000;
}

.step-2 {
    background-color: #3F9588;
    /* Gold */
    color: #000;
}

.step-3 {
    background-color: #51B8D1;
    /* Light Blue */
    color: #fff;
}

.step-4 {
    background-color: #E16435;
    /* Orange/Red */
    color: #fff;
}

.step-5 {
    background-color: #3F9588;
    /* Teal Green */
    color: #fff;
}

.timeline-step:hover {
    transform: translateY(-5px);
}

.circle {
    width: 40px;
    height: 40px;
    background-color: #522b39;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fcfafa;
}

.timeline-content p {
    font-size: 16px;
    color: #fbf8f8;
}

@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        align-items: center;
    }

    .timeline-step {
        flex: 1 1 100%;
        max-width: 90%;
    }
}

.fellow-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.fellow-filter-form .filter-group {
    flex: 0 0 30%;
    min-width: 220px;
}

.fellow-filter-form .filter-group input,
.fellow-filter-form .filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
}

.fellow-filter-form .filter-group button {
    width: 100%;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 14px;
    background-color: #007144;
    border: none;
    color: white;
    border-radius: 6px;
    transition: background 0.3s;
}

.fellow-filter-form .filter-group button:hover {
    background-color: #005e36;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-suggestions div {
    padding: 8px 12px;
    cursor: pointer;
}

.autocomplete-suggestions div:hover {
    background-color: #f0f0f0;
}

/* ============ PROJECT SPOTLIGHT GRID ============ */
.row {
    margin-left: -12px;
    margin-right: -12px;
}

.col-md-6,
.col-lg-4 {
    padding-left: 12px;
    padding-right: 12px;
}

/* ============ FILTER BUTTONS ============ */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-buttons a {
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #ccc;
    background-color: #f6f6f6;
    color: #333;
    transition: all 0.2s ease-in-out;
}

.filter-buttons a:hover,
.filter-buttons .active {
    background-color: #007144;
    color: #fff;
    border-color: #007144;
}

/* ============ SPOTLIGHT CARD ============ */
.fellow-card-modern {
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    height: 420px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fellow-card-modern:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ============ CARD TOP CONTENT ============ */
.fellow-card-content {
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 30%, transparent 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.media-type {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ccc;
}

.cohort-tag {
    background-color: #b78600;
    color: white;
    padding: 4px 10px;
    font-size: 0.7rem;
    display: inline-block;
    margin: 8px 0 12px;
    border-radius: 3px;
    text-transform: uppercase;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.meta-info {
    font-size: 0.8rem;
    color: #e0e0e0;
    opacity: 0.9;
}

/* ============ CARD FOOTER VIEW BUTTON ============ */
.fellow-card-footer {
    background: #522B39;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.fellow-card-footer a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fellow-card-footer i {
    transition: transform 0.2s ease;
}

.fellow-card-footer a:hover i {
    transform: translateX(4px);
}

/* ============ GRID CONTAINER ============ */
.fellow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Make sure cards are full height */
.fellow-card-modern {
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 6px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.fellow-card-modern:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Container spacing */
.cohort-tabs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
}

/* Button/tab style */
.cohort-tab {
    padding: 10px 20px;
    background-color: #f3f3f3;
    color: #333;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Hover effect */
.cohort-tab:hover {
    background-color: #007144;
    color: #fff;
    transform: scale(1.05);
}

/* Active state */
.cohort-tab.active {
    background-color: #007144;
    color: #fff;
    border-color: #005d37;
}

.cohort-tabs {
    display: flex;
    gap: 16px;
}

.cohort-tab {
    padding: 10px 20px;
    background-color: #f3f3f3;
    color: #333;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.cohort-tab:hover {
    background-color: #007144;
    color: #fff;
    transform: scale(1.05);
}

.cohort-tab.active {
    background-color: #b78600;
    color: #fff;
    border-color: #005d37;
}

.filter-tab-wrapper {
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.filter-tab-wrapper .btn {
    transition: all 0.3s ease-in-out;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 50px;
}

.filter-tab-wrapper .btn:hover {
    transform: translateY(-2px);
}

.filter-tab-wrapper .btn.active {
    background-color: #b78600 !important;
    color: #fff !important;
    border-color: #522B39 !important;
}


.filter-tab-wrapper .btn {
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    color: #522B39;
}

.filter-tab-wrapper .btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.filter-tab-wrapper .btn.active {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.accordion-container {
    font-family: 'Univers LT Std';
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-header {
    background-color: #522b39;
    color: white;
    padding: 15px 20px;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.accordion-header::after {
    content: "\25BC";
    /* Down arrow */
    position: absolute;
    right: 20px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: rotate(180deg);
    /* Up arrow */
}



.accordion-body p {
    padding: 15px 0;
    margin: 0;
    font-size: 20px;
    font-family: 'Univers LT Std';
}


.flip-card {
    width: 160px;
    height: 180px;
    perspective: 1000px;
}

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

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

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-front i {
    font-size: 24px;
    margin-bottom: 10px;
}

.flip-back {
    background-color: #333;
    transform: rotateY(180deg);
}

/* Color Classes */
.yellow {
    background-color: #f1c40f;
}

.pink {
    background-color: #e91e63;
}

.maroon {
    background-color: #800000;
}

.objective-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    /* Ensures spacing between cards */
    padding: 20px;
}

.flip-card {
    width: 160px;
    height: 200px;
    perspective: 1000px;
    margin: 10px;
    /* fallback spacing if gap fails */
}


.mentor-section {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mentor-photo {
    float: left;
    width: 240px;
    height: auto;
    margin: 0 20px 15px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.mentor-section p {
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: justify;
    color: #333;
}

@media (max-width: 768px) {
    .mentor-photo {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: 100%;
        max-width: 300px;
    }
}

.mentor-header {
    text-align: left;
    margin-bottom: 40px;
    padding: 20px 0;
}

.mentor-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    border-bottom: 3px solid #fbbc05;
    display: inline-block;
    padding-bottom: 10px;
}

.breadcrumb-dropdown {
    position: relative;
    display: inline-block;
}

.breadcrumb-dropdown>a {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 5px;
    background-color: #FFCD04;
    color: #000;
    text-decoration: none;
}

/* DROPDOWN CONTENT – initially hidden */
.breadcrumb-dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    /* Directly below the About Us link */
    left: 0;
    background-color: #522b39;
    border-radius: 5px;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 999;
    flex-direction: column;
    padding: 5px 0;
}

/* SHOW WHEN HOVERING THE ENTIRE DROPDOWN CONTAINER */
.breadcrumb-dropdown:hover .dropdown-content {
    display: flex;
}

/* Dropdown Items */
.dropdown-content a {
    padding: 8px 12px;
    display: block;
    text-decoration: none;
    color: #000;
    background-color: #FFCD04;
    font-size: 20px;
}

.dropdown-content a:hover {
    background-color: #6e3e4c;
    color: #fff;
}

.dropdown-content a.active {
    background-color: #3a1d2c;
    color: #fff;
    font-weight: bold;
}

.fellowbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.85);
    padding-top: 60px;
}

.fellowbox-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 960px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.fellowbox-close {
    color: #333;
    font-size: 28px;
    float: right;
    font-weight: bold;
    cursor: pointer;
}

.fellowbox-body img,
.fellowbox-body video {
    max-width: 100%;
    height: auto;
}

.fellowbox-video video {
    max-height: 400px;
}


.aumf-static-banner {
    position: relative;
    height: 0vh;
    overflow: hidden;
    margin-bottom: 40px;
}

.aumf-static-banner-wrapper {
    height: 100%;
    width: 100%;
}

.aumf-banner-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.aumf-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
}

.aumf-banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.aumf-banner-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.hero-buttons .btn {
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn.primary {
    background-color: #fbbc05;
    color: #000;
}

.btn.secondary {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}


.expectations-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}


.section-title {
    text-align: left;
    /* Ensures left alignment */
    /* font-size: 2.2rem; */
    font-size: 25px;
    font-weight: bold;
    color: #1c1812;
    margin-bottom: 25px;
    /* text-transform: capitalize; */
    /* Capitalize each word */
    position: relative;
    display: inline-block;
}

.section-title-wrapper {
    text-align: left;
    /* Keeps the wrapper aligned left */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    /* Half underline */
    height: 4px;
    background-color: #FFCD04;
    /* Yellow underline */
    border-radius: 2px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.expectation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.expectation-card {
    padding: 30px 25px 30px 25px;
    color: #fff;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: background 0.3s ease;
    border-radius: 0;
    background-size: cover;
    background-position: center;
}

.bg1 {
    background-color: #FBBC05;
}

.bg2 {
    background-color: #E16435;
}

.bg3 {
    background-color: #522B39;
}

.bg4 {
    background-color: #3F9588;
}

.expectation-card:hover {
    filter: brightness(1.05);
}

.expectation-badge {
    background-color: white;
    color: #000;
    font-weight: bold;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.expectation-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    flex: 1;
}

.selection-process-section {
    /* padding: 60px 20px; */
    background: #ffffff;
}

.selection-process-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #1c1812;
    margin-bottom: 10px;
    /* text-transform: uppercase; */
}

.selection-process-section .section-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.phase-card {
    padding: 30px 25px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.phase-card h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
}

.phase-card h3 span {
    display: block;
    font-weight: normal;
    color: #666;
    font-size: 0.95rem;
    margin-top: 5px;
}

.phase-card ul {
    list-style: disc;
    padding-left: 20px;
    color: #444;
    font-size: 1rem;
    line-height: 1.7;
}

.phase-card ul li {
    margin-bottom: 10px;
}

.phase1 {
    border-left: 6px solid #FBBC05;
}

.phase2 {
    border-left: 6px solid #FBBC05;
}

/* .pillars-section {
   padding: 60px 20px;
} */

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    /* text-transform: uppercase; */
    margin-bottom: 40px;
    color: #1c1812;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pillar-card {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    font-family: 'Univers LT Std';
    transition: transform 0.3s ease-in-out;
}

.pillar-card:hover {
    transform: scale(1.02);
}

/* .pillar-card .overlay {
   background: rgba(0, 0, 0, 0.4);
   height: 100%;
   width: 100%;
   position: relative;
   transition: background 0.4s ease;
} */


.pillar-card .overlay {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    position: absolute;
    /* ⬅️ Fix: from relative to absolute */
    top: 0;
    left: 0;
    transition: background 0.4s ease;
}

.pillar-card:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.pillar-card h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFCD04;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    transition: all 0.4s ease;
    text-align: center;
}

.pillar-card:hover h3 {
    top: 25px;
    left: 25px;
    transform: translate(0, 0);
    text-align: left;
}

.pillar-sub,
.pillar-card ul {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: #fff;
    padding: 0 25px;
    /* margin-top: 60px; */
}

.pillar-card:hover .pillar-sub,
.pillar-card:hover ul {
    opacity: 1;
    transform: translateY(0);
}

.pillar-sub {
    font-style: italic;
    font-size: 18px;
    /* margin-bottom: 10px; */
    margin-bottom: 5px;
}

.pillar-card ul {
    font-size: 16px;
    line-height: 1.6;
    list-style: disc;
}

.pillar-card ul li {
    margin-bottom: 10px;
}

.application-procedure-section {
    padding: 60px 20px;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    /* text-transform: uppercase; */
    font-weight: bold;
    margin-bottom: 30px;
    color: #1c1812;
}

.procedure-intro {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.application-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: scale(1.02);
}

.app-overlay {
    background: #522B39;
    color: #fff;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    transition: background 0.3s;
}

.app-card:hover .app-overlay {
    background: rgba(0, 0, 0, 0.75);
}

.app-step-circle {
    width: 35px;
    height: 35px;
    background: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.app-card p {
    font-size: 0.93rem;
    line-height: 1.5;
    color: #eee;
}

.thematic-wrapper {
    padding: 50px 20px;
    /* background-color: #fafafa; */
}

.thematic-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.thematic-header p {
    font-size: 20px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
}

.thematic-accordion .accordion-card {
    border: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 10px;
}
.accordion-header {
    background-color: #FBBC05;
    color: #000;
    font-weight: 600;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}
.accordion-header1 {
    background-color: #522B39;
    color: #FBBC05;
    font-weight: 600;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background-color: #e2a904;
}

.accordion-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-arrow {
    transform: rotate(-135deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-body.show {
    max-height: 320px;
    /* adjust based on desired visible height */
    overflow-y: auto;
    padding: 10px 20px;
}
.accordion-body.show::-webkit-scrollbar {
    width: 6px;
}

.accordion-body.show::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.accordion-body ul {
    /* padding: 20px 0; */
    margin: 0;
    font-family: 'Univers LT Std';
    font-size: 20px;
}

.accordion-body li {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    list-style: disc;
    margin-left: 20px;
    font-family: 'Univers LT Std';
}

.accordion-card.active .accordion-body {
    max-height: 500px;
    /* enough height for the content */
}

.accordion-cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-apply {
    background-color: #FBBC05;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-apply:hover {
    background-color: #e6a903;
    color: #000;
}


/* new css today */
.about-au-fellowship {
    padding: 5px 10px;
}

.about-text p {
    font-size: 20px;
    line-height: 1.8;
    color: #222;
}

/* .btn-read-more {
   background-color: #FBBC05;
   color: white;
   padding: 8px 18px;
   border: none;
   border-radius: 5px;
   font-weight: bold;
   transition: background-color 0.3s ease;

} */

.btn-container {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.btn-read-more {
    background-color: #FBBC05;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* .btn-read-more {
   background-color: #FBBC05;
   color: white;
   padding: 8px 18px;
   border: none;
   border-radius: 5px;
   font-weight: bold;
   transition: background-color 0.3s ease;

   position: absolute;
   right: 20px;
   top: 20px;
   z-index: 10;
} */

.btn-read-more:hover {
    background-color: #e0a703;
    color: #000;
}


.aumf-our-partners,
.aumf-member-states {
    /* padding: 60px 20px; */
    /* background-color: #fff; */
}

.section-title {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1d1d1d;
}

.our-partners-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.our-partners-image {
    flex: 1 1 400px;
    max-width: 480px;
}

.our-partners-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.our-partners-text {
    flex: 1 1 480px;
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

.aumf-member-states p {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.aumf-institutional-partners {
    /* padding: 60px 20px; */
    /* background-color: #f9fafb; */
}

.aumf-institutional-partners .section-title {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.institutional-partners-content {
    max-width: 900px;
    margin: auto;
    font-size: 20px;
    color: #333;
    line-height: 1.8;
}

.institutional-partners-content p {
    margin-bottom: 15px;
}

.aumf-development-partners {
    padding: 60px 20px;
    /* background-color: #ffffff; */
}

.aumf-development-partners .section-title {
    font-size: 25px;
    font-weight: 700;
    color: #1c1c1c;
    text-align: center;
    margin-bottom: 30px;
}

.development-partners-content {
    max-width: 900px;
    margin: auto;
    font-size: 20px;
    color: #333;
    line-height: 1.8;
}

.development-partners-content p {
    margin-bottom: 16px;
}

.au-offering-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.au-offering-section .section-title {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.offering-card {
    position: relative;
    height: 250px;
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offering-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.offering-overlay {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    height: 100%;
    width: 100%;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    font-weight: 500;
    font-size: 15.5px;
    transition: background 0.3s ease;
    flex-direction: column;
    line-height: 1.6;
}

.eligibility-section {
    /* background: #f9f9f9; */
    padding: 60px 20px;
    text-align: center;
}

.eligibility-title {
    font-size: 32px;
    font-weight: bold;
    color: #1c1812;
    margin-bottom: 20px;
}

.eligibility-description {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #444;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.eligibility-card {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    text-align: left;
    position: relative;
    padding: 20px 20px 20px 30px;
    transition: all 0.3s ease;
    border-radius: 0;
    overflow: hidden;
    font-size: 20px;
}

.eligibility-card:hover {
    background-color: #522B39;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.eligibility-card:hover .card-content p {
    color: #fff;
}

.eligibility-card:hover strong {
    color: #fff;
}

.left-line {
    width: 6px;
    height: 50%;
    background: #fbbc05;
    position: absolute;
    top: 25%;
    left: 0;
}

.card-content {
    padding-left: 15px;
    width: 100%;
    font-size: 20px;
}

.card-content p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #222;
}

.small-banner-section {
    position: relative;
    height: 30vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

 

.banner-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.banner-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.banner-subtext {
    font-size: 16px;
    font-weight: 300;
}


/* the new css introduced */

/* === Section Container === */
.carousel-block {
    padding-top: 10px;
    padding-bottom: 20px;
    margin-top: 0 !important;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* === Swiper Slide === */
.custom-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    height: 50%;
}

/* === Card Styling === */
.custom-card {
    width: 100%;
    height: 320px;
    /* Reduced from 400px */
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    /* Sharp edges */
    transition: transform 0.3s ease-in-out;
}

/* === Card Inner Overlay === */
.custom-card-overlay {
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* === Card Title === */
.custom-card-title {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
    transition: transform 0.3s ease;
}

/* === Content (Initially Hidden) === */
.custom-card-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    margin-top: 15px;
    text-align: left;
    width: 100%;
    padding: 0 20px;
    color: #fff;
}

/* === Reveal on Hover === */
.custom-card:hover .custom-card-content {
    opacity: 1;
    max-height: 300px;
}

/* === Paragraph Title in Content === */
.custom-card-content p {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
    color: #FBBC05;
}

/* === Bullet List === */
.custom-card-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.custom-card-content ul li {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
}

/* === Custom Navigation Arrows === */
.custom-arrow {
    width: 65px;
    height: 65px;
    background-color: #522B39;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background 0.3s ease;
}

.custom-arrow:hover {
    background-color: #3a1d2c;
}

.custom-arrow::after {
    font-size: 24px;
    color: #FBBC05;
}

/* === Arrow Positioning === */
.swiper-button-prev.custom-arrow {
    left: -40px;
}

.swiper-button-next.custom-arrow {
    right: -40px;
}

/* === Responsive Fixes === */
@media (max-width: 992px) {
    .swiper-button-prev.custom-arrow {
        left: 5px;
    }

    .swiper-button-next.custom-arrow {
        right: 5px;
    }

    .custom-arrow {
        width: 50px;
        height: 50px;
    }

    .custom-arrow::after {
        font-size: 18px;
    }
}

/* === Optional Section Title Styling (for consistency) === */
.section-title-wrapper {
    margin-bottom: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
    color: #1c1812;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: #FFCD04;
    border-radius: 2px;
}

.carousel-title-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.carousel-section-title {
    font-size: 20px;
    font-weight: bold;
    color: #1c1812;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.carousel-section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background-color: #FFCD04;
    /* Use FBBC05 or adjust to match */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* 11 july codes */

/* === Carousel Container === */
.au-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
}

/* === Carousel Track === */
.au-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease-in-out;
}

/* === Individual Card === */
.au-carousel-card {
    flex: 0 0 calc(100% / 3);
    height: 300px;
    border-radius: 16px;
    color: white;
    position: relative;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    overflow: hidden;
}

.au-carousel-card:hover {
    background-color: #FBBC05 !important;
    color: #000;
}

/* === Content Wrapper === */
.au-carousel-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}


.au-carousel-content h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 30px;
    transition: all 0.4s ease;
    z-index: 2;
    text-align: center;
    width: max-content;
    line-height: 1.2;
    color: #fff;
}

/* === Paragraph (Hidden by Default) === */
.au-carousel-content p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 25px;
    text-align: left;
    max-width: calc(100% - 40px);
    z-index: 1;
    line-height: 1.5;
}

/* === On Hover: h3 to Top Left, p floats in below === */
.au-carousel-card:hover .au-carousel-content h3 {
    top: 20px;
    left: 20px;
    transform: translate(0, 0);
    font-size: 20px;
}

.au-carousel-card:hover .au-carousel-content p {
    top: 60px;
    left: 20px;
    transform: translate(0, 0);
    opacity: 1;
}

/* === Arrow Buttons === */
.au-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
    border-radius: 6px;
    transition: background 0.3s;
}

.au-carousel-arrow:hover {
    background: #FBBC05;
    color: #000;
}

.au-carousel-arrow.au-left {
    left: 10px;
}

.au-carousel-arrow.au-right {
    right: 10px;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .au-carousel-card {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 768px) {
    .au-carousel-card {
        flex: 0 0 100%;
    }
}

.au-carousel-content ul {
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
    font-size: 25px;
    color: inherit;
    line-height: 1.6;
    z-index: 1;
}

/* On hover: show the list just like <p> before */
.au-carousel-card:hover .au-carousel-content ul {
    opacity: 1;
    transform: translateY(0);
}

/* sunday codes */

.step-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: background 0.4s ease;
}

.card-highlight {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #FFC107;
    border-radius: 10px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

.card-highlight.animate-border {
    animation: draw-border 1.5s linear forwards;
    opacity: 1;
}

.card-filled {
    /* background: #FFF8E1 !important;   */
    transition: background 0.4s ease;
}

/* border animation sequence */
@keyframes draw-border {
    0% {
        clip-path: inset(0 100% 100% 0);
    }

    25% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* .flow-container {
    position: relative;
    max-width: 1100px;
    margin: 60px auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
} */
 .flow-container {
     position: relative;
     max-height: 450px;
     /* Set the visible height limit */
     overflow-y: auto;
     /* Enable vertical scroll */
     padding-right: 10px;
     /* Optional: for scrollbar clearance */
    font-family: 'Univers LT Std';
 }

 /* Optional: Custom Scrollbar (WebKit browsers) */
 .flow-container::-webkit-scrollbar {
     width: 6px;
 }

 .flow-container::-webkit-scrollbar-thumb {
     background-color: #ccc;
     border-radius: 3px;
 }

.step-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.step-card {
    /* background: #fff; */
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.step-card span {
    font-size: 23px;
    color: #999;
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

.step-card h4 {
    font-size: 25px;
    color: #222;
    border-bottom: 3px solid #FFC107;
    display: inline-block;
    padding-bottom: 3px;
    margin-bottom: 8px;
    font-family: 'Univers LT Std';
}

.step-card p {
    font-size: 18px;
    color: #444;
    line-height: 1.5;
    font-family: 'Univers LT Std';
}

/* Highlight border */
.card-highlight {
    position: absolute;
    top: 0;
    left: 0;
    border: 4px solid #FFC107;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 3;
}

.card-highlight.animate-border {
    animation: draw-border 1.5s linear forwards;
    opacity: 1;
}

/* Card fill after highlight */
.card-filled {
    background: #FFF8E1 !important;
    transition: background 0.4s ease;
}

/* Border animation */
@keyframes draw-border {
    0% {
        clip-path: inset(0 100% 100% 0);
    }

    25% {
        clip-path: inset(0 0 100% 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

/* Flow line layer */
#flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.final-submit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF8E1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.final-submit-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.submit-content {
    text-align: center;
    animation: pop-in 0.6s ease;
}

.submit-content h2 {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.submit-content p {
    font-size: 18px;
    color: #333;
}

@keyframes pop-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 100;
}

.confetti-emoji {
    position: absolute;
    font-size: 24px;
    animation: fly 3s ease-out forwards;
    user-select: none;
    opacity: 0;
}

@keyframes fly {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-300px) translateX(var(--x)) rotate(var(--r)) scale(0.6);
        opacity: 0;
    }
}