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

:root {
  --primary: #1f5a94;
  --primary-dark: #174a7a;
  --secondary: #020033;
  --dark: #1a1a2e;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 90, 148, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

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

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 45px;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 35px;
  height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}

.section-header .section-subtitle {
  padding-left: 0;
}

.section-header .section-subtitle::before {
  display: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  margin-top: 5px;
}

/* ========== HEADER ========== */
.header-top {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 8px 0;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  gap: 25px;
}

.header-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contact i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.header-social {
  display: flex;
  gap: 15px;
}

.header-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.header-social a:hover { color: var(--primary); }

.navbar {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

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

.logo { display: flex; align-items: center; }

.logo-img {
  height: 50px;
  width: auto;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-link {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-cta { margin-left: 10px; }

.navbar.scrolled {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 20;
}

.hero-progress-bar {
  height: 100%;
  width: 0;
  background: #f5a623;
  transition: none;
}

.hero-progress-bar.animating {
  width: 100%;
  transition: width 5s linear;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #1f4a6e 100%);
}

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

.hero-slide:nth-child(1) {
  background: linear-gradient(135deg, #0d1b2a 0%, #152d45 40%, #1a3a5c 100%);
}

.hero-slide:nth-child(2) {
  background: linear-gradient(135deg, #101e30 0%, #1a3650 50%, #1f4060 100%);
}

.hero-slide:nth-child(3) {
  background: linear-gradient(135deg, #121f32 0%, #1c3852 60%, #204568 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.95) 40%, rgba(13, 27, 42, 0.7) 50%, rgba(13, 27, 42, 0.3) 70%, rgba(13, 27, 42, 0) 100%),
    url('/images/hero-bg.png') 85% center / cover no-repeat;
  transform: scale(1);
  transition: transform 0s;
}

.hero-slide.active .hero-overlay {
  animation: heroKenBurns 8s ease-in-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-slide:nth-child(2) .hero-overlay {
  background:
    linear-gradient(to right, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.95) 40%, rgba(13, 27, 42, 0.7) 50%, rgba(13, 27, 42, 0.3) 70%, rgba(13, 27, 42, 0) 100%),
    url('/images/hero-bg-2.png') 85% center / cover no-repeat;
}

.hero-slide:nth-child(3) .hero-overlay {
  background:
    linear-gradient(to right, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.95) 40%, rgba(13, 27, 42, 0.7) 50%, rgba(13, 27, 42, 0.3) 70%, rgba(13, 27, 42, 0) 100%),
    url('/images/hero-bg-3.png') 85% center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh;
  min-height: 600px;
  max-width: 700px;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  padding-left: 55px;
  position: relative;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 35px;
  line-height: 1.8;
}

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

.hero-buttons .btn-primary {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  padding: 16px 38px;
  font-size: 17px;
  font-weight: 700;
}

.hero-buttons .btn-primary:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-prev,
.hero-next {
  display: none;
}

.hero-dots {
  display: none;
}

/* Hero Thumbnails */
.hero-thumbs {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% + 60px));
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 120% 80% at 30% 20%, rgba(31, 90, 148, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 100% 120% at 80% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
    rgba(5, 5, 20, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: slideInFromRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

@keyframes slideInFromRight {
  to {
    transform: translateY(-50%) translateX(0);
  }
}

.hero-thumb {
  width: 180px;
  height: 120px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.5;
  transition: all 0.3s ease;
  position: relative;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

.hero-thumb:hover {
  opacity: 0.8;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-thumb.active {
  opacity: 1;
  border-color: #f5a623;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}

.hero-thumb-tooltip {
  position: absolute;
  right: calc(100% + 18px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #000000;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 22px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-thumb-tooltip::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  background: #f5a623;
  border-radius: 8px 0 0 8px;
}

.hero-thumb-tooltip::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #000000;
}

.hero-thumb:hover .hero-thumb-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Animation classes */
.hero-slide.active .animate-up {
  animation: slideUp 0.8s ease forwards;
}

.animate-up {
  opacity: 0;
  transform: translateY(30px);
}

.animate-up:nth-child(1) { animation-delay: 0.1s; }
.animate-up:nth-child(2) { animation-delay: 0.3s; }
.animate-up:nth-child(3) { animation-delay: 0.5s; }
.animate-up:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 8px solid #e8e8e8;
  border-radius: 20px;
  z-index: 0;
  transform: rotate(-3deg);
}

.about-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  z-index: 1;
}

.about-img-wrapper > img {
  width: 110%;
  height: 600px;
  margin: -25px 0 0 -5%;
  object-fit: cover;
  border-radius: 0;
  position: relative;
  animation: aboutPowerClip 18s ease-in-out infinite;
}

@keyframes aboutPowerClip {
  0%   { transform: scale(1.05) translate(0, 0); }
  20%  { transform: scale(1.12) translate(0, 0); }
  40%  { transform: scale(1.12) translate(-20px, -5px); }
  60%  { transform: scale(1.12) translate(20px, 5px); }
  80%  { transform: scale(1.12) translate(0, 0); }
  100% { transform: scale(1.05) translate(0, 0); }
}

.about-img-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, var(--secondary), #0a0a3e);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-img-placeholder i {
  font-size: 120px;
  color: rgba(255, 255, 255, 0.1);
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 25px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-description {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--gray);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 35px;
}

.about-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(31, 90, 148, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 24px;
  color: var(--primary);
}

.feature-text h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 5px;
}

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

/* ========== STATS ========== */
.stats-section {
  background: var(--white);
  padding: 0;
  position: relative;
  margin-top: -50px;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  transition: background 0.3s ease;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #e5e7eb;
}

.stat-item:hover {
  background: var(--primary);
}

.stat-item:hover .stat-icon i,
.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
  color: var(--white);
}

.stat-icon {
  margin-bottom: 12px;
}

.stat-icon i {
  font-size: 28px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  transition: color 0.3s ease;
}

/* ========== SERVICES ========== */
.services {
  background: var(--light-gray);
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(31, 90, 148, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-icon i {
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 15px;
}

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

.service-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.service-link:hover {
  color: var(--secondary);
}

.service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #174a7a 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== PORTFOLIO ========== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-image {
  height: 350px;
  overflow: hidden;
}

.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;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  transform: translateY(calc(100% - 100px));
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-category {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  background: #000000;
  padding: 6px 16px;
  border-radius: 20px;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
}

/* ========== TEAM ========== */
.team {
  background: var(--light-gray);
}

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

.team-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

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

.team-image {
  position: relative;
  overflow: hidden;
}

.team-img-placeholder {
  height: 300px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-img-placeholder i {
  font-size: 60px;
  color: rgba(0, 0, 0, 0.15);
}

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transition: bottom 0.3s ease;
}

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

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.team-social a:hover {
  background: var(--secondary);
}

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

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 3px;
}

.team-info span {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

/* ========== FAQ ========== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.faq-image {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.faq-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  image-rendering: high-quality;
  filter: brightness(0.65);
}

.accordion {
  margin-top: 30px;
}

.accordion-item {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary);
  transition: var(--transition);
}

.accordion-item.active .accordion-header {
  background: var(--primary);
  color: var(--white);
}

.accordion-header i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
  max-height: 200px;
}

.accordion-body p {
  padding: 20px 25px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--light-gray);
}

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

.testimonial-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 8px;
  transition: var(--transition);
}

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

.testimonial-quote {
  margin-bottom: 20px;
}

.testimonial-quote i {
  font-size: 32px;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(31, 90, 148, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar i {
  font-size: 20px;
  color: var(--primary);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
}

.author-info span {
  font-size: 13px;
  color: var(--primary);
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img-placeholder i {
  font-size: 40px;
  color: rgba(0, 0, 0, 0.15);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  margin-bottom: 12px;
}

.blog-meta span {
  font-size: 13px;
  color: var(--gray);
}

.blog-meta i {
  color: var(--primary);
  margin-right: 5px;
  font-size: 12px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.7;
}

.blog-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* ========== CONTACT ========== */
.contact {
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info .section-title {
  font-size: 36px;
}

.contact-info > p {
  margin-top: 15px;
  margin-bottom: 30px;
  color: var(--gray);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: rgba(31, 90, 148, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 20px;
  color: var(--primary);
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 3px;
}

.contact-item p {
  font-size: 15px;
  color: var(--gray);
}

.contact-cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #163d6b 100%);
  border-radius: 12px;
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.contact-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cta-icon i {
  font-size: 36px;
  color: #ffffff;
}

.contact-cta-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.contact-cta-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 380px;
}

.contact-cta-banner .btn-white {
  margin-top: 10px;
  font-size: 16px;
  padding: 16px 36px;
}

/* ========== FOOTER ========== */
.footer-features {
  background: var(--secondary);
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  color: var(--white);
}

.footer-feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(31, 90, 148, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-feature-icon i {
  font-size: 24px;
  color: var(--primary);
}

.footer-feature h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-main {
  background: var(--secondary);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col .logo-img {
  height: 45px;
  width: auto;
}

.footer-col > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-top: 15px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

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

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: var(--primary);
}

.footer-col ul a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
  border-radius: 4px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 12px 18px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-contact {
  margin-top: 20px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact i {
  color: var(--primary);
  margin-right: 8px;
  font-size: 13px;
}

.footer-bottom {
  background: #010025;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ========== SERVICE MODAL (Slide-in Panel) ========== */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(4px);
}

.service-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 150px);
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.service-modal.open {
  transform: translateX(0);
}

.service-modal-logo {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 2;
}

.service-modal-logo img {
  height: 70px;
  width: auto;
}

.service-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: #f5f5f5;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.service-modal-close:hover {
  background: #e8e8e8;
  color: #333;
}

.service-modal-arrow {
  position: fixed;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--primary);
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10000;
}

.service-modal-arrow:hover {
  background: var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.service-modal-prev {
  right: 88px;
}

.service-modal-next {
  right: 32px;
}

@media (max-width: 768px) {
  .service-modal-prev { right: 72px; }
  .service-modal-next { right: 16px; }
  .service-modal-arrow { width: 40px; height: 40px; font-size: 16px; bottom: 20px; }
}

.service-modal-content {
  padding: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.service-modal-body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
}

.service-modal-col-image {
  flex: 0 0 480px;
  position: sticky;
  top: 60px;
}

.service-modal-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.service-modal-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  animation: serviceImgFloat 4s ease-in-out infinite;
}

@keyframes serviceImgFloat {
  0%, 100% { transform: scale(1.03) translateY(0); }
  50% { transform: scale(1.06) translateY(-8px); }
}

.service-modal-col-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-modal-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.15;
}

.service-modal-desc,
.service-modal-details {
  font-family: var(--font-body);
  font-size: 17px;
  color: #555;
  line-height: 1.8;
}

.service-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid #d0d0d0;
  border-radius: 6px;
  background: none;
  color: #666;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  border-color: #999;
  color: #333;
}

@media (max-width: 1024px) {
  .service-modal-col-image {
    flex: 0 0 360px;
  }
}

@media (max-width: 768px) {
  .service-modal {
    width: 100%;
    border-radius: 0;
  }

  .service-modal-content {
    padding: 80px 24px 40px;
    align-items: flex-start;
  }

  .service-modal-body {
    flex-direction: column;
    gap: 24px;
  }

  .service-modal-col-image {
    flex: none;
    width: 100%;
    position: static;
  }

  .service-modal-title {
    font-size: 28px;
  }

  .service-modal-desc,
  .service-modal-details {
    font-size: 16px;
  }

  .service-modal-actions {
    flex-direction: column;
    width: 100%;
  }

  .service-modal-actions .btn,
  .service-modal-actions .btn-outline-dark {
    width: 100%;
    justify-content: center;
  }
}

/* ========== QUOTE PANEL ========== */
.quote-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 720px;
  height: 100vh;
  background: #ffffff;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.quote-panel.open {
  transform: translateX(0);
}

.quote-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quote-panel-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.quote-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.quote-panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.quote-panel-close:hover {
  background: #f5f5f5;
  color: #333;
}

.quote-panel-content {
  flex: 1;
  padding: 80px 50px 40px;
  overflow-y: auto;
}

.quote-step {
  display: none;
  animation: quoteFadeIn 0.4s ease;
}

.quote-step.active {
  display: block;
}

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

.quote-step-count {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 20px;
}

.quote-question {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 40px;
}

.quote-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #F0F0F0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.25s ease;
  text-align: left;
}

.quote-option-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.quote-option-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.quote-option i {
  font-size: 32px;
  color: var(--primary);
}

.quote-option > span {
  font-size: 18px;
  font-weight: 600;
  color: #888;
}

.quote-option.selected i {
  color: var(--primary);
}

.quote-option:hover {
  border-color: var(--primary);
  background: #e6e6e6;
}

.quote-option.selected {
  border-color: var(--primary);
  background: rgba(31, 90, 148, 0.08);
}

.quote-option.selected .quote-option-title {
  color: var(--primary);
}

.quote-other-field {
  margin-top: 16px;
}

.quote-other-field input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s ease;
}

