/* =========================================================
   ABERBED INSTA TRADING WORK PLC — PREMIUM CSS
   Design: Modern + Luxury + Tech + Corporate
   ========================================================= */

/* ─── CSS Custom Properties ─── */
:root {
  --gold:          #C9A84C;
  --gold-light:    #E8C870;
  --gold-dark:     #9A7230;
  --navy:          #0A0E1A;
  --navy-mid:      #0F1628;
  --navy-light:    #1A2540;
  --blue-accent:   #1E6FEB;
  --blue-light:    #4B9FFF;
  --silver:        #B0BEC5;
  --white:         #FFFFFF;
  --off-white:     #F5F6FA;
  --text-dark:     #1A1E2E;
  --text-mid:      #4A5568;
  --text-light:    #8896AA;
  --border-light:  rgba(255,255,255,0.08);
  --border-gold:   rgba(201,168,76,0.3);
  --glass-bg:      rgba(255,255,255,0.05);
  --glass-bg-light:rgba(255,255,255,0.9);
  --shadow-sm:     0 4px 24px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 48px rgba(0,0,0,0.12);
  --shadow-lg:     0 20px 80px rgba(0,0,0,0.18);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:  'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Base Reset ─── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--gold); text-decoration: none; }

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

/* ─── Selection ─── */
::selection { background: var(--gold); color: var(--navy); }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  text-align: center;
}
.loader-logo img {
  height: 80px;
  animation: pulse 1.5s ease-in-out infinite;
  margin: 0 auto 24px;
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
  border-radius: 2px;
  animation: load 1.2s ease-in-out forwards;
}

@keyframes load {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.96); }
}

/* ============================================================
   GOLD UTILITY
   ============================================================ */
.gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   GLASS MORPHISM CARDS
   ============================================================ */
.glass-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.glass-card-dark {
  background: rgba(15,22,40,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--navy) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  color: var(--navy) !important;
}
.btn-gold:hover::after {
  background: rgba(255,255,255,0.12);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  background: transparent;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ============================================================
   SECTION BADGE
   ============================================================ */
.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.2));
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-badge.light {
  background: rgba(201,168,76,0.2);
  border-color: rgba(201,168,76,0.5);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.section-body {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ============================================================
   PREMIUM SECTION WRAPPER
   ============================================================ */
.premium-section {
  padding: 100px 0;
  position: relative;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: all var(--transition);
}

.site-navbar.scrolled,
.site-navbar.is-sticky {
  background: rgba(10,14,26,0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.site-logo img { height: 60px; transition: height var(--transition); }
.site-navbar.scrolled .site-logo img { height: 50px; }

.site-navigation .site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.site-navigation .site-menu li a.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8) !important;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
}
.site-navigation .site-menu li a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--transition);
}
.site-navigation .site-menu li a.nav-link:hover,
.site-navigation .site-menu li a.nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.06);
}
.site-navigation .site-menu li a.nav-link:hover::after,
.site-navigation .site-menu li a.nav-link.active::after {
  width: 60%;
}

/* ── Hamburger button ── */
.hamburger {
  position: relative;
  z-index: 1050;
  background: rgba(10,14,26,0.45);
  border: 2px solid rgba(201,168,76,0.5);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.hamburger:hover,
.hamburger:focus { border-color: var(--gold); outline: none; background: rgba(201,168,76,0.1); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

/* Animated X when menu is open */
.offcanvas-menu .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.offcanvas-menu .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.offcanvas-menu .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Prevent body scroll when menu is open ── */
.offcanvas-menu { overflow: hidden; }

/* ── Mobile Overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.offcanvas-menu .mobile-overlay { opacity: 1; visibility: visible; }

/* ── Mobile Menu Panel ── */
.site-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh; /* iOS dynamic viewport height */
  background: var(--navy-mid);
  z-index: 1200;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--border-gold);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}
.offcanvas-menu .site-mobile-menu { transform: translateX(0); }

.site-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background: var(--navy-mid);
  z-index: 1;
}
.site-mobile-menu-logo img { height: 50px; }

/* Larger tap target for close button */
.site-mobile-menu-close {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--white);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  -webkit-tap-highlight-color: transparent;
}
.site-mobile-menu-close:hover { opacity: 1; color: var(--gold); border-color: var(--border-gold); }

