@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0f4f8;
  --navy-blue: #1b2e4b;
  --navy-light: #283e60;
  --slate-gray: #4a5c68;
  --slate-light: #b8c3c5;
  --accent-color: #5c7b9e;
  --accent-dark: #3a5475;
  --text-primary: #1c2830;
  --text-secondary: #526370;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-accent: 'Bebas Neue', sans-serif;

  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(16,49,64,0.08);
  --shadow-md: 0 8px 24px rgba(16,49,64,0.12);
  --shadow-lg: 0 20px 48px rgba(16,49,64,0.16);
  --shadow-xl: 0 32px 64px rgba(16,49,64,0.22);
  --border-radius: 4px;
  --border-radius-lg: 8px;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; color: var(--navy-blue); font-size: clamp(3rem, 6vw + 1rem, 5.5rem); }
h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy-blue); font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem); }
h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy-blue); font-size: clamp(1.3rem, 2vw + 0.3rem, 1.75rem); }
h4 { font-family: var(--font-body); font-weight: 600; color: var(--navy-blue); font-size: 1rem; letter-spacing: 0.02em; }
p { font-size: clamp(0.9rem, 1vw + 0.3rem, 1.05rem); color: var(--text-secondary); }

.text-gold { color: var(--accent-color) !important; }
.text-white { color: #fff !important; }

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--accent-color); }
.section-label.centered { justify-content: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 2.75rem);
  text-align: center;
  margin-bottom: 4rem;
  color: var(--navy-blue);
  position: relative;
}
.section-title span { color: var(--accent-color); }
.section-title::after { content: ''; display: block; width: 60px; height: 2px; background: var(--accent-color); margin: 16px auto 0; }

/* =============================================
   LAYOUT
   ============================================= */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-secondary); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 34px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 0; cursor: pointer; transition: var(--transition);
  border: none; position: relative; overflow: hidden;
}
.btn-primary { background: var(--navy-blue); color: #fff; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-color);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 0;
}
.btn-primary:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; color: #fff; }
.btn-primary:hover { color: #fff; }

.btn-outline { background: transparent; color: var(--navy-blue); border: 1.5px solid var(--navy-blue); }
.btn-outline:hover { background: var(--navy-blue); color: #fff; }
.btn-gold { background: var(--accent-color); color: var(--navy-blue); font-weight: 600; }
.btn-gold:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

/* =============================================
   BACK TO HOME BUTTON (all inner pages)
   ============================================= */
.back-to-home {
  position: fixed;
  top: 90px;
  left: 20px;
  z-index: 997;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-left: 3px solid var(--accent-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-decoration: none;
  overflow: hidden;
}
.back-to-home::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent-color);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s ease; z-index: 0;
}
.back-to-home:hover::before { transform: scaleX(1); transform-origin: left; }
.back-to-home:hover { color: var(--navy-blue); box-shadow: var(--shadow-lg); }
.back-to-home i, .back-to-home span { position: relative; z-index: 1; }
.back-to-home:hover i, .back-to-home:hover span { color: var(--navy-blue); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 99997; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff; border-bottom: 1px solid rgba(16,49,64,0.06);
}
.navbar.menu-open {
  z-index: 99999 !important;
}
.navbar.sticky {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(16,49,64,0.08);
  border-bottom: 1px solid rgba(16,49,64,0.08);
}
.nav-logo{
  max-height: 80%;
  width: auto;
  transition: var(--transition);
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 76px;
  padding: 0 24px;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo img { height: 50px; transition: var(--transition); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--navy-blue); position: relative; padding: 6px 4px;
  white-space: nowrap; transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; width: 0; height: 2px;
  bottom: -2px; left: 0; background: var(--accent-color); transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--accent-color); }
.nav-links a.active { color: var(--accent-color); }

