.heroBannerWrapper {
    position: relative;
    height: calc(100vh - 86px);
    width: 100%;
    background-color: #f6851ca9;
    box-sizing:content-box;
    padding-top: 104px;
}

.heroBannerWrapper .bannerContentWrapper {
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0 auto; /* centers horizontally */
    /* padding-inline: 1.5rem;prevents edge touching on small screens */
}

.bannerContent .media {
    height: 100%;
    width: 100%;

    max-width: 100%;
}
.heroBannerWrapper .bannerContentWrapper .media img,
.heroBannerWrapper .bannerContentWrapper .media video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    object-fit: cover;
}

.descriptionWrapper {
    position: absolute;
    bottom: 100px;
    max-width: 1600px;

    left: var(--padding-sides);
    z-index: 10;
    color: white;
}

.contentContainr {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    padding-inline: var(--padding-sides);
    position: relative; /* 🔑 anchor point */
}
.contentSlider {
    position: absolute;
    bottom: clamp(20px, 4vw, 35px);
    left: 50%;
    display: flex;
    transform: translateX(-50%);
    align-self: center;
    max-width: 1600px;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* padding: 0 var(--padding-sides); */
    width: calc(100% - calc(2 * var(--padding-sides)));
    z-index: 20;
}

.sliderWrapper {
    /* background-color: white; */
    width: 100%;
    align-items: center;
    height: fit-content;
    width: calc(100% - calc(var(--padding-sides) + var(--padding-sides)));
}

.leftBtn,
.rightBtn {
    color: white;
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
}
.leftBtn {
    left: -50px;
}
.rightBtn {
    right: -50px;
}

.leftBtn span,
.rightBtn span {
    font-size: 36px;
}
.leftBtn span:hover,
.rightBtn span:hover {
    font-size: 36px;
    color: var(--color-secondary-light);
    cursor: pointer;
}
.leftBtn {
    transform: rotate(180deg) translateY(50%);
}

.sliderWrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.sliderTrack {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
    align-items: center;
    width: 100%; /* IMPORTANT */
}

/* SLIDER NAV ITEM */
.slide {
    flex: 0 0 calc(100% / 3); /* EXACTLY 3 ITEMS ACROSS */
    flex-shrink: 0;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

/* Dark overlay to ensure text readable */
.slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Slide text above overlay */
.slide span {
    position: relative;
    z-index: 20;
}

/* ACTIVE STATE */
.slide.active::after {
    background: rgba(245, 131, 33, 0.6); /* your highlight color */
}

.hero-video.fade {
    opacity: 0;
    /* transition: opacity .25s ease; */
}
.hero-video {
    transition: all 0.1 ease-in-out !important;
}

.aboutGCIT {
    padding-top: clamp(60px, 10vw, 120px);
}

.introWrapper {
    width: fit-content;
    display: inline-block;
}
.aboutGCIT .header {
    display: flex;
    width: fit-content;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.heading-row {
}
.heading-row .main-header {
    display: block;
    grid-template-columns: minmax(140px, auto) 1fr;
    align-items: baseline;
    font-weight: 500 !important;
    column-gap: 1rem;
}

.heading-row .left {
    padding-right: 1rem; /* space before the right text */
    /* white-space: nowrap; */
}

.heading-row .right {
    white-space: normal;
}
.aboutGCIT p {
    max-width: 110ch;
    line-height: 1.5;
}

.iconWrapper * {
    width: auto;
    height: 120%;
    color: var(--color-primary); /* original color */
    transition: transform 0.6s ease;
    transform-origin: center;
}

.cardWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(26px, 4vw, 40px) var(--padding-sides) 0 var(--padding-sides) !important;
    /* margin: clamp(60px, 10vw, 140px) auto; */
    align-items: center;
}

.cardWrapper .card {
    width: calc((100% - 4rem) / 3);

    padding: 40px 1.8rem !important;
    background-color: #fafafa;
    min-height: 500px;

    height: 500px;
    padding-top: 20px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #e0e0e0; /* Light grey border */
    box-shadow: 0 10px 15px 0 rgb(162 162 162 / 30%);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.homeProjectImgWrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.homeProjectImgWrapper img:hover {
    transform: scale(1.05) !important;
}
.homeProjectImgWrapper img {
    transition: 0.3s all ease-in-out !important;
}
.cardWrapper .card .iconWrapper {
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem; /* Add spacing below icon */
    background-color: transparent; /* Ensure transparent background */
}
/* Target the video/image elements directly */
.iconWrapper video,
.iconWrapper img {
    background-color: transparent !important;
    mix-blend-mode: normal; /* or try 'multiply' or 'darken' */
}
.cardWrapper .card .cardContent {
    display: flex;
    flex-direction: column;
    text-align: center; /* Center align text */

    /* gap: 1.5rem; */
}
.homeSlide {
    transition: 0.3s all ease-in-out !important;
}
.homeSlide:hover {
    color: var(--color-secondary) !important;
}
.cardWrapper .card .cardContent h1 {
    font-weight: 400;
    min-height: 60px;
    color: var(--color-text-light);

    font-family: var(--font-Header);
    font-size: clamp(20px, 1.5vw, 24px);
}
.cardWrapper .card .cardContent h2 {
    font-weight: 400;
    /* font-style: italic; */
    color: var(--color-primary);
    font-size: clamp(18px, 3vw, 22px);
}
.cardWrapper .card .cardContent p {
    font-weight: 300;
    /* font-style: italic; */
    color: var(--color-text-light);
    text-align: justify; /* Justified text as shown in image */
    font-size: clamp(14px, 1vw, 16px);

    line-height: 150%;
}
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-20px);
    }
}