.site-mobile-menu-body { padding: 20px 24px; }

/* ── Mobile Nav Links ── */
.site-mobile-menu .site-nav-wrap {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-mobile-menu .site-nav-wrap li a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 14px 0;
  min-height: 48px; /* WCAG tap target */
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s, padding-left 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  -webkit-tap-highlight-color: transparent;
}
.site-mobile-menu .site-nav-wrap li a:hover,
.site-mobile-menu .site-nav-wrap li a:focus { color: var(--gold); padding-left: 8px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,14,26,0.88) 0%,
    rgba(15,22,40,0.75) 50%,
    rgba(10,14,26,0.85) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 20px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 2;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-gold);
}

.hero-scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-dot {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 15px;
  position: relative;
}
.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 28px; opacity: 0; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}
.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  max-height: 520px;
}
.about-accent-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  z-index: 2;
}
.about-accent-card .accent-icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.about-accent-card strong {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.premium-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.premium-check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.5;
}
.premium-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  background: var(--off-white);
}
.features-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(201,168,76,0.04));
  pointer-events: none;
}

.features-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.features-slider-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.custom-direction {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  transition: all var(--transition);
  border: 1px solid var(--border-gold);
}
.slider-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.1);
}
.custom-next .icon-keyboard_backspace { transform: rotate(180deg); display: inline-block; }

.feature-slide { padding: 8px 0; }
.feature-slide-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section { background: var(--white); }

.team-card {
  overflow: hidden;
}
/* Aspect-ratio container — eliminates face-cropping on any screen size */
.team-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 95%; /* slightly taller than square to show full face */
  overflow: hidden;
  background: var(--navy-light);
}
.team-img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
  /* Fallback: never exceed natural image ratio */
  display: block;
}
.team-card:hover .team-img-wrap img { transform: scale(1.06); }

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}
.team-card:hover .team-overlay { opacity: 1; }

.team-social {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-social li a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.team-social li a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.team-info {
  padding: 20px 24px;
  background: var(--white);
}
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio-section { background: var(--off-white); }

.portfolio-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 10px 28px;
  background: transparent;
  border: 2px solid rgba(0,0,0,0.12);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10,14,26,0.2);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
  color: var(--navy);
}

.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
/* Use aspect-ratio so all images scale proportionally without cropping */
.portfolio-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}
.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.8), rgba(201,168,76,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  font-size: 2rem;
  color: var(--white);
  transform: scale(0.6);
  transition: transform var(--transition);
}
.portfolio-item:hover .portfolio-overlay span { transform: scale(1); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--navy);
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(30,111,235,0.06) 0%, transparent 60%);
}
.services-section .section-title { color: var(--white); }
.services-section .section-lead { color: rgba(255,255,255,0.65); }
.services-section .section-badge {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
}

.service-card {
  padding: 36px 32px;
  height: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.1));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: var(--gold);
}
.service-icon span {
  font-size: 1.8rem;
  color: var(--gold);
  transition: color var(--transition);
}
.service-card:hover .service-icon span { color: var(--navy); }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  padding: 5px 0 5px 20px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.05);
  line-height: 1.5;
}
.service-list li:first-child { border-top: none; }
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ============================================================
   SPECIALTIES SECTION
   ============================================================ */
.specialties-section { background: var(--off-white); }

.specialty-card {
  padding: 28px 24px;
  height: 100%;
}
.specialty-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.specialty-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.specialty-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.specialty-img {
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background: var(--navy-mid);
  overflow: hidden;
}
.testimonials-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(30,111,235,0.05) 0%, transparent 60%);
}

