﻿/* =========================================
   FRAMEBOXX INSTITUTE - MAIN STYLESHEET
   ========================================= */

/* ---- GOOGLE FONTS ---- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;600;700;800;900&display=swap");

/* ---- ROOT VARIABLES ---- */
:root {
  --dark-bg: #0a0a0a;
  --dark-bg2: #141414;
  --dark-bg3: #1a1a1a;
  --orange: #ffcc00;
  --gold: #ffcc00;
  --white: #ffffff;
  --light-gray: #f8f8f8;
  --text-muted: #aaaaaa;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 204, 0, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --gradient-orange: linear-gradient(135deg, #ffcc00, #ffaa00);
  --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  --shadow-orange: 0 8px 32px rgba(255, 204, 0, 0.25);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-light: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* stops AOS off-screen elements from creating a horizontal scrollbar */
  max-width: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
  position: relative; /* position:relative is required for overflow-x:hidden to clip correctly in all browsers */
  max-width: 100%;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---- GLOBAL HORIZONTAL-SCROLL PREVENTION ---- */
/* Every section clips AOS animated children that are temporarily off-screen */
section,
footer,
#topbar,
nav {
  overflow-x: hidden;
  max-width: 100%;
}

/* Bootstrap .row uses negative horizontal margins; keep them inside their container */
.row {
  --bs-gutter-x: 1.5rem;
  margin-right: 0;
  margin-left: 0;
}
.row > * {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

/* Swiper containers must clip slides */
.swiper {
  overflow: hidden !important;
}

/* Tables & code blocks */
table,
pre {
  max-width: 100%;
  overflow-x: auto;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg2);
}
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 3px;
}

/* ---- SELECTION ---- */
::selection {
  background: var(--orange);
  color: var(--white);
}

/* =========================================
   TOP BAR
   ========================================= */
#topbar {
  background: linear-gradient(90deg, #0d0d0d, #1a1400);
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
  padding: 8px 0;
  font-size: 13px;
  z-index: 1100;
}

#topbar .topbar-phone a {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

#topbar .topbar-phone a:hover {
  color: var(--orange);
}

#topbar .topbar-phone i {
  color: var(--orange);
  margin-right: 6px;
}

.btn-topbar-enquire {
  background: var(--gradient-orange);
  color: var(--white) !important;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  transition: var(--transition);
}

.btn-topbar-enquire:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}

/* =========================================
   NAVIGATION
   ========================================= */
#mainNav {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 204, 0, 0.12);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1050;
}

#mainNav.scrolled {
  background: rgba(8, 8, 8, 0.98);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.navbar-brand img {
  height: 52px;
  transition: var(--transition);
}

.navbar-brand img:hover {
  opacity: 0.85;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 11px !important;
  position: relative;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-orange);
  border-radius: 2px;
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

.btn-nav-call {
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange) !important;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-call:hover {
  background: var(--orange);
  color: var(--white) !important;
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

.btn-nav-enquire {
  background: var(--gradient-orange);
  border: none;
  color: var(--white) !important;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-enquire:hover {
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
  opacity: 0.9;
}

.navbar-toggler {
  border: 1.5px solid var(--orange);
  padding: 5px 8px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,204,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================================
   SECTION COMMON STYLES
   ========================================= */
.section-pad {
  padding: 90px 0;
}
.section-pad-sm {
  padding: 60px 0;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title span {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-orange);
  border-radius: 2px;
  margin: 12px auto 18px;
}

.section-divider-left {
  margin-left: 0;
}

/* Dark section */
.bg-dark-section {
  background: var(--dark-bg2);
}
.bg-darker {
  background: var(--dark-bg);
}

/* White section — text overrides */
.bg-white-section {
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.bg-white-section .section-title {
  color: #111111;
}

.bg-white-section .section-subtitle {
  color: #666666;
}

.bg-white-section .hero-badge {
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.3);
}

.bg-white-section .custom-swiper-prev,
.bg-white-section .custom-swiper-next {
  color: #333;
}

.bg-white-section .swiper-pagination-orange .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.2);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-orange {
  background: var(--gradient-orange);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-orange:hover {
  color: var(--white);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark-bg);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.3);
}

.btn-sm-orange {
  background: var(--gradient-orange);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 12px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sm-orange:hover {
  color: var(--white);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

.btn-sm-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 12px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-sm-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

/* =========================================
   HERO SLIDER
   ========================================= */
#heroSlider {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
}

.hero-slide {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.5) 60%,
    rgba(10, 10, 10, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid rgba(255, 204, 0, 0.4);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--white);
}

.hero-heading .highlight {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 580px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 50px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero Swiper nav */
#heroSlider .swiper-pagination-bullet {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: var(--transition);
}

#heroSlider .swiper-pagination-bullet-active {
  background: var(--orange);
  width: 50px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, 0.4);
  background: rgba(255, 204, 0, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}

.hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounceY 2s infinite;
}

.scroll-indicator i {
  color: var(--orange);
  font-size: 18px;
}

@keyframes bounceY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* =========================================
   ALUMNI SECTION
   ========================================= */
#alumni {
  background: var(--dark-bg2);
  padding: 80px 0;
}

.alumni-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-bg3);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange);
  border-color: var(--orange);
}

.alumni-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.alumni-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.alumni-card:hover .alumni-img-wrap img {
  transform: scale(1.08);
}

.alumni-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(255, 204, 0, 0.85) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.alumni-card:hover .alumni-overlay {
  opacity: 1;
}

.alumni-overlay a {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 16px;
  transition: var(--transition);
}

.alumni-overlay a:hover {
  background: var(--dark-bg);
  color: var(--white);
}

.alumni-info {
  padding: 14px 16px;
  text-align: center;
}

.alumni-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.alumni-info span {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}

/* =========================================
   RECRUITERS TICKER — WHITE BACKGROUND
   ========================================= */
#recruiters {
  background: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

#recruiters .section-title {
  color: #111111;
}
#recruiters .section-subtitle {
  color: #666666;
}
#recruiters .hero-badge {
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.3);
}

.recruiter-track-wrap {
  overflow: hidden;
  position: relative;
}

.recruiter-track-wrap::before,
.recruiter-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.recruiter-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.recruiter-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, #ffffff, transparent);
}

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

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

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.recruiter-item {
  flex-shrink: 0;
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  padding: 12px;
  filter: grayscale(20%) brightness(0.95);
  transition: var(--transition);
}

.recruiter-item:hover {
  filter: grayscale(0) brightness(1);
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.recruiter-item img {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
}

/* =========================================
   ABOUT US
   ========================================= */
#about {
  background: var(--dark-bg2);
  padding: 90px 0;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 500px;
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gradient-orange);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-orange);
}

.about-img-badge span {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.about-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.about-text strong {
  color: var(--orange);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-orange);
  transform: scaleX(0);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}
.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* =========================================
   COURSES SECTION
   ========================================= */
#courses {
  background: var(--dark-bg);
  padding: 90px 0;
}

.course-card {
  background: var(--dark-bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--shadow-orange);
  border-color: var(--orange);
}

.course-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrap img {
  transform: scale(1.07);
}

.course-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.course-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.course-actions {
  display: flex;
  gap: 10px;
}

/* =========================================
   WHY CHOOSE US — WHITE BACKGROUND
   ========================================= */
#why-choose {
  background: #ffffff;
  padding: 90px 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

#why-choose .section-title {
  color: #111111;
}
#why-choose .section-subtitle {
  color: #666666;
}
#why-choose .hero-badge {
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.3);
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.04), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 16px 48px rgba(255, 204, 0, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.12),
    rgba(255, 204, 0, 0.06)
  );
  border: 1.5px solid rgba(255, 204, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  color: var(--orange);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-orange);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-orange);
  transform: rotateY(180deg);
}

.feature-card h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   STUDENTS' WORK / PORTFOLIO
   ========================================= */
#students-work {
  background: var(--dark-bg);
  padding: 90px 0;
}

.portfolio-grid {
  columns: 5;
  column-gap: 14px;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(255, 204, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-overlay i {
  font-size: 28px;
  color: var(--white);
  transform: scale(0.5);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-item-overlay i {
  transform: scale(1);
}

@media (max-width: 1199px) {
  .portfolio-grid {
    columns: 4;
  }
}
@media (max-width: 991px) {
  .portfolio-grid {
    columns: 3;
  }
}
@media (max-width: 767px) {
  .portfolio-grid {
    columns: 2;
  }
}
@media (max-width: 480px) {
  .portfolio-grid {
    columns: 2;
    column-gap: 8px;
  }
}

/* =========================================
   LIFE AT FRAMEBOXX GALLERY
   ========================================= */
#gallery {
  background: var(--dark-bg2);
  padding: 90px 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--glass-bg);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-orange);
  border-color: transparent;
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  pointer-events: none; /* let clicks pass through to the <a class="glightbox"> beneath */
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-size: 12px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-orange);
  padding: 3px 10px;
  border-radius: 50px;
}

