:root{
  --bg:#fff;
  --text:#444;
  --card:#141414;
  --line:rgba(255,255,255,.12);
  --green:#8CCB0A;
  --faded-green:rgba(140, 203, 10, 0.20);
  --teal: #3EA7C4;
  --blue: #3C2A96;
  --black: #444;
  --white: #fff;

  --radius:18px; 
  --radius-lg:24px;

  --shadow:0 20px 60px rgba(0,0,0,.45);

  --container:1120px;
  --gutter:20px;

  /* --font: system-ui, -apple-system, "Source Code Pro", monospace; */
  --font: "Montserrat", sans-serif;
  --h1: clamp(34px, 4vw, 56px);
  --h2: clamp(64px, 2.4vw, 84px);
  --body: 16px;
  --lh: 1.55;
}

*{box-sizing:border-box}
html,body{
  height:100%;
  scroll-behavior:smooth;
overflow-x: hidden;
}

body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  font-size:var(--body);
  line-height:var(--lh);
}

h3 {
    font-size: 2em;
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 40px;
}

h4 {
	color: var(--teal);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 5px;
	text-transform: uppercase;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{
  width:min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline:auto;
}
.site-main{min-height:60vh}

body p{
	font-size: 15px;

	font-style: normal;
	font-weight: 400;
}


/* =============
   Header 
   ============= */

.site-header {
    width: 100%;
    background-color: var(--white, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative; 
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
}

.brand__logo {
    max-height: 75px; 
    width: auto;
    display: block;
}


.site-header__nav {
    display: block; 
}

.site-header__nav .nav-menu {
    display: flex !important; 
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px; 
}

.site-header__nav .nav-menu li {
    display: inline-block;
}

.site-header__nav .nav-menu li a {
    text-decoration: none;
    color: var(--black, #444);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.25s ease;
}

.site-header__nav .nav-menu li a:hover {
    color: var(--teal, #3EA7C4);
}


#mega-sub-menu-119 {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    padding: 8px 0 !important;
}

#mega-sub-menu-119 .mega-menu-item a {
    color: #000000 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    display: block !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

#mega-sub-menu-119 .mega-menu-item a:hover {
    background-color: var(--teal) !important;
    color: #ffffff !important;
}

#mega-sub-menu-119 .mega-menu-item.mega-current-menu-item a,
#mega-sub-menu-119 li.mega-current-menu-item a {
    background-color: var(--teal) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.mobile-nav-toggle {
    display: none !important; 
    background: none;
    border: none;
    cursor: pointer !important;
    padding: 10px;
    z-index: 101;
}

.hamburger-box {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-box::before,
.hamburger-box::after,
.hamburger-inner {
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--black, #444);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* ===========
   Responsive 
   ===========*/
@media (max-width: 991px) {
    .site-header__nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block !important;
    }
}

/* Offcanvas */
/* .offcanvas{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index: 200 !important;}
.offcanvas.is-open{
  pointer-events:auto;
  display: block !important;}
.offcanvas__backdrop{
  position:absolute;inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;transition:opacity .2s ease;
}
.offcanvas.is-open .offcanvas__backdrop{opacity:1}
.offcanvas__panel{
  position:absolute;right:0;top:0;height:100%;
  width:min(360px, 92vw);
  background:#0f0f0f;
  border-left:1px solid var(--line);
  transform:translateX(100%);
  transition:transform .25s ease;
  padding:18px;
}
.offcanvas.is-open .offcanvas__panel{transform:translateX(0)}
.offcanvas__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.offcanvas__title{font-weight:700}
.nav-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.nav-list a{
  display:block;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.02);
}
.nav-list a:hover{background:rgba(255,255,255,.06)} */

/* Offcanvas */
.tesc-offcanvas{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index: 200;
}
.tesc-offcanvas.is-open{
  pointer-events:auto;
}
.tesc-offcanvas__backdrop{
  position:absolute;inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;transition:opacity .2s ease;
}
.tesc-offcanvas.is-open .tesc-offcanvas__backdrop{opacity:1}
.tesc-offcanvas__panel{
  /* position:absolute;right:0;top:0;height:100%;
  width:min(360px, 92vw);
  background:#0f0f0f;
  border-left:1px solid var(--line);
  transform:translateX(100%);
  transition:transform .25s ease;
  padding:18px; */
  position:absolute;right:0;top:0;height:100%;
  width:min(360px, 92vw);
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  border-left:1px solid var(--line);
  transform:translateX(100%);
  transition:transform .3s cubic-bezier(.2,.9,.2,1);
  padding:24px 20px;
  display:flex;
  flex-direction:column;
}
.tesc-offcanvas.is-open .tesc-offcanvas__panel{
  transform:translateX(0)}

/* .tesc-offcanvas__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
} */

.tesc-offcanvas__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(255,255,255,.1);
}

/* .tesc-offcanvas__title{
  font-weight:700;
  color:#fff;
} */
.tesc-offcanvas__title{
  font-weight:700;
  color:#fff;
  font-size:18px;
  letter-spacing:.5px;
}

.tesc-offcanvas .icon-btn{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  color:#fff;
  cursor:pointer;
  transition:background .2s ease;
}
.tesc-offcanvas .icon-btn:hover{background:rgba(255,255,255,.12)}

/* .nav-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
} */

.nav-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* .nav-list a{
  display:block;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.02);
  color:#fff;
} */

.nav-list a{
  display:block;
  padding:14px 16px;
  border-radius:12px;
  background:transparent;
  color:rgba(255,255,255,.85);
  font-weight:500;
  font-size:16px;
  transition:background .2s ease, color .2s ease, padding-left .2s ease;
}

/* .nav-list a:hover{background:rgba(255,255,255,.06)} */
.nav-list a:hover{
  background:var(--teal, #3EA7C4);
  color:#fff;
  padding-left:20px;
}


/* Get In Touch Button */
.contact-btn {
  background: var(--blue);
  color: var(--white);
  border-radius: 10px; 
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease; 
}


.contact-btn:hover {
  filter: brightness(1.15);      
  transform: translateY(-2px);    
}


.contact-btn:active {
  transform: translateY(0);       
}

@media (max-width: 991px) {
  .contact-btn {
    display: none;
  }
}


#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #000000 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link {
    color: var(--teal) !important;
    background-color: #ffffff;
}

#mega-menu-wrap-primary #mega-menu-primary {
    text-align: left;
    padding: 0px;
    background: white;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    background-color: var(--white);
    color: white;
    font-weight: normal;
    text-decoration: none;
    border-color: var(--white);
}