.testimonials-slider .owl-dots {
  text-align: center;
  margin-top: 40px;
}
.testimonials-slider .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 4px;
}
.testimonials-slider .owl-dots .owl-dot span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.testimonials-slider .owl-dots .owl-dot.active span {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

.testimonial-card {
  padding: 48px 48px 40px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 0.7;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0 0 32px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.testimonial-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-info span {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--white); }

.blog-card {
  overflow: hidden;
}
.blog-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}
.blog-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }
.blog-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.blog-img-overlay span {
  padding: 10px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.blog-card:hover .blog-img-overlay { opacity: 1; }

.blog-content {
  padding: 24px;
}
.blog-title {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.blog-title a {
  color: var(--text-dark);
  transition: color var(--transition);
}
.blog-title a:hover { color: var(--gold); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--off-white); }

.contact-card {
  padding: 36px 28px;
}
.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.08));
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-icon span {
  font-size: 1.5rem;
  color: var(--gold);
}
.contact-label {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
.contact-card p a {
  color: var(--text-mid);
  display: block;
  transition: color var(--transition);
}
.contact-card p a:hover { color: var(--gold); }

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-md) !important;
  padding: 0 !important;
}
.map-wrap iframe {
  display: block;
  border-radius: var(--radius-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.premium-footer {
  background: var(--navy);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-light);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links-list li a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
  color: var(--gold);
  font-size: 0.8rem;
}
.footer-links-list li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-links-list li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.subscribe-input-wrap {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color var(--transition);
}
.subscribe-input-wrap:focus-within { border-color: var(--gold); }
.subscribe-input-wrap input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  outline: none;
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.subscribe-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.subscribe-input-wrap button {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.subscribe-input-wrap button:hover { opacity: 0.9; }

.footer-bottom {
  padding: 28px 0;
  background: rgba(0,0,0,0.2);
}
.footer-logo-link img { height: 70px; }
.footer-copy {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-copy a {
  color: var(--gold);
}
.footer-copy a:hover { color: var(--gold-light); }
.footer-copy .icon-heart { margin: 0 2px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

/* ============================================================
   OWL CAROUSEL — TESTIMONIALS OVERRIDE
   ============================================================ */
.testimonials-slider .owl-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.testimonials-slider .owl-nav button {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 50%;
  color: var(--white) !important;
  font-size: 1.2rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.testimonials-slider .owl-nav button:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

/* ============================================================
   FLOATING PARTICLES (decorative)
   ============================================================ */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0%   { transform: translateY(100%) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ============================================================
   RESPONSIVE — COMPREHENSIVE v2.0
   ============================================================ */

/* ── iOS: fixed background-attachment breaks on Safari mobile ── */
@media (max-width: 991px) {
  .hero-bg { background-attachment: scroll; }
}

@media (max-width: 1199px) {
  .premium-section { padding: 80px 0; }
}

@media (max-width: 991px) {
  .premium-section     { padding: 60px 0; }
  .about-accent-card   { display: none; }
  .premium-check-list  { grid-template-columns: 1fr; }
  .testimonial-card    { padding: 32px 28px; }
  .hero-stat-divider   { display: none; }
  .hero-stats          { gap: 24px; }
  .about-main-img      { max-height: 380px; }
  .specialty-img       { max-height: 300px; }
}

@media (max-width: 767px) {
  .premium-section    { padding: 50px 0; }
  .hero-title         { font-size: 2.2rem; }
  .hero-subtitle      { font-size: 0.85rem; }
  .hero-actions       { gap: 12px; }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline-white { padding: 12px 28px; font-size: 0.82rem; }
  .testimonial-card   { padding: 28px 20px; }
  .service-card       { padding: 28px 24px; }
  .footer-top         { padding: 50px 0 40px; }
  .footer-heading::after { display: none; }
  .filter-btn         { padding: 8px 18px; font-size: 0.78rem; }
  .features-slider-wrap img { height: auto; aspect-ratio: 4/3; }
  .blog-img-wrap img  { height: auto; aspect-ratio: 16/9; }
}

@media (max-width: 575px) {
  .section-title      { font-size: 1.7rem; }
  .hero-badge         { font-size: 0.72rem; }
  .portfolio-item img { height: auto; aspect-ratio: 4/3; }
  .blog-img-wrap img  { height: auto; aspect-ratio: 16/10; }
}

@media (max-width: 480px) {
  .premium-section    { padding: 40px 0; }
  .section-title      { font-size: 1.55rem; }
  .section-badge      { font-size: 0.7rem; padding: 5px 14px; }
  .hero-content       { padding: 100px 12px 60px; }
  .service-card       { padding: 24px 20px; }
  .back-to-top        { bottom: 16px; right: 16px; width: 42px; height: 42px; font-size: 1.2rem; }
}

@media (max-width: 400px) {
  .hero-actions       { flex-direction: column; align-items: center; }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline-white { width: 100%; max-width: 280px; justify-content: center; }
  .site-logo img      { height: 48px; }
}

/* ── Newsletter footer: stack on mobile ── */
@media (max-width: 480px) {
  .subscribe-input-wrap { flex-direction: column; border-radius: var(--radius-sm); }
  .subscribe-input-wrap input  { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .subscribe-input-wrap button { width: 100%; border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 14px; }
}

/* ── Testimonials mobile ── */
@media (max-width: 480px) {
  .testimonial-card-v2 { border-radius: 16px; }
  .tc-inner { padding: 24px 18px 20px; }
  .tc-text  { font-size: 0.88rem; }
  .tc-avatar { width: 48px; height: 48px; }
}

/* ============================================================
   AOS ANIMATION OVERRIDES
   ============================================================ */
[data-aos] { will-change: transform, opacity; }

/* ============================================================
   ISOTOPE & FILTER ANIMATION
   ============================================================ */
.portfolio-grid .item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ============================================================
   STICKY HEADER OVERRIDE
   ============================================================ */
.sticky-wrapper {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: auto !important;
}

/* ============================================================
   HIDE OLD LOADER / OVERLAYER
   ============================================================ */
#overlayer { display: none; }
.loader    { display: none; }

/* ============================================================
   TESTIMONIALS V2 — PERFECT AUTO-SLIDE
   ============================================================ */

/* Top decorative border */
.testimonials-top-border {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--blue-light), var(--gold), transparent);
  opacity: 0.6;
}

/* Slider wrapper — contains arrows inside */
.testimonials-slider-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

/* OWL outer container */
.testimonials-slider {
  /* let owl handle sizing */
}

/* Each slide wrapper */
.tslide {
  padding: 8px 8px 16px;
}

/* The card itself */
.testimonial-card-v2 {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.22);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card-v2:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.45);
}

/* Card inner content */
.tc-inner {
  padding: 44px 48px 40px;
  position: relative;
}
@media (max-width: 767px) { .tc-inner { padding: 32px 24px 28px; } }

/* Giant quote mark */
.tc-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.18;
  margin-bottom: 20px;
  user-select: none;
}

/* Gold star rating */
.tc-stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
}

/* Quote text */
.tc-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  margin: 0 0 32px;
  border: none;
  padding: 0;
  quotes: none;
}
@media (max-width: 767px) { .tc-text { font-size: 0.93rem; } }