.nav-links .btn-primary { padding: 10px 20px; font-size: 0.8rem; color: #fff !important; border-radius: 4px; border: 1.5px solid var(--navy-blue); font-weight: 600; }
.nav-links .btn-primary::after { display: none; }
.nav-links .btn-primary:hover { background: var(--accent-color); border-color: var(--accent-color); color: var(--navy-blue) !important; }

/* Hide mobile nav header on desktop by default */
.mobile-nav-header { display: none; }

/* =============================================
   LAPTOP & DESKTOP NAV RESPONSIVENESS
   ============================================= */
/* Laptop Width (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
  .navbar-container { height: 98px; padding: 0 4%; }
  .logo img { height: 70px; }
  .nav-links { gap: 32px; }
  .nav-links a { font-size: 16px; padding: 10px 14px; }
  .nav-links .btn-primary { padding: 12px 24px; font-size: 0.88rem; }
}

/* Desktop Width (1440px+) */
@media (min-width: 1440px) {
  .navbar-container { height: 110px; padding: 0 5%; }
  .logo img { height: 80px; }
  .nav-links { gap: 40px; }
  .nav-links a { font-size: 18px; padding: 12px 18px; }
  .nav-links .btn-primary { padding: 14px 28px; font-size: 0.94rem; }
}

/* Tablet & Smaller Landscape Width (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-container { height: 86px; padding: 0 24px; }
  .logo img { height: 60px; }
}

/* Force the button to catch clicks */
.menu-toggle {
  position: relative;
  z-index: 100000 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

/* Ensure no other layer is blocking the button */
.navbar-container {
  position: relative;
  z-index: 99990; 
}
/* Ensure the toggle button is always on top of the overlay */
.menu-toggle {
  z-index: 100000 !important; /* Highest priority */
}

/* Fix the nav-links (drawer) container */
.nav-links {
  z-index: 99999; /* Just below the toggle button */
}

/* Ensure overlay is strictly between the page and the drawer */
.nav-overlay {
  z-index: 99998; 
}

/* Ensure the navbar itself doesn't trap interaction */
.navbar {
  z-index: 99997;
}

/* Hamburger */
.menu-toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; z-index: 100000 !important; position: relative;
  background: transparent; border: none; padding: 4px;
  /* Must be above nav-links drawer (99999) AND overlay (99998) at all times */
}
.menu-toggle .bar {
  display: block; width: 26px; height: 2px;
  background: var(--navy-blue); transition: var(--transition);
  transform-origin: center;
}
.menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle.active .bar { background: var(--accent-color); }

/* Dark overlay */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 99998; opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* Tablet & Mobile Menu Base (Tablet Slide-out from Left) */
@media (max-width: 1024px) {
  .menu-toggle { display: flex !important; z-index: 100000 !important; }
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 70vw; max-width: none; height: 100vh;
    background: #0f1624;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    gap: 0;
    z-index: 99999;
    box-shadow: 10px 0 30px rgba(0,0,0,0.4);
  }
  .nav-links.active { transform: translateX(0); }

  /* Drawer Logo Header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    padding: 0 32px;
    height: 86px; /* Match tablet header height */
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .mobile-nav-header img {
    height: 40px;
    filter: brightness(0) invert(1);
    object-fit: contain;
  }

  /* Inside mobile menu colors */
  .nav-links a { 
    color: rgba(255,255,255,0.7) !important; 
    padding: 20px 32px !important; 
    font-size: 0.95rem !important; 
    border-bottom: 1px solid rgba(255,255,255,0.04); 
    width: 100%; 
    display: flex !important; 
    border-left: 3px solid transparent;
  }
  .nav-links a:hover, .nav-links a.active { 
    color: var(--accent-color) !important; 
    background: rgba(255,255,255,0.02); 
    padding-left: 40px !important; 
    border-left: 3px solid var(--accent-color);
  }
  .nav-links a.btn-primary { 
    width: calc(100% - 64px); margin: 20px 32px; 
    text-align: center; justify-content: center; 
    background: var(--accent-color) !important; 
    color: var(--navy-blue) !important; 
    border-left: none;
  }
  .nav-links a.btn-primary i { color: var(--navy-blue) !important; }
  .nav-links li { border-bottom: none; width: 100%; }
}

/* Mobile Full-Screen Drawer -> 80vw Drawer */
@media (max-width: 768px) {
  .nav-links { width: 80vw; max-width: none; }
  .mobile-nav-header {
    height: 76px; /* Match mobile header height */
  }
  .mobile-nav-header img {
    height: 36px;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    width: 100%;
  }
  .nav-links li:last-child { border-bottom: none; margin-top: auto; padding: 20px 32px; }

  .nav-links a {
    display: flex !important;
    align-items: center;
    padding: 18px 32px !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.65) !important;
    border-bottom: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
  }
  .nav-links a::before {
    content: '';
    position: absolute; left: 0; top: 0;
    width: 3px; height: 100%;
    background: var(--accent-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s ease;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active {
    color: #fff !important;
    background: rgba(255,255,255,0.04);
    padding-left: 40px !important;
  }
  .nav-links a:hover::before, .nav-links a.active::before { transform: scaleY(1); }
  .nav-links a.active { color: var(--accent-color) !important; }

  .nav-links a.btn-primary {
    display: flex !important;
    margin: 0;
    width: calc(100% - 64px);
    justify-content: center;
    padding: 14px 24px !important;
    font-size: 0.82rem !important;
    background: var(--accent-color) !important;
    color: var(--navy-blue) !important;
    letter-spacing: 0.08em;
    border-radius: 2px;
  }
  .nav-links a.btn-primary i { color: var(--navy-blue) !important; }
  .nav-links a.btn-primary:hover { 
    background: #fff !important; 
    color: var(--navy-blue) !important;
    padding-left: 24px !important;
  }
}



/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh; min-height: 620px;
  position: relative; display: flex; align-items: center;
  color: white; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -5vh;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(105deg, rgba(27,46,75,0.92) 0%, rgba(27,46,75,0.6) 60%, rgba(27,46,75,0.2) 100%);
  z-index: -1;
}
.hero-content { max-width: 760px; padding-top: 72px; }
.hero-subtitle {
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-color); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.hero-subtitle::before { content: ''; display: block; width: 40px; height: 1px; background: var(--accent-color); }
.hero-content h1 { color: #fff; margin-bottom: 28px; font-style: italic; }
.hero-content h1 em { font-style: normal; color: var(--accent-color); }
.hero-content > p { color: rgba(255,255,255,0.75); margin-bottom: 44px; max-width: 520px; font-size: 1.05rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.hero-scroll {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,0.4); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   STATS
   ============================================= */
.stats-section { background: var(--bg-light); padding: 80px 0; }
.stats-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  max-width: 1000px;
  margin: 0 auto;
  gap: 20px; 
  text-align: center; 
}
.stat-item { 
  background: var(--navy-blue);
  padding: 36px 20px; 
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14,24,38,0.15);
}
.stat-item h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  color: var(--accent-color); 
  margin-bottom: 8px; 
  font-weight: 700; 
  font-style: italic;
  line-height: 1;
}
.stat-item p { 
  color: #a0aec0; 
  font-size: 0.72rem; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  font-weight: 600; 
  margin: 0;
}

/* =============================================
   ABOUT SECTION (HOMEPAGE)
   ============================================= */