/* =========================================
   STUDENT REVIEWS — VIDEO CAROUSEL
   ========================================= */
.rv-section {
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.rv-section .section-title {
  color: #111111;
}
.rv-section .section-subtitle {
  color: #666666;
}
.rv-section .hero-badge {
  background: rgba(255, 204, 0, 0.1);
  border-color: rgba(255, 204, 0, 0.3);
}

/* ── Video card ── */
.rv-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: block;
}

.rv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* ── Thumbnail ── */
.rv-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.rv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.rv-card:hover .rv-thumb img {
  transform: scale(1.06);
}

/* ── Overlay (dark tint + play button) ── */
.rv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.rv-card:hover .rv-overlay {
  background: rgba(0, 0, 0, 0.5);
}

/* Pulsing ring behind the play button */
.rv-ring {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 204, 0, 0.6);
  animation: rvRing 2s ease-out infinite;
}

@keyframes rvRing {
  0% {
    transform: scale(0.75);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Play button circle */
.rv-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  padding-left: 5px; /* optical centre for ▶ icon */
  box-shadow: 0 6px 24px rgba(255, 204, 0, 0.55);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.rv-card:hover .rv-play-btn {
  transform: scale(1.15);
  box-shadow: 0 10px 36px rgba(255, 204, 0, 0.7);
}

/* ── Bottom label ── */
.rv-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 28px 14px 10px;
  letter-spacing: 0.3px;
  text-align: center;
  pointer-events: none;
}

.rv-label i {
  color: #ff0000;
  margin-right: 5px;
}

/* ── Swiper nav (dark arrows on white bg) ── */
.rv-section .custom-swiper-prev,
.rv-section .custom-swiper-next {
  color: #333;
  border-color: rgba(255, 204, 0, 0.3);
  background: rgba(255, 204, 0, 0.06);
}

.rv-section .custom-swiper-prev:hover,
.rv-section .custom-swiper-next:hover {
  background: var(--orange);
  color: #fff;
}

.rv-section .swiper-pagination-orange .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.2);
}

/* =========================================
   VIDEO MODAL
   ========================================= */
.video-modal .modal-content {
  background: #0a0a0a;
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: var(--radius-lg);
}

.video-modal .modal-header {
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
  padding: 14px 20px;
}

.video-modal .modal-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.video-modal-body {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  overflow: hidden;
}

.video-modal-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Make modal dialog wider on desktop so video is comfortable */
#videoModal .modal-dialog {
  max-width: 820px;
}

@media (max-width: 767px) {
  #videoModal .modal-dialog {
    max-width: 100%;
    margin: 8px;
  }
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Thumbnail fills the entire placeholder area */
#videoThumbBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  display: block;
}

/* Dark scrim over the thumbnail */
.video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* ── Video placeholder content (shown when no URL set) ── */
.vp-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vp-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.vp-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  display: block;
}

/* ── Watch on YouTube button (modal footer) ── */
.vp-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff0000;
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.vp-yt-btn i {
  font-size: 20px;
}

.vp-yt-btn:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 0, 0, 0.55);
  color: #ffffff !important;
}

/* =========================================
   AFFILIATIONS
   ========================================= */
#affiliations {
  background: var(--dark-bg2);
  padding: 80px 0;
}

.affiliation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.affil-tab {
  background: var(--glass-bg);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.affil-tab.active,
.affil-tab:hover {
  background: var(--gradient-orange);
  border-color: transparent;
  color: var(--white);
}

.affil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.affil-logo {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: var(--transition);
}

.affil-logo:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
  transform: translateY(-3px);
}

.affil-logo img {
  max-width: 100%;
  max-height: 75px;
  object-fit: contain;
}

.affil-category-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 14px;
}

/* =========================================
   FAQ SECTION
   ========================================= */
#faq {
  background: #ffffff;
  padding: 90px 0;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

