/* 
   CURTIS COMMODITIES LTD - Corporate Stylesheet
   Designed for UK Organization Verification & Premium B2B Presentation
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Custom Variables & Theme --- */
:root {
  --color-primary-dark: #0A1128;      /* Deep Midnight Blue */
  --color-primary: #1C2541;           /* Dark Slate Blue */
  --color-secondary: #1E3A8A;         /* Rich Corporate Blue */
  --color-accent: #3B82F6;            /* Modern Accent Blue */
  --color-accent-light: #EFF6FF;      /* Very Light Accent Blue */
  
  --color-text-dark: #0F172A;         /* Slate 900 for dark text */
  --color-text-body: #334155;         /* Slate 700 for body text */
  --color-text-muted: #64748B;        /* Slate 500 for captions */
  
  --color-bg-light: #F8FAFC;          /* Slate 50 */
  --color-bg-white: #FFFFFF;
  --color-border: #E2E8F0;            /* Slate 200 */
  --color-border-hover: #CBD5E1;      /* Slate 300 */
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  --max-width: 1280px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* --- Accessibility Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-secondary);
  color: white;
  padding: 10px 20px;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* --- Core Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* --- Typography Helpers --- */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

/* --- Section Header Helper --- */
.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.section-header .subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.75rem;
  }
}

/* --- Sticky Header & Navigation --- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

header.site-header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-subtext {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
  display: none;
}

/* Desktop Navigation (min-width: 1024px) */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
  }
  
  .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-body);
    position: relative;
    padding: 8px 0;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
  }
  
  .nav-link:hover {
    color: var(--color-primary-dark);
  }
  
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }
  
  .nav-link.active {
    color: var(--color-primary-dark);
    font-weight: 600;
  }
  
  .header-cta {
    display: inline-block;
  }
}

/* Hamburger & Mobile Menu Styles */
.mobile-nav-toggle {
  display: block;
  cursor: pointer;
  z-index: 1100;
  width: 30px;
  height: 24px;
  position: relative;
}

.mobile-nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-primary-dark);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.mobile-nav-toggle span:nth-child(1) { top: 0px; }
.mobile-nav-toggle span:nth-child(2) { top: 10px; }
.mobile-nav-toggle span:nth-child(3) { top: 20px; }

.mobile-nav-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.mobile-nav-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu-links .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-menu-links .nav-link.active {
  color: var(--color-accent);
}

@media (min-width: 1024px) {
  .mobile-nav-toggle,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* --- Button Variants --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}