.about-home { padding: 120px 0; background: var(--bg-primary); }
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.about-home-img-wrap { position: relative; padding-bottom: 32px; padding-right: 32px; }
.about-home-img-wrap img { width: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; }
.about-home-badge {
  position: absolute; bottom: 0; right: 0;
  background: var(--accent-color); padding: 28px 24px; text-align: center;
}
.about-home-badge h2 {
  font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 700; color: var(--navy-blue); margin-bottom: 2px; font-style: italic;
}
.about-home-badge p { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-blue); }
.about-home-text { display: flex; flex-direction: column; gap: 0; }
.about-home-features { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-home-feature { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-secondary); }
.about-home-feature i { color: var(--accent-color); font-size: 0.9rem; flex-shrink: 0; }

/* Mission / Vision / Why Us cards */
.about-mvw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}
.mvw-card {
  background: var(--bg-secondary);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border-top: 3px solid transparent;
}
.mvw-card:hover { background: var(--navy-blue); border-top-color: var(--accent-color); transform: translateY(-4px); }
.mvw-card .mvw-icon {
  font-size: 2.2rem; color: var(--accent-color);
  margin-bottom: 20px; display: block; transition: var(--transition);
}
.mvw-card h4 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 14px; transition: color 0.3s;
  letter-spacing: 0.01em;
}
.mvw-card p { font-size: 0.9rem; line-height: 1.7; transition: color 0.3s; }
.mvw-card:hover h4 { color: #fff; }
.mvw-card:hover p { color: rgba(255,255,255,0.65); }
.mvw-card:hover .mvw-icon { color: var(--accent-color); }

/* Team highlight mini-strip */
.team-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.team-card {
  background: var(--bg-secondary);
  padding: 32px 24px;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.team-card:hover { border-bottom-color: var(--accent-color); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--navy-blue); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; color: var(--accent-color);
  font-style: italic; font-weight: 700;
}
.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { font-size: 0.82rem; color: var(--accent-color); letter-spacing: 0.06em; text-transform: uppercase; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.service-card {
  background: #fff; padding: 48px 32px; transition: var(--transition);
  position: relative; overflow: hidden;
  border: 1px solid rgba(14,24,38,0.06); text-align: center;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--accent-color); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card::after {
  content: ''; position: absolute; inset: 0; background: var(--navy-blue);
  z-index: 0; transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { transform: scaleY(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .icon, .service-card h3, .service-card p { position: relative; z-index: 1; transition: color 0.4s; }
.service-card .icon { font-size: 2.8rem; color: var(--accent-color); margin-bottom: 22px; display: block; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; font-weight: 600; font-family: var(--font-body); }
.service-card p { font-size: 0.88rem; line-height: 1.65; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,0.75); }
.service-card:hover .icon { color: var(--accent-color); }

/* Mobile horizontal scroll for services */
.services-scroll-wrapper {
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.services-scroll-wrapper::-webkit-scrollbar { display: none; }

/* =============================================
   PROJECTS
   ============================================= */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card { overflow: hidden; position: relative; cursor: pointer; height: 380px; box-shadow: var(--shadow-sm); }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.project-card:hover .project-img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,24,38,0.92) 0%, rgba(14,24,38,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.project-status {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent-color); color: var(--navy-blue);
  padding: 5px 14px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.project-info h3 { color: white; font-size: 1.35rem; margin-bottom: 6px; transform: translateY(16px); transition: var(--transition); font-family: var(--font-display); }
.project-info p { color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; font-size: 0.85rem; transform: translateY(16px); opacity: 0; transition: var(--transition); transition-delay: 0.1s; }
.project-card:hover .project-info h3 { transform: translateY(0); }
.project-card:hover .project-info p { transform: translateY(0); opacity: 1; }

/* Detailed project cards (projects.php page) */
.project-card-detail {
  background: var(--bg-secondary);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.project-card-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card-detail img { width: 100%; height: 240px; object-fit: cover; }
.project-card-detail-body { padding: 24px; }
.project-card-detail-body h3 { margin-bottom: 8px; font-size: 1.2rem; }
.project-card-detail-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 0.85rem; color: var(--accent-color); }
.project-card-detail-meta .status-badge { background: var(--accent-color); color: var(--navy-blue); padding: 3px 10px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.project-card-detail-body p { font-size: 0.9rem; line-height: 1.65; }

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; height: 250px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(14,24,38,0.55);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: white; font-size: 1.8rem; transform: scale(0) rotate(-15deg); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.gallery-item:hover .gallery-overlay i { transform: scale(1) rotate(0deg); }

/* Swiper gallery */
.gallerySwiper .gallery-item { height: 300px; }
.swiper-container { width: 100%; padding-bottom: 50px !important; overflow: hidden; }
.swiper-pagination-bullet { background: var(--navy-blue) !important; opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1 !important; background: var(--accent-color) !important; }

.review-next, .review-prev, .gallery-next, .gallery-prev {
  width: 48px !important; height: 48px !important;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  transition: var(--transition); top: auto !important; bottom: 0;
}
.review-next { right: 0 !important; }
.review-prev { left: auto !important; right: 56px !important; }
.review-next:hover, .review-prev:hover { background: var(--accent-color); border-color: var(--accent-color); }
.review-next::after, .review-prev::after, .gallery-next::after, .gallery-prev::after { font-size: 14px !important; color: #fff; font-weight: 600; }
.gallery-next, .gallery-prev { border-color: rgba(14,24,38,0.15); background: rgba(255,255,255,0.8); }
.gallery-next { right: 0 !important; }
.gallery-prev { left: auto !important; right: 56px !important; }
.gallery-next::after, .gallery-prev::after { color: var(--navy-blue); }
.gallery-next:hover, .gallery-prev:hover { background: var(--navy-blue); border-color: var(--navy-blue); }
.gallery-next:hover::after, .gallery-prev:hover::after { color: #fff; }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section { background: var(--navy-blue); padding: 100px 0 130px; position: relative; overflow: hidden; }
.reviews-section::before {
  content: '"'; font-family: var(--font-display); font-size: 28rem;
  color: rgba(255,255,255,0.02); position: absolute; top: -80px; left: -40px; line-height: 1; pointer-events: none;
}
.reviews-section .section-title { color: white; }
.reviews-section .section-title span { color: var(--accent-color); }
.reviews-section .section-title::after { background: var(--accent-color); }
.reviews-section .section-label { color: var(--accent-color); }

.review-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 40px 32px; text-align: center; height: 100%; transition: var(--transition);
}
.review-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(200,169,110,0.35); transform: translateY(-4px); }
.review-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 2px solid var(--accent-color); }
.review-stars { color: var(--accent-color); margin-bottom: 18px; font-size: 0.9rem; letter-spacing: 2px; }
.review-text { font-size: 0.95rem; font-style: italic; color: rgba(255,255,255,0.7); margin-bottom: 22px; line-height: 1.75; }
.review-author h4 { color: white; font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.review-author p { color: var(--accent-color); font-size: 0.8rem; letter-spacing: 0.06em; }

/* Reviews standalone page grid */
.reviews-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.review-page-card {
  background: var(--bg-secondary); padding: 32px; text-align: center;
  border-bottom: 3px solid transparent; transition: var(--transition);
}
.review-page-card:hover { border-bottom-color: var(--accent-color); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-page-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 2px solid var(--accent-color); }
.review-page-stars { color: var(--accent-color); margin-bottom: 14px; }
.review-page-text { font-style: italic; color: var(--text-secondary); margin-bottom: 18px; font-size: 0.95rem; line-height: 1.7; }
.review-page-name { font-family: var(--font-body); font-weight: 600; color: var(--navy-blue); margin-bottom: 4px; }
.review-page-role { color: var(--accent-color); font-size: 0.82rem; letter-spacing: 0.06em; }

/* =============================================
   CONTACT HOME SECTION
   ============================================= */
.contact-home { padding: 100px 0; background: var(--bg-primary); }
.contact-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-home-item { display: flex; flex-direction: row; gap: 18px; align-items: center; margin-bottom: 28px; }
.contact-home-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid rgba(14,24,38,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-color); font-size: 1rem;
}
.contact-home-item h4 { margin-bottom: 4px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-home-item p { font-size: 0.92rem; }
.contact-home-item p a { color: var(--text-secondary); }
.contact-home-item p a:hover { color: var(--accent-color); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 0.9rem;
  border: 1px solid rgba(14,24,38,0.12); background: #fff; color: #0A2A66 !important; outline: none; transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent-color); }
.contact-form textarea { resize: vertical; min-height: 100px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-item { display: flex; flex-direction: row; gap: 18px; align-items: center; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; flex-shrink: 0; border: 1px solid rgba(14,24,38,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent-color); font-size: 1rem; }
.contact-item h4 { margin-bottom: 4px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item p { font-size: 0.95rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; padding-bottom: 32px; padding-right: 32px; }
.about-img-wrap img { width: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 0; right: 0;
  background: var(--accent-color); padding: 28px 24px; text-align: center;
}
.about-badge h2 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--navy-blue); margin-bottom: 2px; font-style: italic; }
.about-badge p { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-blue); }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0 36px; }
.about-feature { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-secondary); }
.about-feature i { color: var(--accent-color); font-size: 1rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--navy-blue); color: white; padding: 80px 0 0; text-align: center; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid > div { flex: 1 1 200px; max-width: 300px; }
.footer h4 { color: white; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 28px; font-family: var(--font-body); font-weight: 600; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--slate-light); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-color); }
.footer-desc { color: var(--slate-light); font-size: 0.9rem; line-height: 1.75; margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }
.social-links-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
  gap: 14px;
}
.social-links-footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  width: fit-content;
}
.social-links-footer a i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0rem;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-links-footer a span {
  transition: color 0.3s ease;
}