/* Author row */
.tc-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Avatar with animated gold ring */
.tc-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.tc-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  border: 3px solid var(--gold);
}
.tc-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(45deg, var(--gold), var(--gold-light), transparent, var(--gold-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: spin-ring 4s linear infinite;
}
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Author text */
.tc-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.tc-role {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Custom Prev/Next Arrows ── */
.tc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(15,22,40,0.75);
  backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}
.tc-arrow svg { width: 22px; height: 22px; }
.tc-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.tc-arrow:hover svg { stroke: var(--navy); }
.tc-prev { left: -70px; }
.tc-next { right: -70px; }

@media (max-width: 1100px) {
  .tc-prev { left: -28px; }
  .tc-next { right: -28px; }
}
@media (max-width: 767px) {
  .tc-prev { left: 4px; }
  .tc-next { right: 4px; }
  .tc-arrow { width: 42px; height: 42px; background: rgba(15,22,40,0.9); }
}

/* ── Footer: dots + progress bar ── */
.tc-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.tc-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
  position: relative;
}
.tc-dot.active {
  background: var(--gold);
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(201,168,76,0.5);
}
.tc-dot:hover { background: rgba(201,168,76,0.5); }

/* Progress bar */
.tc-progress-track {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.tc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ── OWL overrides for testimonials ── */
.testimonials-slider .owl-stage-outer { border-radius: 24px; }
.testimonials-slider .owl-nav { display: none !important; }
.testimonials-slider .owl-dots { display: none !important; }

/* ── OWL animate fade (required for animateOut/animateIn) ── */
.owl-carousel .animated { animation-duration: 600ms; animation-fill-mode: both; }
.owl-carousel .owl-animated-in  { z-index: 0; }
.owl-carousel .owl-animated-out { z-index: 1; }
.owl-carousel .fadeOut { animation-name: owlFadeOut; }
.owl-carousel .fadeIn  { animation-name: owlFadeIn; }
@keyframes owlFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes owlFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
