/* ============================================
   PIVVATECH - ULTRA ELEGANT EDITION
   Blue + Gold Theme | Luxury Refinements
   Version: 6.0 - The Complete Edition
   Fixed: Page hero styles, responsive improvements
   ============================================ */

:root {
  --primary-blue: #001070;
  --primary-blue-dark: #000a4a;
  --primary-blue-light: #1a2a8a;
  --accent-gold: #e0bc5a;
  --accent-gold-dark: #c9a74d;
  --accent-gold-light: #f5e6c6;
  --white: #ffffff;

  --bg-light: #f6f8fd;
  --bg-soft: #eef3ff;
  --bg-warm: #fff7e4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-dark: rgba(0, 16, 112, 0.72);

  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --border-light: rgba(255, 255, 255, 0.4);
  --border-dark: rgba(0, 16, 112, 0.1);

  --shadow-xs: 0 6px 20px rgba(0, 16, 112, 0.05);
  --shadow-sm: 0 10px 24px rgba(0, 16, 112, 0.08);
  --shadow-md: 0 18px 45px rgba(0, 16, 112, 0.12);
  --shadow-lg: 0 28px 70px rgba(0, 16, 112, 0.16);
  --shadow-xl: 0 35px 85px rgba(0, 16, 112, 0.2);
  --shadow-gold: 0 18px 40px rgba(224, 188, 90, 0.2);
  --shadow-glow: 0 0 60px rgba(224, 188, 90, 0.15);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.02);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-2xl: 48px;

  --transition-fast: 0.22s ease;
  --transition: 0.32s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1240px;
  --nav-height: 74px;
  --font-serif: 'Playfair Display', serif;
}

/* ============================================
   RESET / BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Space Grotesk', sans-serif;
 background: #FFFBef;
  color: var(--text-dark);
  line-height: 1.6;
  min-width: 320px;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(45deg, rgba(224, 188, 90, 0.02) 0px, rgba(224, 188, 90, 0.02) 2px, transparent 2px, transparent 8px);
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

main {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   ELEGANT TYPography
   ============================================ */

h1, h2, h3, .logo, .section-tag {
  font-family: 'Playfair Display', 'Space Grotesk', serif;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============================================
   SOPHISTICATED ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 188, 90, 0.4); }
  50% { box-shadow: 0 0 0 25px rgba(224, 188, 90, 0); }
}

@keyframes border-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.7s ease forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.7s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease forwards;
}

/* ============================================
   LUXURY NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  padding: 10px 0;
  background: rgba(0, 16, 112, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(224, 188, 90, 0.15);
  box-shadow: 0 10px 35px rgba(0, 16, 112, 0.2);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.navbar.scrolled {
  background: rgba(0, 16, 112, 0.96);
  height: 68px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(224, 188, 90, 0.25);
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.logo {
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 15px rgba(224, 188, 90, 0.3));
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  font-size: 0.95rem;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 60%;
}

.mobile-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(224, 188, 90, 0.2);
  border-radius: 14px;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(224, 188, 90, 0.2);
  border-color: var(--accent-gold);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: calc(var(--nav-height) - 2px);
    left: 16px;
    right: 16px;
    background: rgba(0, 16, 112, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(224, 188, 90, 0.2);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    color: var(--white);
    padding: 14px 20px;
    border-radius: 16px;
    transition: all 0.25s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: linear-gradient(135deg, rgba(224, 188, 90, 0.15), rgba(224, 188, 90, 0.05));
    color: var(--accent-gold);
    padding-left: 28px;
  }
}

@media (min-width: 769px) {
  .navbar {
    height: 82px;
    padding: 12px 0;
  }

  .container {
    padding: 0 24px;
  }

  .logo-img {
    height: 52px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .nav-links {
    display: flex !important;
    align-items: center;
    gap: 12px;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 500;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(224, 188, 90, 0.12);
    color: var(--accent-gold);
  }
}

/* ============================================
   HERO SLIDER - LUXURY EDITION
   ============================================ */

.hero-slider-section {
  margin-top: calc(var(--nav-height) + 8px);
  padding: 14px 0 26px;
}

.hero-swiper {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.swiper-slide {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide1 {
  background-image: url('/assets/images/image3.png');
}

.slide2 {
  background-image: url('/assets/images/image2.png');
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, 
    rgba(0, 16, 112, 0.88) 0%, 
    rgba(0, 16, 112, 0.55) 45%,
    rgba(0, 0, 0, 0.25) 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 30px 20px 50px;
}

.slide-content-inner {
  max-width: 620px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 32px 28px;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.slide-content h1 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.slide-content p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}

.btn-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f0cf78 100%);
  color: var(--primary-blue-dark);
  padding: 13px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.4s ease;
  box-shadow: 0 12px 28px rgba(224, 188, 90, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-slide:hover::before {
  left: 100%;
}

.btn-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(224, 188, 90, 0.45);
}

.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 10px;
  background: var(--accent-gold);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--accent-gold);
  color: var(--primary-blue);
  border-color: transparent;
}

@media (min-width: 768px) {
  .hero-slider-section {
    margin-top: 92px;
    padding: 24px 0 40px;
  }

  .swiper-slide {
    min-height: 580px;
    align-items: center;
  }

  .slide-content {
    padding: 50px;
  }

  .slide-content-inner {
    padding: 38px 36px;
  }

  .slide-content h1 {
    font-size: 3.4rem;
  }

  .slide-content p {
    font-size: 1.1rem;
  }

  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: flex;
  }
}

/* ============================================
   PAGE HERO WITH IMAGES (NEW - Version 6.0)
   ============================================ */