/* Hover effects */
.social-links-footer a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}
.social-links-footer a:hover i {
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(184, 182, 170, 0.25);
  transform: scale(1.08);
}
.social-links-footer a.social-fb:hover i { background: #1877F2; }
.social-links-footer a.social-ig:hover i { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-links-footer a.social-wa:hover i { background: #25d366; }
.social-links-footer a.social-email:hover i { background: #ea4335; }
.footer-contact-item { display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--slate-light); font-size: 0.9rem; margin-bottom: 14px; }
.footer-contact-item i { color: var(--accent-color); margin-top: 3px; flex-shrink: 0; width: 16px; }
.footer-bottom { text-align: center; padding: 22px 0; color: var(--slate-light); font-size: 0.82rem; letter-spacing: 0.03em; }

/* =============================================
   FLOATING CONTACT WIDGET
   FIX: z-index 99999, correct positioning at all breakpoints,
   responsive sizes, never clipped by overflow
   ============================================= */
.contact-widget-container {
  position: fixed !important;
  bottom: 25px;
  right: 25px;
  z-index: 99996 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateZ(0);
  transition: transform 0.4s ease, bottom 0.4s ease;
  will-change: transform, bottom;
}
.contact-widget-container.push-up {
  bottom: 80px;
}

.widget-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-widget-container.open .widget-options { opacity: 1; pointer-events: all; transform: translateY(0); }

.widget-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex !important; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: var(--transition); position: relative;
  color: #fff; text-decoration: none;
  flex-shrink: 0;
}
.widget-btn:hover { transform: scale(1.12); color: #fff; }
.widget-phone   { background: #3b82f6; }
.widget-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.widget-facebook  { background: #1877F2; }
.widget-whatsapp  { background: #25d366; }

.widget-tooltip {
  position: absolute; right: 60px;
  background: var(--navy-blue); color: #fff;
  font-size: 0.72rem; font-weight: 500; padding: 5px 12px;
  white-space: nowrap; opacity: 0; transform: translateX(8px);
  transition: all 0.25s ease; pointer-events: none;
}
.widget-btn:hover .widget-tooltip { opacity: 1; transform: translateX(0); }

/* Trigger button — Desktop 65-70px */
.widget-trigger {
  width: clamp(65px, 5vw, 70px);
  height: clamp(65px, 5vw, 70px);
  border-radius: 50%;
  background: var(--navy-blue); color: #fff;
  box-shadow: 0 8px 30px rgba(14,24,38,0.4);
  display: flex !important; align-items: center; justify-content: center;
  transition: var(--transition); border: none; cursor: pointer;
  animation: triggerPulse 3s infinite;
  flex-shrink: 0;
}
.widget-trigger:hover { background: var(--accent-color); transform: scale(1.08); animation: none; }
.contact-widget-container.open .widget-trigger { background: var(--slate-gray); animation: none; }
.widget-trigger-close-icon { font-size: 1.5rem; display: none; line-height: 1; }
.contact-widget-container.open .widget-trigger-chat-icon { display: none; }
.contact-widget-container.open .widget-trigger-close-icon { display: block; }

@keyframes triggerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,24,38,0.5); }
  50% { box-shadow: 0 0 0 14px rgba(14,24,38,0); }
}

/* =============================================
   PAGE SECTIONS
   ============================================= */
.page-section { padding: 150px 0 100px; }
.mt-center { text-align: center; margin-top: 50px; }
.accent-gold { color: var(--accent-color) !important; }
[data-aos] { transition-duration: 700ms !important; }

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

/* 1280px — wide laptop */
@media (max-width: 1280px) {
  .contact-home-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-home-grid { gap: 60px; }
}

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
  .navbar, .navbar.sticky {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 10000 !important;
  }
  /* Ensure open mobile menu has higher stacking priority than dark overlay at all times */
  .navbar.menu-open {
    z-index: 99999 !important;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; justify-items: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 50px; }
  .contact-grid { gap: 40px; }
  .about-mvw-grid { grid-template-columns: 1fr; }
  .team-strip { grid-template-columns: repeat(3, 1fr); }
  .about-home-grid { gap: 48px; }
  /* Widget: tablet */
  .widget-trigger { width: clamp(55px, 7vw, 60px); height: clamp(55px, 7vw, 60px); }
  .contact-widget-container { bottom: 20px; right: 20px; }
}

/* 991px — tablet portrait (nav switches to hamburger here) */
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-home-grid { grid-template-columns: 1fr; }
  .about-home-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-mvw-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .team-strip { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-content { max-width: 100%; }
  .hero-actions { flex-direction: column; width: fit-content; }
  /* Back to home: smaller on tablet */
  .back-to-home { top: 80px; font-size: 0.7rem; padding: 9px 14px; }
}

/* 820px (iPad) */
@media (max-width: 820px) {
  .about-mvw-grid { grid-template-columns: 1fr; }
  .team-strip { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px — mobile landscape / large phone */
@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
  .about-home { padding: 80px 0; }
  .page-section { padding: 110px 0 70px; }

  /* Services: 2 cols */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }

  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { height: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  /* Stats Mobile layout matching reference */
  .stats-section { padding: 60px 0; background: var(--navy-blue); }
  .stats-grid { 
    grid-template-columns: 1fr; 
    gap: 0; 
    border-radius: 8px; 
    overflow: hidden; 
    background: #0f1624; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .stat-item { 
    border-radius: 0; 
    box-shadow: none; 
    background: transparent; 
    border: none; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    padding: 32px 20px; 
  }
  .stat-item:hover { transform: none; box-shadow: none; background: rgba(255,255,255,0.02); }
  .stat-item:last-child { border-bottom: none; }
  .stat-item h3 { font-size: 2.8rem; color: #f59e0b; }
  .stat-item p { font-size: 0.65rem; color: #94a3b8; }

  .hero-scroll { display: none; }

  /* Widget: mobile */
  .widget-trigger { width: clamp(40px, 10vw, 45px); height: clamp(40px, 10vw, 45px); }
  .widget-btn { width: 44px; height: 44px; }
  .contact-widget-container { bottom: 15px; right: 15px; gap: 8px; }

  /* Back to home */
  .back-to-home { top: auto; bottom: 18px; left: 14px; font-size: 0.68rem; padding: 8px 12px; }

  .review-next, .review-prev, .gallery-next, .gallery-prev { width: 38px !important; height: 38px !important; }
  .review-prev { right: 46px !important; }
  .gallery-prev { right: 46px !important; }
}

/* 576px — landscape phones and mobile */
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 30px; }
}

/* 480px — small phones */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 22px; font-size: 0.78rem; }
  .hero { min-height: 560px; }
  .hero-subtitle { font-size: 0.62rem; }
  .hero-content h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-actions { gap: 10px; }
  .section-title { margin-bottom: 2.5rem; }
  .stat-item h3 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { height: 160px; }
  .about-img-wrap { padding-bottom: 20px; padding-right: 20px; }
  .about-badge h2 { font-size: 2rem; }
  .about-badge { padding: 18px 16px; }
  .about-home-badge h2 { font-size: 2rem; }
  .about-home-badge { padding: 18px 16px; }
  .mvw-card { padding: 32px 24px; }
  .back-to-home span { display: none; }
  .back-to-home { padding: 10px 12px; }

  /* Widget: small mobile 40px */
  .widget-trigger { width: clamp(38px, 12vw, 40px); height: clamp(38px, 12vw, 40px); }
  .widget-btn { width: 36px; height: 36px; }
  .contact-widget-container { bottom: 15px; right: 15px; }
}

/* 375px */
@media (max-width: 375px) {

  .contact-home-grid { gap: 28px; }
}

/* 320px */
@media (max-width: 320px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-home-grid { gap: 28px; }
}

/* =============================================
   PREMIUM GALLERY GRID & HOVER EFFECTS
   ============================================= */
.gallery-container {
  width: 85%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   PREMIUM MASONRY GALLERY GRID & HOVER
   ============================================= */
.gallery-grid-premium {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--navy-blue);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 49, 64, 0.9);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  pointer-events: none; /* PASS CLICKS DIRECTLY THROUGH TO CONTAINER FOR LIGHTBOX STABILITY! */
}

