/* ============================================
   AMAZE PUNCH - Global Stylesheet
   Colors: Navy #1A3A6B | Gold #C09647 | Coral #E18251 | Cream #F2EFE8
   Fonts: Playfair Display (headings) | Inter (body)
   ============================================ */

/* --- Google Fonts --- */
/* Loaded non-blocking via <link> preconnect + media='print' swap trick in HTML */
/* @import removed to eliminate render-blocking font request */

/* --- CSS Variables --- */
:root {
  --navy: #1A3A6B;
  --navy-dark: #122a50;
  --navy-light: #2a5294;
  --gold: #C09647;
  --gold-light: #d4af6a;
  --coral: #E18251;
  --coral-light: #e99b74;
  --cream: #F2EFE8;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1200px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(26, 58, 107, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 58, 107, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 58, 107, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Utility Classes --- */
.text-center {
  text-align: center;
}

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

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

.text-navy {
  color: var(--navy);
}

.text-gold {
  color: var(--gold);
}

.text-coral {
  color: var(--coral);
}

.text-white {
  color: var(--white);
}

.bg-cream {
  background-color: var(--cream);
}

.bg-navy {
  background-color: var(--navy);
}

.bg-white {
  background-color: var(--white);
}

.section-padding {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title p {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
  font-weight: 700;
}

.btn-secondary:hover {
  background: #a07030;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-coral:hover {
  background: var(--coral-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-left a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
}

.top-bar-left a:hover {
  color: var(--gold);
}

.top-bar-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-bar-right a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  transition: color var(--transition);
}

.top-bar-right a:hover {
  color: var(--gold);
}

/* Main Header */
header.main-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

header.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

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

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-text .brand-tagline {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  padding: 8px 16px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1.5px solid rgba(26, 58, 107, 0.15);
  border-radius: 8px;
  z-index: 1001;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle:hover {
  background: rgba(26, 58, 107, 0.04);
  border-color: var(--navy);
}

.menu-toggle.active {
  background: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 3px 12px rgba(26, 58, 107, 0.12);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.50;
  filter: blur(1px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.92) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-content {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.hero-content .badge {
  display: inline-block;
  background: var(--cream);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

/* ============================================
   TAGLINE TICKER SECTION
   ============================================ */
.tagline-ticker-section {
  background: linear-gradient(135deg, #0b1d3a, #122b54);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(212, 160, 23, 0.3);
  border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}

.ticker-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  padding-right: 40px;
  flex-shrink: 0;
}

.tagline-ticker-section:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
}

.ticker-icon {
  color: var(--gold);
  font-style: normal;
  font-size: 0.9rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

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

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--navy);
  transition: all var(--transition);
}

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

.service-card h4 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

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

.service-card .read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  min-height: 44px;
  padding: 4px 0;
}

.service-card .read-more:hover {
  gap: 10px;
  color: var(--navy);
}

/* ============================================
   WHY CHOOSE US / FEATURES
   ============================================ */
.features-section {
  background: var(--cream);
}

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

.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-item .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  color: var(--gold);
  transition: all var(--transition);
}

.feature-item:hover .icon {
  background: var(--navy);
  color: var(--white);
}

.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image .image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image .experience-badge h3 {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-image .experience-badge p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  flex: 1;
}

.about-content .subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-content h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-list {
  margin: 24px 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.about-list li .check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

.service-header {
  margin-bottom: 24px;
}

.service-header .subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.service-header h2 {
  font-size: 2rem;
  color: var(--navy);
}

@media (min-width: 769px) {
  .about-row.reverse-desktop {
    flex-direction: row-reverse;
  }
}



/* ============================================
   PORTFOLIO / GALLERY
   ============================================ */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.portfolio-filters button {
  padding: 8px 22px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--cream);
}

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

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

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 58, 107, 0.85), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

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

.portfolio-item .overlay h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.portfolio-item .overlay span {
  color: var(--gold-light);
  font-size: 0.82rem;
}

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: scale(1.04);
}

.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-card .plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.pricing-card .price-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.pricing-card .price-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-card .price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card .price-features li .check {
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-item {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.testimonial-item .quote-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-item p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-item .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-item .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-item .author-info h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 600;
}

.testimonial-item .author-info span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  /* Enlarge touch target via padding while keeping visual size small */
  padding: 18px;
  box-sizing: content-box;
}

.testimonial-dots .dot.active {
  background: var(--navy);
  width: 28px;
  border-radius: 5px;
}

/* ============================================
   CTA (Call to Action)
   ============================================ */
.cta-section {
  background: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 150, 71, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.87);
  max-width: 550px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.cta-content .btn-secondary {
  font-size: 1rem;
}

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

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-card .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--cream);
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .thumb img {
  transform: scale(1.06);
}

.blog-card .thumb .category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card .blog-info {
  padding: 24px;
}

.blog-card .blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.blog-card .blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.blog-card h4 a {
  color: var(--navy);
  transition: color var(--transition);
}