/* Sections */
.section{padding:60px 0}

.section-title, h2 {
  font-size:var(--h2);
  margin:0 0 14px;
  letter-spacing:.2px;
  /* color: var(--faded-green); */
  color: var(--card);
font-style: normal;
font-weight: 500;
line-height: 80px; /* 100% */
letter-spacing: 0.8px;
text-transform: uppercase;
}

@media (max-width: 768px){
  .section-title, h2{
    font-size: 45px !important;
  }

}

.section-title--left{text-align:left}
.section-lead{
  max-width:820px;
  margin:0 auto;
  color:var(--text);
  text-align:center;
}
.section-lead--left{margin:0;color:var(--text);text-align:left}

.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.link{color:var(--text);display:inline-flex;align-items:center;gap:8px}
.link svg{opacity:.85}



/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
  font-weight:600;
  white-space:nowrap;
}
.btn--primary{background:var(--green);border-color:rgba(255,255,255,.18)}
.btn--primary:hover{transform:translateY(-1px);background:var(--green2)}
.btn--ghost{background:transparent}
.btn--ghost:hover{background:rgba(255,255,255,.06)}
.btn__icon{display:grid;place-items:center}

/* Cards */
.cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.card{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .22s ease, background .22s ease;
}
.card:hover{transform:translateY(-3px);background:rgba(255,255,255,.05)}
.card__media{
  height:190px;
  background:#101010;
  background-size:cover;
  background-position:center;
}
.card__body{padding:16px 16px 18px}
.card__num{opacity:.75;font-weight:700;letter-spacing:.8px}
.card__title{margin:10px 0 8px;font-size:18px}
.card__text{margin:0;color:var(--text2)}

/* =========================
   STATS — MODERN REDESIGN
========================= */
.stats {
  position: relative;
}

.stats__header {
  text-align: center;
  margin-bottom: 50px;
}

.stats__header .section-title {
  color: var(--card);
  margin-bottom: 10px;
}

.stats__header .wp-block-heading {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Background section */
.stats-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0;
  margin-top: 0;
}