.gallery-overlay-content {
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.gallery-overlay-view {
  color: var(--accent-color);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.gallery-overlay-view i {
  font-size: 1.1rem;
  color: var(--accent-color);
}

.gallery-overlay-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.gallery-overlay-category {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Dynamic spans for each child to build a true premium masonry visual hierarchy */
.gallery-grid-premium .gallery-item:nth-child(10n+1) {
  grid-column: span 6;
  grid-row: span 3;
  height: 440px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+2) {
  grid-column: span 3;
  grid-row: span 2;
  height: 280px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+3) {
  grid-column: span 3;
  grid-row: span 2;
  height: 280px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+4) {
  grid-column: span 3;
  grid-row: span 3;
  height: 440px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+5) {
  grid-column: span 3;
  grid-row: span 2;
  height: 280px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+6) {
  grid-column: span 6;
  grid-row: span 2;
  height: 280px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+7) {
  grid-column: span 4;
  grid-row: span 2;
  height: 280px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+8) {
  grid-column: span 4;
  grid-row: span 3;
  height: 440px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+9) {
  grid-column: span 4;
  grid-row: span 2;
  height: 280px;
}
.gallery-grid-premium .gallery-item:nth-child(10n+10) {
  grid-column: span 12;
  grid-row: span 3;
  height: 400px;
}

/* Hover active states */
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

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

.gallery-item:hover .gallery-overlay-content {
  transform: translateY(0);
}

/* Responsive grid stacking (Tablet: 2 columns) */
@media (max-width: 1024px) {
  .gallery-grid-premium {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gallery-grid-premium .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 250px !important;
  }
  .gallery-grid-premium .gallery-item:nth-child(5n+1) {
    grid-column: span 2 !important;
    height: 320px !important;
  }
}

/* Responsive grid stacking (Mobile: 1 column) */
@media (max-width: 576px) {
  .gallery-grid-premium {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-grid-premium .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 200px !important;
  }
}

/* =============================================
   PAGINATION & GALLERY BANNER
   ============================================= */
.gallery-banner .bg-shape-1 {
  position: absolute;
  top: -10%; left: -10%;
  width: 30vw; height: 30vw;
  background: linear-gradient(135deg, rgba(184,182,170,0.04) 0%, transparent 80%);
  transform: rotate(45deg);
  z-index: 0; pointer-events: none;
}
.gallery-banner .bg-shape-2 {
  position: absolute;
  bottom: -15%; right: -5%;
  width: 40vw; height: 25vw;
  background: linear-gradient(45deg, rgba(184,182,170,0.05) 0%, transparent 60%);
  transform: rotate(-25deg);
  z-index: 0; pointer-events: none;
}
.gallery-banner span { color: var(--accent-color); }

.pag-btn {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(16,49,64,0.12);
  background: #ffffff;
  color: var(--navy-blue);
  font-family: var(--font-body);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-size: 0.95rem;
}
.pag-btn:hover {
  background: var(--navy-blue);
  color: #ffffff;
  border-color: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.pag-btn.active {
  background: var(--accent-color);
  color: var(--navy-blue);
  border-color: var(--accent-color);
}

/* Floating Back to Home Button */
.back-to-home-btn {
  position: fixed;
  top: 120px;
  left: 4%;
  z-index: 9999;
  background: rgba(16, 49, 64, 0.95);
  color: #ffffff;
  border: 1px solid var(--accent-color);
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.back-to-home-btn:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184, 182, 170, 0.35);
}
.back-to-home-btn i {
  transition: transform 0.3s ease;
}
.back-to-home-btn:hover i {
  transform: translateX(-5px);
}

@media (max-width: 1024px) {
  .back-to-home-btn {
    top: 105px;
    left: 20px;
    padding: 10px 18px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  .back-to-home-btn {
    position: relative;
    top: auto;
    left: auto;
    margin: 30px auto 10px;
    width: fit-content;
    display: flex;
    justify-content: center;
    box-shadow: none;
  }
}

/* Premium homepage View All Gallery button styles */
.gallery-view-all-btn {
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  color: var(--navy-blue);
  border: 2px solid var(--navy-blue);
  box-shadow: none;
}
.gallery-view-all-btn:hover {
  background: var(--navy-blue) !important;
  color: #ffffff !important;
  border-color: var(--navy-blue) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 49, 64, 0.2);
}

/* =============================================
   MODERN LIGHTBOX MODAL
   ============================================= */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(16, 49, 64, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  z-index: 100002;
  transition: all 0.3s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.lightbox-close:hover {
  background: var(--accent-color);
  color: var(--navy-blue);
  transform: rotate(90deg);
}

.lightbox-header {
  text-align: center;
  margin-bottom: 25px;
  z-index: 100001;
  width: 90%;
  max-width: 1200px;
}
#lightboxHeaderTitle {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
#lightboxHeaderCategory {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.lightbox-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

/* Image width adjustments by screen sizes */
@media (min-width: 1025px) {
  .lightbox-img-wrapper {
    width: 70%; /* Desktop: about 70% width */
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .lightbox-img-wrapper {
    width: 80%; /* Tablet: about 80% width */
  }
}
@media (max-width: 768px) {
  .lightbox-img-wrapper {
    width: 90%; /* Mobile: about 90% width */
  }
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  box-shadow: 0 25px 60px rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: opacity 0.15s ease;
}

/* Premium Flanking arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  z-index: 100005;
  text-decoration: none;
}
.lightbox-arrow.prev {
  left: 4%;
}
.lightbox-arrow.next {
  right: 4%;
}
.lightbox-arrow:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(184, 182, 170, 0.3);
}
.lightbox-arrow.prev:hover {
  transform: translate(-4px, -50%);
}
.lightbox-arrow.next:hover {
  transform: translate(4px, -50%);
}

.lightbox-footer {
  text-align: center;
  margin-top: 25px;
  z-index: 100001;
  width: 90%;
}
#lightboxCounter {
  font-size: 0.85rem;
  color: var(--accent-color);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

/* Responsive arrow handling for mobile/tablet */
@media (max-width: 1024px) {
  .lightbox-arrow.prev {
    left: 2%;
  }
  .lightbox-arrow.next {
    right: 2%;
  }
}
@media (max-width: 768px) {
  .lightbox-close {
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
  .lightbox-arrow {
    padding: 10px 14px;
    font-size: 14px;
  }
  .lightbox-arrow .arrow-text {
    display: none; /* Hide label on mobile to save space */
  }
  .lightbox-arrow.prev {
    left: 15px;
  }
  .lightbox-arrow.next {
    right: 15px;
  }
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
  position: fixed !important;
  bottom: 25px;
  left: 25px;
  right: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-blue);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9996 !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-color);
  color: var(--navy-blue);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.3);
}
.back-to-top i {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}
.back-to-top:hover i {
  transform: translateY(-2px);
}
.back-to-top.push-up {
  bottom: 80px;
}

@media (max-width: 768px) {
  .back-to-top {
    left: 20px !important;
    right: auto !important;
    bottom: 20px;
    width: 42px;
    height: 42px;
  }
  .back-to-top.push-up {
    bottom: 75px;
  }
}

@media print {
  .navbar, .contact-widget-container, .hero-scroll, .back-to-home, .back-to-top { display: none; }
}

/* ==========================================================================
   Royal Blue Hero Redesign Styles
   ========================================================================== */
   
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1; /* Video visibility */
}

.hero-overlay-cinematic {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 10, 21, 0.8) 100%);
    z-index: -1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.6) 0%, rgba(5, 10, 21, 0.9) 100%);
    z-index: -1;
    mix-blend-mode: multiply;
}

