/* ========================================
   SOUTH POINT CONSTRUCTIONS - Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --blue-50: #e6eef4;
  --blue-100: #c2d4e3;
  --blue-200: #95b3cc;
  --blue-300: #6891b4;
  --blue-400: #3d6f9c;
  --blue-500: #2a5578;
  --blue-600: #1e4868;
  --blue-700: #183b55;
  --blue-800: #112d42;
  --blue-900: #0b1f2f;
  --blue-950: #06111c;

  --gradient-primary: linear-gradient(135deg, #0b1f2f 0%, #1e4868 50%, #2a5578 100%);
  --gradient-hero: linear-gradient(135deg, #06111c 0%, #0b1f2f 40%, #183b55 100%);
  --gradient-accent: linear-gradient(135deg, #3d6f9c 0%, #2a5578 50%, #1e4868 100%);
  --gradient-dark: linear-gradient(180deg, #040b14 0%, #0b1524 100%);

  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 8px 30px rgba(24, 59, 85, 0.35);
  --shadow-blue-lg: 0 15px 50px rgba(24, 59, 85, 0.45);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--gray-900);
}

/* ── Container ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-blue);
}

.logo-icon img {
  border-radius: 12px;
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  transition: color var(--transition-base);
}

.nav-logo .logo-text span {
  color: var(--blue-400);
}

.navbar.scrolled .nav-logo .logo-text {
  color: var(--gray-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-cta {
  font-weight: 600 !important;
  color: var(--white) !important;
  padding: 12px 28px !important;
  background: var(--gradient-accent) !important;
  border-radius: var(--radius-full) !important;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition-base) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg) !important;
}

.navbar.scrolled .nav-cta {
  color: var(--white) !important;
  background: var(--gradient-accent) !important;
}

.navbar.scrolled .nav-cta.active {
  background: var(--gradient-accent) !important;
  color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-800);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7.5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 105vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/hero-roof.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "content image"
    "buttons image";
  gap: 60px;
  align-items: start;
  padding-top: 80px;
}

.hero-content {
  grid-area: content;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: var(--radius-full);
  color: var(--blue-300);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #3d6f9c, #6891b4, #95b3cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 0;
  line-height: 1.8;
}

.hero-buttons {
  grid-area: buttons;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-image {
  grid-area: image;
  position: relative;
  animation: fadeInRight 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: linear-gradient(135deg, var(--blue-300), var(--blue-600), transparent);
  z-index: -1;
  opacity: 0.5;
}

.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.hero-stat.stat-1 {
  bottom: 40px;
  left: -40px;
  animation-delay: 0s;
}

.hero-stat.stat-2 {
  top: 40px;
  right: -30px;
  animation-delay: 1.5s;
  background: rgba(255, 255, 255, 0.9);
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-600);
}

.hero-stat .stat-label {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 500;
}


/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ── Section Styles ── */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--blue-300);
  border-radius: 1px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ── Feature Cards ── */
.features-section {
  padding: var(--section-padding);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-accent);
  transform: scale(1.1);
  box-shadow: var(--shadow-blue);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--gradient-hero);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 111, 156, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--blue-200);
  font-weight: 500;
}

/* ── Services Section ── */
.services-section {
  padding: 100px 0 120px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Center the 7th card (odd one out) */
.services-grid .soffit-fascia-card {
  grid-column: 2;
}

/* Hidden on desktop — shown only on mobile */
.services-slider-dots {
  display: none;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(60px);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}

.service-card .card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

.service-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 17, 28, 0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition-spring);
}

.service-card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.service-card .card-body {
  padding: 28px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-600);
  transition: all var(--transition-base);
}

.service-card .card-link:hover {
  gap: 14px;
  color: var(--blue-700);
}

/* ── Process Section ── */
.process-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.process-step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.process-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-blue);
  transition: all var(--transition-spring);
  border: 5px solid var(--white);
}

.process-step:hover .process-number {
  transform: scale(1.15);
  box-shadow: var(--shadow-blue-lg);
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Reviews Section ── */
.reviews-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.reviews-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 40px;
}

.review-card {
  min-width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  flex-shrink: 1;
  display: flex;
  overflow: hidden;
}

.review-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}

/* Review Card Image */
/* .review-card-image {
  width: 40%;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.review-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
} */

.review-card:hover .review-card-image img {
  transform: scale(1.05);
}

.review-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 47, 0.15) 0%, rgba(24, 59, 85, 0.3) 100%);
  pointer-events: none;
}

/* Review Card Content */
.review-card-content {
  flex: 1;
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.review-stars i {
  color: #fbbf24;
  font-size: 1.15rem;
}

.review-text {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 32px;
  font-style: italic;
  position: relative;
}

.review-text::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: -5px;
  font-size: 4rem;
  color: var(--blue-200);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.5;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
}

.author-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--blue-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--blue-600);
  font-size: 1.1rem;
}

