/*

TemplateMo 569 Edu Meeting

https://templatemo.com/tm-569-edu-meeting

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;

}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  background-color: #fff;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
  color: #3CF;
}

a:hover {
	color: #FC3;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 25px;
  color: #2a2a2a;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
}

::selection {
  background: #f5a425;
  color: #fff;
}

::-moz-selection {
  background: #f5a425;
  color: #fff;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.main-button-red a {
  font-size: 13px;
  color: #fff;
  background-color: #a12c2f;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
}

.main-button-red a:hover {
  opacity: 0.9;
}

.main-button-yellow a {
  font-size: 13px;
  color: #fff;
  background-color: #f5a425;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
}

.main-button-yellow a:hover {
  opacity: 0.9;
}

.section-heading h2 {
  line-height: 40px;
  margin-top: 0px;
  margin-bottom: 50px; 
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250,250,250,0.15);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/

/* TOP BAR CONTAINER */
.top-bar {
  display: flex;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #fff;
}

/* LEFT SIDE (ORANGE) */
.top-left {
  background: #fb5849;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 320px;
}

/* TEXT */
.top-left span {
  font-weight: 500;
  margin-left: 100px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  background: #1f7a6c;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 14px;

  transition: 0.3s;
}

.social-icons a:hover {
  background: #145c52;
}

/* RIGHT SIDE (GREEN) */
.top-right {
  flex: 1;
  background:black;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 30px;
}
@media (max-width: 768px) {

  /* Hide everything except icons */
  .top-right {
    display: none;
  }

  .top-left {
    width: 100%;
    padding: 8px 10px;

    display: flex;
    justify-content: center; /* center icons */
    align-items: center;
  }

  /* Hide "Follow Us" text */
  .top-left span {
    display: none;
  }

  /* Icons layout */
  .social-icons {
    display: flex;
    gap: 10px;
  }

  /* Smaller icons for mobile */
  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

/* EACH ITEM */
.top-right .info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  position: relative;
}

/* DIVIDER LINES */
.top-right .info:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: rgba(255,255,255,0.25);
}

/* ICON STYLE */
.top-right i {
  color: #f5a425;
  font-size: 14px;
}

/* TEXT */
.top-right span {
  white-space: nowrap;
}

.background-header {
  background-color: #fff!important;
  height: 80px!important;
  position: fixed!important;
  top: 0!important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}

.background-header .main-nav .nav li a {
  color: #1e1e1e!important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: #000000!important;
}

.background-header .main-nav .nav li:hover a {
  color: #fb5849!important;
}

.background-header .nav li a.active {
  color: #fb5849!important;
}

.header-area {
  background-color: rgba(250,250,250,0.15);
  position: absolute;
  top: 53px;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  padding-left: 70px;
  padding-right: 70px;
  min-height: 80px;
  background: white;
  
}

.header-area .main-nav .logo {
  line-height: 100px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.background-header .main-nav .logo {
  line-height: 75px;
}

.background-header .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 15px;
  padding-right: 15px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  color: black;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #f5a425!important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #f5a425!important;
  opacity: 1;
}

.header-area .main-nav .nav li.has-sub {
  position: relative;
  padding-right: 15px;
}

.header-area .main-nav .nav li.has-sub:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #fff;
  position: absolute;
  right: 5px;
  top: 12px;
}

.background-header .main-nav .nav li.has-sub:after {
  color: #ffffff;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
  position: absolute;
  width: 200px;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 40px;
  opacity: 0;
  transition: all .3s;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a!important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.has-sub ul li a:hover {
  background: #fff;
  color: #f5a425!important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.has-sub ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #1e1e1e;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #1e1e1e;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: #f5a425;
}

/* ===== MEGA MENU (CENTER POPUP) ===== */

.mega-menu {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);

  width: 85%;
  max-width: 1100px;

  background: #942D2F;
  color: white;
  padding: 45px;
  border-radius: 12px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Arrow FIXED (matches background) */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #942D2F transparent;
}

/* Mega columns */
.mega-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.mega-column a {
  display: block;
  color: #f3f4f6;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  transition: 0.3s;
}

.mega-column a:hover {
  color: #ffffff;
  padding-left: 6px;
}

/* Text column */
.mega-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #fca5a5;
}

/* Existing styles remain unchanged above */

@media (max-width: 1200px) {
  .mega-menu {
    width: 90%;
    padding: 30px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mega-menu {
    width: 95%;
    padding: 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-column h4 {
    font-size: 16px;
  }

  .mega-column a {
    font-size: 13px;
  }

  /* Adjust arrow position if needed */
  .mega-menu::before {
    top: -8px;
  }
}

@media (max-width: 480px) {
  .mega-menu {
    width: 98%;
    padding: 15px;
    grid-template-columns: 1fr;
  }

  .mega-column h4 {
    font-size: 14px;
  }

  .mega-column a {
    font-size: 12px;
  }

  /* Adjust arrow position if needed */
  .mega-menu::before {
    top: -6px;
  }
}
@media (max-width: 768px) {
  .mega-menu {
    max-height: 80vh; /* Limit height on mobile */
    overflow-y: auto; /* Enable scrolling on mobile */
  }
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 7px;
    padding-right: 7px;
  }
  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-area .main-nav .logo {
    color: #1e1e1e;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #f5a425!important;
    opacity: 1;
  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }
  .header-area {
    background-color: #f7f7f7;
    padding: 0px 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 100px !important;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
  }
  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
    color: #f5a425!important;
  }
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
    transition: all 0s;
  }
  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 12px;
    font-weight: 400;
  }
  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }
  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    height: auto;
  }
  .header-area .main-nav .nav li.has-sub:after {
    color: #3B566E;
    right: 30px;
    font-size: 14px;
    top: 15px;
  }
  .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}