.stats-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(60, 42, 150, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.stats-bg .container {
  position: relative;
  z-index: 2;
}

/* Grid: cards instead of plain columns */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 70px;
}

.stat {
  position: relative;
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg, 24px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--green);
}

.stat::after {
  display: none;
}

/* Icon circle */
.stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, var(--green), var(--teal)); */
  font-size: 22px;
  color: var(--white);
  /* box-shadow: 0 8px 20px rgba(140, 203, 10, 0.35); */
}

/* Label */
.stats-bg .stat__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

/* Value */
.stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.stat__number {
  color: var(--teal);
}

.stat__suffix {
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .stats-bg {
    padding: 60px 0;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 30px 20px;
  }
}

/* Community */
.community__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	align-items: stretch;
	border-radius: 30px;
	background: var(--teal);
	padding: 0;
	overflow: hidden;
  scale: .8; opacity: 0;
  animation: fade-in linear forwards;
  animation-timeline: view();
  animation-range: 250px 500px;
}
.community__image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}
.community__panel {
	padding: 18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}

.btn--secondary {
	display: inline-block;
	width: min-content;
	padding: 10px 20px;
	font-size: 15px;
	text-transform: uppercase;
	color: var(--white);
	border: 1px solid;
}

.btn--secondary:hover {
  background: var(--white);
  border-color: var(--white);
}

.community__panel h5 {
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1.029px;
    text-transform: uppercase;
}

.community__panel p {
	color: var(--white);
}
/* ============================
   Testimonials – 3 Up Center Mode
============================ */

.testimonials {
  overflow: hidden;
  background-color: #fcfcfc; /* matching slight off-white appearance if needed */
  padding: 4rem 0;
}

.testimonials__slider {
  position: relative;
  margin-top: 3rem;
}

/* Track */
.testimonials__track {
  display: flex;
  gap: 2.5rem;
  transition: transform 0.6s ease;
  will-change: transform;
}

/* Redesigned Card Configuration */
.testimonial {
  flex: 0 0 48%;
  max-width: 48%;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  opacity: 0.4;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

/* Active Highlighted (Middle) Slide */
.testimonial.is-active {
  transform: scale(1.03);
  opacity: 1;
  z-index: 2;
}

/* Card Content Compartment */
.testimonial__content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  height: 100%;
  justify-content: space-between;
}

/* Top Quote Symbol spacing */
.testimonial__quote-mark {
  display: block;
  margin-bottom: 1.5rem;
}