.slider-btn:hover {
  background: var(--gradient-accent);
  border-color: var(--blue-500);
  color: var(--white);
  box-shadow: var(--shadow-blue);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-200);
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dots .dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
}

/* ── CTA Section ── */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61, 111, 156, 0.2) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--blue-200);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact Section ── */
.contact-section {
  padding: 100px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  padding: 20px 0;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--gray-500);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-item .detail-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-detail-item:hover .detail-icon {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-blue);
}

.contact-detail-item .detail-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail-item .detail-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: all var(--transition-base);
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(24, 59, 85, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  margin-top: 24px;
  text-align: center;

}

.form-submit .btn {
  width: 100%;
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ── Footer ── */
.footer {
  background: var(--gradient-dark);
  padding: 80px 0 32px;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.footer-brand .footer-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 0.95rem;
  transition: all var(--transition-base);
}

.footer-col ul a:hover {
  color: var(--blue-400);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--blue-400);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ══════════════════════════════════════
   PAGE-SPECIFIC STYLES
   ══════════════════════════════════════ */

/* ── Sub-page Heroes (About, Services, Contact) ── */
.about-hero,
.services-hero,
.contact-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before,
.services-hero::before,
.contact-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 111, 156, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-hero h1,
.services-hero h1,
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.about-hero p,
.services-hero p,
.contact-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── About Page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-blue);
  animation: float 3s ease-in-out infinite;
}