/* 
---------------------------------------------
banner
--------------------------------------------- 
*/

.main-banner {
  position: relative;
  max-height: 100%;
  overflow: hidden;
  margin-bottom: -7px;
}

#bg-video {
    min-width: 100%;
    min-height: 100vh;
    max-width: 100%;
    max-height: 100vh;
    object-fit: cover;
    z-index: -1;
}

#bg-video::-webkit-media-controls {
    display: none !important;
}

.video-overlay {
    position: absolute;
   
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
}

.main-banner .caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.main-banner .caption h6 {
  margin-top: 0px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.main-banner .caption h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.main-banner .caption h2 em {
  font-style: normal;
  color: #f5a425;
  font-weight: 900;
}

.main-banner .caption p {
  color: #fff;
  font-size: 14px;
  max-width: 570px;
}

.main-banner .caption .main-button-red {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {

  .main-banner .caption h6 {
    font-weight: 500;
  }

  .main-banner .caption h2 {
    font-size: 36px;
  }

}


/*
---------------------------------------------
services
---------------------------------------------
*/

.services {
  margin-top: -135px;
  position: absolute;
  width: 100%;
}

.services .item {
  background-image: url(../images/service-item-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  padding: 40px;
}

.services .item .icon {
  max-width: 60px;
  margin: 0 auto;
}

.services .item h4 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.services .item p {
  color: #fff;
  font-size: 13px;
}

.services .owl-nav {
  display: inline-block !important;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-25px);
}
    
.services .owl-nav .owl-prev{
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -80px;
}

.services .owl-nav .owl-prev span,
.services .owl-nav .owl-next span {
  opacity: 0;
}

.services .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: '\f104';
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.services .owl-nav .owl-prev {
  opacity: 1;
  transition: all .5s;
}

.services .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.services .owl-nav .owl-next {
  opacity: 1;
  transition: all .5s;
}

.services .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.services .owl-nav .owl-next{
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -85px;
}

.services .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: '\f105';
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}


/*
---------------------------------------------
upcoming meetings
---------------------------------------------
*/

/* SECTION */
.about-section {
  background: #ffffff;
  margin-top: 180px;
  margin-bottom: 50px;
  font-family: 'Poppins', sans-serif;
}

.about-section .container {
  width: 1200px;
  max-width: 95%;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* LEFT IMAGES */
.about-images {
  position: relative;
  width: 50%;
}

.img {
  border-radius: 30px;
  overflow: hidden;
}

.img img {
  width: 100%;
  display: block;
}

/* main tall image */
.img1 {
  width: 280px;
}

/* bottom image */
.img2 {
  width: 280px;
  position: absolute;
  bottom: -40px;
  left: 200px;
}

/* circle image */
.img-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  border: 6px solid #fff;
}

.img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* badge */
.badge {
  position: absolute;
  bottom: -60px;
  left: 0;
  background: #f5a425;
  color: #fff;
  padding: 20px 25px;
  border-radius: 0 50px 50px 0;
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge .icon {
  background: #fff;
  color: #a12c2f;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RIGHT CONTENT */
.about-content {
  width: 50%;
}

.tag {
  color: #f5a425;
  font-weight: 600;
  letter-spacing: 2px;
}

.about-content h2 {
  font-size: 42px;
  margin: 15px 0;
  color: #1f272b;
}

.about-content h2 span {
  color: #a12c2f;
}

.about-content p {
  color: #6c757d;
  margin-bottom: 25px;
}

/* FEATURES */
.features {
  margin-bottom: 30px;
}

.feature {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.f-icon {
  background: #a12c2f;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BOTTOM */
.bottom {
  display: flex;
  align-items: center;
  gap: 30px;
}

.discover{
  background: #a12c2f;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
}

.call {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-icon {
  background: #1f7a6c;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
 .about-section .container {
    flex-direction: column;
  }

  .about-images,
  .about-content {
    width: 100%;
  }
  

  .img2 {
    position: static;
    margin-top: 20px;
  }
  .about-section{
    margin-top: 30px;
    padding: 0px;
  }

  .badge {
    position: static;
    margin-top: 20px;
  }
}
@media (max-width: 768px) {
  .services {
    margin-top: 40px; /* remove negative overlap */
    position: relative;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
}



/*
---------------------------------------------
apply now
---------------------------------------------
*/

section.apply-now {
  background-image: url(/assets/images/kids.png);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px;
}

section.apply-now .item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  padding: 40px;
  margin-bottom: 30px;
}

section.apply-now .item h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

section.apply-now .item p {
  color: #fff;
  margin-bottom: 20px;
}

.accordions {
  border-radius: 20px;
  padding: 40px;
  background-color: #fff;
  margin-left: 45px;
}
.accordions .accordion {
  border-bottom: 1px solid #eee;
}
.accordions .last-accordion {
  border-bottom: none;
}
.accordion-head {
  padding: 20px;  
  font-size: 18px;
  font-weight: 700;
  color: #1f272b;
  cursor: pointer;
  transition: color 200ms ease-in-out;
  border-bottom: 1px solid #fff;
}
@media screen and (min-width: 768px) {
  .accordion-head {
    padding: 1rem;
    font-size: 1.2rem;
  }
}
.accordion-head .icon {
  float: right;
  transition: transform 200ms ease-in-out;
}
.accordion-head.is-open {
  color: #a12c2f;
  border-bottom: none;
}
.accordion-head.is-open .icon {
  transform: rotate(45deg);
}
.accordion-body {
  overflow: hidden;
  height: 0;
  transition: height 300ms ease-in-out;
  border-bottom: 1px solid #fff;
}
.accordion-body > .content {
  padding: 20px;
  padding-top: 0;
}


/* 
---------------------------------------------
courses
--------------------------------------------- 
*/

section.our-courses {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 130px;
}

.our-courses .item .down-content {
  background-color: #fff;
}

.our-courses .item .down-content h4 {
  padding: 25px;
  font-size: 18px;
  color: #1f272b;
  text-align: center; 
  border-bottom: 1px solid #eee;
}

.our-courses .item .down-content .info {
  padding: 25px;
}

.our-courses .item .down-content .info ul li {
  display: inline-block;
  margin-right: 1px;
}

.our-courses .item .down-content .info ul li i {
  color: #a12c2f;
  font-size: 14px;
}

.our-courses .item .down-content .info span {
  color: #a12c2f;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  display: inline-block;
  width: 100%;
}

.our-courses .owl-nav {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-45px);
}

.our-courses .owl-dots {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 40px;
}

.our-courses .owl-dots .owl-dot {
  transition: all .5s;
  width: 7px;
  height: 7px;
  background-color: #fff;
  margin: 0px 5px;
  border-radius: 50%;
  outline: none;
}

.our-courses .owl-dots .active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
}
    
.our-courses .owl-nav .owl-prev{
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -80px;
}

.our-courses .owl-nav .owl-prev span,
.our-courses .owl-nav .owl-next span {
  opacity: 0;
}

.our-courses .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: '\f104';
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.our-courses .owl-nav .owl-prev {
  opacity: 1;
  transition: all .5s;
}

.our-courses .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  opacity: 1;
  transition: all .5s;
}

.our-courses .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next{
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -85px;
}

.our-courses .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 700;
  content: '\f105';
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}


/*
---------------------------------------------
our facts
---------------------------------------------
*/

section.our-facts {
  background-image: url(../images/facts-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px 125px 0px;
}

section.our-facts h2 {
  font-size: 38px;
  color: #fff;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
}

.count-area-content {
  text-align: center;
  background-color: rgba(250,250,250,0.15);
  border-radius: 20px;
  padding: 25px 30px 35px 30px;
  margin: 15px 0px;
}

.percentage .count-digit:after {
  content: '%';
  margin-left: 3px;
}

.count-digit {
    margin: 5px 0px;
    color: #a12c2f;
    font-weight: 700;
    font-size: 36px;
}
.count-title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

.new-students {
  margin-top: 45px;
}

section.our-facts .video {
  text-align: center;
  margin-left: 70px;
  background-image: url(../images/video-item-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 20px;
}

section.our-facts .video img {
  padding: 170px 0px;
  max-width: 56px;
}


/* 
---------------------------------------------
contact us
--------------------------------------------- 
*/

section.contact-us {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px 0px 0px;
}

section.contact-us #contact {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
}

section.contact-us #contact h2 {
  text-transform: uppercase;
  color: #1f272b;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
  padding-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

section.contact-us #contact input {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: #f7f7f7;
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: #7a7a7a;
  padding: 0px 15px;
  margin-bottom: 30px;
}

section.contact-us #contact textarea {
  width: 100%;
  min-height: 140px;
  max-height: 180px;
  border-radius: 20px;
  background-color: #f7f7f7;
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: #7a7a7a;
  padding: 15px;
  margin-bottom: 30px;
}

section.contact-us #contact button {
  font-size: 13px;
  color: #fff;
  background-color: #a12c2f;
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
  border: none;
  outline: none;
}