.blueprint-grid-layer {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(30, 94, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 94, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    transform: rotate(15deg);
    animation: gridPan 30s linear infinite;
    pointer-events: none;
}

@keyframes gridPan {
    0% { transform: rotate(15deg) translateY(0); }
    100% { transform: rotate(15deg) translateY(-120px); }
}

#hero-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.title-large {
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0px;
    line-height: 1;
    text-shadow: 0 10px 30px rgba(11, 61, 145, 0.5);
    font-family: var(--font-accent);
}

.title-second {
    font-size: 4rem;
    font-weight: 800;
    color: #1E5EFF; /* Electric Blue */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 5px 20px rgba(30, 94, 255, 0.4);
    font-family: var(--font-accent);
}

.btn-royal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0B3D91, #1E5EFF);
    color: #fff;
    padding: 16px 40px;
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(30, 94, 255, 0.3);
    text-decoration: none;
}

.btn-royal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #1E5EFF, #4DA8FF);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.btn-royal:hover::before {
    opacity: 1;
}

.btn-royal:hover {
    color: #fff;
    box-shadow: 0 15px 30px rgba(30, 94, 255, 0.5);
}

.btn-glass-royal {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(220, 230, 242, 0.2);
    color: #DCE6F2;
    padding: 16px 40px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-glass-royal::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all 0.5s ease;
}