/* Styled Text Block */
.testimonial__quote {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Profile Footer Block */
.testimonial__profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

/* Circular Avatar Graphic */
.testimonial__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* Metadata Stack styling */
.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__name {
  font-size: 16px;
  color: #222222;
  font-weight: 700;
}

.testimonial__company {
  font-size: 13px;
  color: #4aa3c3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dragging Override Utility styles */
.testimonials__track.is-dragging {
  transition: none !important;
  cursor: grabbing;
}

.testimonial {
  user-select: none;
}

/* Dynamic Interactive Dots Navigation */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #4aa3c3;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonial-dots .dot.is-active {
  background: #4aa3c3;
  transform: scale(1.2);
  width: 12px;
  height: 12px;
}

/* ============================
   Responsive Rules
============================ */

@media (max-width: 1024px) {
  .testimonial {
    flex: 0 0 60%;
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .testimonial {
    flex: 0 0 100%;
    max-width: 100%;
    transform: scale(1);
    opacity: 1;
  }
  .testimonial.is-active {
    transform: scale(1);
  }
}

/* ==========================================================================
   Contact Band Redesign
   ========================================================================== */

.contact-band__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--card, #141414); 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    margin: 4rem auto;
    max-width: 1200px;
}

/* --- Scroll Animations Configuration --- */
.contact-band__left,
.contact-band__right {
    animation-timeline: view();
    animation-range: 120px 750px;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
    will-change: transform, opacity;
}

.contact-band__left {
    background-image: linear-gradient(rgba(20, 20, 20, 0.2), rgba(20, 20, 20, 0.5)), url("../../img/getintouch.png");
    background-size: cover;
    background-position: center;
    padding: 3rem;
    position: relative;
    min-height: 480px;
    transform: translateX(-50px);
    opacity: 0;
    animation-name: contact-fade-in-left;
}

@keyframes contact-fade-in-left {
    to { transform: translateX(0); opacity: 1; }
}

.contact-band__right {
    transform: translateX(50px);
    opacity: 0;
    animation-name: contact-fade-in-right;
    display: flex;
    align-items: center;
}

@keyframes contact-fade-in-right {
    to { transform: translateX(0); opacity: 1; }
}

/* --- Social Follow Card Component --- */
.social-bulb {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    border-radius: 20px;
    background: rgba(20, 20, 20, 0.75); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    color: var(--white, #fff);
    border-top: 4px solid var(--teal, #3EA7C4); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.social-bulb__subtitle {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal, #3EA7C4);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.follow-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.5px;
}

.social.social--stack {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social.social--stack a {
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.social.social--stack a:hover {
    color: var(--green, #8CCB0A);  
    border-bottom-color: var(--green, #8CCB0A);
    transform: translateY(-2px); 
}

/* --- Forminator Custom Restyling --- */
.form-wrap {
    padding: 4rem;
    width: 100%;
}

.form-title {
    color: var(--white, #fff);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.forminator-ui fieldset input, 
.forminator-ui fieldset textarea {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.forminator-ui fieldset input:focus, 
.forminator-ui fieldset textarea:focus {
    border-color: var(--teal, #3EA7C4) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(62, 167, 196, 0.15) !important;
}

.forminator-ui#forminator-module-101.forminator-design--default .forminator-button-submit {
    background-color: var(--teal, #3EA7C4) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 36px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s cubic-bezier(.16, 1, .3, 1) !important;
}

.forminator-ui#forminator-module-101.forminator-design--default .forminator-button-submit:hover {
    background-color: var(--green, #8CCB0A) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(140, 203, 10, 0.2) !important;
}

/* ==========================================================================
   Responsive Adaptability (Mobile Viewports)
   ========================================================================== */
@media (max-width: 991px) {
    .contact-band__grid {
        grid-template-columns: 1fr;
        margin: 2rem 1rem;
    }
    
    .contact-band__left {
        min-height: 380px;
        transform: none;
        animation: none;
        opacity: 1;
    }
    
    .contact-band__right {
        transform: none;
        animation: none;
        opacity: 1;
    }

    .form-wrap {
        padding: 2.5rem;
    }
    
    .social-bulb {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.5rem;
    }
}

/* Newsletter */
.newsletter{
  padding-bottom: 60px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.02);
}
.newsletter__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.newsletter__title {
	color: var(--text);
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 31.2px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
}

.now {
font-weight: 300;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--line);
	padding-top: 60px;
	background: var(--teal);
	color: var(--white);
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 60px;
}

.site-footer__socials .social a {
	font-size: 40px;
  display: inline-block;
  color: var(--white);
  transition: transform 0.3s ease, color 0.3s ease;
}

.site-footer__socials .social a:hover {
    color: var(--white);
    transform: scale(1.15);
    transform: translateY(-3px);
    /* text-shadow: 0 0 5px var(--white); */
}

.footer-title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 300;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8em;
	columns: 2;
}

.footer-links a {
	color: var(--white);
	font-size: 18px;
	font-weight: 300;
} 

.footer-links a{
  color:var(--white);
  text-decoration: none;
  position: relative;
  font-weight: 400; /* normal weight */
  transition: font-weight 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0; 
    height: 2px;
    background-color: var(--green);
    transition: width 0.3s ease; 
}

/* .footer-links a:hover {
    font-weight: 500;
} */

.footer-links a:hover::after {
width: 100%;
}

.site-footer__bottom {
	border-top: 1px solid var(--line);
	padding: 30px 0;
	background: var(--white);
	text-align: center;
}
.site-footer__bottom p {
	margin-bottom: 0;
}
.muted{color:var(--text)}


@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding-bottom: 40px;
  }

  .footer-links {
    columns: 1;
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Blog cards */
.post-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.post-card{
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.03);
  padding:16px;
  transition:transform .22s ease, background .22s ease;
}
.post-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.05)}
.post-card__title{margin:0 0 10px;font-size:18px}
.post-card__excerpt{margin:0;color:var(--text2)}

/* Prose */
/* .prose{max-width:860px} */
.prose p{color:var(--text)}
.prose a{text-decoration:none;}

/* Reveal animations (JS toggles) */
[data-reveal]{opacity:0;transform:translateY(10px);transition:opacity .5s ease, transform .5s ease}
[data-reveal].is-inview{opacity:1;transform:none}
[data-reveal="fade"]{transform:none}
[data-reveal="rise"]{transform:translateY(14px)}

/* Responsive */
@media (max-width: 980px){
  .cards{grid-template-columns:1fr 1fr}
  .stats__grid{grid-template-columns:1fr 1fr}
  .feature-band__grid{grid-template-columns:1fr}
  .community__grid{grid-template-columns:1fr}
  .contact-band__grid{grid-template-columns:1fr}
  .post-grid{grid-template-columns:1fr 1fr}
  .hero__inner{padding:96px 0 70px}
}
@media (max-width: 560px){
  .section{padding:56px 0}
  .cards{grid-template-columns:1fr}
  .post-grid{grid-template-columns:1fr}
  .newsletter__inner{flex-direction:column;align-items:flex-start}
  .hero__inner{padding:84px 0 60px}
}


/* =========================
   HERO SLIDER (CPT-DRIVEN)
========================= */

.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* TRACK */
.hero-slider__track {
  position: relative;
  height: 100%;
}

/* SLIDE */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* OVERLAY */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.45);
}

/* CONTENT */
.hero-slide__content {
  position: relative;
  z-index: 2;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* TEXT */
.hero-slide__eyebrow {
	/* color: var(--green); */
  color: var(--white);
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.8px;
}

.hero-slide__title {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 400;
  text-transform: capitalize;
  margin: 20px 0;
}

/* BUTTON */
.hero-slide__btn {
  background: #ffffff;
  color: #000000;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slide__btn:hover {
  transform: translateY(-2px);
  background: var(--blue);
  color: var(--white);
}

/* =========================
   SLIDE INDEX (LEFT)
========================= */

.hero-slider__index {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	width: 70px;
	border-right: 3px solid rgba(255, 255, 255, 0.30);
	background: rgba(0, 0, 0, 0.30);
}

.hero-slider__index-item {
	color: rgba(255,255,255,0.5);
	font-weight: 400;
	position: relative;
	padding-left: 14px;
	top: 40%;
	font-size: 28px;
}
.hero-slider__index-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--blue);
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

.hero-slider__index-item.is-active {
  color: #ffffff;
}

.hero-slider__index-item.is-active::before {
  height: 24px;
}

.line {
	/* border: 1px solid var(--green); */
  border: 1px solid var(--teal);
	height: 50px;
	margin: 30px 0;
}


/*==========================
    HIDE LOGO ON SCROLL
==========================*/
.brand__logo {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand__logo.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .hero-slider__index {
    display: none;
    left: 20px;
  }

  .hero-slide__title {
    font-size: clamp(30px, 7vw, 42px);
  }
}



.stat__icon {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--accent, #8BC34A);
}

.stat__value {
	color: var(--white);
	text-align: center;
	font-size: 54px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
}


/* Hero Inside pages */

.hero.hero--small.is-inview {
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	position: relative;
	height: 400px;
}

.hero__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;     /* horizontal */
  justify-content: center; /* vertical */
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero.hero--small.is-inview::before {
    content: "";
    background: rgba(0,0,0,0.25);
    width: 100%;
    height: 100%;
    position: absolute;
}

h5.hero__eyebrow {
    color: var(--white);
}

h2.hero__title {
    color: var(--white);
}

/* =========================
   STATS BACKGROUND
========================= */

.stats-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 64px 0;
  margin-top: 60px;
  height: 540px;
  overflow: hidden;
}

.home .stats-bg {
  margin-bottom: 60px;
}

.stats-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}

.stats-bg .container {
  position: relative;
  z-index: 2;
}

/* Ensure stats remain readable */
.stats-bg .stat {
  color: #ffffff;
}

.stats-bg .stat__label {
	font-size: 18px;
	text-transform: uppercase;
}

.stats-bg .stat__icon {
  color: var(--teal);
}

/* =========================
   STATS GRID SEPARATORS
========================= */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  position: relative;
  text-align: center;
  padding: 24px 16px;
}

