/* ==========================================================================
   Oratalesedi Trading & Projects - Main Stylesheet
   Converted from Next.js/Tailwind to Pure CSS
   ========================================================================== */

/* CSS Variables (Design Tokens) */
:root {
  /* Light Mode Colors */
  --background: #ffffff;
  --foreground: #0a1929;
  --card: #ffffff;
  --card-foreground: #0a1929;
  --popover: #ffffff;
  --popover-foreground: #0a1929;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0a1929;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #f1f5f9;
  --accent-foreground: #0a1929;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #2563eb;
  --radius: 0.5rem;
  
  /* Brand Colors */
  --oratalesedi-blue: #2563eb;
  --oratalesedi-blue-light: #3b82f6;
  --oratalesedi-blue-dark: #1d4ed8;
  --oratalesedi-black: #1f2937;
  --oratalesedi-white: #ffffff;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-modern: 0 10px 40px rgba(37, 99, 235, 0.1);
  --shadow-colored: 0 10px 40px rgba(37, 99, 235, 0.2);

  /* Icon scale */
  --icon-xs: 0.75rem;
  --icon-sm: 1rem;
  --icon-md: 1.25rem;
  --icon-lg: 1.5rem;
  --icon-xl: 2rem;
  --icon-2xl: 2.5rem;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --background: #0a1e27;
  --foreground: #f8fafc;
  --card: #0f2937;
  --card-foreground: #f8fafc;
  --popover: #0c2230;
  --popover-foreground: #f8fafc;
  --primary: #f8fafc;
  --primary-foreground: #1f2937;
  --secondary: #1e3a5f;
  --secondary-foreground: #f8fafc;
  --muted: #1e3a5f;
  --muted-foreground: #94a3b8;
  --accent: #1e3a5f;
  --accent-foreground: #f8fafc;
  --destructive: #7f1d1d;
  --destructive-foreground: #f8fafc;
  --border: #1e4a6e;
  --input: #153448;
  --ring: #cbd5e1;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--oratalesedi-blue);
  color: white;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

a {
  color: var(--oratalesedi-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--oratalesedi-blue-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--oratalesedi-blue-dark), var(--oratalesedi-blue));
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--oratalesedi-blue);
  border: 2px solid var(--oratalesedi-blue);
}

.btn-outline:hover {
  background: var(--oratalesedi-blue);
  color: white;
  transform: scale(1.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-modern {
  position: relative;
  overflow: hidden;
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
}

.header#header {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

[data-theme="dark"] .header#header {
  background: rgba(23, 37, 84, 0.95);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-xl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(23, 37, 84, 0.95);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* Top Contact Bar */
.top-bar {
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  color: white;
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-contact a,
.top-bar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
}

.top-bar-contact a:hover {
  opacity: 0.9;
}

.top-bar-contact svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  flex-shrink: 0;
}

.top-bar-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main Navigation */
.nav-main {
  position: relative;
  padding: 1rem 0;
}

@media (min-width: 1024px) {
  .nav-main {
    padding: 1.5rem 0;
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 3.5rem;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  flex: 1 1 auto;
  justify-content: center;
}

@media (min-width: 1200px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a,
.nav-links button {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--oratalesedi-black);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

@media (min-width: 1280px) {
  .nav-links a,
  .nav-links button {
    font-size: 1.125rem;
    padding: 0.5rem 1.25rem;
  }
}

[data-theme="dark"] .nav-links a,
[data-theme="dark"] .nav-links button {
  color: white;
}

.nav-links a.active,
.nav-links .dropdown.active > .dropdown-trigger,
.mobile-menu a.active {
  color: var(--oratalesedi-blue);
  font-weight: 700;
}

[data-theme="dark"] .nav-links a.active,
[data-theme="dark"] .nav-links .dropdown.active > .dropdown-trigger,
[data-theme="dark"] .mobile-menu a.active {
  color: #60a5fa;
}

body.layout-loading #site-header,
body.layout-loading #site-footer {
  visibility: hidden;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--oratalesedi-blue);
  background: rgba(37, 99, 235, 0.1);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav-cta .btn {
  white-space: nowrap;
  padding: 0.625rem 1.1rem;
  font-size: 0.95rem;
}

.nav-cta .dark-mode-toggle {
  margin-left: 0;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
}

@media (min-width: 1280px) {
  .nav-cta {
    gap: 1rem;
  }
  .nav-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .nav-cta {
    display: flex;
  }
}

/* Services Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  width: max-content;
  padding-right: 0.75rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  margin-top: 0.5rem;
}

[data-theme="dark"] .dropdown-menu {
  background: #172554;
  border-color: #1e3a5f;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown.closing .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--oratalesedi-black);
  font-weight: 500;
  border-radius: 0.5rem;
  margin: 0.25rem;
  white-space: nowrap;
}

[data-theme="dark"] .dropdown-menu a {
  color: #dbeafe;
}

.dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.1);
}

/* Keep the hero services dropdown inside the viewport on all screens */
.hero-cta .dropdown-menu {
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
}

.hero-cta .dropdown-menu a {
  white-space: normal;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1200px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--oratalesedi-black);
}

[data-theme="dark"] .mobile-menu-btn svg {
  color: white;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 0 0 1rem 1rem;
  box-shadow: var(--shadow-2xl);
  padding: 1.5rem;
}

[data-theme="dark"] .mobile-menu {
  background: rgba(23, 37, 84, 0.95);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--oratalesedi-black);
  border-radius: var(--radius);
}

[data-theme="dark"] .mobile-menu a {
  color: #dbeafe;
}

.mobile-menu a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--oratalesedi-blue);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--oratalesedi-black);
  background: white;
  color: var(--oratalesedi-black);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

[data-theme="dark"] .dark-mode-toggle {
  border-color: white;
  background: var(--background);
  color: white;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  transition: background 0.5s ease;
}

[data-theme="dark"] .hero-overlay {
  background: rgba(30, 64, 175, 0.3);
}

