@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #00BFFF;
  --primary-dark: #0099cc;
  --primary-light: #40E0D0;
  --secondary: #FF6B35;
  --secondary-dark: #e05520;
  --dark: #001F3F;
  --dark-light: #003366;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f0f8ff;
  --white: #ffffff;
  --beige: #F5F5DC;
  --beige-dark: #D2B48C;
  --success: #10b981;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #00BFFF 0%, #40E0D0 50%, #00BFFF 100%);
  --gradient-dark: linear-gradient(135deg, #001F3F 0%, #003366 100%);
  --gradient-navy: linear-gradient(180deg, #001F3F 0%, #003366 100%);
  --shadow: 0 10px 40px rgba(0,31,63,0.12);
  --shadow-lg: 0 25px 60px rgba(0,31,63,0.2);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo, .btn, .section-badge, .hero-badge, .nav-links a, .footer h4 {
  font-family: 'Montserrat', sans-serif;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--gradient); color: var(--white); }
.btn-primary:hover { box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4); }
.btn-secondary { background: var(--secondary); color: var(--dark); }
.btn-secondary:hover { background: var(--secondary-dark); box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-lg { padding: 18px 42px; font-size: 16px; }

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 31, 63, 0.97);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,31,63,0.4);
}

.navbar.navbar-solid {
  background: var(--dark);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,31,63,0.4);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.logo i { font-size: 32px; color: var(--primary-light); }
.logo span { color: var(--secondary); }

.nav-links { display: flex; align-items: center; gap: 5px; }

.nav-links a {
  color: rgba(255,255,255,0.8);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-auth { display: flex; align-items: center; gap: 10px; }
.nav-login-link { font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.nav-login-link:hover { opacity: 1; }
.nav-account-link { font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; opacity: 0.85; transition: opacity 0.2s; display: flex; align-items: center; gap: 6px; }
.nav-account-link:hover { opacity: 1; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,31,63,0.88) 0%, rgba(0,31,63,0.65) 50%, rgba(0,51,102,0.45) 100%);
}

/* Wave animation at bottom of hero */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 3;
  overflow: hidden;
  line-height: 0;
}
.hero-waves svg {
  display: block;
  width: 200%;
  height: 100%;
  animation: waveSlide 8s linear infinite;
}
.hero-waves svg:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  animation: waveSlide 12s linear infinite reverse;
  opacity: 0.5;
}
@keyframes waveSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-slide .container { position: relative; z-index: 2; }

.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 191, 255, 0.2);
  border: 1px solid rgba(64, 224, 208, 0.5);
  color: var(--primary-light);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 560px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
}

.slider-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.hero-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--primary);
  width: 36px;
  border-radius: 6px;
}

.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 28px 0;
}

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

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 4px;
}

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

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark { background: var(--gradient-dark); position: relative; overflow: hidden; }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: var(--gray-light); }

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 0;
}

/* ========== SERVICES V2 ========== */
.services-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card-v2 {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card-v2:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.service-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card-v2:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 165, 233, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-v2:hover .service-card-overlay { opacity: 1; }

.service-card-body { padding: 32px; }

.service-icon-sm {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.service-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card-body p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.learn-more:hover { gap: 12px; }

/* ========== ABOUT PREVIEW ========== */
.about-preview-section {
  padding: 100px 0;
  background: var(--white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-img-float {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border: 5px solid var(--white);
}

.about-img-float img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
  border: 5px solid var(--white);
  z-index: 2;
}

.exp-number {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.exp-text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.2;
}

.about-preview-text h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-preview-text > p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features { margin-bottom: 32px; }

.about-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-top: 2px;
}

.about-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 14px;
  color: var(--gray);
}

/* ========== WHY US V2 ========== */
.why-section { padding: 100px 0; }

.why-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.why-card-v2 {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card-v2:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.3);
}

.why-card-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

.why-card-v2 .icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-light);
}