/* Vertical divider */
.stat::after {
  content: '';
  position: absolute;
  top: 40%;
  right: 0;
  width: 1px;
  height: 40%;
  background-color: var(--white);
}

/* Remove divider on last item */
.stat:last-child::after {
  display: none;
}

.wp-block-cover 
.wp-block-cover__background.has-background-dim.has-background-dim-30, 
.wp-block-cover 
.wp-block-cover__gradient-background.has-background-dim.has-background-dim-30, 
.wp-block-cover-image 
.wp-block-cover__background.has-background-dim.has-background-dim-30, 
.wp-block-cover-image 
.wp-block-cover__gradient-background.has-background-dim.has-background-dim-30 {
    opacity: 0 !important ; 
}

@media (max-width: 768px){
  .stats-bg{
    height: auto;
  }
}

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

  .stats-bg{
    height: auto;
  }

  .stat::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}


.stats-bg .stat::after {
  background-color: var(--white);
}

.stats:not(.stats-bg) .stat::after {
  background-color: var(--white);
}


/* Services */

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h6 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #c6dca8;
  text-transform: uppercase;
}

.service-content h5 {
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 16.2px;
	letter-spacing: 2.16px;
	text-transform: uppercase;
	margin-bottom: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* .service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
} */

/* ================= 
      Image hover
 ===================*/