section.contact-us #contact button:hover {
  opacity: 0.9;
}

section.contact-us .right-info {
  background-color: #a12c2f;
  border-radius: 20px;
  padding: 40px;
}

section.contact-us .right-info ul li {
  display: inline-block;
  border-bottom: 1px solid rgba(250,250,250,0.15);
  margin-bottom: 30px;
  padding-bottom: 30px;
}

section.contact-us .right-info ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

section.contact-us .right-info ul li h6 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

section.contact-us .right-info ul li span {
  display: block;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #0b2c54;
  color: #fff;
  padding: 80px 0 20px;
  position: relative;
}

/* CONTAINER */
.footer-container {
  width: 1200px;
  max-width: 95%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* LOGO */
.logo img{
  height: 90px;
}



/* TEXT */
.footer p {
  font-size: 14px;
  line-height: 1.6;
  margin: 15px 0;
  color: #d1d5db;
}

/* CONTACT */
.contact p {
  margin: 10px 0;
}

/* HEADINGS */
.footer-col h4 {
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #f5a425;
  position: absolute;
  bottom: -8px;
  left: 0;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  cursor: pointer;
  color: #d1d5db;
  transition: 0.3s;
}

.footer-col ul li:hover {
  color: #f5a425;
  padding-left: 5px;
}

/* NEWSLETTER */
.email-input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin: 10px 0;
}