.btn-white {
  background-color: white;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

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

/* --- Hero Layout Section --- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 100% 100%, var(--color-accent-light) 0%, transparent 40%),
              linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 120px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

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

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

.hero-tagline {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--color-text-body);
  margin-bottom: 36px;
  line-height: 1.6;
}

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

/* Hero Visual SVG Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual svg {
  max-width: 100%;
  filter: drop-shadow(var(--shadow-xl));
}

/* --- Card Grids --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

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

/* Premium Card Design */
.card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-icon {
  margin-bottom: 24px;
  color: var(--color-accent);
}

.card-icon svg {
  width: 44px;
  height: 44px;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--color-primary-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  flex-grow: 1;
}

.card-link {
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* --- Section: Alternate Backgrounds --- */
.section-dark {
  background-color: var(--color-primary-dark);
  color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: white;
}

.section-dark .section-header .subtitle {
  color: var(--color-accent);
}

/* --- Why Choose Us Layout --- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

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

.split-text h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

@media (min-width: 768px) {
  .split-text h2 {
    font-size: 2.75rem;
  }
}

.split-text p {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item-icon {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item-icon svg {
  width: 20px;
  height: 20px;
}

.value-item-content h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--color-primary-dark);
}

.value-item-content p {
  font-size: 0.95rem;
  color: var(--color-text-body);
}

/* --- Banner Block --- */
.banner-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--border-radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.banner-block-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.banner-block h2 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 20px;
}

.banner-block p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* --- Contact Page Layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

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

/* Contact Form */
.contact-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .contact-card {
    padding: 40px;
  }
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .contact-form .form-row.two-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  background-color: var(--color-bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Contact Info Column */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-box {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.info-box h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 12px;
}

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

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item-icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.info-item-icon svg {
  width: 24px;
  height: 24px;
}

.info-item-content h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.info-item-content p {
  font-size: 1rem;
  color: var(--color-text-dark);
}

/* Corporate Verification Section */
.verification-badge {
  background: var(--color-accent-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.verification-badge-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
}

.verification-badge-icon svg {
  width: 36px;
  height: 36px;
}

.verification-badge-text h4 {
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.verification-badge-text p {
  font-size: 0.85rem;
  color: var(--color-text-body);
}

/* Map Section */
.map-container {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 300px;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-placeholder-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, #F8FAFC 0%, #E2E8F0 100%);
  position: relative;
}

.map-graphic-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-graphic-pin {
  animation: pulse-pin 2s infinite;
}

@keyframes pulse-pin {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.map-graphic-label {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  margin-top: 8px;
}

/* --- Inner Page Intro Banner --- */
.inner-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: radial-gradient(circle at 100% 100%, var(--color-accent-light) 0%, transparent 40%),
              linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  color: var(--color-text-body);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .inner-hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
  }
}

.inner-hero h1 {
  color: var(--color-primary-dark);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .inner-hero h1 {
    font-size: 3rem;
  }
}

.inner-hero p {
  color: var(--color-text-body);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Legal / Privacy Document Layout --- */
.doc-container {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .doc-container {
    padding: 50px;
  }
}

.doc-section {
  margin-bottom: 36px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.doc-section p {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

.doc-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.doc-section ul li {
  font-size: 1rem;
  color: var(--color-text-body);
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.doc-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--color-accent);
  font-weight: bold;
}

/* --- Walkthrough Section on Services --- */
.workflow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

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

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-md);
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--color-text-body);
}

/* --- Corporate Footer Design --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  border-top: 4px solid var(--color-accent);
}

.footer-top {
  padding-top: 80px;
  padding-bottom: 50px;
}

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

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.25fr 0.85fr 0.9fr 1.5fr;
    gap: 50px;
  }
}

/* Column 1: Identity */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-text {
  color: white;
}

.footer-logo .logo-subtext {
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Footer Link Columns */
.footer-title {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  font-weight: 700;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

/* Footer Contact Info */
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: inherit;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  word-break: normal;
  overflow-wrap: normal;
}

.footer-email-link {
  display: inline-block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.email-domain {
  white-space: nowrap;
  display: inline-block;
}

/* Footer Bottom Credibility Sub-footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom-container {
    flex-direction: row;
    text-align: left;
  }
}

.footer-legal-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-text span {
  display: block;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Scroll Entrance Animations --- */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Scroll-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-secondary);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 99;
}

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

.back-to-top:hover {
  background-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Form success message */
.form-response {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  display: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-response.success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
  display: block;
}

.form-response.error {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
  display: block;
}

/* --- Mobile Responsiveness Audit Fixes (Screens below 768px) --- */
@media (max-width: 767px) {
  /* Reduce excessive section padding and container margins */
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Optimize legal, privacy, and terms document layout and width */
  .doc-container {
    padding: 24px 16px;
    border-radius: var(--border-radius-sm);
  }
  
  .doc-section {
    margin-bottom: 28px;
  }

  .doc-section h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .doc-section p, 
  .doc-section ul li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Optimize contact card and info-box spacing and layout on mobile */
  .contact-card {
    padding: 24px 16px;
    border-radius: var(--border-radius-sm);
  }
  
  .info-box {
    padding: 24px 16px;
    border-radius: var(--border-radius-sm);
  }

  .contact-layout {
    gap: 32px;
  }

  .verification-badge {
    padding: 16px 12px;
    gap: 12px;
  }

  .verification-badge-text h4 {
    font-size: 0.95rem;
  }

  .verification-badge-text p {
    font-size: 0.8rem;
  }
  
  /* Inner hero size reduction for mobile */
  .inner-hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 40px;
  }

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

  .inner-hero p {
    font-size: 1rem;
  }
}

/* Very Small Mobile Screen Optimization (320px - 480px) */
@media (max-width: 480px) {
  .inner-hero h1 {
    font-size: 1.75rem;
  }

  .inner-hero p {
    font-size: 0.9rem;
  }

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

  .section-header h2 {
    font-size: 1.85rem;
  }

  /* Optimize padding for extreme widths e.g. 320px */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .doc-container {
    padding: 20px 12px;
  }

  .contact-card {
    padding: 20px 12px;
  }

  .info-box {
    padding: 20px 12px;
  }
  
  /* Improve mobile touch target spacing */
  .contact-form input,
  .contact-form textarea {
    padding: 14px 12px;
  }

  .btn {
    padding: 14px 20px;
    width: 100%;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  /* Header mobile logo and spacing reduction */
  header.site-header {
    height: 60px;
  }
  
  header.site-header.scrolled {
    height: 54px;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .logo-subtext {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .logo {
    gap: 6px;
  }

  /* Hamburger icon scale reduction */
  .mobile-nav-toggle {
    width: 24px;
    height: 18px;
  }

  .mobile-nav-toggle span {
    height: 2px;
  }

  .mobile-nav-toggle span:nth-child(1) { top: 0px; }
  .mobile-nav-toggle span:nth-child(2) { top: 8px; }
  .mobile-nav-toggle span:nth-child(3) { top: 16px; }

  .mobile-nav-toggle.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }

  .mobile-nav-toggle.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }

  /* Email overflow prevention inside profile card */
  .info-item {
    gap: 12px;
  }

  .info-item-icon {
    margin-top: 2px;
  }

  .info-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .info-item-content h5 {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }

  .info-item-content p,
  .info-item-content a {
    font-size: 0.9rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