.service-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.5s ease;
}

.service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease;
}

/* overlay */
.service-image .overlay {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(0,255,100,0.15));
  transform: rotate(-25deg);
  transition: transform 0.7s ease, opacity 0.7s ease;
  opacity: 0;
  pointer-events: none;
}

/* Hover effect */
.service-image:hover img {
  transform: scale(1.15) skew(-2deg, 2deg) rotateX(2deg) rotateY(2deg);
  filter: brightness(1.1);
}

.service-image:hover .overlay {
  transform: translate(50%, 50%) rotate(-25deg); /* diagonal swoosh */
  opacity: 1;
}


.service-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


.service-content h3 {
  font-size: 22px;
  font-weight: 600;
}

.service-content a:hover {
  color: var(--green);
}


.service-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.service-number {
	color: var(--text);
	font-size: 22px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	padding: 5px 0;
}


.impact-section {
  width: 100%;
  padding: 100px 0;
  background-color: var(--card);
  overflow: hidden;
  margin-top: 60px;
}

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

.impact-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.impact-card {
  position: relative;
  flex: 0 0 42%;
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: translateX(-120vw);
  animation-name: slide-in-left;
}

.impact-overlay {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.impact-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--white) 30%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impact-overlay p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

.impact-arrow {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-arrow:hover {
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-color: transparent;
  transform: scale(1.1) rotate(-45deg);
  box-shadow: 0 10px 20px rgba(62, 167, 196, 0.3);
}

.impact-info {
  flex: 1;
  display: flex;
  gap: 24px;
  transform: translateX(120vw);
  animation-name: slide-in-right;
}

.impact-card,
.impact-info {
  animation-timeline: view();
  animation-range: 200px 500px;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.16, 1, .3, 1);
}

.impact-col {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-badge-line {
  position: absolute;
  top: 0;
  left: 40px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 0 0 4px 4px;
  transition: width 0.4s ease;
}

.impact-col h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
  transition: color 0.4s ease;
}

.impact-col p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.impact-col:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(62, 167, 196, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.impact-col:hover .impact-badge-line {
  width: 120px;
}

.impact-col:hover h4 {
  color: var(--green);
}

.impact-col:hover p {
  opacity: 0.95;
}

@media (max-width: 991px) {
  .impact-wrapper {
    flex-direction: column;
  }
  .impact-card {
    flex: none;
    width: 100%;
    min-height: 350px;
  }
  .impact-info {
    flex-direction: column;
  }
}


/* Services Grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

/* Mobile */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* Blog */

.blog-section {
    padding: 60px 0;
}


h4.hero__eyebrow {
    color: var(--white);
}

/* Contact */

.wp-block-columns.contact-details {
    text-align: center;
}

.contact-details i {
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--blue);
}

.about-section .contact-band {
    padding: 0;
}

.mc4wp-form-fields p {
    display: flex;
    gap: 20px;
}

.mc4wp-form-fields input#email {
    width: 100%;
    border: none;
    border-bottom: 1px solid grey;
}

.mc4wp-form-fields input[type="submit"] {
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.00);
    background: var(--Green, #8CCB0A);
    color: var(--white);
    padding: 8px 40px;
    text-transform: uppercase;
}