.courseWrapper {
    transition: 0.3s all ease-in-out;
    margin: 0;
    padding: 0;
    /* Remove top padding - let header handle its own spacing */
}
.courseWrapper .header {
    padding: clamp(60px, 10vw, 120px) var(--padding-sides) 0
        var(--padding-sides);
}
.courseWrapper .header h1 {
    padding: 0 var(--padding-sides);
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Full-width container for edge-to-edge backgrounds */
#expandableCourseSection {
    display: flex;
    width: 100vw;
    height: 90vh;
    overflow: hidden;
    position: relative;
}

.courseContent {
    display: flex;
    width: 100%;
    transition: 0.3s all ease-in-out;
    /* No padding - full bleed backgrounds */
}
.course {
    position: relative;
    height: 100%;
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
}

.course:hover {
    flex: 2.5;
}

.courseBG video {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    left: 0;
    right: 0;
    transition: 0.3s all ease-in-out;
    z-index: 0;
}

.courseBG {
    width: 100%;
    height: 100%;
    position: relative;
}

.courseBG {
    overflow: hidden;
}
.courseBG .overlay {
    background: linear-gradient(
        to top,
        rgba(244, 132, 35, 0.35) 0%,
        /* darker base orange */ rgba(189, 96, 15, 0.7) 42%,
        /* deeper brown */ rgba(166, 90, 24, 0.65) 71%,
        /* richer mid tone */ rgba(244, 132, 35, 0.65) 100%
            /* stronger top orange */
    ) !important;
    height: 100%;
}

.bgRight .overlay {
    background: linear-gradient(
        to top right,
        rgba(116, 180, 68, 0.2) 0%,
        rgba(46, 83, 19, 0.5) 42%,
        rgba(116, 180, 68, 0.45) 71%,
        rgba(116, 180, 68, 0.5) 100%
    ) !important;
    height: 100%;
}
.courseCoverTitle {
    position: absolute;
    z-index: 100;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    width: 40%;
    transition: all 0.4s ease;
}