.btn-glass-royal:hover::after {
    left: 100%;
}

.btn-glass-royal:hover {
    border-color: #1E5EFF;
    color: #fff;
    background: rgba(30, 94, 255, 0.1);
}

.floating-hero-stats {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 30px;
    z-index: 2;
}

.glass-panel-royal {
    background: rgba(11, 20, 40, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 230, 242, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border-left: 2px solid #1E5EFF;
}

.hero-stat-item {
    text-align: right;
}

.hero-stat-item h3 {
    font-size: 3rem;
    color: #1E5EFF;
    display: inline-block;
    margin-bottom: 0;
    font-family: var(--font-accent);
}

.hero-stat-item span {
    font-size: 2rem;
    color: #DCE6F2;
    font-family: var(--font-accent);
}

.hero-stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #5F6B7A;
    margin: 0;
}

.mouse-royal {
    width: 30px;
    height: 50px;
    border: 2px solid #DCE6F2;
    border-radius: 15px;
    position: relative;
    margin: 0 auto;
}

.mouse-royal::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #1E5EFF;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

.split-text .char {
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
/* Hero Cinematic Slider */
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; background: #000; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 2s ease-in-out; transform: scale(1); will-change: transform, opacity; }
.hero-slide.active { opacity: 1; transform: scale(1.15); transition: opacity 2s ease-in-out, transform 10s linear; }

/* --- HERO REFINEMENT --- */
:root { --navy-blue: #0A2A66; --navy-light: #2563EB; --sky-blue: #60A5FA; --text-primary: #F8FAFC; --text-dark: #111827; --bg-primary: #111827; }
.hero-overlay-cinematic { background: linear-gradient(180deg, rgba(10,42,102,0.8) 0%, transparent 40%, rgba(17,24,39,0.7) 100%) !important; z-index: 1 !important; pointer-events: none; }
.hero-gradient-overlay { background: radial-gradient(circle at bottom center, rgba(10, 42, 102, 0.4) 0%, transparent 70%) !important; mix-blend-mode: normal !important; z-index: 1 !important; pointer-events: none; }

/* Hero glass panel responsive padding */
.hero-glass-panel { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; box-shadow: none; border-radius: 16px; padding: clamp(24px, 5vw, 60px) clamp(16px, 4vw, 40px); max-width: 1200px; margin: 0 auto; text-align: center; }

.text-gradient-electric { background: linear-gradient(135deg, #60A5FA, #2563EB); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.text-gradient-soft { background: linear-gradient(135deg, #F8FAFC, #60A5FA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }

/* Fluid hero titles — scale smoothly from 320px to 1920px */
.title-large {
    font-family: 'Ethnocentric', sans-serif !important;
    font-size: clamp(1.8rem, 6vw, 5rem) !important;
    letter-spacing: clamp(1px, 0.3vw, 4px) !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    line-height: 1.1 !important;
    margin-bottom: 10px;
    word-break: break-word;
}
.title-second {
    font-family: 'Ethnocentric', sans-serif !important;
    font-size: clamp(1.3rem, 4vw, 3.5rem) !important;
    letter-spacing: clamp(1px, 0.4vw, 4px) !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    line-height: 1.1 !important;
    word-break: break-word;
}

.text-white { color: #ffffff !important; }

/* Responsive description text */
.desc-blur-fade {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    font-size: clamp(0.85rem, 2vw, 1.1rem) !important;
    line-height: 1.75 !important;
    color: rgba(248, 250, 252, 0.85) !important;
    max-width: 600px;
    margin: clamp(14px, 3vw, 25px) auto clamp(20px, 4vw, 40px);
    opacity: 0;
    filter: blur(10px);
    animation: blurFadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
}
@keyframes blurFadeUp { 0% { opacity: 0; filter: blur(10px); transform: translateY(20px); } 100% { opacity: 1; filter: blur(0px); transform: translateY(0); } }

/* Hero CTA buttons — responsive sizing, stack vertically on mobile */
.btn-electric { background: linear-gradient(135deg, #2563EB, #0A2A66) !important; color: #fff !important; box-shadow: 0 0 20px rgba(37, 99, 235, 0.4) !important; border: none !important; border-radius: 4px !important; padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 35px) !important; font-weight: 600 !important; font-size: clamp(0.78rem, 1.5vw, 0.9rem) !important; transition: all 0.4s ease !important; display: inline-block; letter-spacing: 1px; }
.btn-electric:hover { box-shadow: 0 0 30px rgba(37, 99, 235, 0.6) !important; transform: translateY(-2px) !important; color: #fff !important; }
.btn-white-glass { background: rgba(255,255,255,0.05) !important; border: 1px solid #2563EB !important; color: #fff !important; backdrop-filter: blur(5px) !important; border-radius: 4px !important; padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 35px) !important; font-weight: 600 !important; font-size: clamp(0.78rem, 1.5vw, 0.9rem) !important; transition: all 0.4s ease !important; position: relative; overflow: hidden; z-index: 1; display: inline-block; letter-spacing: 1px; }
.btn-white-glass::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #2563EB; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.btn-white-glass:hover::before { transform: scaleX(1); }
.btn-white-glass:hover { color: #fff !important; }

/* Hero actions — responsive layout */
.hero-section .hero-actions {
    display: flex !important;
    gap: clamp(10px, 2vw, 20px) !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

/* Mobile hero responsive overrides */
@media (max-width: 480px) {
    .hero-section { min-height: 100svh; }
    .hero-glass-panel { padding: 16px 12px !important; }
    .title-large { font-size: clamp(1.6rem, 9vw, 2.2rem) !important; letter-spacing: 1px !important; }
    .title-second { font-size: clamp(1.1rem, 6.5vw, 1.5rem) !important; letter-spacing: 1px !important; }
    .desc-blur-fade { font-size: 0.82rem !important; margin: 12px auto 20px !important; }
    .hero-section .hero-actions { flex-direction: column !important; gap: 10px !important; width: 100% !important; }
    .hero-section .hero-actions a { width: 85% !important; text-align: center !important; }
}

@media (max-width: 768px) and (min-width: 481px) {
    .hero-glass-panel { padding: 24px 20px !important; }
    .title-large { font-size: clamp(2rem, 7vw, 3rem) !important; }
    .title-second { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
    .hero-section .hero-actions { flex-direction: column !important; gap: 12px !important; }
    .hero-section .hero-actions a { min-width: 260px !important; text-align: center !important; }
}

#hero-particles { opacity: 0.5 !important; }
/* =============================================
   TEAM SECTION
   ============================================= */
.team-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.team-grid {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 5px;
    font-family: var(--font-heading, var(--font-display));
}

.team-info .designation {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 15px;
}

.team-info .description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}
/* Update team-card layout for horizontal design */
.team-card.horizontal-card {
    display: flex;
    flex-direction: row;
    max-width: 800px;
    align-items: stretch;
}

.horizontal-card .team-img-wrapper {
    flex: 0 0 40%;
    min-height: 300px;
}

.horizontal-card .team-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.horizontal-card .team-info {
    flex: 1;
    text-align: left;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-social-horizontal {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.team-social-horizontal a {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.team-social-horizontal a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .team-card.horizontal-card {
        flex-direction: column;
        max-width: 400px;
    }
    .horizontal-card .team-img-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }
    .horizontal-card .team-info {
        text-align: center;
        padding: 30px;
    }
    .team-social-horizontal {
        justify-content: center;
    }
}