.quote-other-field input:focus {
  outline: none;
  border-color: var(--primary);
}

.quote-input-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #333;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.quote-input:focus {
  outline: none;
  border-color: var(--primary);
}

.quote-input::placeholder {
  color: #bbb;
}

.quote-panel-footer {
  padding: 24px 50px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.btn-quote-next {
  padding: 16px 36px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-quote-next:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-quote-back {
  padding: 16px 24px;
  background: none;
  color: #666;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-quote-back:hover {
  border-color: #ccc;
  color: #333;
}

.quote-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quote-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.quote-summary-item:last-child {
  border-bottom: none;
}

.quote-summary-label {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
  min-width: 120px;
}

.quote-summary-value {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
}

.quote-success {
  text-align: center;
  padding: 60px 0;
}

.quote-success i {
  font-size: 72px;
  color: #28a745;
  margin-bottom: 30px;
}

.quote-success p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .quote-panel {
    max-width: 100%;
  }

  .quote-panel-content {
    padding: 70px 28px 30px;
    padding-bottom: 100px;
  }

  .quote-question {
    font-size: 26px;
  }

  .quote-panel-footer {
    padding: 16px 28px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
    position: sticky;
    bottom: 0;
    background: #ffffff;
    z-index: 2;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 15px rgba(31, 90, 148, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  animation: none;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: 160px 0 80px;
  min-height: 70vh;
}

.legal-header {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--primary);
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

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

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 10px 0 20px 20px;
  list-style: disc;
}

.legal-content ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--secondary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-table th {
  background: var(--light-gray);
  font-weight: 700;
  color: var(--secondary);
}

.legal-table td {
  color: #444;
}

.legal-footer {
  margin-top: auto;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 120px 0 60px;
  }

  .legal-header h1 {
    font-size: 30px;
  }

  .legal-content h2 {
    font-size: 20px;
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  padding: 24px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cookie-text h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.cookie-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.cookie-text a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: var(--primary);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}

.cookie-accept {
  background: #1a1a1a;
  color: #ffffff;
}

.cookie-accept:hover {
  background: #333;
  border-color: #333;
}

.cookie-manage,
.cookie-reject {
  background: #ffffff;
  color: #1a1a1a;
}

.cookie-manage:hover,
.cookie-reject:hover {
  background: #f5f5f5;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 520px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.cookie-modal-close:hover {
  color: #1a1a1a;
}

.cookie-modal-body {
  padding: 20px 28px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info {
  flex: 1;
  padding-right: 20px;
}

.cookie-option-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.cookie-option-info p {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--primary);
  opacity: 0.6;
  cursor: default;
}

.cookie-toggle input:disabled:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
}

.cookie-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .section-title { font-size: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3)::after { display: none; }
  .hero-thumbs { right: 20px; }
  .hero-thumb { width: 140px; height: 95px; }
}

