/* NeighbourFilms Theme - Advanced Modern Cinematic */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f8fa;
  --bg-alt: #ffffff;
  --text: #0a0a0a;
  --muted: #4a5568;
  --gold: #1e40af;
  --navy-700: #1e40af;
  --navy-600: #1d4ed8;
  --navy-500: #2563eb;
  --navy-400: #3b82f6;
  --navy-300: #60a5fa;
  --blue-500: #2563eb;
  --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 30%, #2563eb 60%, #1e40af 100%);
  --accent-gradient-radial: radial-gradient(circle at top left, #60a5fa, #3b82f6, #2563eb, #1e40af);
  --accent-gradient-subtle: linear-gradient(90deg, rgba(96,165,250,0.1), rgba(59,130,246,0.08), rgba(37,99,235,0.05));
  --card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(255,255,255,0.18);
  --glass: rgba(255,255,255,0.65);
  --glass-strong: rgba(255,255,255,0.85);
  --glass-dark: rgba(10,10,10,0.4);
  --shadow-sm: 0 2px 8px rgba(18, 38, 54, .06);
  --shadow: 0 10px 35px rgba(18, 38, 54, .10);
  --shadow-lg: 0 20px 60px rgba(18, 38, 54, .15);
  --shadow-xl: 0 30px 80px rgba(18, 38, 54, .20);
  --glow: 0 0 30px rgba(30,64,175,0.4);
  --glow-strong: 0 0 50px rgba(30,64,175,0.6);
  --vh: 1vh;
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html { 
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  background: #ffffff;
  padding: 16px;
}

body {
  min-height: calc(100vh - 32px);
  min-height: -webkit-fill-available;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Poppins', 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #ffffff;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: 24px;
  box-shadow: 
    0 25px 100px rgba(0, 168, 157, 0.2),
    0 10px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

@supports (-webkit-touch-callout: none) {
  html {
    height: -webkit-fill-available;
  }
}

/* Responsive rounded border adjustments */
@media (max-width: 768px) {
  html {
    padding: 8px;
  }
  
  body {
    min-height: calc(100vh - 16px);
    border-radius: 16px;
  }
  
  header.site-header {
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 480px) {
  html {
    padding: 4px;
  }
  
  body {
    min-height: calc(100vh - 8px);
    border-radius: 12px;
  }
  
  header.site-header {
    border-radius: 12px 12px 0 0;
  }
}

a, img, video { max-width: 100%; }
img, video { height: auto; display: block; }

a { 
  color: var(--text); 
  text-decoration: none; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
a:hover { 
  color: var(--teal-400); 
  transform: translateY(-1px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.container { 
  width: 100%; 
  max-width: 1600px;
  margin: 0 auto; 
  padding: 0 max(20px, 4vw);
}

/* Ensure containers don't cause horizontal scroll */
section, .hero, header, footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Modern Header with Enhanced Glass Effect */
/* Clean header style */
header.site-header { 
  position: sticky; top: 0; z-index: 9999;
  background: #ffffff; 
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}

/* remove decorative gradients for a cleaner look */
header.site-header::before { content:none; }
.header-grid { 
  display:grid; 
  grid-template-columns: 1fr auto auto; 
  align-items:center; 
  gap: 24px; 
  min-height: 72px; 
  position: relative;
  z-index: 1;
}

/* Bootstrap Navbar Customization */
.navbar {
  padding: 0;
  min-height: 72px;
}

.navbar-brand {
  margin-right: 0;
  padding: 0;
}

.navbar-toggler {
  border: 1px solid var(--border);
  background: var(--glass-strong);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: var(--card);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 168, 157, 0.25);
}

.navbar-toggler-icon {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 168, 157, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.navbar-nav .nav-link:hover {
  background: var(--glass);
  color: var(--gold);
}

.navbar-nav .nav-link.active {
  color: var(--gold);
  background: var(--glass);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* Tablet optimization (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 8px 14px;
    font-size: 14px;
  }
  
  .navbar-nav .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
  
  .brand {
    font-size: 1.05rem;
  }
}

/* Mobile optimization (< 768px) */
@media (max-width: 767px) {
  .navbar-collapse {
    margin-top: 16px;
    background: var(--glass-strong);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border);
  }
  
  .navbar-nav {
    gap: 8px;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    width: 100%;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
  }
  
  .navbar-nav .btn {
    width: 100%;
    margin-top: 8px;
  }
}

.nav-desktop { 
  display:flex; 
  gap: 4px; 
  justify-content:center; 
}

.nav-cta { 
  justify-self:end; 
}

.nav-toggle { 
  display:none !important; 
}

.nav-toggle:hover {
  background: var(--card);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.nav-toggle span { 
  display:block; 
  width:22px; 
  height:2px; 
  background: var(--text); 
  margin:3px 0; 
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-toggle.active {
  background: var(--card);
  border-color: var(--gold);
}

.mobile-menu { 
  display:none !important; 
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a { 
  display:flex;
  align-items: center; 
  padding:14px 12px; 
  color: var(--text);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(0,163,155,0.08);
  color: var(--gold);
  transform: translateX(4px);
}

.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

@media (max-width: 900px){
  /* Header mobile optimization */
  header.site-header {
    padding: 12px 0;
    width: 100%;
    max-width: 100vw;
  }
  
  .brand {
    font-size: 1.1rem;
  }
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-weight: 700; 
  font-size: 1.1rem;
  letter-spacing: -0.01em; 
  position: relative;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: translateY(0) !important;
}

.brand .accent { 
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.2em;
  text-shadow: 0 0 20px rgba(0,163,155,0.3);
}

.nav { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
}

.nav a { 
  padding: 10px 16px; 
  font-weight: 500;
  border-radius: 10px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav a.active::before,
.nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav a.active { 
  color: var(--gold);
  background: rgba(0,163,155,0.08);
}

.nav a:hover { 
  color: var(--teal-400);
  background: rgba(0,163,155,0.05);
  transform: translateY(-2px) !important;
}

/* Enhanced Hero Section */
.hero { 
  position: relative; 
  height: 80vh; 
  min-height: 500px; 
  display: grid; 
  place-items: center; 
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  z-index: 1;
}

.hero video, .hero img { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  filter: saturate(95%) brightness(0.95);
}

.hero-slides { 
  position:absolute; 
  inset:0; 
}

.hero-slide { 
  position:absolute; 
  inset:0; 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  opacity:0; 
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active { 
  opacity:1; 
}

.kenburns { 
  transform: scale(1.08); 
  animation: kenburns 15s ease-in-out infinite alternate; 
}

@keyframes kenburns { 
  from { transform: scale(1.08) translate(0, 0); } 
  to { transform: scale(1.15) translate(-10px, -8px); } 
}

.hero .overlay { 
  position: absolute; 
  inset: 0; 
  background: 
    radial-gradient(ellipse at 70% 30%, rgba(0,224,207,0.3), transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(0,196,143,0.25), transparent 60%),
    linear-gradient(180deg, 
      rgba(0,168,157,0.2) 0%, 
      rgba(0,0,0,0.35) 50%,
      rgba(0,0,0,0.70) 100%
    );
  backdrop-filter: blur(1px);
}

.hero-caption { 
  position:absolute; 
  bottom:90px; 
  left:50%; 
  transform: translateX(-50%); 
  text-align:center; 
  z-index:2; 
  width:min(920px, 92%); 
  color:#fff;
  animation: fadeInUp 1s ease 0.3s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%, 30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.hero-caption h1 { 
  margin:0 auto 16px; 
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  text-shadow: 0 10px 40px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.3);
  letter-spacing: -0.03em;
  color: #ffffff;
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
  padding: 0;
}

.hero-caption h1::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(20px);
  opacity: 0;
}

.hero-caption p { 
  margin:0 auto 28px; 
  color: rgba(255,255,255,0.95);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  text-shadow: 0 4px 16px rgba(0,0,0,.4);
  line-height: 1.6;
  max-width: 700px;
  text-align: center;
  width: 100%;
  padding: 0;
}

.hero-actions { 
  display:flex; 
  gap:14px; 
  justify-content:center; 
  align-items: center;
  flex-wrap:wrap;
  width: 100%;
}
.hero-dots { 
  display:flex; 
  gap:10px; 
  justify-content:center; 
}

.hero-controls { 
  position:absolute; 
  bottom:28px; 
  left:50%; 
  transform: translateX(-50%); 
  display:flex; 
  align-items:center; 
  gap:16px; 
  z-index:2;
  background: var(--glass-dark);
  backdrop-filter: blur(12px) saturate(150%);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.hero-dots button { 
  width:10px; 
  height:10px; 
  border-radius:999px; 
  border:1px solid rgba(255,255,255,.9); 
  background: rgba(255,255,255,.4); 
  cursor:pointer;
  transition: all 0.3s ease;
  position: relative;
}

.hero-dots button:hover {
  background: rgba(255,255,255,.7);
  transform: scale(1.2);
}

.hero-dots button.active { 
  background:#fff; 
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  transform: scale(1.3);
}

.hero-prev, .hero-next { 
  width:40px; 
  height:40px; 
  border-radius:999px; 
  border:1px solid rgba(255,255,255,.8); 
  background: rgba(255,255,255,.15); 
  backdrop-filter: blur(8px);
  color:#fff; 
  cursor:pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-prev:hover, .hero-next:hover {
  background: rgba(255,255,255,.3);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(255,255,255,.2);
}

.hero-progress { 
  position: absolute; 
  bottom: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 240px; 
  height: 3px; 
  background: rgba(255,255,255,.25); 
  border-radius: 999px; 
  overflow: hidden;
}

.hero-progress span { 
  display:block; 
  height:100%; 
  width:0; 
  background: linear-gradient(90deg, var(--teal-300), #fff);
  box-shadow: 0 0 10px rgba(255,255,255,.5);
}

/* Modern Button Styles */
.btn { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px; 
  border: 1px solid var(--border); 
  background: var(--glass-strong); 
  backdrop-filter: blur(12px) saturate(150%); 
  color: var(--text); 
  border-radius: 12px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.primary { 
  background: var(--accent-gradient); 
  color: #ffffff; 
  border: none;
  font-weight: 700;
  box-shadow: var(--shadow), var(--glow);
}

.btn.primary:hover { 
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--glow-strong);
}

.btn:hover { 
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  background: var(--card);
}

/* Beautiful Professional Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh; /* increase vertical space */
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  padding: 0;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1);
  transition: transform 15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Beautiful Ken Burns Effect - Zoom and Pan */
.hero-slide.active .hero-slide-img {
  animation: beautifulKenBurns 15s ease-in-out infinite alternate;
}

@keyframes beautifulKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  25% {
    transform: scale(1.08) translate(-2%, 1%);
  }
  50% {
    transform: scale(1.12) translate(1%, -1%);
  }
  75% {
    transform: scale(1.10) translate(-1%, 0%);
  }
  100% {
    transform: scale(1.15) translate(2%, 1%);
  }
}

/* Better positioning for mobile to show faces */
@media (max-width: 768px) {
  .hero-slide-img {
    object-position: center 20%;
  }
}

@media (max-width: 480px) {
  .hero-slide-img {
    object-position: center 15%;
  }
}

/* Cleaner overlay for hero slider */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.75), rgba(2, 6, 23, 0.35));
  z-index: 2;
}

/* removed pulse for a clean, stable look */

.hero-slide-content {
  position: absolute !important;
  top: 65% !important;
  left: 40px !important;
  transform: translate(0, -50%) !important;
  text-align: left !important;
  color: #ffffff;
  z-index: 3;
  width: 50% !important;
  max-width: 600px;
  padding: 0 24px;
  opacity: 0;
  transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

.hero-slide.active .hero-slide-content {
  opacity: 1 !important;
  transform: translate(0, -50%) !important;
  animation: beautifulFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes beautifulFadeInUp {
  0% {
    opacity: 0;
    transform: translate(0, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.hero-slide-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px 0;
  padding: 0;
  text-shadow: none; /* remove blue glow */
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: left !important;
  width: 100%;
  display: block;
  animation: none;
}

/* removed titleGlow animation for clean text */

.hero-slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin: 0 0 32px 0;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: none; /* remove glow */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center !important;
  display: inline-flex;
  align-items: center;
  width: auto;
  white-space: nowrap;
  background: rgba(0, 168, 157, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start !important;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.hero-slide-actions .btn {
  animation: buttonFloat 3s ease-in-out infinite;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.hero-slide-actions .btn:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-slide-actions .btn:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Beautiful Hero Navigation Controls */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: auto;
  height: auto;
  border: none;
  background: transparent; /* naked arrows */
  backdrop-filter: none;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  box-shadow: 
    none;
  animation: none; /* remove growing/glow effect */
}

@keyframes navPulse {
  0%, 100% {
    box-shadow: 
      0 6px 25px rgba(0, 123, 255, 0.6),
      0 3px 12px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 8px 35px rgba(0, 123, 255, 0.8),
      0 4px 15px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

.hero-nav:hover { transform: translateY(-50%) scale(1.15); background: transparent; }

.hero-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-nav-prev { left: 80px; }
.hero-nav-next { right: 80px; }

@media (min-width: 992px) {
  /* push arrows down near progress indicator while keeping dots centered */
  .hero-nav { top: 88%; }
}
@media (max-width: 991px) {
  .hero-nav-prev { left: 40px; }
  .hero-nav-next { right: 40px; }
  .hero-nav { top: 92%; }
}

/* Beautiful Hero Indicators (Dots) */
.hero-indicators {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
  position: relative;
}

.hero-indicator::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0);
  transition: all 0.4s ease;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 1);
}

.hero-indicator:hover::before {
  background: rgba(59, 130, 246, 0.3);
}

.hero-indicator.active {
  background: linear-gradient(135deg, #93c5fd, #60a5fa);
  width: 40px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 
    0 0 20px rgba(0, 228, 207, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Beautiful Auto-Advance Progress Bar */
.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.3);
  z-index: 11;
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, 
    rgba(147, 197, 253, 0.9),
    rgba(59, 130, 246, 1),
    rgba(0, 228, 207, 0.9)
  );
  box-shadow: 
    0 0 15px rgba(147, 197, 253, 0.8),
    0 0 30px rgba(59, 130, 246, 0.6);
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% {
    box-shadow: 
      0 0 15px rgba(147, 197, 253, 0.8),
      0 0 30px rgba(59, 130, 246, 0.6);
  }
  50% {
    box-shadow: 
      0 0 25px rgba(147, 197, 253, 1),
      0 0 40px rgba(59, 130, 246, 0.8);
  }
}

/* Modern Giving Form Styles */
.modern-giving-section {
  background: linear-gradient(135deg, rgba(30,64,175,0.02), rgba(37,99,235,0.04), rgba(59,130,246,0.02));
  padding: 80px 0;
}

.giving-hero {
  text-align: center;
  margin-bottom: 60px;
}

.giving-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.modern-giving-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Quick Amount Selection */
.quick-amounts {
  background: var(--card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.quick-amounts h3 {
  margin: 0 0 30px;
  text-align: center;
  color: var(--text);
  font-size: 1.3rem;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.amount-btn {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.amount-btn:hover {
  border-color: var(--navy-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.amount-btn.selected {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  border-color: var(--navy-500);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.amount-btn .amount {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.amount-btn .label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Modern Giving Form */
.modern-giving-form {
  background: var(--card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: sticky;
  top: 20px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.4rem;
}

.form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Amount Display */
.amount-display {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
  position: relative;
}

.selected-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.currency {
  font-size: 1.2rem;
  font-weight: 600;
}

.amount-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.edit-amount-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edit-amount-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Form Sections */
.form-section {
  margin-bottom: 30px;
}

.form-section h4 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: var(--bg-alt);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Giving Type Grid */
.giving-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.giving-type-option {
  cursor: pointer;
  position: relative;
}

.giving-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.type-card {
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.giving-type-option:hover .type-card {
  border-color: var(--navy-400);
  transform: translateY(-1px);
}

.giving-type-option input[type="radio"]:checked + .type-card {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  border-color: var(--navy-500);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.type-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.type-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.type-desc {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Custom Amount Modal */
.custom-amount-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--card);
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal-content h4 {
  margin: 0 0 20px;
  color: var(--text);
}

.custom-amount-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-500);
}

.custom-amount-input input {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  width: 200px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Checkbox Options */
.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--navy-500);
  border-color: var(--navy-500);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-text {
  color: var(--text);
}

/* Modern Submit Button */
.modern-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-600));
  color: white;
  border: none;
  border-radius: 16px;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.modern-submit-btn:hover {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-text {
  font-size: 1.1rem;
}

.btn-amount {
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.9;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-giving-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .amount-btn {
    padding: 20px 12px;
  }
  
  .amount-btn .amount {
    font-size: 1.2rem;
  }
  
  .giving-type-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .modern-giving-form {
    position: static;
  }
  
  .trust-badges {
    gap: 20px;
  }
  
  .trust-item {
    font-size: 0.8rem;
  }
}

/* Decorative corner accents */
.hero-slider::before,
.hero-slider::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 10;
  opacity: 0.15;
  pointer-events: none;
}

.hero-slider::before {
  top: 0;
  left: 0;
  border-top: 3px solid rgba(0, 228, 207, 0.8);
  border-left: 3px solid rgba(0, 228, 207, 0.8);
  border-top-left-radius: 24px;
}

.hero-slider::after {
  bottom: 0;
  right: 0;
  border-bottom: 3px solid rgba(0, 228, 207, 0.8);
  border-right: 3px solid rgba(0, 228, 207, 0.8);
  border-bottom-right-radius: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
    min-height: 450px;
    max-height: 600px;
  }
  
  .hero-slide-content {
    width: 90% !important;
    left: 40px !important;
    padding: 0 16px;
  }
  
  .hero-slide-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin: 0 0 16px 0 !important;
    padding: 0;
    text-align: left !important;
    width: 100%;
    letter-spacing: 0;
  }
  
  .hero-slide-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    margin: 0 0 30px 0 !important;
    padding: 8px 18px;
    text-align: left !important;
    width: max-content;
  }
  
  .hero-slider::before,
  .hero-slider::after {
    width: 50px;
    height: 50px;
  }
  
  .hero-slide-actions {
    flex-direction: column;
    gap: 12px;
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 0 !important;
  }
  
  .hero-slide-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-nav {
    width: 48px;
    height: 48px;
  }
  
  .hero-nav-prev {
    left: 16px;
  }
  
  .hero-nav-next {
    right: 16px;
  }
  
  .hero-indicators {
    bottom: 24px;
    gap: 8px;
  }
  
  .hero-indicator {
    width: 10px;
    height: 10px;
  }
  
  .hero-indicator.active {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-slide-content {
    width: 90% !important;
    left: 20px !important;
    padding: 0 12px;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
  
  .hero-slide-title {
    text-align: left !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0;
    letter-spacing: 0;
  }
  
  .hero-slide-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 24px !important;
    padding: 0;
  }
  
  .hero-slide-actions {
    width: 100% !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 0 !important;
  }
  
  .hero-nav {
    width: 40px;
    height: 40px;
  }
  
  .hero-nav svg {
    width: 20px;
    height: 20px;
  }
}

/* Landscape mode optimization */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-slider {
    height: 85vh;
    min-height: 85vh;
  }
  
  .hero-slide-title {
    font-size: clamp(1.5rem, 5vh, 2.5rem);
    margin: 0 auto 12px;
    padding: 0;
    text-align: center !important;
    width: 100%;
    letter-spacing: 0;
  }
  
  .hero-slide-subtitle {
    font-size: clamp(0.8rem, 2vh, 1rem);
    margin: 0 0 16px 0;
    padding: 0;
    text-align: left !important;
    width: max-content;
  }
  
  .hero-slide-actions {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    justify-content: flex-start !important;
    align-items: center;
    margin: 0;
  }
  
  .hero-slide-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .hero-indicators {
    bottom: 20px;
  }
}

/* Enhanced Sections */
section { 
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* Giving Section */
.giving-section {
  background: #ffffff;
}

.giving-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.giving-header { text-align: center; margin-bottom: 26px; }
.giving-header .section-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}
.giving-header .muted {
  color: #475569;
}

.giving-suggested {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 6px auto 28px;
}

.giving-suggested .amount-btn {
  background: #eef2ff;
  color: #1e40af;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(30,64,175,0.08);
}
.giving-suggested .amount-btn.active,
.giving-suggested .amount-btn:hover {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(30,64,175,0.25);
}

.donorbox-wrap {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 40px rgba(15,23,42,0.12);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.donorbox-wrap:before{
  content: '';
  position: absolute; inset: -1px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(30,64,175,.18), rgba(59,130,246,.12));
  z-index: 0; pointer-events: none; mix-blend: multiply;
}
.donorbox-wrap > * { position: relative; z-index: 1; }

/* Remove local form rules (iframe used) */

.donorbox-powered {
  text-align: center;
  padding: 8px 12px 12px;
  color: #6b7280;
  font-size: 12px;
}
.donorbox-powered a { color: #1e40af; text-decoration: none; font-weight: 600; }

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0.5;
}

section:first-of-type::before {
  display: none;
}

.section-title { 
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  box-shadow: var(--glow);
}

.muted { 
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-list { 
  display:grid; 
  gap:14px; 
  margin-top:18px; 
}

.feature { 
  display:flex; 
  align-items:center; 
  gap:12px; 
  color: var(--text);
  padding: 8px 0;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateX(4px);
}

.feature .icon { 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  width:28px; 
  height:28px; 
  background: rgba(0,163,155,0.12); 
  border: 1px solid rgba(0,163,155,0.3); 
  border-radius:999px;
  box-shadow: 0 2px 8px rgba(0,163,155,0.15);
  transition: all 0.3s ease;
}

.feature:hover .icon {
  background: rgba(0,163,155,0.2);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0,163,155,0.25);
}

.about-visual { 
  position: relative; 
  border-radius: 16px; 
  overflow:hidden; 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-visual:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.about-visual img { 
  width: 100%; 
  height: 340px; 
  object-fit: cover;
  object-position: center 15%; /* lift focus higher to avoid cutting heads */
  display:block;
  transition: transform 0.4s ease;
}

.about-visual:hover img {
  transform: scale(1.05);
}

.about-visual .label { 
  position:absolute; 
  left:16px; 
  bottom:16px; 
  padding:8px 14px; 
  background: var(--glass-dark); 
  backdrop-filter: blur(12px);
  color:#fff; 
  border:1px solid var(--border-light); 
  border-radius:999px; 
  font-size:13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.pill { 
  display:inline-block; 
  padding:8px 14px; 
  border:1px solid var(--border); 
  border-radius:999px; 
  background: var(--glass-strong); 
  backdrop-filter: blur(8px);
  margin-right:8px; 
  margin-bottom: 8px;
  font-size:13px; 
  color: var(--muted);
  font-weight: 500;
  transition: all 0.3s ease;
}

.pill:hover {
  background: var(--card);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stat-hover { 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-hover:hover { 
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* About Section Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.about-content {
  width: 100%;
}

.about-visual-wrap {
  width: 100%;
}

.pill-group {
  margin: 8px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-text {
  max-width: 720px;
  margin-bottom: 20px;
}

.about-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-visual-wrap .stats {
  margin-top: 18px;
}

/* Enhanced Feature Cards */
.card.feature { 
  position: relative; 
  overflow: hidden; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  background: var(--glass-strong);
}

.card.feature::before { 
  content:''; 
  position:absolute; 
  inset:0; 
  background: 
    radial-gradient(600px 200px at -10% -10%, rgba(0,163,155,.15), transparent 65%), 
    radial-gradient(600px 200px at 110% 110%, rgba(0,163,155,.10), transparent 65%);
  pointer-events:none;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.card.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--gold), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card.feature:hover::before {
  opacity: 1;
}

.card.feature:hover::after {
  opacity: 0.3;
}

.card.feature:hover { 
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-xl), var(--glow);
  border-color: rgba(0,163,155,0.2);
}

.icon-badge { 
  width:48px; 
  height:48px; 
  border-radius:14px; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  background: rgba(0,163,155,.15); 
  border:1px solid rgba(0,163,155,.4);
  box-shadow: 0 4px 12px rgba(0,163,155,.2);
  transition: all 0.3s ease;
}

.card.feature:hover .icon-badge {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 20px rgba(0,163,155,.3);
  background: rgba(0,163,155,.25);
}

.feature h3 { 
  margin:0;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature .learn { 
  display:inline-flex; 
  align-items:center; 
  gap:8px; 
  color: var(--gold); 
  margin-top:14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature .learn:hover { 
  color: var(--teal-400);
  transform: translateX(4px);
  gap: 12px;
}

/* Enhanced Grid */
.grid { 
  display: grid; 
  gap: 24px; 
}

.grid.cols-3 { 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
}

/* Enhanced Card Styles */
.card { 
  background: var(--glass-strong); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  overflow: hidden; 
  backdrop-filter: blur(16px) saturate(150%); 
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  opacity: 0.5;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,163,155,0.2);
}

.card img { 
  width: 100%; 
  height: 240px; 
  object-fit: cover; 
  display: block;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card .p { 
  padding: 20px; 
  color: var(--text); 
}

.card .p p { 
  color: var(--muted); 
  margin: 8px 0 0;
  line-height: 1.6;
}

.card .p h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

/* Enhanced Hoverable Cards */
.card.hoverable { 
  position: relative;
  cursor: pointer;
}

.card.hoverable .hover { 
  position: absolute; 
  inset: 0; 
  display:flex; 
  align-items:flex-end; 
  padding:20px; 
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.75)); 
  opacity:0; 
  transition: opacity 0.3s ease;
  color:#fff;
  backdrop-filter: blur(4px);
}

.card.hoverable:hover .hover { 
  opacity:1; 
}

.card.hoverable .hover .badge { 
  background: var(--glass-dark); 
  color:#fff; 
  border-color: var(--border-light);
  backdrop-filter: blur(8px);
}

/* Logos */
.logos { 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); 
  gap: 24px; 
  align-items:center; 
  opacity:.9;
}

.logos img { 
  max-height: 32px; 
  width: auto; 
  filter: grayscale(0%) contrast(100%); 
  opacity:.85;
  transition: all 0.3s ease;
}

.logos img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Enhanced Slider */
.slider { 
  position: relative; 
  overflow: hidden;
  padding: 8px 0;
}

.slides { 
  display:flex; 
  gap: 24px; 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
  will-change: transform; 
}

.slide { 
  min-width: 400px; 
  flex: 0 0 400px; 
}

/* Testimonials Section Styling */
.testimonials-section {
  background: #ffffff;
}

.testimonials-slider .slides {
  align-items: stretch;
  padding: 4px 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
}

.testimonial-card .p {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
}

.testimonial-rating {
  color: #ffbf47;
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--muted) !important;
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 auto !important;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 600 !important;
  color: var(--text);
  margin-top: 16px;
  font-size: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.slider .controls { 
  display:flex; 
  gap:14px; 
  justify-content:center; 
  align-items:center; 
  margin-top:24px;
  flex-wrap: wrap;
}

.control { 
  background: var(--card);
  border:1px solid var(--border);
  color: var(--text);
  border-radius:999px;
  padding:10px 16px;
  cursor:pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  font-size: 18px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control:hover {
  background: var(--gold);
  color: #fff;
  transform: scale(1.05);
  box-shadow: var(--shadow), var(--glow);
}

.control:active {
  transform: scale(0.95);
}

.dots { 
  display:flex; 
  gap:10px; 
}

.dots button { 
  width:10px; 
  height:10px; 
  border-radius:999px; 
  border:1px solid var(--border); 
  background: var(--muted); 
  opacity:.4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dots button:hover {
  opacity: .7;
  transform: scale(1.2);
}

.dots button.active { 
  background: var(--gold); 
  opacity:1;
  box-shadow: var(--glow);
  transform: scale(1.3);
}

/* Enhanced Footer */
footer { 
  border-top: 1px solid rgba(255,255,255,0.08); 
  background: linear-gradient(180deg, #0e1418 0%, #0a0d10 100%);
  padding: 48px 0 24px; 
  color: #cbd5e0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(0,163,155,0.08), transparent);
  pointer-events: none;
}

.footer-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 32px;
  position: relative;
  z-index: 1;
}

.footer-grid a { 
  color: #e2e8f0; 
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-grid a:hover { 
  color: var(--teal-300);
  transform: translateX(4px);
}

.copyright { 
  margin-top: 32px; 
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; 
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* DEVELOPER CREDIT - DO NOT REMOVE - LEGALLY PROTECTED */
/* This styling is a legal requirement - Removal violates terms of service */
.developer-credit {
  opacity: 0.85 !important;
  transition: opacity 0.3s ease !important;
  display: inline-block !important;
  visibility: visible !important;
  position: relative !important;
  user-select: none !important;
}

.developer-credit:hover {
  opacity: 1 !important;
}

/* Integrity protection - DO NOT MODIFY */
.developer-credit::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

/* Enhanced Badge */
.badge { 
  display: inline-block; 
  padding: 8px 14px; 
  border-radius: 999px; 
  border: 1px solid var(--border); 
  color: var(--muted); 
  font-size: 13px; 
  font-weight: 600;
  background: var(--glass-strong); 
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.badge:hover {
  background: var(--card);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Enhanced Stats */
.stats { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); 
  gap: 18px; 
}

.stat { 
  background: var(--glass-strong); 
  border: 1px solid var(--border); 
  border-radius: 14px; 
  padding: 24px 18px; 
  text-align: center; 
  backdrop-filter: blur(16px) saturate(150%); 
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat:hover::before {
  transform: scaleX(1);
}

.stat .num { 
  font-size: 32px; 
  font-weight: 800; 
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
  display: block;
}

/* Enhanced Toast */
.toast { 
  position: fixed; 
  right: 24px; 
  bottom: 24px; 
  background: var(--card);
  border: 1px solid var(--border); 
  color: var(--text); 
  padding: 16px 20px; 
  border-radius: 12px; 
  display: none;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  font-weight: 600;
  animation: slideInUp 0.3s ease;
  z-index: 100001;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideOutDown {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* Enhanced Lazy Loading */
img.lazy { 
  filter: blur(10px); 
  opacity: .7; 
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
  transform: scale(1.05);
}

img.lazy.loaded { 
  filter: blur(0); 
  opacity: 1;
  transform: scale(1);
}

/* Enhanced Reveal Animations */
[data-reveal] { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed { 
  opacity: 1; 
  transform: none; 
}

/* Staggered reveal for grid items */
.grid [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.grid [data-reveal]:nth-child(2) { transition-delay: 0.2s; }
.grid [data-reveal]:nth-child(3) { transition-delay: 0.3s; }
.grid [data-reveal]:nth-child(4) { transition-delay: 0.4s; }

/* Enhanced CTA Band */
.cta-band { 
  padding: 64px 0;
  position: relative;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,163,155,0.05), transparent 70%);
  pointer-events: none;
}
/* Enhanced CTA Wrap */
.cta-wrap { 
  display:grid; 
  grid-template-columns: 1.6fr .4fr; 
  align-items:center; 
  gap: 32px; 
  background: #1e40af;
  border: 1px solid rgba(255, 255, 255, 0.2); 
  border-radius: 24px; 
  padding: 48px; 
  box-shadow: 
    0 20px 60px rgba(15, 23, 42, 0.4),
    0 8px 32px rgba(30, 41, 59, 0.3),
    0 4px 16px rgba(30, 64, 175, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(150%);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
}

.cta-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30, 64, 175, 0.3), transparent 60%),
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.cta-wrap:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 80px rgba(15, 23, 42, 0.5),
    0 16px 48px rgba(30, 41, 59, 0.4),
    0 8px 24px rgba(30, 64, 175, 0.3),
    0 0 40px rgba(29, 78, 216, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-points { 
  display:grid; 
  gap:12px;
  position: relative;
  z-index: 1;
}

.cta-wrap .section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-wrap .muted {
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.cta-wrap .point {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cta-wrap .btn.primary {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-wrap .btn.primary:hover {
  background: white !important;
  color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cta-wrap .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-wrap .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-points .point { 
  display:flex; 
  align-items:center; 
  gap:12px; 
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-points .point:hover {
  transform: translateX(4px);
}

.cta-points .dot { 
  width:10px; 
  height:10px; 
  border-radius:999px; 
  background: var(--accent-gradient);
  display:inline-block;
  box-shadow: var(--glow);
  flex-shrink: 0;
}

.cta-actions { 
  display:flex; 
  gap:12px; 
  justify-content:flex-end; 
  align-items:center; 
  flex-wrap:wrap;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px){
  .cta-wrap { 
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .cta-actions { justify-content:flex-start; }
}

/* Enhanced Contact Band */
.contact-band { 
  padding: 64px 0;
  position: relative;
}

.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  pointer-events: none;
}

.contact-wrap { 
  display:grid; 
  grid-template-columns: 1.5fr .5fr; 
  gap: 32px; 
  align-items:center; 
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(150%); 
  border:1px solid var(--border); 
  border-radius: 20px; 
  padding: 40px; 
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.contact-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(0,163,155,0.08), transparent 60%);
  pointer-events: none;
}

.contact-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.contact-icon { 
  width:52px; 
  height:52px; 
  border-radius:14px; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  background: rgba(0,163,155,.15); 
  border:1px solid rgba(0,163,155,.4); 
  margin-bottom:12px;
  box-shadow: 0 4px 16px rgba(0,163,155,.2);
  transition: all 0.3s ease;
}

.contact-wrap:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.mini-list { 
  display:flex; 
  gap:16px; 
  flex-wrap:wrap; 
  color: var(--muted);
  font-weight: 500;
}

.contact-actions { 
  display:flex; 
  gap:12px; 
  justify-content:flex-end; 
  position: relative;
  z-index: 1;
}

@media (max-width: 900px){
  .contact-wrap { 
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .contact-actions { justify-content:flex-start; }
}

/* Enhanced Form UI */
.nf-form { 
  display:grid; 
  gap:18px; 
}

.form-field { 
  position: relative; 
}

.nf-input, .nf-textarea, .nf-select, .nf-date { 
  width: 100%; 
  padding: 16px 16px; 
  border-radius: 12px; 
  border:2px solid var(--border); 
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  color: var(--text); 
  outline: none; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
}

.nf-textarea { 
  min-height: 140px; 
  resize: vertical; 
  line-height: 1.6;
}

.nf-input:hover, .nf-textarea:hover, .nf-select:hover, .nf-date:hover {
  border-color: rgba(0,163,155,0.3);
  background: var(--card);
}

.nf-input:focus, .nf-textarea:focus, .nf-select:focus, .nf-date:focus { 
  border-color: var(--gold); 
  box-shadow: 0 0 0 4px rgba(0,163,155,.15), var(--shadow-sm);
  background: var(--card);
  transform: translateY(-2px);
}

.float-label { 
  position:absolute; 
  left:16px; 
  top:16px; 
  color: var(--muted);
  font-size: 13px; 
  font-weight: 600;
  pointer-events:none; 
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity:.8;
  background: var(--card);
  padding: 0 6px;
  border-radius: 4px;
}

.nf-input:not(:placeholder-shown) + .float-label,
.nf-textarea:not(:placeholder-shown) + .float-label,
.nf-input:focus + .float-label,
.nf-textarea:focus + .float-label { 
  transform: translateY(-28px) scale(0.9);
  opacity:1;
  color: var(--gold);
}

.form-row { 
  display:grid; 
  gap:18px; 
  grid-template-columns: 1fr 1fr; 
}

@media (max-width: 720px){ 
  .form-row { 
    grid-template-columns: 1fr; 
  } 
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 900px){
  section { 
    padding: 60px 0;
    width: 100%;
  }
  
  .hero { 
    height: 70vh; 
    min-height: 400px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .hero-caption { 
    bottom: 60px;
    width: calc(100% - 32px);
    max-width: 90%;
    padding: 0 16px;
  }
  
  .hero-caption h1 {
    font-size: clamp(28px, 8vw, 48px);
    margin: 0 auto 14px;
  }
  
  .hero-caption p {
    font-size: clamp(15px, 3vw, 18px);
    margin: 0 auto 24px;
  }
  
  .hero-actions {
    gap: 12px;
  }
  
  .hero-actions .btn {
    min-width: 140px;
    padding: 12px 24px;
  }
  
  .container {
    padding: 0 max(16px, 4vw);
    width: 100%;
  }
  
  /* Ensure cards and grids fill properly */
  .grid {
    width: 100%;
  }
  
  .card, .btn {
    max-width: 100%;
  }
  
  /* Fix mobile menu */
  .mobile-menu {
    width: 100%;
    left: 0;
    right: 0;
  }
  
  /* About section mobile layout */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-text {
    max-width: 100%;
  }
  
  .about-actions {
    width: 100%;
  }
  
  .about-actions .btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
  
  /* Testimonials mobile adjustments */
  .slide {
    min-width: 340px;
    flex: 0 0 340px;
  }
  
  /* Testimonials mobile optimization */
  .testimonials-section {
    padding: 60px 0;
  }
  
  .testimonials-slider {
    overflow: visible;
    padding: 8px 4px;
  }
  
  .slide {
    min-width: 320px;
    flex: 0 0 320px;
  }
  
  .testimonial-card {
    min-height: 200px;
    width: 100%;
    max-width: 100%;
  }
  
  .testimonial-card .p {
    padding: 24px 20px;
    text-align: center;
  }
  
  .testimonial-rating {
    font-size: 16px;
    margin-bottom: 14px;
    text-align: center;
  }
  
  .testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
  }
  
  .testimonial-author {
    font-size: 14px;
    margin-top: 14px;
    padding-top: 14px;
    text-align: center;
  }
  
  /* Slider controls for mobile */
  .slider .controls {
    margin-top: 20px;
    gap: 12px;
    padding: 0 4px;
  }
  
  .control {
    padding: 8px 14px;
    font-size: 18px;
    min-width: 46px;
    min-height: 46px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .dots {
    gap: 8px;
  }
  
  .dots button {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

@media (max-width: 720px){
  body {
    background-attachment: scroll; /* Better for mobile performance */
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .hero { 
    height: 60vh; 
    min-height: 380px;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .hero-caption {
    width: calc(100% - 24px);
    max-width: 94%;
    padding: 0 12px;
    bottom: 50px;
  }
  
  .hero-caption h1 {
    font-size: clamp(24px, 7vw, 36px) !important;
    margin: 0 auto 12px !important;
    line-height: 1.2;
  }
  
  .hero-caption p {
    font-size: clamp(14px, 3.5vw, 16px) !important;
    margin: 0 auto 20px !important;
    line-height: 1.5;
  }
  
  .hero-actions {
    width: 100%;
    gap: 10px;
  }
  
  .hero-actions .btn {
    padding: 11px 20px;
    font-size: 0.9rem;
    min-width: 130px;
  }
  
  .section-title { 
    font-size: clamp(24px, 5vw, 32px);
    width: 100%;
  }
  
  .section-title::after {
    width: 50px;
    height: 3px;
  }
  
  .container {
    padding: 0 max(14px, 3.5vw);
    width: 100%;
    max-width: 100vw;
  }
  
  /* Header mobile improvements */
  header.site-header {
    padding: 10px 0;
  }
  
  .header-grid {
    padding: 0 max(14px, 3.5vw);
  }
  
  .brand {
    font-size: 1rem;
  }
  
  .brand .accent {
    font-size: 1.1rem;
  }
  
  /* Mobile menu improvements */
  .mobile-menu {
    top: 68px;
    padding: 18px 14px;
    max-height: calc(100vh - 68px);
  }
  
  .mobile-menu a {
    padding: 13px 10px;
    font-size: 0.98rem;
  }
  
  .slides { 
    gap: 16px;
    width: 100%;
  }
  
  .slide { 
    min-width: min(320px, 85vw);
    flex-basis: min(320px, 85vw);
  }
  
  /* Testimonials for tablets */
  .slide {
    min-width: 300px;
    flex: 0 0 300px;
  }
  
  .testimonial-card {
    min-height: 220px;
    max-width: 100%;
  }
  
  .testimonial-card .p {
    padding: 20px 16px;
    text-align: center;
  }
  
  .testimonial-rating {
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
  }
  
  .testimonial-text {
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
  }
  
  .testimonial-author {
    font-size: 13px;
    text-align: center;
  }
  
  .control {
    font-size: 17px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .grid { 
    gap: 18px;
    width: 100%;
  }
  
  .grid.cols-3 { 
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  .about-visual img { 
    height: 260px;
    width: 100%;
    object-position: center 25%; /* Focus higher on mobile */
  }
  
  .stats { 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
    gap: 12px;
    width: 100%;
  }
  
  .stat {
    padding: 20px 16px;
    width: 100%;
  }
  
  .stat .num {
    font-size: 28px;
  }
  
  .header-grid { 
    grid-template-columns: 1fr auto auto; 
    min-height: 64px;
    width: 100%;
  }
  
  .hero-controls {
    bottom: 20px;
    padding: 10px 16px;
    gap: 12px;
    max-width: calc(100vw - 32px);
  }
  
  .hero-dots button {
    width: 8px;
    height: 8px;
  }
  
  .card {
    width: 100%;
  }
  
  .card .p {
    padding: 18px;
  }
  
  .card img {
    width: 100%;
  }
  
  /* Ensure CTA and Contact sections fill properly */
  .cta-wrap, .contact-wrap {
    width: 100%;
  }
  
  .form-field {
    width: 100%;
  }
  
  .nf-input, .nf-textarea, .nf-select, .nf-date {
    width: 100%;
    max-width: 100%;
  }
  
  /* About section refinements for tablet/mobile */
  .about-grid {
    gap: 24px;
  }
  
  .pill-group {
    gap: 6px;
  }
  
  .about-visual {
    margin-bottom: 0;
  }
  
  .about-visual img {
    height: 280px;
    object-position: center 28%; /* Focus higher on tablet */
  }
  
  .feature-list {
    gap: 12px;
  }
}

@media (max-width: 480px){
  body { 
    line-height: 1.6;
    width: 100vw;
  }
  
  .container {
    padding: 0 max(12px, 3vw);
    width: 100%;
  }
  
  section {
    padding: 48px 0;
    width: 100vw;
  }
  
  .btn { 
    padding: 12px 20px; 
    border-radius: 10px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 100%;
  }
  
  .hero-actions .btn {
    width: auto;
    min-width: 140px;
  }
  
  .slide { 
    min-width: min(280px, 80vw);
    flex-basis: min(280px, 80vw);
  }
  
  /* Testimonials for small mobile */
  .testimonial-card {
    min-height: 260px;
  }
  
  .testimonial-card .p {
    padding: 20px 16px;
  }
  
  .testimonial-rating {
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 1px;
  }
  
  .testimonial-text {
    font-size: 14px;
    line-height: 1.65;
  }
  
  .testimonial-author {
    font-size: 13px;
    margin-top: 12px;
    padding-top: 12px;
  }
  
  /* Slider controls for small mobile */
  .slider .controls {
    margin-top: 18px;
    gap: 10px;
  }
  
  .control {
    padding: 8px 12px;
    font-size: 16px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .dots {
    gap: 8px;
  }
  
  .dots button {
    width: 9px;
    height: 9px;
    min-width: 9px;
    min-height: 9px;
    -webkit-tap-highlight-color: transparent;
  }
  
  .testimonial-card .p {
    text-align: center;
  }
  
  .testimonial-rating {
    text-align: center;
  }
  
  .testimonial-text {
    text-align: center;
  }
  
  .testimonial-author {
    text-align: center;
  }
  
  .hero { 
    width: 100vw;
    height: 55vh;
    min-height: 350px;
  }
  
  .hero-prev, .hero-next { 
    width: 36px; 
    height: 36px;
    font-size: 18px;
  }
  
  .hero { 
    height: 55vh;
    min-height: 360px;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .hero-caption { 
    bottom: 45px;
    width: calc(100% - 20px);
    max-width: 94%;
    padding: 0 10px;
  }
  
  .hero-caption h1 { 
    font-size: clamp(22px, 6.5vw, 32px) !important;
    margin: 0 auto 10px !important;
    line-height: 1.15;
  }
  
  .hero-caption p { 
    font-size: clamp(13px, 3vw, 15px) !important;
    margin: 0 auto 18px !important;
    line-height: 1.4;
  }
  
  .hero-actions {
    gap: 10px;
    width: 100%;
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  /* Header mobile improvements */
  header.site-header {
    padding: 8px 0;
  }
  
  .header-grid {
    padding: 0 12px;
  }
  
  .brand {
    font-size: 0.95rem;
  }
  
  .nav-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  
  /* Mobile menu improvements */
  .mobile-menu {
    top: 64px;
    padding: 16px 12px;
    max-height: calc(100vh - 64px);
  }
  
  .mobile-menu a {
    padding: 12px 10px;
    font-size: 0.95rem;
    min-height: 46px;
  }
  
  .mobile-menu .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .section-title::after {
    width: 40px;
  }
  
  .stats {
    gap: 10px;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  
  .stat {
    width: 100%;
    padding: 18px 12px;
  }
  
  .cta-wrap, .contact-wrap {
    padding: 24px 16px;
    gap: 24px;
    width: 100%;
  }
  
  .nf-input, .nf-textarea, .nf-select, .nf-date {
    padding: 14px 12px;
    font-size: 14px;
    width: 100%;
  }
  
  /* Fix form row on very small screens */
  .form-row {
    width: 100%;
  }
  
  /* Ensure grids fill properly */
  .grid {
    width: 100%;
  }
  
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
  
  /* Fix cards */
  .card {
    width: 100%;
    margin: 0;
  }
  
  .card img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 240px;
  }
  
  /* Mobile menu fills properly */
  .mobile-menu {
    width: 100vw;
    left: 0;
    right: 0;
  }
  
  /* Footer adjustments */
  .footer-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }
  
  .copyright {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .developer-credit {
    order: -1 !important;
    display: block !important;
    visibility: visible !important;
    margin-top: 8px !important;
  }
  
  /* About section for small mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .about-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .about-actions .btn {
    width: 100%;
    min-width: 100%;
    flex: none;
  }
  
  .pill {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .pill-group {
    gap: 6px;
    margin: 6px 0 12px;
  }
  
  .about-visual img {
    height: 240px;
    object-position: center 22%; /* Focus even higher on small mobile */
  }
  
  .about-visual-wrap .stats {
    margin-top: 14px;
  }
  
  .feature-list {
    gap: 10px;
  }
  
  .feature {
    font-size: 0.95rem;
  }
}

/* Enhanced Placeholder Styling */
::placeholder { 
  color: var(--muted);
  opacity: 0.6;
  font-weight: 500;
}

input::placeholder, textarea::placeholder { 
  color: var(--muted);
  opacity: 0.6;
}

/* Additional Modern Enhancements */
/* Smooth scroll for better UX */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background: rgba(0,163,155,0.2);
  color: var(--text);
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gradient);
  border-radius: 6px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--teal-400);
}

/* Extra small devices (320px and below) */
@media (max-width: 360px){
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .container {
    padding: 0 10px;
    max-width: 100vw;
  }
  
  .hero {
    height: 50vh;
    min-height: 320px;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .hero-caption {
    bottom: 35px;
    width: calc(100% - 16px);
    max-width: 96%;
    padding: 0 8px;
  }
  
  .hero-caption h1 {
    font-size: clamp(20px, 6vw, 26px) !important;
    margin: 0 auto 8px !important;
    line-height: 1.1;
  }
  
  .hero-caption p {
    font-size: clamp(12px, 3vw, 14px) !important;
    margin: 0 auto 16px !important;
    line-height: 1.35;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
    padding: 11px 20px;
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: clamp(20px, 6vw, 26px);
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .stat .num {
    font-size: 24px;
  }
  
  /* Header mobile improvements */
  header.site-header {
    padding: 8px 0;
  }
  
  .header-grid {
    padding: 0 10px;
  }
  
  .brand {
    font-size: 0.9rem;
  }
  
  .brand .accent {
    font-size: 1rem;
  }
  
  .nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .nav-toggle span {
    width: 20px;
  }
  
  /* Mobile menu improvements */
  .mobile-menu {
    top: 60px;
    padding: 14px 10px;
    max-height: calc(100vh - 60px);
  }
  
  .mobile-menu a {
    padding: 11px 8px;
    font-size: 0.9rem;
    min-height: 44px;
  }
  
  .mobile-menu .btn {
    padding: 11px 18px;
    font-size: 0.9rem;
  }
  
  /* About section for extra small screens */
  .about-grid {
    gap: 24px;
  }
  
  .about-visual img {
    height: 220px;
    object-position: center 20%; /* Focus on upper portion for extra small screens */
  }
  
  .pill {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .feature {
    font-size: 0.9rem;
  }
  
  .about-text {
    font-size: 0.95rem;
  }
  
  /* Testimonials for extra small screens */
  .slide {
    min-width: min(260px, 92vw);
    flex-basis: min(260px, 92vw);
  }
  
  .testimonial-card {
    min-height: 220px;
    max-width: 100%;
  }
  
  .testimonial-card .p {
    padding: 16px 12px;
    text-align: center;
  }
  
  .testimonial-rating {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .testimonial-text {
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
  }
  
  .testimonial-author {
    font-size: 12px;
    margin-top: 10px;
    padding-top: 10px;
    text-align: center;
  }
  
  .control {
    min-width: 40px;
    min-height: 40px;
    font-size: 15px;
    padding: 6px 10px;
  }
  
  .dots button {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
  }
}

/* Landscape mode for mobile devices */
@media (max-height: 600px) and (orientation: landscape){
  .hero {
    height: 90vh;
    min-height: 100%;
  }
  
  .hero-caption {
    bottom: 30px;
  }
  
  .hero-caption h1 {
    font-size: clamp(20px, 5vh, 32px);
    margin-bottom: 8px;
  }
  
  .hero-caption p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: 8px;
  }
  
  .hero-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    width: auto;
  }
  
  .hero-controls {
    bottom: 15px;
    padding: 8px 14px;
  }
  
  section {
    padding: 40px 0;
  }
}

/* Fix for iOS Safari bottom bar */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
  
  @media (max-width: 900px) {
    .hero {
      height: 70vh;
    }
  }
  
  @media (max-width: 480px) {
    .hero {
      height: 55vh;
    }
  }
}

/* Landscape mode optimizations for mobile */
@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    height: 90vh;
    min-height: 100vh;
  }
  
  .hero-caption {
    bottom: 30px;
    padding: 0 12px;
  }
  
  .hero-caption h1 {
    font-size: clamp(20px, 5vh, 32px) !important;
    margin: 0 auto 8px !important;
  }
  
  .hero-caption p {
    font-size: clamp(12px, 2.5vh, 15px) !important;
    margin: 0 auto 14px !important;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: 10px;
  }
  
  .hero-actions .btn {
    max-width: 150px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  header.site-header {
    padding: 6px 0;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav a {
    padding: 12px 16px;
  }
  
  .hero-prev, .hero-next {
    min-width: 44px;
    min-height: 44px;
  }
  
  .hero-dots button {
    min-width: 12px;
    min-height: 12px;
    padding: 2px;
  }
}

/* ========== Portfolio Page Styles ========== */
.portfolio-hero {
  animation: fadeIn 0.6s ease-out;
}

.portfolio-filters {
  margin-top: 24px;
}

.portfolio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 30px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.portfolio-badge:hover {
  border-color: var(--teal-400);
  color: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.portfolio-badge.active {
  background: var(--accent-gradient);
  border-color: var(--teal-500);
  color: white;
  box-shadow: var(--glow);
}

.badge-icon {
  font-size: 1.1rem;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--accent-gradient-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.portfolio-item {
  animation: fadeInUp 0.5s ease-out both;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.portfolio-card:hover .portfolio-image {
  box-shadow: var(--shadow-lg);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  color: white;
  width: 100%;
}

.portfolio-category {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-gradient);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.portfolio-zoom {
  display: inline-block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 4px;
}

.portfolio-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  opacity: 0;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.portfolio-card:hover .portfolio-play {
  opacity: 1;
  font-size: 72px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation for portfolio items */
.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.portfolio-item:nth-child(4) { animation-delay: 0.2s; }
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.portfolio-item:nth-child(6) { animation-delay: 0.3s; }
.portfolio-item:nth-child(7) { animation-delay: 0.35s; }
.portfolio-item:nth-child(8) { animation-delay: 0.4s; }
.portfolio-item:nth-child(9) { animation-delay: 0.45s; }

/* Mobile optimizations for portfolio */
@media (max-width: 720px) {
  .portfolio-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .portfolio-filters span {
    text-align: center;
    margin-right: 0;
    margin-bottom: 8px;
  }
  
  .portfolio-badge {
    justify-content: center;
    width: 100%;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }
  
  .count-badge {
    align-self: flex-start;
  }
  
  .portfolio-overlay {
    opacity: 0.95;
  }
}

/* ========== Services Page Styles ========== */
.services-hero {
  animation: fadeIn 0.6s ease-out;
}

.services-category-header {
  text-align: center;
  margin-bottom: 48px;
}

.category-icon {
  font-size: 56px;
  margin-bottom: 16px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.service-card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.6s ease-out both;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow);
  border-color: var(--teal-400);
}

.service-card.featured {
  border: 2px solid var(--teal-500);
  background: linear-gradient(135deg, rgba(0,224,207,0.02), rgba(0,196,182,0.03));
}

.service-card.featured::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text);
  line-height: 1.3;
}

.service-description {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-600);
  margin-bottom: 20px;
  padding: 16px;
  background: var(--accent-gradient-subtle);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0,168,157,0.15);
}

.service-price span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.service-features li {
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-card:hover .service-features li {
  padding-left: 8px;
  color: var(--navy-600);
}

.service-features li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--teal-500);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Stagger animation for service cards */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

/* Mobile optimizations for services */
@media (max-width: 720px) {
  .category-icon {
    font-size: 48px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .service-icon {
    font-size: 40px;
  }
  
  .service-title {
    font-size: 1.3rem;
  }
  
  .service-price {
    font-size: 1.5rem;
    padding: 12px;
  }
  
  .service-price span {
    font-size: 0.8rem;
  }
}

/* ========== About Page Styles ========== */
.about-hero {
  animation: fadeIn 0.6s ease-out;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-400);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.value-card {
  background: var(--card);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out both;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transition: transform 0.4s ease;
}

.value-card:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--glow);
  border-color: var(--teal-400);
}

.value-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
}

.value-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--text);
}

.value-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.team-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-400);
}

.team-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-gradient);
  border-color: var(--teal-400);
  transform: translateY(-4px);
}

.team-info {
  padding: 32px 24px;
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
}

.team-role {
  font-size: 1rem;
  color: var(--navy-600);
  font-weight: 600;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.team-bio {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }

/* Mobile optimizations for about page */
@media (max-width: 900px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-item {
    padding: 24px 20px;
  }
  
  .value-card {
    padding: 32px 24px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-info {
    padding: 24px 20px;
  }
}

/* ========== Contact Page Styles ========== */
.contact-hero {
  animation: fadeIn 0.6s ease-out;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-400);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.contact-info-text {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.contact-info-text a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--teal-500);
  text-decoration: underline;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }
.contact-info-card:nth-child(4) { animation-delay: 0.4s; }

.contact-forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
}

.contact-form-card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out both;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-form-card:hover::before {
  transform: scaleX(1);
}

.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-400);
}

.form-card-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.form-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

.form-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
}

.form-card-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.contact-form-card:nth-child(1) { animation-delay: 0.1s; }
.contact-form-card:nth-child(2) { animation-delay: 0.2s; }
.contact-form-card:nth-child(3) { animation-delay: 0.3s; }

/* Star rating hover effect */
.star-rating {
  transition: all 0.2s ease;
}

.star-rating:hover {
  transform: scale(1.15);
}

/* Mobile optimizations for contact page */
@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .contact-forms-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-info-card {
    padding: 24px 20px;
  }
  
  .contact-form-card {
    padding: 24px 20px;
  }
  
  .form-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
  
  .form-icon {
    font-size: 40px;
  }
  
  .form-card-title {
    font-size: 1.3rem;
  }
}

