/* Horizontal scroll for testimonial videos */
.testimonial-scroll-wrapper {
   display: flex;
   flex-direction: row;
   gap: 24px;
   overflow-x: auto;
   padding-bottom: 12px;
   scroll-snap-type: x mandatory;
}

.testimonial-scroll-wrapper::-webkit-scrollbar {
   height: 8px;
   background: #eee;
}

.testimonial-scroll-wrapper::-webkit-scrollbar-thumb {
   background: #ccc;
   border-radius: 4px;
}

.testimonial-card {
   flex: 0 0 320px;
   max-width: 90vw;
   background: #fff;
   border-radius: 16px;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
   scroll-snap-align: start;
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 12px 0 0 0;
}

.testimonial-card video,
.testimonial-card img {
   width: 100%;
   border-radius: 16px 16px 0 0;
   object-fit: cover;
}

* {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

:root {
   --overlayColor: rgba(0, 0, 0, 0.7);
   --rem2: 2rem;
   --rem1-3: 1.3rem;
   --rem1-1: 1.1rem;
   --rem1-05: 1.05rem;
   --primary-yellow: #FFD700;
   --primary-blue: #003399;
}

/* Utility Classes */
.text-yellow {
   color: var(--primary-yellow) !important;
}

.text-blue {
   color: var(--primary-blue) !important;
}

.bg-yellow {
   background-color: var(--primary-yellow) !important;
}

.bg-blue {
   background-color: var(--primary-blue) !important;
}

.border-yellow {
   border-color: var(--primary-yellow) !important;
}

.border-blue {
   border-color: var(--primary-blue) !important;
}

html {
   /* scroll-behavior: smooth; REMOVED to avoid conflict with Lenis */
   scrollbar-width: none;
   /* Firefox */
   -ms-overflow-style: none;
   /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
   display: none;
}

body {
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   overflow-x: hidden;
   width: 100%;
}

p {
   color: gray;
}


/* Div one starts ========================== */
.coverDiv {
   width: 100%;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   background: url(../img/Gemini_Generated_Image_j0t57oj0t57oj0t5.png) fixed no-repeat;
   background-position: center;
   background-size: cover;
}


@media (max-width: 768px) {
   .coverDiv {
      width: 100%;
      background-attachment: scroll;
      background-position: center;
      background-size: 170% 100%;
   }
}

.coverDiv .mainHeader {
   width: 100%;
   height: 80px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-inline: max(5%, 50px);
   padding-top: 5px;
   position: fixed;
   top: 0;
   z-index: 1000;
}

.coverDiv .mainHeader .logoSec {
   width: auto;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
}

.coverDiv .mainHeader .logoSec>i {
   font-size: xx-large;
   color: var(--primary-blue);
   overflow: hidden;
}

.coverDiv .mainHeader .logoSec>span {
   font-family: Verdana, Geneva, Tahoma, sans-serif;
   font-weight: bold;
   color: var(--primary-yellow);
   padding-left: 5px;
   font-size: large;
}

.coverDiv .mainHeader .navItems {
   width: auto;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
}

.coverDiv .mainHeader .navItems>span {
   position: relative;
   width: auto;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
}

.coverDiv .mainHeader .navItems>span>a {
   color: white;
   text-decoration: none;
   padding: 10px 15px 10px;
   font-weight: bold;
}

.coverDiv .mainHeader .navItems>span>a::after {
   content: " ";
   width: 0%;
   height: 5%;
   background-color: var(--primary-blue);
   position: absolute;
   bottom: 0;
   right: 0%;
   transition: 0.5s;
}

.coverDiv .mainHeader .navItems>span:hover>a::after {
   left: 0%;
   width: 95%;
}

.coverDiv .mainHeader .hamburgerIcon {
   display: none;
   width: auto;
   height: auto;
   color: white;
   overflow: hidden;
}

.coverDiv .mainHeader .hamburgerIcon>i {
   font-size: x-large;
}

/* Hide mobile menu header on desktop */
.mobile-menu-header {
   display: none !important;
}

.coverDiv .mainDiv {
   width: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: calc(100vh);
   background-color: rgba(0, 0, 0, 0.2);
   position: relative;
}

.coverDiv .mainDiv .mainSec {
   width: 80%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   color: white;
   animation: topSlide 1s ease-out;
}

@keyframes topSlide {
   from {
      margin-top: -20%;
      opacity: 0;
   }

   to {
      margin-top: 0%;
      opacity: 1;
   }


}

.coverDiv .mainDiv .mainSec>h1 {
   font-size: 70px;
   text-align: center;
}

.coverDiv .mainDiv .mainSec>p {
   width: 80%;
   font-size: 1.5rem;
   text-align: center;
   padding-block: 10px;
   font-weight: lighter;
   color: rgb(255, 255, 255);
}

.coverDiv .mainDiv .mainSec>a {
   text-decoration: none;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   font-weight: bold;
   position: relative;
   z-index: 2;
   color: white;
   padding: 10px 50px 10px;
   margin-top: 5px;
   text-decoration: none;
   color: white;
   border: 2px solid white;
}

html,
body {
   background-color: #e5e9ff;
   min-height: 100vh;
   cursor: auto;
}

.coverDiv .mainDiv .mainSec>a::before {
   transition: 0.5s;
}

.coverDiv .mainDiv .mainSec>a::after {
   content: " ";
   width: 0%;
   height: 100%;
   position: absolute;
   top: 0;
   right: 50%;
   background-color: white;
   z-index: -1;
   transition: 0.5s;
}

.coverDiv .mainDiv .mainSec>a:hover {
   color: black;
}

.coverDiv .mainDiv .mainSec>a:hover::before,
.coverDiv .mainDiv .mainSec>a:hover::after {
   width: 50%;
}

@media screen and (min-width: 901px) {
   .coverDiv .mainHeader {
      height: 80px;
      min-height: 80px;
      padding-inline: clamp(20px, 2.2vw, 50px);
   }

   .coverDiv .mainHeader .navItems {
      flex-wrap: nowrap;
      gap: clamp(2px, 0.35vw, 8px);
   }

   .coverDiv .mainHeader .navItems>span>a {
      white-space: nowrap;
      font-size: clamp(0.8rem, 0.35vw + 0.62rem, 1rem);
      padding: 10px clamp(6px, 0.75vw, 14px);
   }

   .coverDiv .mainDiv {
      min-height: 100svh;
      padding-top: 80px;
   }

   .coverDiv .mainDiv .mainSec {
      width: min(92%, 1100px);
      margin-top: 0;
      padding-inline: 16px;
   }

   .coverDiv .mainDiv .mainSec>h1 {
      font-size: 70px;
      line-height: 1.12;
      margin: 0;
      text-wrap: balance;
   }

   .coverDiv .mainDiv .mainSec>p {
      width: min(90%, 900px);
      margin-top: 14px;
      font-size: clamp(1rem, 1.1vw, 1.5rem);
      line-height: 1.4;
      padding-block: 0;
   }
}

/* Div one ends ========================== */


/* Div Two starts ========================== */
.divTwo {
   width: 100%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding-block: 50px;
   /* border: 1px solid red; */
}

.divTwo>section {
   width: 85%;
   /* border: 1px solid red; */
}


/* General Heading Sec ================== */
.headingSec {
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   text-align: center;
}

.headingSec>h1 {
   width: 100%;
   text-align: center;
   font-size: var(--rem2);
   font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
   margin-bottom: 5px;
}

.headingSec>h1 .highlight {
   color: var(--primary-yellow);
   /* Solid color, no gradient */
}

.headingSec>p {
   font-size: var(--rem1-1);
}

/* General Heading Sec ================== */


.divTwo .firstSec {
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   margin-top: 30px;
}

.divTwo .firstSec .courseSec {
   width: 30%;
   height: auto;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   background-color: rgba(233, 99, 215, 0.05);
   padding: 20px;
   padding-block: 30px;
   border: 0.5px solid silver;
   border-radius: 10px;
   margin: 1.66%;
   transition: 0.5s;
}

.divTwo .firstSec .courseSec:hover {
   box-shadow: 0px 5px 10px silver;
   margin-top: -1%;
}

.divTwo .firstSec .courseSec>h3 {
   font-size: var(--rem1-3);
   position: relative;
   padding-bottom: 8px;
}

.divTwo .firstSec .courseSec>h3::after {
   content: " ";
   width: 50%;
   height: 5%;
   position: absolute;
   bottom: 0%;
   left: 20%;
   background-color: var(--primary-blue);
}

.divTwo .firstSec .courseSec>p {
   width: 95%;
   margin-top: 20px;
   text-align: center;
   font-size: var(--rem1-05);
}

/* Div Two ends ========================== */



/* Div Three starts ========================== */
.divThree {
   width: 100%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding-block: 50px;
}

.divThree>section {
   width: 85%;
}

.divThree .firstSec {
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   margin-top: 30px;
}

.divThree .firstSec .imgSec {
   width: 30%;
   height: 450px;
   margin: 1.66%;
   border-radius: 10px;
   position: relative;
   overflow: hidden;
   transition: 0.5s;

}

.divThree .firstSec .imgSec>img {
   position: absolute;
   width: 200%;
   min-height: 100%;
   top: 0;
   left: -50%;
   transition: 0.5s;
}

.divThree .firstSec .imgSec::after {
   content: var(--university);
   width: 100%;
   height: 100%;
   position: absolute;
   top: 100%;
   left: 0%;
   background-color: rgba(0, 0, 0, 0.3);
   transition: 0.8s;
   opacity: 0;
   color: white;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 1.5rem;
}

.divThree .firstSec .imgSec:hover::after {
   opacity: 1;
   top: 0%;
}


/* Div Three ends ========================== */


/* Div Four starts ========================== */
.divFour {
   width: 100%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding-block: 50px;
}

.divFour>section {
   width: 85%;
}

.divFour .firstSec {
   height: auto;
   display: flex;
   justify-content: center;
   align-items: flex-start;
   flex-wrap: wrap;
   margin-top: 30px;
}

.divFour .firstSec .subSec {
   width: 30%;
   height: auto;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin: 1.66%;
}

.divFour .firstSec .subSec .imgSec {
   width: 100%;
   height: 300px;
   border-radius: 10px;
   position: relative;
   overflow: hidden;
}

.divFour .firstSec .subSec .imgSec>img {
   position: absolute;
   width: 100%;
   min-height: 100%;
   top: 0;
   left: 0%;
   object-fit: cover;
}

.divFour .firstSec .subSec>h3 {
   width: 100%;
   text-align: left;
   padding-top: 15px;
   padding-bottom: 8px;
   font-size: var(--rem1-3);
}

.divFour .firstSec .subSec>p {
   font-size: var(--rem1-05);
   padding-bottom: 20px;
}

/* Div Four ends ========================== */


/* Div Five starts ========================== */
/* Div Five starts ========================== */
.divFive {
   width: 100%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding-block: 80px;
   background-color: #f9f9f9;
}

.divFive>section {
   width: 90%;
   max-width: 1200px;
}

.divFive .headingSec h1 {
   font-size: 2.5rem;
   color: #333;
   margin-bottom: 10px;
}

.divFive .marquee-wrapper {
   width: 100%;
   overflow: hidden;
   margin-top: 40px;
   mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
   -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.divFive .marquee-track {
   display: flex;
   gap: 30px;
   width: max-content;
   animation: scrollMarquee 40s linear infinite;
}

.divFive .marquee-track:hover {
   animation-play-state: paused;
}

@keyframes scrollMarquee {
   0% {
      transform: translateX(0);
   }

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

.divFive .subSec {
   width: 350px;
   background: white;
   border-radius: 20px;
   padding: 40px 30px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   position: relative;
   border-top: 5px solid var(--primary-blue);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.divFive .subSec:hover {
   transform: translateY(-10px);
   box-shadow: 0 15px 40px rgba(0, 51, 153, 0.15);
}

.divFive .subSec .imgSec {
   width: 80px;
   height: 80px;
   border-radius: 50%;
   overflow: hidden;
   margin-bottom: 20px;
   border: 3px solid var(--primary-blue);
   padding: 3px;
   background: white;
}

.divFive .subSec .imgSec>img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 50%;
}

.divFive .subSec .quoteSec {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

.divFive .subSec .quoteSec>p {
   font-style: italic;
   color: #666;
   font-size: 1rem;
   line-height: 1.6;
}

.divFive .subSec .quoteSec .name {
   font-weight: 700;
   color: #333;
   font-size: 1.1rem;
}

.divFive .subSec .quoteSec .rating {
   color: var(--primary-yellow);
   font-size: 0.9rem;
   margin-top: 5px;
}

/* Div Five ends ========================== */


/* Div Six starts ========================== */
.divSix {
   width: 100%;
   min-height: 400px;
   background: url(../img/overlay.jpg) fixed no-repeat;
   background-size: cover;
}

.divSix .overlay {
   width: 100%;
   min-height: inherit;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding-block: 50px;
   background: rgba(0, 51, 153, 0.9);
}

.divSix .overlay .mainSec {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   position: relative;
}

.divSix .overlay .mainSec>h1 {
   font-size: var(--rem2);
   color: white;
   text-align: center;
   line-height: 4rem;
   text-transform: uppercase;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.divSix .overlay .mainSec>a {
   color: white;
   font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
   padding: 15px 50px 15px;
   font-weight: bold;
   text-decoration: none;
   text-transform: uppercase;
   margin-top: 10px;
   position: relative;
   background-color: transparent;
   z-index: 1;
   overflow: visible;
}

.divSix .overlay .mainSec>a::before {
   content: " ";
   position: absolute;
   top: 0%;
   left: 0%;
   width: calc(100% - 2px);
   height: calc(100% - 2px);
   z-index: -1;
   border-top: 2px solid white;
   border-left: 2px solid white;
   transition: 0.5s;
}

.divSix .overlay .mainSec>a::after {
   content: " ";
   position: absolute;
   top: 0%;
   right: 0%;
   width: calc(100% - 2px);
   height: calc(100% - 2px);
   z-index: -1;
   border-right: 2px solid white;
   border-bottom: 2px solid white;
   transition: 0.5s;
}

.divSix .overlay .mainSec>a:hover::before {
   margin-top: -5px;
   margin-left: -5px;
}

.divSix .overlay .mainSec>a:hover::after {
   margin-right: -5px;
   margin-bottom: -5px;
}

/* Div Six ends ========================== */


/* Div Seven starts ========================== */
.divSeven {
   width: 100%;
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding-block: 50px;
}

.divSeven>section {
   width: 85%;
}

.divSeven .firstSec {
   height: auto;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   margin-top: 30px;
   overflow-y: hidden;
}

.divSeven .firstSec>a {
   width: 40px;
   height: 40px;
   background-color: rgba(0, 0, 0, 0.05);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-inline: 10px;
   color: gray;
   text-decoration: none;
   transition: 0.5s;
}

.divSeven .firstSec>a:hover {
   transform: rotate(360deg);
   background-color: rgba(0, 0, 0, 0.1);
   color: gray;
}

.divSeven .firstSec>p>i {
   color: var(--primary-yellow);
}

.divSeven .firstSec>p>a {
   color: var(--primary-yellow);
}

/* Div Seven ends ========================== */

/* ==========================
   INSPIRING SPACES SECTION
========================== */
.inspiring-spaces-section {
   padding: 80px 5%;
   background: #ffffff;
   position: relative;
   overflow: hidden;
   /* Prevent overflow if badge sticks out too much, or visible if intended */
}

.inspiring-container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 60px;
   max-width: 1200px;
   margin: 0 auto;
}

.inspiring-collage {
   flex: 1.1;
   position: relative;
}

/* Grid Layout for Collage */
.collage-grid {
   display: grid;
   grid-template-columns: 1.5fr 1fr;
   /* Left col wider */
   grid-template-rows: 200px 200px;
   gap: 15px;
}

.c-item {
   position: relative;
   overflow: hidden;
   border-radius: 20px;
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
}

.c-item:hover {
   transform: scale(1.02);
}

.c-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

/* Specific Item Sizing/Placement */
.c-item.item-1 {
   grid-row: 1 / span 2;
   /* Tall left image */
   grid-column: 1;
   height: 100%;
}

.c-item.item-2 {
   grid-row: 1;
   grid-column: 2;
}

.c-item.item-3 {
   grid-row: 2;
   grid-column: 2;
}

.c-item.item-4 {
   display: none;
   /* Hide 4th for now based on grid choice, or use it if we want 3 cols */
}

/* Central Badge */
.inspiring-badge {
   position: absolute;
   bottom: 40px;
   /* Overlapping bottom area */
   left: 20%;
   /* Positioned relative to container */
   background: var(--primary-blue);
   padding: 15px 30px;
   border-radius: 12px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
   text-align: center;
   z-index: 5;
   transform: rotate(-3deg);
}

.text-inspiring {
   display: block;
   color: #fff;
   font-family: 'Inter', sans-serif;
   font-weight: 700;
   letter-spacing: 2px;
   font-size: 1.1rem;
   text-transform: uppercase;
   margin-bottom: -5px;
}

.text-spaces {
   display: block;
   color: var(--primary-yellow);
   font-family: 'Yellowtail', cursive;
   font-size: 3.5rem;
   line-height: 1.1;
}

/* Right Content */
.inspiring-content {
   flex: 0.9;
}

.inspiring-heading {
   font-size: 3rem;
   font-weight: 700;
   line-height: 1.1;
   color: var(--primary-blue);
   margin-bottom: 25px;
   font-family: 'Inter', sans-serif;
}

.inspiring-desc {
   font-size: 1.05rem;
   color: #555;
   line-height: 1.7;
   margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
   .inspiring-container {
      flex-direction: column;
      text-align: left;
   }

   .collage-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
   }

   .c-item {
      height: 250px !important;
   }

   .inspiring-heading {
      font-size: 2.2rem;
      margin-top: 20px !important;
      text-align: left;
   }

   .view-all-btn {
      margin: 0;
   }
}

@media (max-width: 768px) {
   .events-section-premium>div {
      justify-content: flex-start !important;
   }
}