.page-hero {
  position: relative;
  margin-top: calc(var(--nav-height) + 8px);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 16, 112, 0.85) 0%, rgba(26, 42, 138, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   ELEGANT SECTION STYLES
   ============================================ */

.section {
  position: relative;
  padding: 70px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(224, 188, 90, 0.12), rgba(224, 188, 90, 0.04));
  border: 1px solid rgba(224, 188, 90, 0.25);
  color: var(--primary-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: 2.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-blue) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.section-header p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .section {
    padding: 90px 0;
  }

  .section-header h2 {
    font-size: 3rem;
  }
}

/* ============================================
   LUXURY SERVICES CARDS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  padding: 32px 26px;
  transition: all 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(224, 188, 90, 0.08), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(224, 188, 90, 0.35);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #001070;
  background: #e0bc5a;
  border: 1px solid rgba(224, 188, 90, 0.3);
  border-radius: 24px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--accent-gold), #f0cf78);
  color: var(--primary-blue);
  border-color: transparent;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* ============================================
   REFINED BLOG CARDS
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.45s ease;
  position: relative;
  overflow: hidden;
}

.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue-light), var(--accent-gold));
  transform: scaleX(0);
  transition: transform 0.5s ease;
  background-size: 200% 100%;
  animation: border-flow 3s ease infinite;
}

.blog-card:hover::after {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

.blog-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.blog-card:hover .read-more {
  gap: 14px;
  color: var(--accent-gold-dark);
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   ELEGANT TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  padding: 32px 28px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(224, 188, 90, 0.4);
}

.testimonial-rating {
  color: var(--accent-gold);
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 3px;
}

.testimonial-text {
  margin: 0 0 22px;
  color: var(--text-dark);
  line-height: 1.8;
  font-style: italic;
  font-size: 0.98rem;
}

.testimonial-author {
  font-weight: 800;
  color: var(--primary-blue);
  position: relative;
  padding-top: 14px;
  border-top: 2px solid rgba(224, 188, 90, 0.25);
  display: inline-block;
}

.view-more-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
}

.view-more-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.view-more-card a {
  color: var(--white);
  text-decoration: none;
  width: 100%;
}

.view-more-card .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
  margin-top: 18px;
  box-shadow: none;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   REFINED CONTACT SECTION
   ============================================ */

.contact-section {
  background: linear-gradient(180deg, rgba(224, 188, 90, 0.04) 0%, transparent 100%);
  padding: 80px 0;
}

.contact-box {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 48px;
  text-align: center;
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.contact-box:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(224, 188, 90, 0.3);
}

.contact-box h2 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  font-weight: 700;
}

.contact-box p {
  margin: 0;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 17px 20px;
  border: 1px solid rgba(0, 16, 112, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 5px rgba(224, 188, 90, 0.1);
  transform: translateY(-2px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form button {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: var(--white);
  padding: 17px 28px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form button:hover::before {
  left: 100%;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 16, 112, 0.3);
}

@media (max-width: 640px) {
  .contact-box {
    padding: 32px 24px;
    border-radius: 32px;
  }
  
  .contact-box h2 {
    font-size: 1.7rem;
  }
}

/* ============================================
   ELEGANT FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  padding: 70px 0 35px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), var(--accent-gold-light), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(224, 188, 90, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 45px;
  position: relative;
  z-index: 1;
}

.footer-logo img {
  height: 48px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent-gold);
  padding-left: 6px;
}

.footer-col p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col i {
  width: 28px;
  color: var(--accent-gold);
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(224, 188, 90, 0.2);
}

.social-icons a:hover {
  background: var(--accent-gold);
  color: var(--primary-blue);
  transform: translateY(-5px);
  border-color: transparent;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}

.whatsapp-chat a {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: glow-pulse 2s infinite;
}

.whatsapp-chat a:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
}

/* ============================================
   BUTTONS & UTILITIES
   ============================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: var(--white);
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 16, 112, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0, 16, 112, 0.3);
}

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

.mt-2 {
  margin-top: 2rem;
}

.overview-text {
  max-width: 800px;
  margin: 0 auto 35px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

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

@media (max-width: 768px) {
  .page-hero {
    min-height: 280px;
    margin-top: 82px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .slide-content h1 {
    font-size: 1.7rem;
  }
  
  .service-card, .blog-card, .testimonial-card {
    padding: 22px 18px;
  }
  
  .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
  
  .page-hero {
    min-height: 240px;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
}

@media (min-width: 1440px) {
  .container {
    padding: 0;
  }
  
  .hero-swiper {
    border-radius: 48px;
  }
}

/* ============================================
   SCROLL REVEAL CLASSES
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.7s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   LOADING STATE
   ============================================ */

.blog-loading {
  text-align: center;
  padding: 50px;
  color: var(--text-muted);
}

.blog-loading i {
  font-size: 2.2rem;
  color: var(--accent-gold);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}/* ============================================
   CONSTRAINED PAGE HERO (Version 6.1)
   ============================================ */

.page-hero {
    margin-top: 0;
    padding: 60px 0 40px;
}

.hero-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-wrapper .hero-bg {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.hero-wrapper .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-wrapper .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 16, 112, 0.75) 0%, rgba(26, 42, 138, 0.65) 100%);
}

.hero-wrapper .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 2;
}

.hero-wrapper .hero-content h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.hero-wrapper .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0 20px;
    }
    
    .hero-wrapper .hero-bg {
        height: 220px;
    }
    
    .hero-wrapper .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-wrapper .hero-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-wrapper .hero-bg {
        height: 180px;
    }
    
    .hero-wrapper .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-wrapper .hero-content p {
        font-size: 0.75rem;
    }
}