.blog-card h4 a:hover {
  color: var(--gold);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card .read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card .read-more:hover {
  color: var(--navy);
  gap: 10px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-card h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px;
}

.contact-form h3 {
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-700);
  transition: border-color var(--transition);
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ============================================
   HOW IT WORKS / PROCESS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: all var(--transition);
}

.process-step:hover .step-number {
  background: var(--gold);
  transform: scale(1.1);
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   CLIENTS / PARTNERS
   ============================================ */
.clients-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.client-logo {
  height: 40px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   FOOTER
   ============================================ */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4,
.footer-col .footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about .logo .brand-name {
  color: var(--white);
}

.footer-about .logo .brand-tagline {
  color: var(--gold);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

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

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li .icon {
  color: var(--gold);
  font-size: 1rem;
  min-width: 20px;
  margin-top: 2px;
}

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

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-bottom a {
  color: var(--gold);
}

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.page-banner {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(192, 150, 71, 0.08), transparent 60%);
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
  position: relative;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  position: relative;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-banner .breadcrumb a:hover {
  color: var(--gold);
}

.page-banner .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.page-banner .breadcrumb .current {
  color: var(--gold);
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.82rem;
  min-height: 200px;
}

/* ============================================
   ABOUT PAGE - TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.team-card .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}

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

.team-card:hover .thumb img {
  transform: scale(1.06);
}

.team-card .team-info {
  padding: 20px;
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.82rem;
  color: var(--gold);
}

/* ============================================
   BLOG PAGE EXTRAS
   ============================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream);
}

.sidebar-widget .search-box {
  display: flex;
  gap: 0;
}

.sidebar-widget .search-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.sidebar-widget .search-box button {
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: background var(--transition);
}

.sidebar-widget .search-box button:hover {
  background: var(--navy-dark);
}

.sidebar-widget .recent-posts li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-widget .recent-posts li:last-child {
  border-bottom: none;
}

.sidebar-widget .recent-posts li .rp-thumb {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}

.sidebar-widget .recent-posts li .rp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-widget .recent-posts li h6 a {
  color: var(--navy);
  font-size: 0.88rem;
  line-height: 1.4;
}

.sidebar-widget .recent-posts li h6 a:hover {
  color: var(--gold);
}

.sidebar-widget .recent-posts li span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.sidebar-widget .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-widget .tag-list a {
  padding: 6px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gray-600);
  transition: all var(--transition);
}

.sidebar-widget .tag-list a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================
   FORMATS / MACHINES SECTION
   ============================================ */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.format-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.format-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.format-item .format-icon {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.format-item h5 {
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.format-item p {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin: 0;
}

/* ============================================
   COUNTER / STATS BAR
   ============================================ */
.stats-bar {
  background: var(--navy);
  padding: 50px 0;
}

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

.stat-item h3 {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.82rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

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

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

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all var(--transition);
}

.pagination a:hover,
.pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--gold);
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .top-bar {
    display: none;
  }

  /* Mobile Nav */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 330px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    padding: 85px 22px 30px;
    box-shadow: -10px 0 35px rgba(18, 43, 84, 0.18);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.42s ease, box-shadow 0.42s ease;
    z-index: 1000;
    overflow-y: auto;
    overscroll-behavior: contain;
    will-change: transform;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(25px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .main-nav.open .nav-links li:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-links li:nth-child(2) { transition-delay: 0.13s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-links li:nth-child(3) { transition-delay: 0.18s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-links li:nth-child(4) { transition-delay: 0.23s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-links li:nth-child(5) { transition-delay: 0.28s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-links li:nth-child(6) { transition-delay: 0.33s; opacity: 1; transform: translateX(0); }

  .nav-links a {
    display: block;
    text-align: center;
    padding: 13px 18px;
    background: #f8fafc;
    border: 1px solid rgba(26, 58, 107, 0.08);
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    background: rgba(192, 150, 71, 0.12);
    border-color: rgba(192, 150, 71, 0.4);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(192, 150, 71, 0.15);
  }

  .nav-links a.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    box-shadow: 0 4px 14px rgba(26, 58, 107, 0.22);
  }

  .nav-cta {
    margin: 18px 0 0;
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.36s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
  }

  .main-nav.open .nav-cta {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-cta .btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 1.02rem;
    box-shadow: 0 4px 16px rgba(26, 58, 107, 0.22);
  }

  /* Mobile Overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero {
    padding: 75px 0 60px;
    min-height: auto;
  }

  .hero .container {
    text-align: center;
    padding: 0 20px;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .about-row {
    flex-direction: column !important;
    gap: 30px;
  }

  .service-header {
    margin-bottom: 18px;
  }

  .service-header h2 {
    font-size: 1.6rem;
  }

  .about-image {
    width: 100%;
  }

  .about-content {
    width: 100%;
  }



  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LOADING / PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--transition);
  z-index: 998;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ============================================
   BEFORE / AFTER COMPARISON SLIDER
   ============================================ */
.ba-slider {
  position: relative;
  display: block;
  /* Ensures it acts as a block element */
  width: 100%;
  max-width: 520px;
  min-height: 320px;
  /* Strict fallback height for mobile */
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  background: var(--navy);
  margin: 20px auto;
  /* Better spacing on mobile */
  --ba-pos: 50%;
  touch-action: pan-y;
}

/* @supports wala block remove kar diya gaya hai kyunki woh mobile par height collapse kar raha tha */

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-image-after {
  z-index: 1;
}

.ba-image-before {
  z-index: 2;
  clip-path: polygon(0 0, var(--ba-pos) 0, var(--ba-pos) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, var(--ba-pos) 0, var(--ba-pos) 100%, 0 100%);
  transition: clip-path 0.02s linear;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.02s linear;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2.5px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 6;
}

.ba-badge {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 6;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ba-badge-left {
  left: 16px;
  background: rgba(18, 43, 84, 0.9);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.ba-badge-right {
  right: 16px;
  background: rgba(192, 150, 71, 0.95);
  color: var(--white);
}

.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
}

/* ============================================
   AUTO IMAGE SLIDESHOW (SERVICES 2 & 3)
   ============================================ */
.auto-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  display: grid;
}

.auto-slideshow .slide-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.auto-slideshow .slide-img.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ============================================
   ASK AI BUTTON & FLOATING AI CHATBOT
   ============================================ */

/* Ask AI Nav Button */
.btn-ask-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, #122a50 100%);
  color: var(--white);
  border: 1.5px solid rgba(192, 150, 71, 0.45);
  box-shadow: 0 4px 14px rgba(26, 58, 107, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-ask-ai::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(212, 175, 106, 0.18) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: btnShimmer 4s infinite linear;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.btn-ask-ai:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 150, 71, 0.35);
}

.ai-sparkle-star {
  color: var(--gold-light);
  flex-shrink: 0;
  animation: starSparkle 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(212, 175, 106, 0.7));
}

@keyframes starSparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.22) rotate(15deg);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(212, 175, 106, 0.95));
  }
}

/* Floating AI Chat Backdrop */
.ai-chat-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ai-chat-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Floating AI Chat Widget */
.ai-chat-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 50px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(10, 25, 47, 0.28), 0 0 0 1px rgba(192, 150, 71, 0.25);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.ai-chat-widget.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Header */
.ai-chat-header {
  background: linear-gradient(135deg, #0d2242 0%, #1A3A6B 100%);
  padding: 16px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(192, 150, 71, 0.3);
  position: relative;
}

.ai-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(192, 150, 71, 0.15);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(192, 150, 71, 0.3);
  padding: 3px;
}

.ai-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.ai-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  padding: 2px;
}

.ai-msg-avatar .ai-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Streaming cursor blink */
.ai-cursor {
  display: inline-block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
  animation: cursorBlink 0.75s step-end infinite;
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0.8;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ai-header-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.ai-header-info .ai-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.ai-chat-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.ai-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Body / Messages */
.ai-chat-body {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
  animation: msgSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d2242;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  padding: 2px;
}

.ai-msg-content {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(26, 58, 107, 0.06);
  border: 1px solid rgba(26, 58, 107, 0.08);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gray-700);
}

.ai-msg.user .ai-msg-content {
  background: var(--navy);
  color: #ffffff;
  border-radius: 16px;
  border-top-right-radius: 4px;
  border: 1px solid var(--navy);
  box-shadow: 0 4px 12px rgba(26, 58, 107, 0.2);
}

.ai-msg-content p {
  margin: 0 0 6px;
  color: inherit;
}

.ai-msg-content p:last-child {
  margin-bottom: 0;
}

.ai-msg-content ul {
  margin: 6px 0;
  padding-left: 18px;
  list-style: disc;
}

.ai-msg-content li {
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.ai-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #122a50 !important;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(192, 150, 71, 0.25);
}

.ai-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 150, 71, 0.4);
}