/* Mobile */


@media (max-width: 768px) {
  .impact-wrapper {
    flex-direction: column;
  }

  .impact-card {
    border-radius: 20px 20px 0 0;
    height: 300px;
  }

  .impact-overlay {
    top: 20%;
    left: 20px;
    max-width: 80%;
  }

  .impact-info {
    padding: 40px 20px;
    flex-direction: column;
    gap: 30px;
  }

  .impact-divider {
    display: none;
  }

  .hero-slider__index {
    left: 0;
}

.impact-wrapper {
    display: block;
}

.impact-card {
  position: relative;
    border-radius: 0;
    padding: 20px;
}

.social-bulb {
    min-width: 300px;
}

}


/* About Us Page Grid Animation */
.values-grid > .wp-block-column,
.values-grid .wp-block-cover,
.values-grid .wp-block-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-grid img,
.values-grid .wp-block-cover__background {
  transition: transform 0.4s ease !important;
}

/* Hover effects to lift the cards and zoom the image */
.values-grid > .wp-block-column:hover,
.values-grid .wp-block-cover:hover,
.values-grid .wp-block-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--teal);
  cursor: pointer;
}

.values-grid > .wp-block-column:hover img,
.values-grid .wp-block-cover:hover img,
.values-grid .wp-block-cover:hover .wp-block-cover__background,
.values-grid .wp-block-image:hover img {
  transform: scale(1.06) !important;
}

/* Ensure the text stays sharp, bright, and perfectly readable */
.values-grid h2,
.values-grid h3,
.values-grid h4,
.values-grid p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8) !important;
  color: #ffffff !important;
}
@media (max-width: 480px) {
.values-grid.is-layout-grid {
    display: block;
}
.values-grid .wp-block-cover {
    margin-bottom: 15px;
}
}


/* Team */
/* ========= TEAM GRID ========= */
.team__header { margin-bottom: 22px; }
.team__title { margin: 0 0 6px; }
.team__subtitle { margin: 0; opacity: .75; }

.team__grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}

.team-card{ grid-column: span 12; }

@media (min-width: 640px){
  .team-card{ grid-column: span 6; }
}
@media (min-width: 992px){
  .team-card{ grid-column: span 4; }
}

.team-card__btn{
  width:100%;
  border:0;
  padding:0;
  text-align:left;
  background: transparent;
  cursor:pointer;
}

.team-card__btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 18px;
}

.team-card__media{
  border-radius: 18px;
  overflow:hidden;
  /* aspect-ratio: 4 / 3; */
  background: rgba(0,0,0,.04);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.team-card__img{
  width:100%;
  height:400px;
  object-fit: cover;
  display:block;
  transform: scale(1);
  transition: transform .35s ease;
}

.team-card__fallback{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 1px;
}

.team-card__body{
  margin-top: 12px;
  padding: 0 6px;
}

.team-card__name{
  margin:0;
  font-size: 18px;
  line-height: 1.2;
}

.team-card__role{
  margin: 6px 0 0;
  opacity: .75;
}

.team-card__hint{
  display:inline-block;
  margin-top: 10px;
  font-size: 14px;
  opacity: .85;
}

.team-card__btn:hover .team-card__img{
  transform: scale(1.04);
}

/* ========= MODAL (ELEGANT) ========= */
html { scrollbar-gutter: stable; } /* prevents jump when locking scroll */

.team-modal{
  position:fixed;
  inset:0;
  z-index: 9999;

  display:flex;
  align-items:center;
  justify-content:center;

  padding: clamp(14px, 3vh, 28px);
  padding-bottom: calc(clamp(14px, 3vh, 28px) + env(safe-area-inset-bottom));
  padding-top: calc(clamp(14px, 3vh, 28px) + env(safe-area-inset-top));

  pointer-events: none;
  opacity: 0;
  transition: opacity 260ms ease;
}

.team-modal.is-open{
  pointer-events: auto;
  opacity: 1;
}

.team-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  transition: opacity 260ms ease;
}

.team-modal.is-open .team-modal__backdrop{
  opacity: 1;
}

.team-modal__panel{
  position:relative;
  width:min(980px, 100%);
  max-height: calc(100dvh - 2 * clamp(14px, 3vh, 28px));
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
  overflow: scroll;

  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 320ms cubic-bezier(.2,.9,.2,1),
    opacity   260ms ease;
}