.courseCoverTitle p {
    color: white;
    font-weight: 300;
    font-family: var(--font-text);
    opacity: 0;
    width: calc(80%);
    height: 0;
    /* overflow: hidden; */
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.courseCoverTitle h1 {
    font-family: var(--font-Header);
    font-weight: 400;
    color: white;
    font-size: clamp(32px, 4vw, 48px);
    width: 100%;
    margin: 0;
    line-height: 1.25;
    text-align: left; /* Left-aligned by default */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.courseCoverTitle .ctaBtn {
    padding-top: 1.5rem;
    opacity: 0;
    height: 0;
}

.hiddenInfo {
    max-height: 0;
    opacity: 0;
    width: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    transition:
        max-height 0.6s ease-in-out,
        opacity 0.4s ease-in-out 0.1s;
}

.hiddenInfo::-webkit-scrollbar {
    display: none;
}

.hiddenInfo p {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    color: #f0f0f0;
    text-align: justify;
    display: block;
}

.hiddenInfo a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Hover: Expand and show glassmorphism, maintain center */
.course:hover .courseCoverTitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85%;
    padding: 2.5rem;
    left: 50%;
    max-height: 90%;
    bottom: unset;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(
        180deg,
        rgba(221, 221, 221, 0.15),
        rgba(103, 103, 103, 0.35)
    );
    backdrop-filter: blur(4px);
    border-radius: 15px;
    border: 1px solid rgba(211, 211, 211, 0.5);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.3);
}

/* Center-align title only when glass card is active */
.course:hover .courseCoverTitle h1 {
    text-align: center;
    font-size: var(--font-size-header);
}

.course:hover .hiddenInfo {
    max-height: 500px; /* Set specific max height instead of 100vh */
    opacity: 1;
    overflow-y: auto;
}
.course:hover .hiddenInfo p {
    opacity: 1;
    height: auto;
    text-align: justify;
    width: 100%;
}
.course:hover .hiddenInfo .ctaBtn {
    opacity: 1;
    height: auto;
    text-align: center;
}

.course:hover .hiddenInfo .ctaBtn {
    display: flex;
    justify-content: flex-end;
}
.courseContent:hover .course:not(:hover) .backgroundWrapper {
    filter: brightness(0.65);
}

.courseH1-divider {
    border: none;
    border-top: 2px solid var(--color-primary); /* Orange color */
    margin: 0; /* Hidden initially */
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
    width: 100%;
}

.course:hover .courseH1-divider {
    margin: 1rem 0;
    opacity: 1;
    transform: scaleX(1);
}
/* .course:hover .courseLinkWrapper{
   padding-left: 10%;
} */

.courseLinkWrapper a {
    text-decoration: none;
    color: var(--color-text-light);
    display: flex;
    font-size: clamp(16px, 2vw, 20px);
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 350px;
}
.courseLinkWrapper a:hover {
    color: var(--color-secondary);
    width: 360px;
}

.courseLinkContainer {
    display: flex;
}

.courseLinkWrapper {
    display: flex;
    width: 50%;
    flex-direction: column;
    padding-top: 3rem;
    gap: 2rem;
    padding-left: 15%;
}
.messageWrapper {
    width: 100%;
    background-color: #f4f4f4;
    padding: clamp(60px, 10vw, 120px) var(--padding-sides);
    box-sizing: border-box;
    overflow: hidden;
}

.messageContainer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;

    justify-content: space-between;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
    position: relative;
}

/* --- LEFT SIDE: TEXT CONTENT --- */
.messageContent {
    flex: 1;
    min-width: 300px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.messageContent .main-header {
    font-family: var(--font-Header);
    font-weight: 400;
    color: #606060;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.messageContent h3.presidentName {
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 400;
    color: #8a8a8a;
    margin: 0.5rem 0;
    letter-spacing: 0.25px;
}

.president-divider {
    height: 3px;
    width: 60px;
    background-color: var(--color-primary, #f58123);
    margin: 1rem 0 1.5rem 0;
    border: none;
    display: block;
}

.messageTextContent {
    line-height: 1.7;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 300;
    color: #606060;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.messageTextContent .greeting {
    display: block;
    margin-bottom: 1rem;
}

.messageTextContent p {
    margin-bottom: 1rem;
}

.messageTextContent p strong {
    font-weight: 500;
    color: #333;
}

/* EXPANDABLE WRAPPER */
.message-expand-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.8s ease-in-out,
        opacity 0.8s ease-in-out;
}

.message-expand-wrapper.open {
    opacity: 1;
}

/* READ MORE BUTTON */
.readMoreBtn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-secondary, #74b444);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.readMoreBtn:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 180, 68, 0.3);
}