/* Quick Prompts */
.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 0 6px;
}

.ai-prompt-chip {
  background: #ffffff;
  border: 1px solid rgba(26, 58, 107, 0.15);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.ai-prompt-chip:hover {
  background: var(--cream);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Typing Indicator */
.ai-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.4;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.ai-typing-dot:nth-child(1) { animation-delay: 0s; }
.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Footer / Input */
.ai-chat-footer {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(26, 58, 107, 0.08);
}

.ai-input-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ai-chat-input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid rgba(26, 58, 107, 0.15);
  border-radius: 25px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.ai-chat-input:focus {
  border-color: var(--navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.08);
}

.ai-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ai-send-btn:hover {
  background: var(--navy-dark);
  transform: scale(1.05);
}

/* Mobile responsive for chat widget */
@media (max-width: 480px) {
  .ai-chat-widget {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 88vh;
    height: 88dvh;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .ai-chat-widget.active {
    transform: translateY(0);
  }
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE ADDITIONS
   ============================================ */

/* Skip to main content link for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Ensure visible focus styles for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Footer heading utility (h2 used for hierarchy, styled as h4) */
.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

/* h3 used in service/feature cards (was h4) – match old visual size */
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}

/* Testimonial author name (was h5, now h3) */
.testimonial-item .author-info h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Top-bar contrast fix */
.top-bar-left a,
.top-bar-right a {
  color: rgba(255, 255, 255, 0.95);
}