.team-modal.is-open .team-modal__panel{
  transform: translateY(0);
  opacity: 1;
}

.team-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: background 180ms ease, transform 180ms ease;
}

.team-modal__close:hover{
  background: rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* Prev / Next buttons */
.team-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
    cursor: pointer;
    z-index: 5;
    font-size: 16px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.team-modal__nav:hover{
  transform: translateY(-50%) translateY(-1px);
  background: #fff;
}
.team-modal__nav--prev{ left: 10px; }
.team-modal__nav--next{ right: 10px; }

@media (max-width: 420px){
  .team-modal__nav{ display:none; }
}

/* Smooth content swapping for next/prev */
.team-modal__swap{
  transition: opacity 180ms ease, transform 220ms ease;
}
.team-modal__swap.is-swapping{
  opacity: 0;
  transform: translateY(6px);
}

.team-modal__content{
  display:grid;
  grid-template-columns: 1fr;
  height: 100%;
}

.team-modal__left{
  background: rgba(0,0,0,.04);
}

.team-modal__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  aspect-ratio: 16 / 11;
}

.team-modal__avatar{
  width:100%;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:48px;
  aspect-ratio: 16 / 11;
}

.team-modal__right{
  padding: 22px 22px 26px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}

.team-modal__name{ margin: 0 0 6px; }
.team-modal__role{ margin: 0 0 14px; opacity: .75; }

@media (min-width: 900px){
  .team-modal__content{
    grid-template-columns: 1fr 1.2fr;
    min-height: 520px;
  }
  .team-modal__img,
  .team-modal__avatar{
    aspect-ratio: auto;
    height: 100%;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .team-modal,
  .team-modal__backdrop,
  .team-modal__panel,
  .team-modal__swap{
    transition: none !important;
  }
}

span.team-card__hint {
    color: var(--teal);
    font-weight: 700;
}


@keyframes fade-in {
  to {scale: 1; opacity: 1;}
}

/* @keyframes contact-slide-in {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
} */

@keyframes slide-in-left {
  to {
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  to {
    transform: translateX(0);
  }
}

@keyframes contact-slide-left {
  to {
    transform: translateX(0);
  }
}

@keyframes contact-slide-right {
  to {
    transform: translateX(0);
  }
}

@keyframes service-rise {
  to {
    transform: translateY(0);
  }
}


/********* UPCOMINNG EVENTS *********/
.events-section {
    padding: 60px 0;
    background-color: var(--bg, #fff);
}

.events-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.events-split-layout__left {
    position: sticky;
    top: 30px;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    border: 1px solid var(--line, rgba(0,0,0,.08));
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.events-split-layout__left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: src 0.3s ease-in-out;
}

.events-split-layout__right {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    justify-content: space-between;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line, rgba(0,0,0,.08));
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.event-row:hover {
    background-color: #fafafa;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.event-row__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding-right: 20px;
}

.event-row__date {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue, #3C2A96);
}

.event-row__title {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
    color: var(--text, #222);
    line-height: 1.4;
}

.event-row__btn {
    background-color: var(--blue, #3C2A96);
    color: var(--white, #fff);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.event-row__btn:hover {
    background-color: var(--teal, #3EA7C4);
}

.events-pagination {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.pagination-btn {
    flex: 1;
    padding: 12px 24px;
    background-color: #ffffff;
    border: 1px solid var(--line, rgba(0,0,0,.15));
    color: var(--text, #222);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--blue, #3C2A96);
    color: var(--white, #fff);
    border-color: var(--blue, #3C2A96);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.event-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.event-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.event-modal__wrapper {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 550px;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 2;
}

.event-modal.is-open .event-modal__wrapper {
    transform: translateY(0);
}

.event-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
}

.event-modal__close:hover {
    color: #333;
}

.event-modal__date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal, #3EA7C4);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-modal__title {
    font-size: 1rem;
    margin: 0 0 15px 0;
    color: var(--text, #222);
}

.event-modal__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.no-events {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text, #444);
    padding: 40px 0;
}

@media (max-width: 991px) {
    .events-split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .events-split-layout__left {
        position: relative;
        top: 0;
        height: 300px;
    }
    .events-split-layout__right {
        min-height: auto;
    }
}

/* ABOUT US ANIMATION GRID */