/* --- RIGHT SIDE: IMAGE --- */
.presidentImgWrapper {
    flex: 0 0 40%;
    align-self: flex-start;
    display: flex;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.presidentImgWrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: block;
}

.homeProjectWrapper {
    display: flex;
    height: 80vh;
    width: 100%;
    background-color: #fafafa;
}
.homeProjectDetails {
    display: flex;
    width: 40%;
    flex-direction: column;
}

.homeProjectDetails .projectMessage {
    height: 80%;
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.homeProjectDetails .projectMessage,
.homeProjectDetails .projectName {
    padding: 60px 60px 60px var(--padding-sides);
}
.homeProjectDetails .projectName {
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.homeProjectDetails .projectMessage h1 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    font-family: var(--font-Header);
    color: white;
}

.homeProjectDetails .projectMessage p {
    font-weight: 300;
    color: white;
    margin-top: 1rem;
    line-height: 150%;
}

.homeProjectDetails .projectMessage a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    /* width: 100%; */
    text-align: end;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2rem;
}
.homeProjectDetails .projectMessage a:hover {
    color: var(--color-secondary-light);
}

.homeProjectWrapper .prjSlider {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
}

.homeProjectWrapper .homeSliderTrack {
    display: flex;
    overflow: hidden;
    width: 80%; /* adjust as needed */
    position: relative;
}

.homeProjectWrapper .homeSliderTrack .homeSlide.active {
    opacity: 1;
}
.homeProjectWrapper .homeSliderTrack .homeSlide {
    width: 100%;
    text-align: center;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.3;
    max-height: calc(1.3em * 2); /* fallback safety */

    transition: transform 0.4s ease;
    opacity: 0.25;
}

/* Fade banners */
.projectBanner img {
    transition: opacity 0.4s ease;
}

.homeProjectWrapper .material-symbols-outlined.left,
.homeProjectWrapper .material-symbols-outlined.right {
    cursor: pointer;
    font-size: 32px;
    transition: opacity 0.2s;
}

.projectName .prjSlider {
    /* margin-top: 2rem; */
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.projectName .prjSlider h1 {
    font-weight: 700;
    color: #606060;
    width: 70%;
    padding: 0 1rem;
    font-size: 24px;

    text-align: left;
    gap: 1rem;
}
.projectBanner a {
    height: 100%;
    width: 100%;
}
.prjSlider .left {
    transform: rotate(180deg);
}
.prjSlider span {
    font-size: 32px;
}
.prjLink a {
    text-decoration: none;
    color: white;
    background-color: var(--color-secondary);
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
}
.prjLink {
    /* width: 100%; */
    display: flex;
    justify-content: flex-end;
    /* margin-top: 2rem; */
}

.projectBanner {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    width: 60%;
}
.projectBanner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 5;
}

.projectBanner .background {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    filter: blur(8px) saturate(120%) hue-rotate(20deg);

    /* z-index: -1;  */
}