@media (max-width: 768px) {
  .header-top { display: none; }
  .hero-thumbs { display: none; }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .header {
    margin-bottom: 80px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-link::after { display: none; }

  .nav-cta {
    margin: 15px 0 0;
  }

  .hero { height: 70vh; min-height: 500px; }
  .hero-content { height: 70vh; min-height: 500px; }
  .hero-title { font-size: 36px; }

  .hero-overlay,
  .hero-slide:nth-child(2) .hero-overlay,
  .hero-slide:nth-child(3) .hero-overlay {
    background:
      linear-gradient(to right, rgba(13, 27, 42, 0.97) 0%, rgba(13, 27, 42, 0.95) 60%, rgba(13, 27, 42, 0.85) 75%, rgba(13, 27, 42, 0.5) 90%, rgba(13, 27, 42, 0.2) 100%),
      url('/images/hero-bg.png') 80% center / cover no-repeat;
  }
  .hero-slide:nth-child(2) .hero-overlay {
    background-image:
      linear-gradient(to right, rgba(13, 27, 42, 0.97) 0%, rgba(13, 27, 42, 0.95) 60%, rgba(13, 27, 42, 0.85) 75%, rgba(13, 27, 42, 0.5) 90%, rgba(13, 27, 42, 0.2) 100%),
      url('/images/hero-bg-2.png');
    background-position: 80% center;
    background-size: cover;
  }
  .hero-slide:nth-child(3) .hero-overlay {
    background-image:
      linear-gradient(to right, rgba(13, 27, 42, 0.97) 0%, rgba(13, 27, 42, 0.95) 60%, rgba(13, 27, 42, 0.85) 75%, rgba(13, 27, 42, 0.5) 90%, rgba(13, 27, 42, 0.2) 100%),
      url('/images/hero-bg-3.png');
    background-position: 80% center;
    background-size: cover;
  }
  .hero-description { font-size: 16px; }

  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .cta-content h2 { font-size: 28px; }

  .stats-section { margin-top: -30px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after,
  .stat-item:nth-child(4)::after { display: none; }
  .stat-item { padding: 25px 15px; }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .blog-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .section-title { font-size: 30px; }

  .contact-cta-banner { padding: 40px 28px; }

  .about-experience {
    right: 10px;
    bottom: -10px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-buttons { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 40px; }
  .contact-cta-title { font-size: 24px; }
}