.why-card-v2 h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card-v2 p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ========== GALLERY ========== */
.gallery-section {
  padding: 100px 0;
  background: var(--light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item-lg {
  grid-row: span 2;
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(15,23,42,0.8));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  padding: 100px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header p { color: var(--gray-light); }

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 10px 0 20px;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  min-width: 360px;
  max-width: 360px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 32px;
  scroll-snap-align: start;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: var(--secondary);
  font-size: 16px;
}

.testimonial-card > p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.testimonial-author h5 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--gray-light);
  font-size: 13px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.test-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ========== CTA V2 ========== */
.cta-section-v2 {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14,165,233,0.9) 0%, rgba(6,182,212,0.85) 100%);
}

.cta-content h2 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content h2 span {
  position: relative;
}

.cta-content h2 span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); }

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular { border-color: var(--primary); transform: scale(1.05); }
.pricing-card.popular .popular-badge { display: block; }

.popular-badge {
  display: none;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-5px); }

.pricing-card h3 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pricing-card .price { font-size: 48px; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.pricing-card .price span { font-size: 16px; color: var(--gray); font-weight: 400; }
.pricing-card .price-desc { font-size: 14px; color: var(--gray); margin-bottom: 24px; }

.pricing-features { margin-bottom: 24px; flex: 1; }

.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-light);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li i { color: var(--success); font-size: 16px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ========== OLD CTA (kept for other pages) ========== */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section h2 { font-size: 40px; font-weight: 800; color: var(--white); margin-bottom: 16px; }

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer-wave {
  display: block;
  width: 100%;
  background: var(--light);
  line-height: 0;
}
.footer-wave svg { display: block; width: 100%; }

.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 70px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 20px; }

.footer-links a {
  display: block;
  padding: 6px 0;
  color: var(--gray-light);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover { color: var(--primary-light); padding-left: 8px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}

.footer-contact li i { color: var(--primary-light); margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* ========== FORMS ========== */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0,31,63,0.1);
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ========== PAGE HEADER V2 ========== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
}

.page-header.page-header-img {
  background-size: cover;
  background-position: center;
}

.page-header.page-header-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.7) 100%);
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.page-header p { font-size: 18px; color: var(--gray-light); max-width: 500px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray-light);
}

.breadcrumb a { color: var(--primary-light); }

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-info-card i { font-size: 28px; color: var(--primary); margin-bottom: 12px; }
.contact-info-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.contact-info-card p { font-size: 13px; color: var(--gray); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; color: var(--dark); }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 350px;
}

.map-container iframe { width: 100%; height: 100%; border: none; }

/* ========== AUTH PAGE ========== */
.auth-page { min-height: 100vh; display: flex; }

.auth-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.auth-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(14,165,233,0.6) 100%);
}

.auth-box { width: 100%; max-width: 440px; }
.auth-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.auth-box .subtitle { color: var(--gray); margin-bottom: 32px; font-size: 15px; }

.auth-toggle { text-align: center; margin-top: 24px; font-size: 14px; color: var(--gray); }
.auth-toggle a { color: var(--primary); font-weight: 600; }

.auth-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.auth-hero-content i { font-size: 80px; color: var(--primary-light); margin-bottom: 24px; }
.auth-hero-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.auth-hero-content p { font-size: 16px; color: var(--gray-light); max-width: 400px; line-height: 1.7; }

/* ========== DASHBOARD ========== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
}

.dashboard-sidebar {
  background: var(--dark);
  padding: 40px 24px;
  color: var(--white);
}

.dashboard-sidebar .user-info {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin: 0 auto 12px;
}

.user-info h4 { font-size: 16px; font-weight: 700; }
.user-info p { font-size: 13px; color: var(--gray-light); }

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--gray-light);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.dash-nav a:hover,
.dash-nav a.active {
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-light);
}

.dashboard-main { padding: 40px; background: var(--light); }
.dash-header { margin-bottom: 32px; }
.dash-header h2 { font-size: 28px; font-weight: 800; color: var(--dark); }
.dash-header p { color: var(--gray); font-size: 14px; }

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.dash-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.dash-card h4 { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.dash-card p { font-size: 13px; color: var(--gray); }

/* ========== CALENDAR ========== */
.calendar-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.calendar-header h3 { font-size: 20px; font-weight: 700; }
.calendar-nav { display: flex; gap: 8px; }

.calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid rgba(0,0,0,0.08);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.calendar-nav button:hover { border-color: var(--primary); color: var(--primary); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-grid .day-name {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  padding: 8px;
}

.calendar-grid .day {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.calendar-grid .day:hover { background: rgba(14, 165, 233, 0.1); color: var(--primary); }
.calendar-grid .day.selected { background: var(--primary); color: var(--white); }
.calendar-grid .day.today { border: 2px solid var(--primary); }
.calendar-grid .day.disabled { color: var(--gray-light); opacity: 0.4; cursor: not-allowed; }
.calendar-grid .day.other-month { color: var(--gray-light); opacity: 0.3; }

/* ========== BOOKING TABLE ========== */
.bookings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bookings-table th {
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  text-align: left;
}

.bookings-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bookings-table tr:hover td { background: rgba(14, 165, 233, 0.03); }

.status-badge {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.status-confirmed { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-pending { background: rgba(245, 158, 11, 0.1); color: var(--secondary-dark); }

/* ========== SERVICE DETAIL PAGE ========== */
.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-info h3 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }

.service-detail-info p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--dark-light);
}

.feature-list li i { color: var(--success); font-size: 18px; }

/* ========== ABOUT PAGE ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.about-text .section-badge { text-align: left; }

.about-text h3 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }

.about-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar i {
  width: 100%;
  height: 100%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.8);
}

.team-card h4 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-card p { font-size: 14px; color: var(--gray); }

/* ========== FAQ ========== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover { color: var(--primary); }

.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 400px;
  font-size: 14px;
}

.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast i { font-size: 20px; }
.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.modal-close:hover { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.modal h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }

/* ========== SPINNER ========== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ========== SERVICES GRID (old - for other pages) ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }

.service-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.service-card .learn-more:hover { gap: 12px; }

/* ========== WHY GRID (old for about) ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-card { text-align: center; padding: 40px 24px; }

.why-card .icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-light);
}

.why-card h4 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--gray-light); line-height: 1.7; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 48px; }
  .services-grid, .services-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .why-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-5px); }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { padding: 24px; }
  .dash-nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .dash-nav a { margin-bottom: 0; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-float { right: 20px; bottom: -20px; }
  .stats-bar-inner { gap: 24px; }
  .stat-number { font-size: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-item-lg { grid-row: span 1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    gap: 0;
    z-index: 1000;
  }

  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; padding: 14px 18px; }

  .nav-auth {
    position: fixed;
    bottom: 0;
    right: -100%;
    width: 280px;
    background: var(--dark);
    padding: 24px;
    flex-direction: column;
    transition: right 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
  }

  .nav-auth.open { right: 0; }
  .nav-auth .btn { width: 100%; justify-content: center; }

  .hero-slider { min-height: 600px; }
  .hero-content h1 { font-size: 36px; }
  .hero-content p { font-size: 16px; }
  .hero-dots { bottom: 100px; }
  .slider-arrow { width: 44px; height: 44px; font-size: 16px; }
  .stats-bar-inner { flex-wrap: wrap; gap: 16px; padding: 20px 0; }
  .stat-divider { display: none; }
  .stat-item { flex: 1 0 40%; }

  .services-grid, .services-grid-v2, .pricing-grid { grid-template-columns: 1fr; }
  .why-grid, .why-grid-v2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .about-content, .service-detail-content { grid-template-columns: 1fr; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-main img { height: 300px; }
  .about-preview-text h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-page { flex-direction: column; }
  .auth-right { display: none; }
  .section { padding: 60px 0; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 36px; }
  .section-header h2 { font-size: 32px; }
  .dash-cards { grid-template-columns: 1fr; }
  .dashboard-main { padding: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .testimonial-card { min-width: 300px; max-width: 300px; }
  .cta-content h2 { font-size: 32px; }
}