.homeAnnouncementWrapper {
    margin-top: 120px;
    padding: 0 var(--padding-sides);
}
.homeAnnouncementHeader {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.homeAnnouncementWrapper .card p {
    display: none;
}

.homeAnnouncementWrapper .card p:nth-of-type(2) {
    display: block;
}

.homeAnnouncementHeader .headerLink a {
    text-decoration: none;
    color: white;
    background-color: var(--color-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
}

.homeAnnouncementContent {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
    align-items: stretch; /* 🔑 THIS */
}
.homeAnnouncementContent .suggestionWrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.homeAnnouncementContent .suggestionWrapper .suggestion {
    flex: 1; /* Grow to fill space */
    padding-bottom: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.messageWrapper,
.messageWrapper * {
    transition: unset;
}
.homeAnnouncementContent {
    display: flex;
    gap: 30px;
    height: fit-content;
    margin-top: 2rem;
}

.cardAnnouncement {
    flex: 2;
}

.suggestionWrapper {
    flex: 1;
}

.homeAnnouncementContent .cardAnnouncement {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.homeAnnouncementContent .cardAnnouncement .card {
    position: relative;
    padding: 1.5rem;
    flex-direction: column;
    flex: 1; /* Stretch to fill space properly */
    height: auto;
    justify-content: center;
    background: #fafafa;
    overflow: hidden;
    text-decoration: none;
    color: #606060;
}
.homeAnnouncementContent .cardAnnouncement .card * {
    position: relative;
    z-index: 10;
}
.homeSliderTrack a {
    text-decoration: none;
    text-align: center;
}
.homeSliderTrack {
    display: flex;
    justify-content: center;
}

/* TOP-LEFT light glow */
.homeAnnouncementContent .cardAnnouncement .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0) 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* BOTTOM-RIGHT dark shadow */
.homeAnnouncementContent .cardAnnouncement .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        315deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0) 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* Hover activates both smooth overlays */
.homeAnnouncementContent .cardAnnouncement .card:hover::before,
.homeAnnouncementContent .cardAnnouncement .card:hover::after {
    opacity: 1;
}

.homeAnnouncementContent .cardAnnouncement .card h1 {
    padding: 1rem 0;
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
    color: #606060;
}
.homeAnnouncementContent .cardAnnouncement .card a {
    text-decoration: none;
    color: var(--color-primary);
    display: flex;

    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 2rem;
    align-items: center;
}
.homeAnnouncementContent .cardAnnouncement .card a:hover {
    color: var(--color-secondary);
}
.homeEventWrapper {
    /* padding: 200px var(--padding-sides) 40px var(--padding-sides); */
    display: flex;
    margin-top: 100px;
    flex-wrap: wrap;
}
.homeEventWrapper > :nth-child(n + 10) {
    display: none;
}

.homeEventWrapper > * {
    width: calc(33.333%);
    flex: 0 0 33.333%; /* ✅ hard width */
    aspect-ratio: 3 / 3; /* ✅ height now works */
    transition: 0.3s all ease-in-out;
    overflow: hidden; /* 🔑 prevents growth */
}

.muteToggle {
    position: absolute;
    right: 12px;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;

    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.muteToggle span {
    font-size: 20px;
}
.slide.active .muteToggle {
    display: inline-flex;
}

.muteToggle:hover {
    background: rgba(0, 0, 0, 0.7);
}
.eventMessage {
    background-color: var(--color-secondary);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.eventMessage h1 {
    /* font-size: clamp(20px, 3vw, 32px); */
    /* font-weight: 400; */
    font-family: var(--font-Header);
    margin-bottom: 1.5rem;
    color: white;
}

.eventMessage p {
    font-weight: 300;
    color: white;
    line-height: 150%;
    margin-bottom: 2rem;
}

.eventMessage a {
    text-decoration: none;
    color: white;
    width: fit-content;
    background-color: var(--color-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
}

.eventMessage a:hover {
    background-color: var(--color-primary-hover);
}

.event {
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.event img {
    transition: 0.3s all ease-in-out;
}
.event:hover img {
    transform: scale(1.05);
}
.event img,
.event .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
}
.event img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.event .eventContent {
    z-index: 10;
    position: absolute;
    bottom: 3rem;
    left: 1.5rem;
    width: 100%;
    color: white;
}

.event .eventContent h1 {
    font-weight: 500;
    font-size: clamp(18px, 2vw, 24px);
    padding: 1rem 0;
    width: calc(100% - 3rem);
}

.event .eventContent a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.event .eventContent a:hover {
    color: var(--color-secondary);
}

.eventContent .date {
    color: white !important;
}

.mobilePRJSlider {
    display: none !important;
}

.heroVideoModal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}

.heroVideoModal.active {
    display: block;
}

.heroVideoBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.heroVideoContainer {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

.heroVideoPlayer {
    width: 100%;
    height: auto;
    max-height: 90vh;
    background: black;
}

.closeHeroVideo {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.heroBannerWrapper .overlay {
    pointer-events: none;
}

.headerHomeAnnouncement {
    padding-left: 1.5rem;
}
.message-expand-wrapper {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

/* Moved to main course section above - line ~302 */

@media (max-width: 1024px) {
    .heading-row .main-header {
        display: block;
        row-gap: 0.3rem;
    }
    .heroBannerWrapper{
        padding-top: 91px;
    }

    .heading-row .left {
        padding-right: 0;
    }
}
@media (max-width: 768px) {
}

@media (max-width: 576px) {
    /* small screens */
    .homeAnnouncementWrapper {
        padding: 0;
    }

    .homeAnnouncementWrapper {
        padding: 0 var(--padding-sides);
    }

    .homeAnnouncementHeader .headerContent p {
        font-size: 0.9rem;
    }

    .homeAnnouncementContent .cardAnnouncement .card {
        padding: 1.2rem;
    }

    .homeAnnouncementContent .cardAnnouncement .card a {
        margin-top: 1.2rem;
        font-size: 0.9rem;
    }
    .homeEventWrapper {
        padding: 100px;
    }

    .event .eventContent {
        bottom: 1.5rem;
        left: 1rem;
    }

    .event .eventContent h1 {
        font-size: 1.1rem;
    }

    .eventMessage h1 {
        font-size: 1.4rem;
    }

    .eventMessage p {
        font-size: 0.9rem;
    }
    .homeSuggestion {
        display: none !important;
    }
}



@media (max-width: 100px) {
    .heroBannerWrapper {
        margin-top: 80px;
    }
}
@media (min-width: 1600px) {
    /* tablets */
    .heroBannerWrapper {
        height: calc(100vh - 104px);
    }
}

@media (max-width: 800px) {
    /* Tablet */
    .cardWrapper .card .cardContent {
        gap: 1.5rem;
    }
    .cardWrapper .card .cardContent h1 {
        font-size: clamp(22px, 2vw, 32px);
    }
    .heading-row .main-header {
        display: block;
    }
    .aboutGCIT p {
        max-width: none !important;
    }

    .cardWrapper {
        flex-direction: column;
    }
    .cardWrapper .card {
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .cardWrapper .card .cardContent {
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    .cardWrapper .card .cardContent h1 {
        align-items: center;
        display: block;
        text-align: center;
        width: 100%;
        min-height: auto;
    }
    .cardWrapper .card .cardContent p {
        text-align: center;
    }

    .courseWrapper .header h1 {
        /* text-align: center; */
        margin-bottom: 1rem;
    }
    .course {
        height: 50vh;
        min-height: 550px;
    }
    .courseContent {
        flex-direction: column;
    }
    .courseContent .course {
        width: 100%;
    }
    .courseCoverTitle {
        /* Maintain horizontal center, adjust vertical position for tablet */
        bottom: 5%;
        width: 85%;
    }
    .course:hover .hiddenInfo {
        height: 100%;
    }

    .courseWrapper .header h1 {
        padding: 0;
    }
    .course .courseCoverTitle p {
        opacity: 0;
        height: 0;
        width: calc(100% - calc(var(--padding-sides) + var(--padding-sides)));
        /* transform: translateY(0); */
    }
    .course:hover .hiddenInfo p {
        height: 300px;
        overflow: auto;
        position: relative;
    }


    .course .courseCoverTitle .ctaBtn {
        opacity: 0;
        height: 0;
        position: relative;
    }
    .course:hover .hiddenInfo .ctaBtn::before {
    content: '▼'; /* or use an icon font/SVG */
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 0.3s ease-in-out;
    animation: bounce 2s infinite;
    pointer-events: none;
    }
    .hiddenInfo .scrolled-to-bottom ~ .ctaBtn::before{
        opacity: 0 !important;
    }

    @keyframes bounce {
        0%, 100% { transform: translate(-50%, 0); }
        50% { transform: translate(-50%, 5px); }
    }
    /* .course:hover .courseLinkWrapper{
    padding-left: 10%;
    } */
    .course:hover .courseBG img {
        transform: scale(1.05);
    }

    .messageContainer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    /* IMAGE FIRST */
    .messageContainer .presidentImg {
        order: 1;
        position: relative; /* disable sticky on mobile */
        top: auto;
        padding-top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .messageContainer .presidentImg img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    /* MESSAGE AFTER */
    .messageWrapper .message {
        order: 2;
        width: 100%;
        flex-direction: column;
        padding: 1.5rem;
    }

    /* Quote adjustment */
    .message .quote {
        width: auto;
        transform: none;
        margin-bottom: 1rem;
    }

    /* Content spacing */
    .messageContent {
        padding: 0;
    }

    .messageContent p {
        width: 100%;
    }

    .messageContent span {
        margin: 1rem 0;
        font-weight: 600;
    }
    .presidentTitle {
        margin: 0 !important;
    }

    /* 1️⃣ MESSAGE FIRST */
    .homeProjectDetails .projectMessage {
        order: 1;
        height: auto;
    }

    /* 2️⃣ IMAGE SECOND */
    .projectBanner {
        order: 2;
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .projectBanner img {
        height: 66vw;
        max-height: 360px;
    }
    
    .homeProjectWrapper .homeSliderTrack {
        width: 100%;
    }

    .homeProjectWrapper {
        background-color: transparent;
    }

    /* 3️⃣ PROJECT SLIDER LAST */
    .homeProjectDetails .projectName {
        order: 3;
    }

    /* Layout cleanup */
    .homeProjectDetails {
        width: 100%;
    }
    .mobilePRJSlider div {
        width: 100%;
    }
    .homeProjectWrapper .homeSliderTrack .homeSlide {
        /* height: 60px; */
    }

    .homeProjectDetails .projectMessage,
    .homeProjectDetails .projectName {
        padding: 2rem var(--padding-sides);
    }

    /* Center CTA nicely on mobile */
    .prjLink {
        justify-content: flex-end;
    }
    .homeAnnouncementWrapper {
        margin-top: 60px;
    }

    .homeAnnouncementHeader {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .homeAnnouncementHeader .headerLink {
        align-self: flex-start;
        margin-left: 1.5rem;
    }

    .homeAnnouncementContent {
        gap: 20px;
    }

    .homeAnnouncementContent .cardAnnouncement .card {
        width: 100%;
    }

    .homeAnnouncementContent .cardAnnouncement .card h1 {
        height: auto;
        font-size: clamp(20px, 3vw, 26px);
        margin: 1rem 0;
    }
    .suggestionWrapper {
        width: 100% !important;
    }
    .date span * {
        color: #333 !important;
    }
    /* .suggestion{
        padding: 1rem 1.5rem;
    } */
    .headerContent {
        margin-bottom: 1rem;
    }
    .homeEventWrapper {
        flex-direction: column;
        width: 100%;
        padding: 100px 0;
    }

    .homeEventWrapper > * {
        width: 100% !important;
        height: auto;
        min-height: 320px;
    }

    .eventMessage {
        min-height: unset;
        padding: 2rem 1.5rem;
    }

    .event {
        aspect-ratio: 16 / 9;
    }
    .eventMessage {
        height: fit-content !important;
    }
    .sliderTrack {
        transform: translateX(0); /* reset safety */
    }

    .slide {
        flex: 0 0 100%;
        position: relative;
    }

    .contentSlider {
        gap: 0.75rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    /* .socWrapper:hover,
  .siddWrapper:hover,
  .courseContent:hover .course {
    width: 100% !important;
  } */
    .courseCoverTitle p,
    .courseCoverTitle .ctaBtn {
        opacity: 0;
        height: 0;
    }
    .socToggle:checked ~ .courseCoverTitle {
        bottom: 5%;
        top: unset;
    }
    .siddToggle:checked ~ .courseCoverTitle {
        bottom: 5%;
        top: unset;
    }

    .socToggle:checked ~ .courseCoverTitle p {
        opacity: 1;
        transform: translateY(0);
        height: auto;
    }
    .siddToggle:checked ~ .courseCoverTitle p {
        opacity: 1;
        transform: translateY(0);
        height: auto;
    }

    .socToggle:checked ~ .courseCoverTitle .ctaBtn {
        opacity: 1;
        transform: translateY(0);
        height: auto;
    }
    .siddToggle:checked ~ .courseCoverTitle .ctaBtn {
        opacity: 1;
        height: auto;
        transform: translateY(0);
    }
}

@media (hover: hover) and (pointer: fine) {
    /* .socWrapper:hover {
        width: 100% !important;
    }

    .socWrapper:hover ~ .siddWrapper {
        width: 100% !important;
    }

    .siddWrapper:hover {
        width: 100% !important;
    }

    .courseContent:hover .socWrapper:not(:hover) {
        width: 100% !important;
    } */

    /* Removed duplicate conflicting rules - centering maintained by base styles */
}
@media (min-width: 1200px) {
    /* large desktops */
}

@media (min-width: 1400px) {
    /* 2K monitors */
}

@media (max-width: 1024px) {
    .homeAnnouncementContent {
        flex-direction: column;
    }

    .cardAnnouncement,
    .suggestionWrapper {
        width: 100%;
    }
    .homeEventWrapper {
        padding: 0 !important;
    }

    .homeEventWrapper > * {
        width: calc(50% - 1.5vw);
        height: 40vw;
    }
}
@media (max-width: 480px) {
    .heroBannerWrapper {
        padding-top: 91px;
    }
    .homeEventWrapper {
        padding-bottom: 0;
    }
    .heroBannerWrapper {
        height: calc(50vh - 86px);
    }
    .hero-header {
        font-size: clamp(22px, 5vw, 48px);
    }
    .contentSlider {
        padding: 0;
        width: calc(100% - calc(var(--padding-sides) + var(--padding-sides)));
    }
    .cardWrapper .card {
        height: 400px;
    }
    .iconWrapper * {
        /* height: 85%; */
    }
    .courseLinkContainer {
        flex-direction: column;
        padding: 0 var(--padding-sides);
        gap: 1rem;
        padding-top: 2rem;
    }
    .courseLinkWrapper {
        padding: 0;
        gap: 1rem;
    }
    .descriptionWrapper {
        bottom: 75px;
    }
    .section {
        padding: 0;
    }
    .aboutGCIT {
        padding: clamp(60px, 10vw, 120px) var(--padding-sides) 0
            var(--padding-sides) !important;
    }
    .leftBtn,
    .rightBtn {
        position: static;
        display: flex;
        align-items: center;
        transform: unset;
    }
    .courseContent {
        padding: 0 !important;
    }
    .leftBtn {
        transform: rotate(180deg) !important;
    }
    .course:hover .courseCoverTitle {
        padding: 16px;
    }
    .course:hover {
        height: 100vh;
    }
}

@media (max-width: 700px) {
    .homeProjectWrapper {
        flex-direction: column;
        gap: 0;
        height: fit-content;
        padding: 2rem 0;
        padding-top: 0 !important;
    }

    .mobilePRJSlider {
        height: 150px;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .desktopPRJSlider {
        display: none !important;
    }
    .mobilePRJSlider {
        /* display: block; */
        width: 100%;
        background-color: #fafafa;
        /* align-items: flex-start; */
        padding: 0 var(--padding-sides);
    }
}

@media (max-width: 800px) {
    .homeEventWrapper .event:nth-of-type(n + 7) {
        display: none;
    }
}

@media (max-width: 1000px) {
    #expandableCourseSection {
        flex-direction: column;
        height: auto;
    }

    .course {
        height: 40vh;
        flex: none;
    }

    .course:hover {
        flex: none;
        height: 67vh;
        min-height:600px;
    }
}
@media (min-width: 1600px) {
    
}