.hero-gradient-light {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12rem;
  background: linear-gradient(to top, white 10%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

[data-theme="dark"] .hero-gradient-light {
  display: none;
}

.hero-gradient-dark {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12rem;
  background: linear-gradient(to top, rgb(22, 37, 84) 15%, rgba(23, 36, 79, 0) 50%);
  pointer-events: none;
}

[data-theme="dark"] .hero-gradient-dark {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  max-width: 42rem;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .hero-badge {
  background: rgba(30, 58, 138, 0.6);
  border-color: rgba(96, 165, 250, 0.3);
}

.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--oratalesedi-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

[data-theme="dark"] .hero-badge .dot {
  background: white;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .hero-badge span {
  color: white;
}

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

/* Hero Headings */
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--oratalesedi-black), var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .hero h1 .gradient-text {
  background: linear-gradient(135deg, #bfdbfe, #60a5fa, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.4));
}

.hero .subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--oratalesedi-blue);
  display: block;
  margin-top: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .hero .subtitle {
    font-size: 1.875rem;
  }
}

[data-theme="dark"] .hero .subtitle {
  color: #60a5fa;
}

.hero .description {
  font-size: 1.25rem;
  color: #dbeafe;
  max-width: 42rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  list-style: none;
  margin: 0;
}

.hero-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #dbeafe;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-modern);
  transition: background 0.3s ease;
}

[data-theme="dark"] .hero-stat-icon {
  background: #1e3a8a;
  box-shadow: var(--shadow-colored);
}

.hero-stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .hero-stat-icon svg {
  color: #60a5fa;
}

.hero-stat:hover .hero-stat-icon {
  background: #bfdbfe;
}

[data-theme="dark"] .hero-stat:hover .hero-stat-icon {
  background: #1d4ed8;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dbeafe;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: #dbeafe;
  margin-bottom: 0;
}

/* Hero Card */
.hero-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .hero-card {
  background: rgba(23, 37, 84, 0.8);
  border-color: rgba(96, 165, 250, 0.3);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

[data-theme="dark"] .hero-card-header h3 {
  color: #dbeafe;
}

.slide-dots {
  display: flex;
  gap: 0.5rem;
}

.slide-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide-dot.active {
  width: 2rem;
  background: var(--oratalesedi-blue);
}

.hero-card-info {
  margin-bottom: 1.5rem;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.hero-card-row .value {
  text-align: right;
  word-break: break-word;
}

.hero-card-row:last-child {
  border-bottom: none;
}

.hero-card-row .label {
  color: #374151;
  font-weight: 500;
}

[data-theme="dark"] .hero-card-row .label {
  color: #bfdbfe;
}

.hero-card-row .value {
  color: var(--oratalesedi-blue);
  font-weight: 700;
}

[data-theme="dark"] .hero-card-row .value {
  color: #60a5fa;
}

.hero-card-iso {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

[data-theme="dark"] .hero-card-iso {
  background: linear-gradient(135deg, #1e3a8a, #172554);
}

.hero-card-iso-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--oratalesedi-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-modern);
}

[data-theme="dark"] .hero-card-iso-icon {
  background: #60a5fa;
}

.hero-card-iso-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.hero-card-iso h4 {
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.25rem 0;
}

[data-theme="dark"] .hero-card-iso h4 {
  color: #dbeafe;
}

.hero-card-iso p {
  font-size: 0.875rem;
  color: #374151;
  margin: 0;
}

[data-theme="dark"] .hero-card-iso p {
  color: #bfdbfe;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-2xl);
}

.card-content {
  padding: 1.5rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #dbeafe;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.section-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--oratalesedi-blue);
  border-radius: 50%;
}

.section-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--oratalesedi-blue);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .section-title .highlight {
  background: linear-gradient(135deg, #bfdbfe, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-description {
  font-size: 1.25rem;
  color: var(--foreground);
  max-width: 48rem;
  margin: 0 auto;
}

[data-theme="dark"] .section-description {
  color: white;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  background: white;
}

[data-theme="dark"] .services-section {
  background: #172554;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

@media (max-width: 640px) {
  .service-tabs {
    flex-direction: column;
    align-items: stretch;
  }
}

.service-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  border: 2px solid #cbd5e1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
  color: #1e293b;
  min-height: 3rem;
}

.service-tab:hover:not(.active) {
  background: #f1f5f9;
  border-color: var(--oratalesedi-blue);
  color: var(--oratalesedi-blue-dark);
}

.service-tab.active {
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.service-tab svg {
  width: var(--icon-md);
  height: var(--icon-md);
  flex-shrink: 0;
  stroke: currentColor;
}

[data-theme="dark"] .service-tab:not(.active) {
  background: rgba(15, 41, 87, 0.9);
  color: #e2e8f0;
  border-color: rgba(96, 165, 250, 0.45);
}

[data-theme="dark"] .service-tab:not(.active):hover {
  background: rgba(30, 64, 175, 0.95);
  color: #ffffff;
  border-color: #60a5fa;
}

[data-theme="dark"] .service-tab.active {
  color: #ffffff;
  border-color: transparent;
}

.services-content {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.services-content > .service-details,
.services-content > .service-visual {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  max-width: 50%;
}

.services-content > .service-details {
  flex-direction: column;
}

@media (max-width: 768px) {
  .services-content {
    flex-flow: column nowrap;
  }

  .services-content > .service-details,
  .services-content > .service-visual {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }
}

.service-details .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (max-width: 767px) {
  .service-details .btn {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }
}

.service-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

[data-theme="dark"] .service-title {
  color: #f8fafc;
}

[data-theme="dark"] .service-desc {
  color: #cbd5e1;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-list .check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.service-list .check-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: white;
}

.service-list span {
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s ease;
}

[data-theme="dark"] .service-list span {
  color: white;
}

.service-list li:hover span {
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .service-list li:hover span {
  color: #93c5fd;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-feature {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #dbeafe;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

[data-theme="dark"] .service-feature {
  background: rgba(30, 58, 138, 0.6);
  border-color: rgba(96, 165, 250, 0.35);
  color: #e2e8f0;
}

/* Service Visual Card */
.services-content > .service-visual {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
}

[data-theme="dark"] .service-visual {
  background: rgba(23, 37, 84, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.service-visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.service-visual-icon svg {
  width: var(--icon-xl);
  height: var(--icon-xl);
  color: white;
}

.service-visual h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-visual p {
  color: #4b5563;
  margin-bottom: 0;
}

[data-theme="dark"] .service-visual h4 {
  color: #f8fafc;
}

[data-theme="dark"] .service-visual p {
  color: #cbd5e1;
}

.service-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .service-stats {
  border-top-color: rgba(96, 165, 250, 0.25);
}

.service-stat {
  flex: 1;
  text-align: center;
}

.service-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  line-height: 1.2;
}

[data-theme="dark"] .service-stat-value {
  color: #f8fafc;
}

.service-stat-label {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.3;
}

[data-theme="dark"] .service-stat-label {
  color: #cbd5e1;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: white;
}

[data-theme="dark"] .about-section {
  background: #172554;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

.achievement-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .achievement-card {
  background: linear-gradient(135deg, #1e3a8a, rgba(88, 28, 135, 0.8));
  box-shadow: 0 0 24px 4px rgba(139, 92, 246, 0.2);
}

.achievement-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.achievement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .achievement-icon {
  background: linear-gradient(135deg, #a855f7, #22d3d6);
}

.achievement-card:hover .achievement-icon {
  transform: scale(1.1);
}

.achievement-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.achievement-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .achievement-value {
  color: #dbeafe;
}

.achievement-label {
  font-size: 0.875rem;
  color: #374151;
}

[data-theme="dark"] .achievement-label {
  color: #dbeafe;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.certificate-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 2px solid #f3f4f6;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
}

[data-theme="dark"] .certificate-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: #374151;
}

.certificate-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-2xl);
  border-color: #dbeafe;
}

[data-theme="dark"] .certificate-card:hover {
  border-color: #60a5fa;
}

.certificate-logo {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #1f2937;
  border-radius: 1rem;
}

[data-theme="dark"] .certificate-logo {
  background: #111827;
}

.certificate-logo img {
  height: 5rem;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-logo img {
  transform: scale(1.1);
}

.certificate-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .certificate-card h4 {
  color: white;
}

.certificate-card p {
  color: #4b5563;
  font-weight: 500;
}

[data-theme="dark"] .certificate-card p {
  color: #d1d5db;
}

/* About Content Grid */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .about-text h3 {
  color: #dbeafe;
}

.about-text p {
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1rem;
}

[data-theme="dark"] .about-text p {
  color: #dbeafe;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #dbeafe;
}

[data-theme="dark"] .about-feature {
  background: rgba(88, 28, 135, 0.6);
  border-color: #7c3aed;
}

.about-feature h4 {
  font-weight: 600;
  color: var(--oratalesedi-blue);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .about-feature h4 {
  color: #c084fc;
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--oratalesedi-blue);
  margin: 0;
}

[data-theme="dark"] .about-feature p {
  color: #e9d5ff;
}

/* Second feature (BBBEE Level 1) uses a teal accent in dark mode */
[data-theme="dark"] .about-feature:last-child {
  background: rgba(13, 74, 66, 0.5);
  border-color: #2dd4bf;
}

[data-theme="dark"] .about-feature:last-child h4 {
  color: #5eead4;
}

[data-theme="dark"] .about-feature:last-child p {
  color: #99f6e4;
}

/* Leadership Card */
.leadership-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  text-align: center;
}

[data-theme="dark"] .leadership-card {
  background: linear-gradient(135deg, #1e3a8a, rgba(88, 28, 135, 0.8));
  box-shadow: 0 0 24px 4px rgba(139, 92, 246, 0.2);
}

.leadership-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.leadership-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .leadership-icon {
  background: linear-gradient(135deg, #a855f7, #22d3d6);
  box-shadow: 0 0 24px 4px rgba(139, 92, 246, 0.2);
}

.leadership-icon svg {
  width: 3rem;
  height: 3rem;
  color: white;
}

.leadership-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .leadership-badge {
  background: linear-gradient(135deg, #f472b6, #fcd34d);
}

.leadership-badge svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

.leadership-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .leadership-card h4 {
  color: #dbeafe;
}

.leadership-card .title {
  color: var(--oratalesedi-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

[data-theme="dark"] .leadership-card .title {
  color: #c084fc;
}

.leadership-card .bio {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
}

[data-theme="dark"] .leadership-card .bio {
  color: #dbeafe;
}

.leadership-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.leadership-tag {
  background: #dbeafe;
  color: var(--oratalesedi-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

[data-theme="dark"] .leadership-tag {
  background: rgba(88, 28, 135, 0.6);
  color: #e9d5ff;
}

/* Vision & Mission */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .vision-mission {
    grid-template-columns: 1fr 1fr;
  }
}

.vision-card,
.mission-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .vision-card,
[data-theme="dark"] .mission-card {
  background: linear-gradient(135deg, #1e3a8a, rgba(88, 28, 135, 0.8));
  box-shadow: 0 0 24px 4px rgba(139, 92, 246, 0.2);
}

.vision-card:hover,
.mission-card:hover {
  box-shadow: var(--shadow-xl);
}

.vision-card .card-inner,
.mission-card .card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vision-card .icon,
.mission-card .icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .vision-card .icon,
[data-theme="dark"] .mission-card .icon {
  background: linear-gradient(135deg, #a855f7, #22d3d6);
}

.vision-card:hover .icon,
.mission-card:hover .icon {
  transform: scale(1.1);
}

.vision-card .icon svg,
.mission-card .icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.vision-card h3,
.mission-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .vision-card h3,
[data-theme="dark"] .mission-card h3 {
  color: #dbeafe;
}

.vision-card p,
.mission-card p {
  color: #374151;
  line-height: 1.6;
}

[data-theme="dark"] .vision-card p,
[data-theme="dark"] .mission-card p {
  color: #dbeafe;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-section {
  background: white;
}

[data-theme="dark"] .portfolio-section {
  background: #172554;
}

.portfolio-section-title {
  color: #0f172a;
}

[data-theme="dark"] .portfolio-section-title {
  color: #f8fafc;
}

[data-theme="dark"] .portfolio-section-title .highlight {
  background: linear-gradient(135deg, #bfdbfe, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.project-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.7s ease;
  cursor: pointer;
  position: relative;
}

[data-theme="dark"] .project-card {
  background: rgba(23, 37, 84, 0.9);
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.project-card.selected {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5), 0 25px 50px -12px rgba(59, 130, 246, 0.2);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), transparent);
  border-bottom-left-radius: 100%;
  transform: translate(2.5rem, -2.5rem);
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-corner {
  transform: translate(0, 0);
}

.project-card-header {
  padding: 1.5rem;
  position: relative;
  z-index: 10;
}

.project-card-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-type-badge {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s ease;
}

.project-card:hover .project-type-badge {
  box-shadow: var(--shadow-xl);
}

.project-contract {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-contract span {
  font-size: 0.875rem;
  font-family: monospace;
  color: var(--foreground);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

[data-theme="dark"] .project-contract span {
  color: #dbeafe;
  background: rgba(23, 37, 84, 0.9);
}

.project-contract svg {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.project-card:hover .project-contract svg {
  color: #3b82f6;
}

[data-theme="dark"] .project-card:hover .project-contract svg {
  color: #60a5fa;
}

.project-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

[data-theme="dark"] .project-card-header h3 {
  color: white;
}

.project-card:hover .project-card-header h3 {
  color: #60a5fa;
}

[data-theme="dark"] .project-card:hover .project-card-header h3 {
  color: #93c5fd;
}

.project-card-header .client {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  transition: color 0.3s ease;
}

[data-theme="dark"] .project-card-header .client {
  color: #dbeafe;
}

.project-card:hover .project-card-header .client {
  color: #2563eb;
}

[data-theme="dark"] .project-card:hover .project-card-header .client {
  color: #bfdbfe;
}

.project-card-content {
  padding: 0 1.5rem 1.5rem;
  position: relative;
  z-index: 10;
}

.project-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-stat {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-stat:hover {
  box-shadow: var(--shadow-2xl);
  transform: scale(1.03);
}

.project-stat.value-stat {
  background: #dcfce7;
  border-color: #bbf7d0;
}

[data-theme="dark"] .project-stat.value-stat {
  background: rgba(20, 83, 45, 0.9);
  border-color: #166534;
}

.project-stat.value-stat:hover {
  background: #bbf7d0;
}

[data-theme="dark"] .project-stat.value-stat:hover {
  background: rgba(20, 83, 45, 0.7);
}

.project-stat.status-stat {
  background: #dbeafe;
  border-color: #bfdbfe;
}

[data-theme="dark"] .project-stat.status-stat {
  background: rgba(30, 58, 138, 0.9);
  border-color: #1e40af;
}

.project-stat.status-stat:hover {
  background: #bfdbfe;
}

[data-theme="dark"] .project-stat.status-stat:hover {
  background: rgba(30, 58, 138, 0.7);
}

.project-stat.contact-stat {
  background: #ffedd5;
  border-color: #fed7aa;
}

[data-theme="dark"] .project-stat.contact-stat {
  background: rgba(124, 45, 18, 0.9);
  border-color: #9a3412;
}

.project-stat.contact-stat:hover {
  background: #fed7aa;
}

[data-theme="dark"] .project-stat.contact-stat:hover {
  background: rgba(124, 45, 18, 0.7);
}

.project-stat.location-stat {
  background: #f3e8ff;
  border-color: #e9d5ff;
}

[data-theme="dark"] .project-stat.location-stat {
  background: rgba(88, 28, 135, 0.9);
  border-color: #7c3aed;
}

.project-stat.location-stat:hover {
  background: #e9d5ff;
}

[data-theme="dark"] .project-stat.location-stat:hover {
  background: rgba(88, 28, 135, 0.7);
}

.project-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  margin-right: 0.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.project-stat:hover .project-stat-icon {
  transform: scale(1.1);
}

.project-stat.value-stat .project-stat-icon {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

[data-theme="dark"] .project-stat.value-stat .project-stat-icon {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}

.project-stat.status-stat .project-stat-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

[data-theme="dark"] .project-stat.status-stat .project-stat-icon {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.project-stat.contact-stat .project-stat-icon {
  background: linear-gradient(135deg, #f97316, #c2410c);
}

[data-theme="dark"] .project-stat.contact-stat .project-stat-icon {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.project-stat.location-stat .project-stat-icon {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

[data-theme="dark"] .project-stat.location-stat .project-stat-icon {
  background: linear-gradient(135deg, #c084fc, #a855f7);
}

.project-stat-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.project-stat span {
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-stat.value-stat span {
  font-weight: 700;
  font-size: 1.125rem;
  color: #14532d;
}

[data-theme="dark"] .project-stat.value-stat span {
  color: #dcfce7;
}

.project-stat.status-stat span {
  color: #1e3a8a;
}

[data-theme="dark"] .project-stat.status-stat span {
  color: #dbeafe;
}

.project-stat.contact-stat span {
  color: #7c2d12;
}

[data-theme="dark"] .project-stat.contact-stat span {
  color: #ffedd5;
}

.project-stat.location-stat span {
  color: #581c87;
}

[data-theme="dark"] .project-stat.location-stat span {
  color: #f3e8ff;
}

.project-description {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease;
  margin-top: 1rem;
}

.project-card.selected .project-description {
  max-height: 10rem;
  opacity: 1;
}

.project-description-inner {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #3b82f6;
}

[data-theme="dark"] .project-description-inner {
  background: rgba(23, 37, 84, 0.9);
}

.project-description p {
  color: var(--foreground);
  line-height: 1.6;
  margin: 0;
}

[data-theme="dark"] .project-description p {
  color: #dbeafe;
}

/* Trusted By Section */
.trusted-by {
  background: #172554;
  padding: 5rem 0;
}

[data-theme="dark"] .trusted-by {
  background: #1e3a8a;
}

.trusted-by h2 {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.trusted-by p {
  text-align: center;
  font-size: 1.125rem;
  color: #dbeafe;
  margin-bottom: 2rem;
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 0 1.5rem;
}

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

.trusted-logo {
  background: #1e3a8a;
  padding: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  border: 1px solid #1d4ed8;
}

[data-theme="dark"] .trusted-logo {
  background: #1e40af;
}

.trusted-logo img {
  height: 4rem;
  object-fit: contain;
}

/* Portfolio Summary */
.portfolio-summary {
  margin-top: 4rem;
  background: linear-gradient(135deg, #0f172a, rgba(30, 58, 138, 0.2), #0f172a);
  border-radius: 1.5rem;
  padding: 2.5rem;
  color: white;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
}

.portfolio-summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10rem;
  height: 10rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 3s infinite;
}

.portfolio-summary::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 15rem;
  height: 15rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  animation: pulse 3s infinite 1.5s;
}

.portfolio-summary-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.portfolio-summary h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, white, #bfdbfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.portfolio-summary-stat {
  text-align: center;
}

.portfolio-summary-stat .value {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.portfolio-summary-stat:hover .value {
  transform: scale(1.1);
}

.portfolio-summary-stat:nth-child(1) .value {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-summary-stat:nth-child(2) .value {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-summary-stat:nth-child(3) .value {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-summary-stat .label {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.portfolio-summary-stat:hover .label {
  color: white;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: white;
  padding: 6rem 0;
}

[data-theme="dark"] .contact-section {
  background: #172554;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .contact-info-card {
  background: rgba(23, 37, 84, 0.95);
  border-color: #1e3a8a;
}

.contact-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

[data-theme="dark"] .contact-info-card h3 {
  color: white;
}

.contact-info-card h3 svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--oratalesedi-blue);
}

.contact-info-card p {
  color: #374151;
  line-height: 1.6;
}

[data-theme="dark"] .contact-info-card p {
  color: #dbeafe;
}

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.contact-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-theme="dark"] .contact-card {
  background: rgba(23, 37, 84, 0.95);
  border-color: #1e3a8a;
}

.contact-card-icon {
  width: 5rem;
  height: 5rem;
  background: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-card-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: white;
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .contact-card h3 {
  color: white;
}

.contact-card p {
  color: #4b5563;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .contact-card p {
  color: #dbeafe;
}

.contact-card a.link {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 1rem;
}

[data-theme="dark"] .contact-card a.link {
  color: #93c5fd;
}

.contact-card .btn {
  background: #2563eb;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-card .btn:hover {
  background: #1d4ed8;
}

/* Registration Info */
.registration-info {
  margin-bottom: 1.5rem;
}

.registration-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.registration-row .label {
  color: #374151;
}

[data-theme="dark"] .registration-row .label {
  color: #dbeafe;
}

.registration-row .value {
  font-weight: 600;
  color: var(--foreground);
}

[data-theme="dark"] .registration-row .value {
  color: white;
}

/* Quick Actions */
.quick-actions {
  background: var(--oratalesedi-black);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
}

[data-theme="dark"] .quick-actions {
  background: rgba(23, 37, 84, 0.95);
  border-color: #1e3a8a;
}

.quick-actions h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quick-actions .btn {
  width: 100%;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quick-actions .btn-primary {
  background: var(--oratalesedi-blue);
}

.quick-actions .btn-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.quick-actions .btn-outline:hover {
  background: white;
  color: var(--oratalesedi-black);
}

/* Contact Form */
.contact-form-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}

[data-theme="dark"] .contact-form-card {
  background: rgba(23, 37, 84, 0.95);
}

.contact-form-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .contact-form-header {
  border-color: #1e3a8a;
}

.contact-form-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .contact-form-header h2 {
  color: white;
}

.contact-form-header p {
  color: #374151;
  font-size: 1.125rem;
  margin: 0;
}

[data-theme="dark"] .contact-form-header p {
  color: #dbeafe;
}

.contact-form {
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .form-group label {
  color: #dbeafe;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--foreground);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: rgba(23, 37, 84, 0.5);
  border-color: #1e3a8a;
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--oratalesedi-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

/* Form Status Messages */
.form-status {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-status.success {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}

[data-theme="dark"] .form-status.success {
  background: rgba(20, 83, 45, 0.5);
  border-color: #166534;
  color: #dcfce7;
}

.form-status.error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

[data-theme="dark"] .form-status.error {
  background: rgba(127, 29, 29, 0.5);
  border-color: #991b1b;
  color: #fecaca;
}

.form-status-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-status svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Invalid field highlight (set by client-side validation) */
.form-group input.error,
.form-group select.error,
.form-group textarea.error,
input.error,
select.error,
textarea.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-submit .spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Map Section */
.map-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .map-section {
  border-color: #374151;
}

.map-section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.map-section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .map-section-header h3 {
  color: white;
}

.map-section-header p {
  color: #4b5563;
}

[data-theme="dark"] .map-section-header p {
  color: #d1d5db;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .map-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.map-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

[data-theme="dark"] .map-container {
  background: #1f2937;
}

.map-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.map-info {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

[data-theme="dark"] .map-info {
  background: #1f2937;
}

.map-info h4 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

[data-theme="dark"] .map-info h4 {
  color: white;
}

.map-info p {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .map-info p {
  color: #d1d5db;
}

.map-info .label {
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--oratalesedi-black);
  color: white;
  border-top: 4px solid var(--oratalesedi-blue);
  position: relative;
}

[data-theme="dark"] .footer {
  background: var(--background);
  border-top-color: rgba(59, 130, 246, 0.6);
  color: #dbeafe;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #2563eb);
  filter: blur(2px);
  opacity: 0.7;
}

[data-theme="dark"] .footer::before {
  background: linear-gradient(90deg, #1d4ed8, #3b82f6, #60a5fa);
  opacity: 0.9;
}

.footer-content {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 3.5rem;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(1.1) contrast(1.25);
}

.footer-brand p {
  color: white;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-brand .footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-brand .social-link:hover {
  background: var(--oratalesedi-blue);
  color: white;
}

.footer-brand .social-link svg {
  width: 1rem;
  height: 1rem;
}

[data-theme="dark"] .footer-brand .social-link {
  background: rgba(59, 130, 246, 0.15);
  color: #bfdbfe;
}

[data-theme="dark"] .footer-brand .social-link:hover {
  background: rgba(59, 130, 246, 0.35);
  color: white;
}

[data-theme="dark"] .footer-brand p {
  color: #dbeafe;
}

.footer-contact {
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

[data-theme="dark"] .footer-contact-item {
  color: #bfdbfe;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--oratalesedi-blue);
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: white;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

[data-theme="dark"] .footer-links a {
  color: #bfdbfe;
}

.footer-links a:hover {
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .footer-links a:hover {
  color: #60a5fa;
}

.footer-services li {
  color: white;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .footer-services li {
  color: #bfdbfe;
}

.footer-certifications li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: white;
}

[data-theme="dark"] .footer-certifications li {
  color: #bfdbfe;
}

.footer-certifications svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .footer-certifications svg {
  color: #60a5fa;
}

.footer-downloads {
  margin-top: 1.5rem;
}

.footer-downloads a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

[data-theme="dark"] .footer-downloads a {
  color: #bfdbfe;
}

.footer-downloads a:hover {
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .footer-downloads a:hover {
  color: #60a5fa;
}

.footer-downloads svg {
  width: 1rem;
  height: 1rem;
}

[data-theme="dark"] .footer-downloads svg {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 2rem 0;
}

[data-theme="dark"] .footer-bottom {
  border-color: #1e3a8a;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-text {
  font-size: 0.875rem;
  color: white;
  text-align: center;
}

[data-theme="dark"] .footer-bottom-text {
  color: #bfdbfe;
}

.footer-bottom-text p {
  margin: 0;
}

.footer-bottom-text p:last-child {
  margin-top: 0.25rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: white;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

[data-theme="dark"] .footer-bottom-links a {
  color: #bfdbfe;
}

.footer-bottom-links a:hover {
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .footer-bottom-links a:hover {
  color: #60a5fa;
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cursor-follower {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  filter: blur(2px);
  transition: all 0.3s ease-out;
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 4s ease-in-out infinite;
}

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

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  /* Keep original display (flex, grid, etc.) — never force block here */
}

.scroll-reveal.from-left {
  transform: translateX(60px);
}

.scroll-reveal.from-left.visible {
  transform: translateX(0);
}

.scroll-reveal.from-right {
  transform: translateX(-60px);
}

.scroll-reveal.from-right.visible {
  transform: translateX(0);
}

/* ==========================================================================
   Page Banner
   ========================================================================== */
.page-banner {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: 7rem;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.5));
  transition: background 0.5s ease;
}

[data-theme="dark"] .page-banner-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(23, 37, 84, 0.6), rgba(23, 37, 84, 0.8));
}

.page-banner-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0 1rem;
}

.page-banner h1 {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 2.5rem;
}

.page-banner p {
  color: white;
  font-size: 1.125rem;
  max-width: 42rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}

/* ==========================================================================
   Services Pages
   ========================================================================== */
.service-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--foreground);
  max-width: 48rem;
  margin: 0 auto;
}

[data-theme="dark"] .service-intro {
  color: #dbeafe;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 640px) {
  .services-page-grid {
    grid-template-columns: 1fr;
  }
}

.service-grid-item {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 16rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-grid-item:not(.content):hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.service-grid-item img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-grid-item:not(.content):hover img {
  transform: scale(1.05);
}

.service-grid-item.content {
  background: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  height: 100%;
}

.service-grid-item.content:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .service-grid-item.content {
  background: rgba(30, 58, 138, 0.35);
  border: 1px solid rgba(96, 165, 250, 0.15);
}

.service-grid-item.content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #172554;
  margin-bottom: 1rem;
}

[data-theme="dark"] .service-grid-item.content h2 {
  color: white;
}

.service-grid-item.content p {
  color: #4b5563;
  margin: 0;
  line-height: 1.6;
}

[data-theme="dark"] .service-grid-item.content p {
  color: #cbd5e1;
}

.service-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4b5563;
}

.service-detail-list li:last-child {
  margin-bottom: 0;
}

.service-detail-list li::before {
  content: '';
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 50%;
}

[data-theme="dark"] .service-detail-list li {
  color: #cbd5e1;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

[data-theme="dark"] .section-subtitle {
  color: #94a3b8;
}

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

[data-theme="dark"] .cta-title {
  color: white;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

[data-theme="dark"] .cta-subtitle {
  color: #94a3b8;
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 20rem;
  }
}

/* ==========================================================================
   Quote Page
   ========================================================================== */
.quote-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #eff6ff, white, #dbeafe);
}

[data-theme="dark"] .quote-hero {
  background: linear-gradient(135deg, #172554, #1e3a8a, #172554);
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .quote-badge {
  background: rgba(30, 58, 138, 0.5);
  border-color: #1d4ed8;
}

.quote-badge svg {
  width: 1rem;
  height: 1rem;
  color: #2563eb;
}

[data-theme="dark"] .quote-badge svg {
  color: #60a5fa;
}

.quote-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
}

[data-theme="dark"] .quote-badge span {
  color: #60a5fa;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.progress-step {
  display: flex;
  align-items: center;
  flex: 1;
}

.progress-step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  background: #e5e7eb;
  color: #6b7280;
  transition: all 0.3s ease;
}

.progress-step.active .progress-step-number,
.progress-step.completed .progress-step-number {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: var(--shadow-lg);
}

.progress-step-line {
  flex: 1;
  height: 0.5rem;
  background: #e5e7eb;
  margin: 0 1rem;
  border-radius: 9999px;
  transition: background 0.3s ease;
}

.progress-step.completed + .progress-step .progress-step-line,
.progress-step.completed .progress-step-line {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.progress-labels span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.progress-labels span.active {
  color: #2563eb;
}

.progress-labels span.completed {
  color: #16a34a;
}

/* Service Type Cards */
.service-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .service-type-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-type-cards {
    grid-template-columns: 1fr;
  }
}

.service-type-card {
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .service-type-card {
  border-color: #1e3a8a;
}

.service-type-card:hover {
  border-color: #93c5fd;
  transform: scale(1.05);
}

[data-theme="dark"] .service-type-card:hover {
  border-color: #3b82f6;
}

.service-type-card.selected {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .service-type-card.selected {
  background: rgba(30, 58, 138, 0.5);
}

.service-type-icon {
  padding: 1rem;
  border-radius: 0.5rem;
  width: fit-content;
  margin-bottom: 1rem;
}

.service-type-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.service-type-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .service-type-card h3 {
  color: white;
}

.service-type-card p {
  color: #4b5563;
  font-size: 0.875rem;
}

[data-theme="dark"] .service-type-card p {
  color: #bfdbfe;
}

/* Quote Form Navigation */
.quote-form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .quote-form-nav {
  border-color: #1e3a8a;
}

/* Review Section */
.review-section {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .review-section {
  background: rgba(30, 58, 138, 0.3);
}

.review-section h4 {
  font-weight: 600;
  color: var(--oratalesedi-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

[data-theme="dark"] .review-section h4 {
  color: #60a5fa;
  border-color: #1e3a8a;
}

.review-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.review-row .label {
  color: #6b7280;
}

[data-theme="dark"] .review-row .label {
  color: #9ca3af;
}

.review-row .value {
  font-weight: 500;
  color: var(--foreground);
}

[data-theme="dark"] .review-row .value {
  color: white;
}

/* Confirmation Checkbox */
.confirmation-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .confirmation-checkbox {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
}

.confirmation-checkbox input {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.confirmation-checkbox label {
  font-size: 0.875rem;
  color: #92400e;
  cursor: pointer;
}

[data-theme="dark"] .confirmation-checkbox label {
  color: #fcd34d;
}

/* ==========================================================================
   Story Slideshow Modal
   ========================================================================== */
.slideshow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 64rem;
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.slideshow-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.slideshow-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slideshow-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slideshow-controls button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slideshow-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slideshow-controls svg {
  width: 1.25rem;
  height: 1.25rem;
}

.slideshow-counter {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.slideshow-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slideshow-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slideshow-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.slideshow-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slideshow-image-container {
  width: 800px;
  height: 600px;
  position: relative;
}

.slideshow-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: opacity 0.5s ease;
}

.slideshow-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  border-radius: 0.5rem;
}

.slideshow-loading .spinner {
  width: 3rem;
  height: 3rem;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 0.75rem;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slideshow-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slideshow-nav.prev {
  left: 1rem;
}

.slideshow-nav.next {
  right: 1rem;
}

.slideshow-nav svg {
  width: 2rem;
  height: 2rem;
}

.slideshow-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.slideshow-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.slideshow-thumbnails::-webkit-scrollbar {
  display: none;
}

.slideshow-thumbnail {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-thumbnail:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.slideshow-thumbnail.active {
  border-color: white;
  transform: scale(1.1);
}

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

.slideshow-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.slideshow-progress-bar {
  height: 100%;
  background: white;
  transition: width 0.3s ease;
}

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

.hidden { display: none !important; }

/* Do not use `.visible` for display — scroll-reveal adds that class for animations */
.u-block { display: block !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text Balance */
.text-balance {
  text-wrap: balance;
}

/* Drop Shadow */
.drop-shadow {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #2563eb, #1d4ed8);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #1d4ed8, #1e40af);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #2563eb #f1f5f9;
}

/* Hide scrollbar utility */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Inner Pages Header
   ========================================================================== */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 1rem 2rem;
  }
}

.logo-img {
  height: 3rem;
  width: auto;
}

.logo-img.dark-logo {
  display: none;
}

[data-theme="dark"] .logo-img.light-logo {
  display: none;
}

[data-theme="dark"] .logo-img.dark-logo {
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

[data-theme="dark"] .nav-link {
  color: white;
}

.nav-link:hover,
.nav-link.active {
  color: var(--oratalesedi-blue);
  background: rgba(37, 99, 235, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 0.5rem;
}

[data-theme="dark"] .nav-dropdown .dropdown-menu {
  background: #172554;
  border-color: rgba(59, 130, 246, 0.3);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

[data-theme="dark"] .dropdown-item {
  color: #dbeafe;
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--oratalesedi-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.hamburger-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--foreground);
  margin: 0.25rem 0;
  transition: all 0.3s ease;
}

[data-theme="dark"] .hamburger-line {
  background: white;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

[data-theme="dark"] .mobile-nav-link {
  color: white;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(37, 99, 235, 0.1);
  color: var(--oratalesedi-blue);
}

.mobile-dropdown-menu {
  display: none;
  padding-left: 1rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

[data-theme="dark"] .mobile-dropdown-item {
  color: #dbeafe;
}

.mobile-dropdown-item:hover {
  color: var(--oratalesedi-blue);
}

.mobile-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

.sun-icon,
.moon-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: none;
}

[data-theme="dark"] .moon-icon {
  display: block;
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 12rem 0 4rem;
}

.page-hero-short {
  min-height: 40vh;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

[data-theme="dark"] .page-hero-overlay {
  background: linear-gradient(to bottom, rgba(23, 37, 84, 0.7), rgba(23, 37, 84, 0.9));
}

.page-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 4rem;
  }
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin: 0 auto;
}

.page-hero-subtitle-inline {
  display: block;
  font-size: 1.5rem;
  color: #60a5fa;
  font-weight: 600;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--oratalesedi-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .badge-blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--oratalesedi-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

[data-theme="dark"] .badge-dot {
  background: #60a5fa;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.bg-light {
  background: #f8fafc;
}

[data-theme="dark"] .bg-light {
  background: #0f172a;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

/* Tighten the standalone stats section on the About page so it doesn't
   leave a large empty band before "Our Foundation". The homepage reuses
   .achievements-grid inside a section with content below it, so scope this. */
#about-metrics {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

#about-metrics .achievements-grid {
  margin-bottom: 0;
}

/* On the About page the text column reuses .about-content, which is itself a
   2-column grid meant for the homepage wrapper. Nested inside .about-grid it
   would split the heading/paragraphs into columns, so keep it a single stack. */
.about-grid .about-content {
  display: block;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .about-text {
  color: #dbeafe;
}

.about-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.about-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .about-stat-number {
  color: #60a5fa;
}

.about-stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* Mission & Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-2xl);
}

.mission-icon,
.vision-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.mission-icon svg,
.vision-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.mission-title,
.vision-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

[data-theme="dark"] .mission-title,
[data-theme="dark"] .vision-title {
  color: white;
}

.mission-text,
.vision-text {
  color: var(--muted-foreground);
  line-height: 1.7;
}

[data-theme="dark"] .mission-text,
[data-theme="dark"] .vision-text {
  color: #dbeafe;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.value-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .value-card {
  background: rgba(30, 58, 138, 0.3);
}

.value-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.value-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.value-icon.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.value-icon.bg-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.value-icon.bg-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.value-icon.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.value-icon.bg-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.value-icon.bg-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .value-title {
  color: white;
}

.value-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

[data-theme="dark"] .value-text {
  color: #bfdbfe;
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.certification-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .certification-card {
  background: rgba(30, 58, 138, 0.3);
}

.certification-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.certification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.certification-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.certification-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .certification-title {
  color: white;
}

.certification-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

[data-theme="dark"] .certification-text {
  color: #bfdbfe;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

[data-theme="dark"] .contact-info-title {
  color: white;
}

.contact-info-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

[data-theme="dark"] .contact-info-text {
  color: #bfdbfe;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item,
address.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-style: normal;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.contact-icon.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.contact-icon.bg-green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.contact-icon.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.contact-icon.bg-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.contact-item-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .contact-item-content h4 {
  color: white;
}

.contact-item-content p {
  color: var(--muted-foreground);
  margin: 0;
}

[data-theme="dark"] .contact-item-content p {
  color: #bfdbfe;
}

.contact-social h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

[data-theme="dark"] .contact-social h4 {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--oratalesedi-blue);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.social-link:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
}

[data-theme="dark"] .contact-form-wrapper {
  background: rgba(30, 58, 138, 0.3);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .form-title {
  color: white;
}

.required {
  color: #ef4444;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
}

.spinner {
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   Portfolio Page Styles
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

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

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

.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .stat-card {
  background: rgba(30, 58, 138, 0.3);
}

.stat-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--oratalesedi-blue);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .stat-number {
  color: #60a5fa;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 9999px;
  background: white;
  color: var(--foreground);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-theme="dark"] .filter-btn {
  background: rgba(30, 58, 138, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
  color: white;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--oratalesedi-blue);
  border-color: var(--oratalesedi-blue);
  color: white;
}

.portfolio-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .portfolio-item {
  background: rgba(30, 58, 138, 0.3);
}

.portfolio-item:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-2xl);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

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

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.portfolio-category {
  background: var(--oratalesedi-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .portfolio-title {
  color: white;
}

.portfolio-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.portfolio-location svg {
  width: 1rem;
  height: 1rem;
}

.portfolio-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

[data-theme="dark"] .portfolio-description {
  color: #bfdbfe;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-value {
  font-weight: 700;
  color: var(--oratalesedi-blue);
}

[data-theme="dark"] .portfolio-value {
  color: #60a5fa;
}

.portfolio-status {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.portfolio-status.completed {
  background: #dcfce7;
  color: #166534;
}

[data-theme="dark"] .portfolio-status.completed {
  background: rgba(22, 101, 52, 0.3);
  color: #4ade80;
}

.portfolio-status.ongoing {
  background: #dbeafe;
  color: #1e40af;
}

[data-theme="dark"] .portfolio-status.ongoing {
  background: rgba(30, 64, 175, 0.3);
  color: #60a5fa;
}

/* Clients Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.client-logo {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

[data-theme="dark"] .client-logo {
  background: rgba(30, 58, 138, 0.3);
}

.client-logo:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.client-logo img {
  max-width: 100%;
  max-height: 3rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

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

/* ==========================================================================
   Quote Page Styles
   ========================================================================== */

/* Why Choose Oratalesedi */
.why-choose-section {
  background: #0f172a;
}

.why-choose-section .section-title,
.why-choose-section .section-subtitle {
  color: #ffffff;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-choose-card {
  background: rgba(30, 58, 138, 0.35);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.why-choose-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.why-choose-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}

.why-choose-icon.bg-green {
  background: #22c55e;
}

.why-choose-icon.bg-blue {
  background: #3b82f6;
}

.why-choose-icon.bg-purple {
  background: #a855f7;
}

.why-choose-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.why-choose-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
}

.quote-form-container {
  max-width: 48rem;
  margin: 0 auto;
}

.quote-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--oratalesedi-blue);
  color: white;
  box-shadow: var(--shadow-lg);
}

.step-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

.progress-step.active .step-label {
  color: var(--oratalesedi-blue);
  font-weight: 600;
}

.progress-line {
  width: 4rem;
  height: 2px;
  background: var(--border);
  margin: 0 1rem;
}

.quote-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
}

[data-theme="dark"] .quote-form {
  background: rgba(30, 58, 138, 0.3);
}

.form-step {
  display: none;
}

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

.step-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #eff6ff;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

[data-theme="dark"] .step-info {
  background: rgba(30, 58, 138, 0.5);
}

.step-info svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--oratalesedi-blue);
  flex-shrink: 0;
}

[data-theme="dark"] .step-info svg {
  color: #60a5fa;
}

.step-info p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.875rem;
}

[data-theme="dark"] .step-info p {
  color: #dbeafe;
}

.service-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .service-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-type-option {
  cursor: pointer;
}

.service-type-option input {
  display: none;
}

.service-type-option .service-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="dark"] .service-type-option .service-type-card {
  background: rgba(30, 58, 138, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-type-option:hover .service-type-card {
  border-color: var(--oratalesedi-blue);
  transform: translateY(-0.25rem);
}

.service-type-option input:checked + .service-type-card {
  border-color: var(--oratalesedi-blue);
  background: #eff6ff;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .service-type-option input:checked + .service-type-card {
  background: rgba(59, 130, 246, 0.2);
}

.service-type-option .service-type-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--oratalesedi-blue);
}

.service-type-option .service-type-card span {
  font-weight: 600;
  font-size: 0.875rem;
}

[data-theme="dark"] .service-type-option .service-type-card span {
  color: white;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.review-column h4 {
  font-weight: 600;
  color: var(--oratalesedi-blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .review-column h4 {
  color: #60a5fa;
}

.review-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.review-item .review-label {
  color: var(--muted-foreground);
}

.review-item .review-value {
  font-weight: 500;
}

[data-theme="dark"] .review-item .review-value {
  color: white;
}

/* ==========================================================================
   Footer Styles (Inner Pages)
   ========================================================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

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

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

.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .footer-description {
  color: #bfdbfe;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-links h4,
.footer-heading {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

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

[data-theme="dark"] .footer-links a {
  color: #bfdbfe;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

[data-theme="dark"] .footer-bottom {
  border-color: rgba(59, 130, 246, 0.2);
}

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

[data-theme="dark"] .footer-bottom p {
  color: #93c5fd;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero-content {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .top-bar-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .top-bar-badge {
    display: none;
  }

  .contact-grid {
    gap: 2rem;
  }

  .contact-form-card,
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .about-stats {
    gap: 1rem;
  }

  .about-stat {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
  }

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

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

  .footer-social,
  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding-top: 6rem;
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    gap: 2rem;
  }
  
  .hero-stats {
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .hero-stat-value {
    font-size: 1.25rem;
  }

  .hero-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-stat-icon svg {
    width: var(--icon-md);
    height: var(--icon-md);
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .logo img,
  .logo-img {
    height: 2.5rem;
  }

  .nav-main {
    padding: 0.75rem 0;
  }

  .service-tab {
    width: 100%;
    justify-content: center;
  }

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

  .portfolio-summary-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-stat {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .project-stat-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .project-stat span {
    flex: 1 1 100%;
    min-width: 0;
    word-break: break-word;
  }

  .footer-bottom-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .page-hero {
    padding: 8rem 0 2.5rem;
    min-height: 100vh;
  }

  .page-hero-title {
    font-size: 2rem;
  }

  .page-hero-subtitle {
    font-size: 1rem;
  }
  
  .page-banner {
    height: 300px;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-stat {
    flex: 1 1 0;
  }

  .about-stat {
    flex: 1 1 100%;
  }

  .top-bar {
    font-size: 0.8125rem;
    padding: 0.5rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-cta .dropdown {
    width: 100%;
  }

  .hero-cta .dropdown .btn {
    width: 100%;
  }

  .hero-cta .dropdown-menu {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-cta .dropdown-menu a {
    white-space: normal;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .portfolio-summary-stats {
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Icon System & Component Alignment
   ========================================================================== */
.btn svg:not(.spinner) {
  width: var(--icon-md);
  height: var(--icon-md);
  flex-shrink: 0;
}

.btn-submit svg {
  width: var(--icon-md);
  height: var(--icon-md);
}

.contact-info-card h3 svg,
.quick-actions .btn svg {
  width: var(--icon-md);
  height: var(--icon-md);
}

.mobile-menu-actions {
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-theme="dark"] .mobile-menu-actions {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-actions .btn,
.mobile-menu-actions .dark-mode-toggle {
  width: 100%;
  margin: 0;
}

.map-container iframe {
  width: 100%;
  min-height: 16rem;
  height: 20rem;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .map-container iframe {
    height: 24rem;
  }
}

.registration-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.registration-row .value {
  text-align: right;
  word-break: break-word;
}

.footer-content > div {
  min-width: 0;
}

.footer-contact-item {
  align-items: flex-start;
}

.footer-contact-item svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
}

.trusted-logo img {
  max-height: 3rem;
  width: auto;
  object-fit: contain;
}

.certificate-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  margin-bottom: 1rem;
}

.certificate-logo img {
  max-height: 4rem;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.contact-card {
  height: 100%;
}

.contact-card .btn {
  margin-top: auto;
}

.project-card-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dark-mode-toggle svg {
  width: var(--icon-md);
  height: var(--icon-md);
}

/* Brochure Page */
.brochure-hero {
  padding-top: 12rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #dbeafe 100%);
}

@media (max-width: 768px) {
  .brochure-hero {
    padding-top: 8rem;
  }
}

[data-theme="dark"] .brochure-hero {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #172554 100%);
}

.brochure-download-cta {
  margin-top: 2rem;
}

.brochure-download-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.brochure-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.brochure-projects-panel {
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 2.5rem;
}

[data-theme="dark"] .brochure-projects-panel {
  background: rgba(30, 58, 138, 0.25);
}

.brochure-cert-panel {
  background: #0f172a;
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.brochure-cert-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .brochure-cert-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brochure-cert-list li::before {
  content: "✓ ";
  color: #60a5fa;
  font-weight: 700;
}

.brochure-final-cta {
  background: linear-gradient(135deg, var(--oratalesedi-blue), var(--oratalesedi-blue-light));
  color: white;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
}

.brochure-final-cta p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