#faq .section-title {
  color: #111111;
}
#faq .section-subtitle {
  color: #666666;
}
#faq .hero-badge {
  background: rgba(255, 204, 0, 0.15);
  border-color: rgba(255, 204, 0, 0.4);
  color: #997700;
}

.accordion-item {
  background: #f8f8f8 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  background: #f8f8f8 !important;
  color: #111111 !important;
  font-weight: 600;
  font-size: 15px;
  padding: 18px 22px;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: #997700 !important;
  background: rgba(255, 204, 0, 0.1) !important;
}

.accordion-button::after {
  filter: none;
}

.accordion-body {
  background: #ffffff !important;
  color: #555555;
  font-size: 14px;
  line-height: 1.8;
  padding: 0 22px 18px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
#contact {
  background: var(--dark-bg2);
  padding: 90px 0;
}

.contact-form-wrap {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
  padding: 12px 16px;
  border-radius: var(--radius) !important;
  font-size: 14px;
  transition: var(--transition);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15) !important;
  background: rgba(255, 204, 0, 0.04) !important;
}

.form-select option {
  background: var(--dark-bg2);
  color: var(--white);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.branch-card {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  height: 100%;
}

.branch-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.branch-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(255, 204, 0, 0.2),
    rgba(255, 204, 0, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 20px;
}

.branch-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.branch-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  height: 320px;
  background: var(--dark-bg3);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(40%) invert(85%) hue-rotate(180deg);
}

/* =========================================
   FOOTER — COPYRIGHT ONLY
   ========================================= */
#footer {
  background: #080808;
  border-top: 1px solid rgba(255, 204, 0, 0.15);
  padding: 18px 0;
  text-align: center;
}

#footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

#footer p span {
  color: var(--orange);
}

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 150px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  border: none;
}

.float-whatsapp {
  background: #25d366;
}

.float-whatsapp:hover {
  background: #1fba58;
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.float-call {
  background: var(--gradient-orange);
}

.float-call:hover {
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-orange);
}

/* ---- VERTICAL ENQUIRE NOW TAB ---- */
/*
  How positioning works:
  1. .float-tab-wrap  → zero-size anchor fixed at right:0 / top:50%
                        (a single point on the right edge at vertical center)
  2. .float-vertical-enquire → absolute inside the wrapper, positioned at
     bottom:0 / right:0 so its bottom-right corner sits on the anchor point
  3. transform: rotate(-90deg) translateX(50%)
       - rotate(-90deg) with transform-origin:bottom right pivots around that corner,
         swinging the button up and to the left → fully inside the viewport
       - translateX(50%) in the already-rotated frame moves the button along what
         is now the original Y-up axis, shifting it up by W/2 → centers it at 50vh
  4. border-radius: 10px 10px 0 0 → after -90° CCW rotation the two rounded corners
     end up on the LEFT (open/page) side; the RIGHT side (screen edge) stays straight
*/
.float-tab-wrap {
  position: fixed;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 9001;
}

.float-vertical-enquire {
  position: absolute;
  bottom: 0;
  right: 0;

  /* 1. Pivot around the bottom-right corner (= the anchor point on screen edge)
     2. Rotate CCW so button stands vertically, flush against right edge
     3. Shift up by 50% of own width to center it around the anchor      */
  transform-origin: bottom right;
  transform: rotate(-90deg) translateX(50%);

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-orange);
  color: var(--white);
  border: none;
  padding: 13px 26px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  box-shadow: -5px 0 24px rgba(255, 204, 0, 0.45);
  transition:
    box-shadow 0.3s ease,
    letter-spacing 0.3s ease;
}

.float-vertical-enquire:hover {
  color: var(--white);
  letter-spacing: 1px;
  box-shadow: -7px 0 32px rgba(255, 204, 0, 0.6);
}

.float-label {
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  position: absolute;
  right: 60px;
}

.float-btn-wrap:hover .float-label {
  opacity: 1;
  transform: translateX(0);
}

.float-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Scroll to Top */
#scrollTop {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 9000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-orange);
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
}

#scrollTop.show {
  display: flex;
}

#scrollTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4);
}