.subscribe-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #f5a425;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-btn:hover {
  opacity: 0.9;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom span {
  color: #f5a425;
}

/* SOCIAL */
.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #0b2c54;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
}

/* SCROLL BUTTON */
.scroll-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #f5a425;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

#scrolltop {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 50px;
  height: 50px;
  border-radius: 50%;

  background: #f5a425;
  color: #fff;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  cursor: pointer;

  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;

  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

#scrolltop:hover {
  background: #e6951c;
  transform: translateY(-3px);
}

/* show button */
#scrolltop.show {
  opacity: 1;
  visibility: visible;
}


/*
---------------------------------------------
heading page
---------------------------------------------
*/

section.heading-page {
  background-image: url(../images/heading-bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
  text-align: center;
}

section.heading-page h6 {
  margin-top: 0px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

section.heading-page h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}


/*
---------------------------------------------
upcoming meetings page
---------------------------------------------
*/

section.meetings-page {
  background-image: url(../images/meetings-page-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 0px;
}

section.meetings-page .filters {
  text-align: center;
  margin-bottom: 60px;
}

section.meetings-page .filters li {
  font-size: 13px;
  color: #a12c2f;
  background-color: #fff;
  padding: 11px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all .3s;
  cursor: pointer;
  margin: 0px 3px;
}

section.meetings-page .filters ul li.active,
section.meetings-page .filters ul li:hover {
  background-color: #a12c2f;
  color: #fff;
}

section.meetings-page .pagination {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  display: inline-block;
}

section.meetings-page .pagination ul li {
  display: inline-block;
}

section.meetings-page .pagination ul li a {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 10px;
  color: #1f272b;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s;
}

section.meetings-page .main-button-red {
  text-align: center;
}

section.meetings-page .main-button-red a {
  padding: 12px 60px;
  text-align: center;
  margin-top: 30px;
}

section.meetings-page .pagination ul li.active a,
section.meetings-page .pagination ul li a:hover {
  background-color: #a12c2f;
  color: #fff;
}

.meeting-single-item .thumb {
  position: relative;
}

.meeting-single-item .thumb img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.meeting-single-item .thumb .price {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-single-item .thumb .price span {
  font-size: 16px;
  color: #1f272b;
  font-weight: 600;
  background-color: rgba(250,250,250,0.9);
  padding: 7px 12px;
  border-radius: 10px;
}

.meeting-single-item .down-content {
  background-color: #fff;
  padding: 40px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.meeting-single-item .thumb .date {
  position: absolute;
  background-color: rgba(250,250,250,0.9);
  width: 80px;
  height: 80px;
  text-align: center;
  padding: 15px 0px;
  border-radius: 10px;
  right: 20px;
  top: 20px;
}

.meeting-single-item .thumb .date h6 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a12c2f;
}

.meeting-single-item .thumb .date span {
  display: block;
  color: #1f272b;
  font-size: 22px;
  margin-top: 7px;
}

.meeting-single-item .down-content h4 {
  font-size: 22px;
  color: #1f272b;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-single-item .down-content h5 {
  font-size: 18px;
  color: #1f272b;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-single-item .down-content p {
  color: #1f272b;
  font-size: 14px;
}

.meeting-single-item .down-content p.description {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.meeting-single-item .down-content .share {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.meeting-single-item .down-content .share h5 {
  float: left;
  margin-right: 10px;
  margin-bottom: 0px;
}

.meeting-single-item .down-content .share ul li {
  display: inline;
}

.meeting-single-item .down-content .share ul li a {
  font-size: 14px;
  color: #1f272b;
  transition: all .3s;
}

.meeting-single-item .down-content .share ul li a:hover {
  color: #f5a425;
}

/* Meeting item column */
.templatemo-item-col {
	width: 31%;
}

@media (max-width: 992px) {
	.templatemo-item-col {
		width: 45%;
	}
}

@media (max-width: 767px) {
	.templatemo-item-col {
		width: 100%;
	}
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1300px) {
  .services .owl-nav .owl-next{
    right: -30px;
  }
  .services .owl-nav .owl-prev{
    left: -25px;
  }
  .our-courses .owl-nav .owl-next{
    right: -30px;
  }
  .our-courses .owl-nav .owl-prev{
    left: -25px;
  }
}

@media (max-width: 1200px) {
  .services .owl-nav .owl-next{
    right: -70px;
  }
  .services .owl-nav .owl-prev{
    left: -65px;
  }
  .our-courses .owl-nav .owl-next{
    right: -70px;
  }
  .our-courses .owl-nav .owl-prev{
    left: -65px;
  }
}

@media (max-width: 1085px) {
  .services .owl-nav .owl-next{
    right: -30px;
  }
  .services .owl-nav .owl-prev{
    left: -25px;
  }
  .our-courses .owl-nav .owl-next{
    right: -30px;
  }
  .our-courses .owl-nav .owl-prev{
    left: -25px;
  }
}

@media (max-width: 1005px) {
  .services .owl-nav .owl-next{
    display: none;
  }
  .services .owl-nav .owl-prev{
    display: none;
  }
  .our-courses .owl-nav .owl-next{
    display: none;
  }
  .our-courses .owl-nav .owl-prev{
    display: none;
  }
}

@media (max-width: 992px) {

  .main-banner .caption {
    top: 60%;
  }

  .main-banner .caption h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .main-banner .caption .main-button-red {
    margin-top: 15px;
  }

  .services {
    margin-top: 60px;
  }

  section.upcoming-meetings {
    padding-top: 400px;
  }

  section.upcoming-meetings .categories {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .accordions {
    margin-left: 0px;
  }

  .new-students {
    margin-top: 15px;
  }

  section.our-facts .video {
    margin-left: 0px;
    margin-top: 15px;
  }

  section.contact-us #contact {
    margin-bottom: 30px;
  }

}

@media (max-width: 767px) {

  .sub-header .left-content p {
    display: none;
  }

  .sub-header .right-icons {
    text-align: center;
  }

  .main-nav .nav .sub-menu {
    display: none;
  }

  .header-area .main-nav .nav li ul.sub-menu li a {
    color: #1f272b;
  }

}

/* About */




.banner {
  display: flex;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  align-items: center;
  
}
.banner-content {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;
  color: white;

  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  text-align: center;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/images/ai.png") center/cover no-repeat;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}
/* SECTION */

/* --- Section Basics --- */
.about-school {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Make row equal height */
.about-school .row {
    min-height: 100%;
    align-items: stretch;
}

/* --- Image Column --- */
.about-img-wrapper {
    position: relative;
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-img-card {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    width: 100%;
}

.main-img-card img {
    width: 100%;
    border-radius: 40px;
    display: block;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 2rem;
    color: #f5a425;
}

.badge-text strong {
    display: block;
    font-size: 1.2rem;
    color: #1f272b;
}

.badge-text span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Background Shape */
.shape-blob {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 300px;
    height: 300px;
    background: #f5a425;
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

/* --- RIGHT CONTENT FIX (MAIN FIX) --- */
.about-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Features Grid --- */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px 10px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: #fff;
    border-color: #f5a425;
    transform: translateY(-5px);
}

.f-icon {
    font-size: 1.5rem;
    color: #f5a425;
    margin-bottom: 10px;
}

.feature-item h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    color: #1f272b;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Mobile */
@media (max-width: 991px) {
    .about-img-wrapper {
        margin-bottom: 60px;
    }

    .about-features-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* --- Watermark to fill the background --- */
.about-content {
    position: relative;
    z-index: 1;
}

.about-watermark {
    position: absolute;
    top: 50%;
    right: -10%; /* Pushes text into the "empty" zone */
    transform: translateY(-50%);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03); /* Extremely subtle */
    z-index: -1;
    pointer-events: none;
    letter-spacing: 10px;
}

/* --- Stats Row to anchor the right side --- */
.about-stats-row {
    display: flex;
    gap: 40px;
}

.stat-item {
    flex: 1;
}

.counter-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #a02d2d; /* Matching your red heading color */
    margin-bottom: 0;
}

.stat-item p {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1f272b;
    margin-bottom: 8px;
}

.stat-progress {
    height: 4px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #f5a425; /* Your orange theme color */
}

/* --- Icon Grid Alignment Fix --- */
.about-features-grid {
    display: flex;
    justify-content: space-between; /* Spreads them out to fill width */
    max-width: 90%; /* Prevents them from being too cramped on the left */
}

/* FEATURES */
.about-features {
  margin-bottom: 25px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.6s ease forwards;
}

.feature:nth-child(1) { animation-delay: 0.4s; }
.feature:nth-child(2) { animation-delay: 0.6s; }
.feature:nth-child(3) { animation-delay: 0.8s; }

.feature i {
  background: #f5a425;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BUTTON */
.about-btn {
  display: inline-block;
  background: #a12c2f;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.about-btn:hover {
  background: #e6951c;
}

/* ANIMATIONS */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-content {
    margin-top: 30px;
    text-align: center;
  }
}

.modern-mission {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

/* IMAGE COMPOSITION */
.mission-visual-container {
    position: relative;
    padding: 40px;
}

.main-frame {
    width: 85%;
    border-radius: 40px 150px 40px 40px; /* Modern irregular radius */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.secondary-frame {
    position: absolute;
    width: 45%;
    bottom: -30px;
    right: 0;
    border-radius: 30px;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 3;
}

.experience-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #a12c2f;
    color: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    z-index: 4;
    box-shadow: 0 15px 30px rgba(245, 164, 37, 0.3);
}

.experience-badge h3 { font-weight: 800; margin: 0; font-size: 2rem; }
.experience-badge p { margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* CONTENT STYLING */
.mission-content-wrapper {
    padding-left: 30px;
}

.sub-line {
    display: block;
    color: #a12c2f;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.mission-content-wrapper h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1f272b;
    line-height: 1.1;
    margin-bottom: 25px;
}

.mission-content-wrapper h2 span {
    color: #a12c2f;
    position: relative;
}

.mission-features {
    margin-top: 40px;
}

.m-feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    min-width: 60px;
    height: 60px;
    background: rgba(245, 164, 37, 0.1);
    color: #a12c2f;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.m-feature-item:hover .icon-box {
    background: #a12c2f;
    color: white;
    transform: rotate(10deg);
}

.m-feature-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* ANIMATIONS */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .mission-visual-container { margin-bottom: 80px; }
    .mission-content-wrapper { padding-left: 0; }
    .mission-content-wrapper h2 { font-size: 2.2rem; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 164, 37, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
  transform: translateY(100%);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.gallery-item:hover img { transform: scale(1.1); }

.teacher-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.teacher-img {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 8px;
  border: 3px dashed #f5a425;
}

.teacher-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher-card h4 { margin-bottom: 5px; color: #1f272b; }
.teacher-card span { color: #f5a425; font-size: 14px; font-weight: 600; }

.teacher-card:hover {
  transform: translateY(-10px);
  background: #1f272b;
}

.teacher-card:hover h4 { color: #fff; }

/* --- Global Section Spacing --- */
section {
    padding: 50px 0; /* Standardized vertical gap for all sections */
    position: relative;
    overflow: hidden;
}

/* Alternate Backgrounds to create visual separation */
section:nth-of-type(even) {
    background-color: #f9f9f9; /* Subtle light grey */
}

section:nth-of-type(odd) {
    background-color: #ffffff;
}

/* --- Adjusted Mission Section --- */
.modern-mission {
    padding: 50px 0; /* Keep slightly larger for the main content */
}

/* --- Adjusted Gallery Section --- */
.campus-gallery {
    padding: 50px 0;
    /* Adding a margin-top if you want physical space between the background colors */
    margin-top: 20px; 
}

/* --- Adjusted Faculty Section --- */
.faculty {
    padding: 50px 0;
}
/* contact us */
/* --- Contact Page Styles --- */
.contact-page {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-info-card {
    background: #1f272b;
    color: white;
    padding: 50px 40px;
    border-radius: 30px;
    height: 100%;
}

.contact-info-card h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-details {
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item .icon-box {
    width: 50px;
    height: 50px;
    background: #f5a425;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-item p {
    color: #adb5bd;
    margin: 0;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: #f5a425;
    transform: translateY(-5px);
}

/* Form Styling */
.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.modern-form label {
    font-weight: 600;
    color: #1f272b;
    margin-bottom: 8px;
}

.modern-form .form-control {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    transition: 0.3s;
}

.modern-form .form-control:focus {
    border-color: #f5a425;
    background: #fff;
    box-shadow: none;
}

/* Map Section */
.map-container {
    line-height: 0;
}

/* 1. Hero Skew & Float */
.parallax-frame {
  position: relative;
  transform: perspective(1000px) rotateY(-20deg);
  margin-top: -40px;
  transition: 0.8s ease;
}
.tour-hero:hover .parallax-frame {
  transform: perspective(1000px) rotateY(0deg);
}
.main-tour-img {
  width: 100%;
  border-radius: 30px;
  box-shadow: -20px 20px 50px rgba(0,0,0,0.2);
}
.floating-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: #f5a425;
  color: white;
  padding: 20px 35px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 15px 30px rgba(245, 164, 37, 0.4);
}

/* 2. Hotspot Pulsing */
.map-image-container { position: relative; overflow: hidden; }
.hotspot { position: absolute; cursor: pointer; z-index: 10; }
.pulse {
  width: 25px;
  height: 25px;
  background: #f5a425;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(245, 164, 37, 0.4);
  animation: pulse-animation 2s infinite;
}
.hotspot-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: white;
  color: #333;
  padding: 15px;
  border-radius: 10px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.hotspot:hover .hotspot-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 3. Life Cards Overlay */
.life-card {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}
.life-card .img-box img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  transition: 0.5s;
}
.life-card .content {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  transition: 0.5s;
  color: white;
}
.life-card:hover .content {
  height: 100%;
  background: var(--clr);
}

/* Keyframes */
@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0px rgba(245, 164, 37, 0.7); }
  100% { box-shadow: 0 0 0 20px rgba(245, 164, 37, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

/* 1. Academic Levels */
.level-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border-bottom: 5px solid transparent;
    transition: all 0.4s ease;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 400px;
}
.level-card:hover {
    transform: translateY(-15px);
    border-color: #f5a425;
}
.level-card.featured {
    background: #1f272b;
    color: #fff;
}
.level-icon {
    font-size: 40px;
    color: #f5a425;
    margin-bottom: 20px;
}
.level-list { list-style: none; padding: 0; margin-top: 20px; }
.level-list li { margin-bottom: 10px; font-size: 14px; opacity: 0.8; }
.level-list i { color: #f5a425; margin-right: 10px; }

/* Principal Hero Styling */
.principal-hero { padding: 120px 0; }
.p-image-wrapper { position: relative; padding-left: 20px; }
.principal-img { 
    width: 90%; 
    border-radius: 40px 150px 40px 40px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.experience-seal {
    position: absolute; top: -20px; left: -20px;
    width: 120px; height: 120px;
    background: #f5a425; border-radius: 50%;
    color: white; display: flex; align-items: center;
    justify-content: center; text-align: center;
    font-weight: 800; font-size: 0.8rem; z-index: 5;
}
.p-name-tag {
    position: absolute; bottom: 30px; right: 0;
    background: #618799; color: white;
    padding: 20px 30px; border-radius: 20px;
}

/* Philosophy Cards */
.philosophy-card {
    background: white; padding: 40px 30px;
    border-radius: 20px; text-align: center;
    transition: 0.3s; border: 1px solid #eee;
}
.philosophy-card i { font-size: 40px; color: #f5a425; margin-bottom: 20px; }
.philosophy-card:hover { transform: translateY(-10px); background: #f5a425; color: white; }
.philosophy-card:hover i { color: white; }

/* Timeline */
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.t-line { position: absolute; left: 50%; width: 2px; height: 100%; background: rgba(255,255,255,0.1); }
.t-item { position: relative; width: 50%; padding: 20px 40px; }
.t-item.right { margin-left: 50%; }
.t-dot { position: absolute; right: -10px; top: 30px; width: 20px; height: 20px; background: #f5a425; border-radius: 50%; z-index: 1; }
.t-item.right .t-dot { left: -10px; }
.t-content { background:#618799; padding: 25px; border-radius: 20px; }
.t-year { color: #f5a425; font-weight: 800; }

/* CTA Box */
.connect-box {
    background: #1f272b; padding: 60px;
    border-radius: 30px; position: relative;
    overflow: hidden;
}
.connect-box::before {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 200px; height: 200px; background: #f5a425;
    opacity: 0.1; border-radius: 50%;
}

@media (max-width: 991px) {
    .t-line { left: 0; }
    .t-item { width: 100%; margin-left: 0 !important; padding-left: 30px; }
    .t-dot { left: -10px !important; }
}

/* --- Alumni Bento Section --- */
.alumni-bento {
    padding: 100px 0;
    background: #ffffff;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 25px;
}

.bento-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #1f272b;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Spanning */
.bento-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card.wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Image & Overlay */
.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
    opacity: 0.9;
}

.bento-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px;
    background: linear-gradient(to top, rgba(31, 39, 43, 0.9) 20%, transparent);
    color: white;
    z-index: 2;
}

.bento-info.compact { padding: 20px; }

.bento-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #f5a425;
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.bento-quote {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 15px;
    border-left: 3px solid #f5a425;
    padding-left: 15px;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.4s;
}

/* Hover Effects */
.bento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.bento-card:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

.bento-card:hover .bento-quote {
    opacity: 1;
    transform: translateY(0);
}

/* Wide Content Layout */
.wide-content {
    display: flex;
    height: 100%;
}
.wide-content img { width: 100%; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .bento-card.featured { grid-column: span 2; height: 500px; }
    .bento-card.wide { grid-column: span 2; }
}

@media (max-width: 576px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { grid-column: span 1 !important; height: 350px !important; }
    .wide-content { flex-direction: column; }
    .wide-content img { width: 100%; height: 60%; }
}
/* 2. Stat Boxes */
.stat-box-alt {
    background: #618799;
    padding: 30px; border-radius: 20px;
    text-align: center; border: 1px solid rgba(255,255,255,0.1);
}
.stat-box-alt h3 { color: #f5a425; font-weight: 800; font-size: 2.5rem; }

/* 3. Video Overlay */
.video-content-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    color: white; text-align: center; border-radius: 30px;
}
.play-btn-circle {
    width: 80px; height: 80px; background: #f5a425;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
    cursor: pointer;
}

/* 4. Logo Grid */
.logo-grid {
    display: flex; justify-content: space-between;
    flex-wrap: wrap; opacity: 0.6; gap: 30px;
}
.logo-item { font-size: 1.5rem; font-weight: 700; color: #1f272b; display: flex; align-items: center; gap: 10px; }

/* 5. Mentorship Box */
.mentorship-box {
    background: #1f272b; padding: 50px;
    border-radius: 30px; border-left: 10px solid #f5a425;
}
.avatar-stack img {
    width: 60px; height: 60px; border: 3px solid #1f272b;
    margin-left: -20px;
}

@keyframes pulse-white {
    0% { box-shadow: 0 0 0 0px rgba(245, 164, 37, 0.7); }
    100% { box-shadow: 0 0 0 20px rgba(245, 164, 37, 0); }
}
.animate-pulse { animation: pulse-white 2s infinite; }

/* --- Blog Hero --- */
.featured-post-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.post-img { position: relative; height: 350px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-tag {
    position: absolute; top: 20px; left: 20px;
    background: #f5a425; color: white;
    padding: 5px 15px; border-radius: 50px; font-weight: 700; font-size: 12px;
}
.post-body { padding: 40px; }
.post-meta { margin-bottom: 15px; font-size: 14px; color: #6c757d; display: flex; gap: 20px; }
.read-more { color: #f5a425; font-weight: 700; text-decoration: none; }

/* Trending Sidebar */
.trend-item {
    display: flex; gap: 20px; margin-bottom: 25px;
    padding-bottom: 25px; border-bottom: 1px solid #eee;
}
.trend-num { font-size: 2rem; font-weight: 800; color: #f5a425; opacity: 0.3; line-height: 1; }
.trend-text h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; cursor: pointer; transition: 0.3s; }
.trend-text h5:hover { color: #f5a425; }

/* Article Grid */
.article-card {
    background: #fff; border-radius: 25px;
    overflow: hidden; transition: 0.4s;
    height: 100%; border: 1px solid #eee;
}
.article-img { height: 200px; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.article-content { padding: 30px; }
.article-content .category { color: #f5a425; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.article-content h4 { margin: 10px 0; font-weight: 700; font-size: 1.3rem; }
.article-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.article-card:hover .article-img img { transform: scale(1.1); }

/* Newsletter Box */
.newsletter-wrapper {
    background: #1f272b; padding: 60px;
    border-radius: 40px; position: relative; overflow: hidden;
}
.newsletter-form {
    display: flex; background: rgba(255,255,255,0.05);
    padding: 8px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
}
.newsletter-form input {
    background: transparent; border: none; color: white;
    padding: 0 20px; flex-grow: 1; outline: none;
}
.newsletter-form button {
    background: #f5a425; color: white; border: none;
    padding: 12px 30px; border-radius: 50px; font-weight: 700; transition: 0.3s;
}
.newsletter-form button:hover { background: #fff; color: #1f272b; }

.blog-gallery {
    padding: 120px 0;
    background-color: #fafafa; /* Very light gray to distinguish from other white sections */
}

.blog-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px; /* Shorter rows create more "building blocks" */
    gap: 15px; /* Tighter gaps look more professional for galleries */
}

.masonry-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #1f272b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Photo Count Badge */
.photo-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    z-index: 3;
}

/* Grid Logic: This is what fixes the "empty" feel */
.masonry-item.tall { grid-row: span 2; }
.masonry-item.wide { grid-column: span 2; }

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(31, 39, 43, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    opacity: 1; /* Keep it always visible but subtle for a richer look */
}

.masonry-overlay h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.gallery-footer-info {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Fixes */
@media (max-width: 1200px) {
    .blog-masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .blog-masonry { grid-template-columns: repeat(2, 1fr); }
    .masonry-item.wide { grid-column: span 1; }
}

@media (max-width: 576px) {
    .blog-masonry { grid-template-columns: 1fr; grid-auto-rows: 250px; }
}
/* --- Gallery Filter Container --- */
.gallery-filters {
    display: inline-flex;
    background: #f8f9fa; /* Soft off-white background */
    padding: 6px;
    border-radius: 100px; /* Perfect pill shape */
    border: 1px solid #eeeeee;
    gap: 4px;
}

/* --- Individual Filter Buttons --- */
.filter-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #6c757d; /* Muted gray for inactive */
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

/* --- Active & Hover States --- */
.filter-btn:hover {
    color: #1f272b;
    background: rgba(0,0,0,0.03);
}

.filter-btn.active {
    background: #ffffff; /* Active button pops out */
    color: #f5a425; /* Your primary orange */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Soft lift effect */
}

/* --- Optional: Add a small dot to the active filter --- */
.filter-btn.active::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #f5a425;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .gallery-filters {
        display: flex;
        overflow-x: auto; /* Allows swiping on mobile */
        white-space: nowrap;
        padding: 4px;
        width: 100%;
        justify-content: flex-start;
        scrollbar-width: none; /* Hides scrollbar for Firefox */
    }
    .gallery-filters::-webkit-scrollbar {
        display: none; /* Hides scrollbar for Chrome/Safari */
    }
    .filter-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}

.main-banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.main-banner {
  background: url('/assets/images/hero.jpeg') no-repeat center center/cover;
}
.video-content-overlay {
  pointer-events: none;
}


.schoolh1{
    font-size: var(--h1-font-size);
}
img{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;
}

/*-- LAYAOUT --*/
.main {
    padding: 2rem 0;
}
.bd-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1200px;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    align-items: center;
    gap: 2rem;
}

/*-- PAGES --*/
.title-shop{
    position: relative;
    margin: 0 2.5rem;
}
.title-shop::after{
    content: '';
    position: absolute;
    top: 50%;
    width: 72px;
    height: 2px;
    background-color: var(--dark-color);
    margin-left: .25rem;
}

/*-- COMPONENT --*/
.card{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    overflow: hidden;
}
article:nth-child(1){
    background-color: var(--first-color);
}
article:nth-child(2){
    background-color: var(--second-color);
}
article:nth-child(3){
    background-color: var(--third-color);
}
article:nth-child(4){
    background-color: var(--second-color);
}
.card__img{
    width: 180px;
    height: auto;
    padding: 3rem 0;
    transition: .5s;
}
.card__name{
    position: absolute;
    left: -25%;
    top: 0;
    width: 3.5rem;
    height: 100%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    background-color: var(--dark-color);
    color: #fff;
    font-weight: bold;
    transition: .5s;
}
.card__icon{
    font-size: 1.5rem;
    color: var(--dark-color);
}
.card__icon:hover{
    color: var(--accent-color);
}
.card__precis{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: .5s;
}
.card__preci{
    display: block;
    text-align: center;
}
.card__preci--before{
    font-size: var(--smaller-font-size);
    color: var(--accent-color);
    margin-bottom: .25rem;
}
.card__preci--now{
    font-size: var(--h3-font-size);
    font-weight: bold;
}
/*Move left*/
.card:hover{
    box-shadow: 0 .5rem 1rem #D1D9E6;
}
.card:hover .card__name{
    left: 0;
}
.card:hover .card__img{
    transform: rotate(30deg);
    margin-left: 3.5rem;
}
.card:hover .card__precis{
    margin-left: 3.5rem;
    padding: 0 1.5rem;
}

/* Caption Glass Effect */
.caption {
    max-width: 600px;
    padding: 35px;
    border-radius: 20px;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    /* Animation */
    animation: fadeUp 1.2s ease;

    /* Optional center alignment */
    margin: auto;
}

/* Text Styling */
.caption h6 {
    color: #ff6600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.caption h2 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 10px;
}

.caption p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Button */
.main-button-red a {
    background: #ff6600;
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}

.main-button-red a:hover {
    background: #000;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {

    .caption {
        padding: 20px;
        margin: 15px;
        border-radius: 15px;
    }

    .caption h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .caption h6 {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .caption p {
        font-size: 14px;
        line-height: 1.6;
    }

    .main-button-red a {
        padding: 8px 18px;
        font-size: 14px;
    }
}

.main-banner {
  position: relative;
}

.owl-banner .item {
  position: relative;
}

.bg-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