.experience-badge .exp-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .exp-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Values Section ── */
.values-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   RESPONSIVE - MOBILE FIRST APPROACH
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --container-padding: 0 20px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "image"
      "buttons";
    text-align: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-stat {
    display: none;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services-grid .soffit-fascia-card {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before {
    display: none;
  }

  .review-card {
    min-width: 100%;
    flex-direction: column;
  }

  .review-card-image {
    width: 100%;
    min-height: 220px;
  }

  .review-card-content {
    padding: 36px 32px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  /* About page tablet */
  .about-grid {
    gap: 40px;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  /* Values tablet */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Sub-page heroes tablet */
  .about-hero h1,
  .services-hero h1,
  .contact-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
    --container-padding: 0 16px;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--gradient-hero);
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85) !important;
    background: none !important;
  }

  .nav-links a.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.12) !important;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    min-height: 105vh;
  }

  .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "image"
      "buttons";
    gap: 5px;
    padding-top: 0px;
  }

  .hero-image img {
    height: 180px;
  }

  .hero-stat {
    display: none;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  /* Sections Mobile */
  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Sub-page Heroes Mobile */
  .about-hero,
  .services-hero,
  .contact-hero {
    padding: 110px 0 60px;
  }

  .about-hero h1,
  .services-hero h1,
  .contact-hero h1 {
    font-size: 2rem;
  }

  .about-hero p,
  .services-hero p,
  .contact-hero p {
    font-size: 1rem;
  }

  /* About Page Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image img {
    height: 280px;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }

  .experience-badge {
    padding: 12px 18px;
  }

  .experience-badge .exp-number {
    font-size: 1.6rem;
  }

  /* Values Mobile */
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 28px 20px;
  }

  .value-icon {
    font-size: 1.8rem;
  }

  .value-card h3 {
    font-size: 1.05rem;
  }

  .value-card p {
    font-size: 0.9rem;
  }

  /* Feature Cards Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  /* Stats Bar Mobile - Single line */
  .stats-bar {
    padding: 24px 0;
  }

  .stats-bar::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .stat-item .stat-number {
    font-size: 1.4rem;
    margin-bottom: 2px;
  }

  .stat-item .stat-label {
    font-size: 0.65rem;
  }

  /* Features (Why Choose Us) Mobile - Hidden */
  .features-section {
    display: none;
  }

  /* Scrolled Navbar - Transparent on mobile */
  .navbar.scrolled {
    background: rgba(11, 31, 47, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  }

  .navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.85);
  }

  .navbar.scrolled .nav-links a:hover,
  .navbar.scrolled .nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
  }

  .navbar.scrolled .nav-logo .logo-text {
    color: var(--white);
  }

  .navbar.scrolled .nav-logo .logo-text span {
    color: var(--blue-300);
  }

  .navbar.scrolled .nav-toggle span {
    background: var(--white);
  }

  /* Services Mobile - Horizontal Sliding White Cards */
  .services-section {
    padding: 60px 0 70px;
    background: var(--gray-50);
    position: relative;
  }

  /* Extended gradient below services */
  /* .services-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, var(--gray-50) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  } */

  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 4px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .services-grid .soffit-fascia-card {
    grid-column: auto;
  }

  .service-card {
    flex: 0 0 78vw;
    max-width: 78vw;
    scroll-snap-align: center;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }

  .service-card .card-image {
    display: block;
    height: 140px;
    border-radius: 20px 20px 0 0;
  }

  .service-card .card-image img {
    border-radius: 20px 20px 0 0;
  }

  .service-card .card-overlay {
    border-radius: 20px 20px 0 0;
  }

  .service-card .card-body {
    padding: 28px 22px 24px;
    text-align: center;
    position: relative;
  }

  .service-card .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue-300), var(--blue-500));
    opacity: 0.5;
  }

  .service-card h3 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }

  .service-card p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 0;
  }

  .service-card .card-link {
    display: none;
  }

  .service-card:hover,
  .service-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  /* Services Slider Dots */
  .services-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .services-slider-dots .svc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .services-slider-dots .svc-dot.active {
    width: 24px;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
  }

  /* Process Mobile - Hidden */
  .process-section {
    display: none;
  }

  /* Reviews Mobile - Match Service Cards Style */
  .reviews-section {
    padding: 50px 0;
    background: var(--gray-50);
  }

  .reviews-slider {
    overflow: visible;
  }

  .reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 4px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: none;
    transform: none !important;
  }

  .reviews-track::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 78vw;
    max-width: 78vw;
    min-width: 78vw;
    scroll-snap-align: center;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }

  .review-card:hover,
  .review-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.06);
  }

  .review-card-image {
    width: 100%;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    border-radius: 20px 20px 0 0;
  }

  .review-card-image img {
    border-radius: 20px 20px 0 0;
  }

  .review-image-overlay {
    border-radius: 20px 20px 0 0;
  }

  .review-card-content {
    padding: 20px 22px 24px;
    text-align: center;
  }

  .review-stars {
    justify-content: center;
    margin-bottom: 12px;
  }

  .review-stars i {
    font-size: 0.9rem;
  }

  .review-text {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: normal;
  }

  .review-text::before {
    display: none;
  }

  .review-author {
    justify-content: center;
    gap: 10px;
  }

  .author-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .author-info h4 {
    font-size: 0.9rem;
  }

  .author-info span {
    font-size: 0.75rem;
  }

  /* Hide prev/next buttons, keep dots */
  .reviews-controls {
    margin-top: 20px;
    gap: 14px;
  }

  .slider-btn {
    display: none;
  }

  .slider-dots .dot {
    width: 8px;
    height: 8px;
  }

  .slider-dots .dot.active {
    width: 24px;
  }

  /* CTA Mobile */
  .cta-section {
    padding: 70px 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Contact Mobile — Blue form with slide-over */
  .contact-section {
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info {
    padding: 0 0 40px;
  }

  .contact-info p {
    font-size: 15.2px;
  }


  .contact-info h3,
  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-form-wrapper {
    background: linear-gradient(135deg, #112d42 0%, #1e4868 50%, #2a5578 100%);
    border: 1px solid rgba(61, 111, 156, 0.3);
    border-radius: 24px 24px 0 0;
    padding: 36px 24px 40px;
    box-shadow: 0 -8px 40px rgba(11, 31, 47, 0.3);
    position: relative;
    z-index: 2;
    margin: 0 -20px;
  }

  .contact-form-wrapper h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 24px;
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 0.92rem;
    backdrop-filter: blur(4px);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--blue-300);
    box-shadow: 0 0 0 3px rgba(104, 145, 180, 0.2);
    background: rgba(255, 255, 255, 0.12);
  }

  .form-group select option {
    background: #1e4868;
    color: var(--white);
  }

  .form-submit .btn {
    position: relative;
    justify-content: center !important;
    align-items: center !important;
    text-align: center!important;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    backdrop-filter: blur(4px);
    box-shadow: none;
  }

  .form-submit .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
  }

  /* Footer Mobile */
  .footer {
    padding: 60px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.8rem;
    color: var(--white);
  }

  .hero-image img {
    height: 180px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* Services - smaller mobile adjustments */
  .service-card {
    flex: 0 0 84vw;
    max-width: 84vw;
  }

  .service-card .card-body {
    padding: 22px 16px 20px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .service-card .card-link {
    font-size: 0.82rem;
    padding: 6px 14px;
  }

  .contact-detail-item .detail-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .contact-info .reveal-left.active {
    opacity: 1;
    font-size: 0.5rem;
  }

  .contact-detail-item .detail-content p {
    font-size: 0.8rem;
  }

  .nav-logo .logo-text {
    font-size: 1rem;
  }

  .nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* Sub-page Heroes small mobile */
  .about-hero,
  .services-hero,
  .contact-hero {
    padding: 100px 0 50px;
  }

  .about-hero h1,
  .services-hero h1,
  .contact-hero h1 {
    font-size: 1.6rem;
  }

  /* About small mobile */
  .about-image img {
    height: 220px;
  }

  .about-content h2 {
    font-size: 1.4rem;
  }

  .experience-badge {
    padding: 10px 14px;
  }

  .experience-badge .exp-number {
    font-size: 1.3rem;
  }

  /* Values small mobile */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .value-card {
    padding: 24px 18px;
  }
}