/* Mobile sticky bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8999;
  background: #101010;
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  padding: 10px 0;
}

.mobile-sticky-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}

.mobile-sticky-bar .ms-call {
  color: var(--orange);
}
.mobile-sticky-bar .ms-whatsapp {
  color: #25d366;
}
.mobile-sticky-bar i {
  font-size: 18px;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 64px;
  }
  .floating-btns {
    bottom: 150px;
  }
}

/* =========================================
   ENQUIRY POPUP
   ========================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: var(--dark-bg2);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.popup-overlay.show .popup-box {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--orange);
  color: var(--white);
}

.popup-header {
  margin-bottom: 24px;
}

.popup-header h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.popup-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.popup-header .popup-logo img {
  height: 40px;
  margin-bottom: 14px;
}

/* =========================================
   COUNTER ANIMATION
   ========================================= */
.counter-val {
  display: inline-block;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
  .section-pad {
    padding: 60px 0;
  }
  .hero-stats {
    gap: 16px;
  }
  #mainNav .btn-nav-call,
  #mainNav .btn-nav-enquire {
    display: none;
  }

  .navbar-collapse {
    background: rgba(10, 10, 10, 0.97);
    margin-top: 12px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 204, 0, 0.15);
  }

  .navbar-nav .nav-link {
    padding: 10px 8px !important;
  }

  /* Pull hero arrows closer to edges so they don't add width */
  .hero-arrow.hero-prev {
    left: 10px !important;
  }
  .hero-arrow.hero-next {
    right: 10px !important;
  }
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-heading {
    font-size: clamp(22px, 7vw, 36px);
  }
  .hero-desc {
    font-size: 13px;
  }
  .hero-btns .btn-orange,
  .hero-btns .btn-white,
  .hero-btns .btn-outline-orange {
    padding: 10px 20px;
    font-size: 13px;
  }
  .contact-form-wrap {
    padding: 24px 18px;
  }
  .popup-box {
    padding: 28px 20px;
  }
  .affil-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  /* Hide scroll indicator — it sits at right:40px and can widen the page on phones */
  .scroll-indicator {
    display: none;
  }

  /* Tighten recruiter fade masks so they don't add phantom width */
  .recruiter-track-wrap::before,
  .recruiter-track-wrap::after {
    width: 60px;
  }

  /* Keep popup fully inside viewport */
  .popup-box {
    width: calc(100% - 32px);
    margin: 0 16px;
  }

  /* Hero stat row wraps cleanly */
  .hero-stats {
    gap: 12px;
  }
  .hero-stat-number {
    font-size: 22px;
  }
}

/* =========================================
   MISC UTILITIES
   ========================================= */
.text-orange {
  color: var(--orange) !important;
}
.text-gold {
  color: var(--gold) !important;
}
.bg-orange {
  background: var(--gradient-orange) !important;
}
.border-orange {
  border-color: var(--orange) !important;
}

.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* swiper nav custom */
.custom-swiper-prev,
.custom-swiper-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 204, 0, 0.35);
  background: rgba(255, 204, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 15px;
}

.custom-swiper-prev:hover,
.custom-swiper-next:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.swiper-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.swiper-pagination-orange .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  width: 8px;
  height: 8px;
}

.swiper-pagination-orange .swiper-pagination-bullet-active {
  background: var(--orange);
  width: 20px;
  border-radius: 4px;
}

/* Make glightbox anchors block-level so the full card is clickable */
.portfolio-item > a.glightbox,
.gallery-item > a.glightbox {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0; /* removes gap under inline-block images */
}

/* Glightbox custom */
.glightbox-clean .gslide-description {
  background: var(--dark-bg2);
}

/* AOS custom override */
[data-aos] {
  pointer-events: auto !important;
}












#callme {
    position: fixed;
    right: 5px;
    bottom: 70px;
    width: 70px;
    height: 70px;
    cursor: pointer;
  
    z-index: 99990;
}
#callme #callmeMain {
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    border-radius: 50% !important;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: rgb(40 167 69);
    width: 60px;
    height: 60px;
    -webkit-animation: zcwmini2 1.5s 0s ease-out infinite;
    -moz-animation: zcwmini2 1.5s 0s ease-out infinite;
    animation: zcwmini2 1.5s 0s ease-out infinite;
}
#callme #callmeMain:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -6px;
    left: -6px;
    background-image: url(../images/mini.png);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-animation: zcwphone2 1.5s linear infinite;
    -moz-animation: zcwphone2 1.5s linear infinite;
    animation: zcwphone2 1.5s linear infinite;
}
@-webkit-keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-webkit-keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}