/* 
   ANCHORZ Private Limited - Core CSS
   Industrial & Construction Premium Design System
*/

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

:root {
  /* Colors */
  --primary-color: #1a1c1e;      /* Dark Charcoal / Deep Neutral */
  --primary-light: #2e3236;      /* Lighter Charcoal */
  --primary-dark: #101112;       /* Near Black */
  --accent-color: #d97706;       /* Industrial Amber / Construction Gold */
  --accent-hover: #b45309;       /* Darker Amber */
  --accent-light: #fef3c7;       /* Soft Light Amber */
  --text-dark: #0f172a;          /* Slate 900 */
  --text-muted: #475569;         /* Slate 600 */
  --text-light: #f8fafc;         /* Slate 50 */
  --text-light-muted: #cbd5e1;   /* Slate 300 */
  --bg-light: #f8fafc;           /* Slate 50 */
  --bg-card: #ffffff;            /* White */
  --bg-dark: #0f172a;            /* Deep Onyx / Footer Bg */
  --border-color: #e2e8f0;       /* Slate 200 */
  --border-dark: #334155;        /* Slate 700 */
  
  /* Typography */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Box Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.03), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

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

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

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

.section {
  padding: 80px 0;
}

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

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

.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 12px auto 0 auto;
  border-radius: var(--border-radius-sm);
}

.section-title.align-left::after {
  margin: 12px 0 0 0;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* Sticky Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(26, 28, 30, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  /* Give the logo a slight background to pop on dark header */
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 6px;
  transition: opacity var(--transition-fast);
}

.header.scrolled .logo-img {
  height: 44px;
}

.logo-img:hover {
  opacity: 0.9;
}

/* Keep logo-text as visually-hidden accessible fallback */
.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo-text span {
  color: var(--accent-color);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.85;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover,
.nav-item:hover .nav-link {
  color: var(--accent-color);
  opacity: 1;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--primary-color);
  border-top: 3px solid var(--accent-color);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1010;
  list-style: none;
  padding: 12px 0;
}

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

.dropdown-item a {
  display: block;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #ffffff;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.dropdown-item a:hover {
  opacity: 1;
  background-color: var(--primary-light);
  color: var(--accent-color);
  padding-left: 28px;
}

/* Header Action */
.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger Toggle */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1020;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-color);
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 28, 30, 0.95) 40%, rgba(26, 28, 30, 0.6) 100%);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-desc {
  font-size: 19px;
  color: var(--text-light-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: var(--border-radius-lg);
}

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

.stat-icon {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  flex-shrink: 0;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.stat-text h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-text p {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Page Banner */
.page-banner {
  position: relative;
  background-color: var(--primary-color);
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 60px;
  color: #ffffff;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 28, 30, 0.95) 50%, rgba(26, 28, 30, 0.7) 100%);
  z-index: 2;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 3;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light-muted);
  margin-bottom: 12px;
}

.breadcrumbs a {
  opacity: 0.8;
}

.breadcrumbs a:hover {
  color: var(--accent-color);
  opacity: 1;
}

.breadcrumbs .separator {
  opacity: 0.5;
}

.page-title {
  font-size: 42px;
  color: #ffffff;
}

/* Feature grid / About Section home */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  border: 6px solid var(--accent-light);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-light);
  padding: 20px;
  border-left: 4px solid var(--accent-color);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin-bottom: 24px;
}

.highlight-box p {
  font-weight: 500;
  font-size: 15px;
  color: var(--primary-color);
}

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

.about-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.about-bullet-icon {
  color: var(--accent-color);
  flex-shrink: 0;
}

/* Business Areas / Service Grid Home */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(217, 119, 6, 0.3);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--bg-light);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.service-card:hover .service-card-icon {
  background-color: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

.service-card-title {
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card-link svg {
  transition: transform var(--transition-fast);
}

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

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

/* Why Choose Anchorz */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background-color: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  color: var(--accent-color);
  margin-bottom: 20px;
  display: inline-block;
}

.why-card-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.why-card-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* Our Approach / Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  position: relative;
  text-align: center;
  z-index: 2;
}

.process-step {
  width: 64px;
  height: 64px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
}

.process-card:hover .process-step {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.process-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.process-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.process-line {
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

/* Call To Action Block */
.cta-block {
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 50%);
}

.cta-title {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto 36px auto;
  color: var(--text-light-muted);
  font-size: 18px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Detail page templates */
.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

.detail-content h3 {
  font-size: 24px;
  margin: 32px 0 16px 0;
}

.detail-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.detail-content li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.features-list-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.feature-list-item {
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--accent-color);
  display: flex;
  gap: 12px;
}

.feature-list-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-list-item p {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Sidebar styling */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--border-radius-lg);
}

.widget-title {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav-item {
  margin-bottom: 8px;
}

.sidebar-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.sidebar-nav-item.active a,
.sidebar-nav-item a:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

.sidebar-nav-item.active a svg,
.sidebar-nav-item a:hover svg {
  transform: translateX(4px);
  color: var(--accent-color);
}

.sidebar-contact-card {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 40px 32px;
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

.sidebar-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 100%, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
}

.sidebar-contact-card h4 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 12px;
}

.sidebar-contact-card p {
  color: var(--text-light-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.sidebar-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.sidebar-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.sidebar-contact-icon {
  color: var(--accent-color);
  flex-shrink: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

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

/* Contact page layouts */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-card-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-card);
  color: var(--accent-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-text h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-info-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

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

.contact-form-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-premium);
  border-radius: var(--border-radius-lg);
  padding: 48px;
}

/* Success and validation styling */
.form-control.is-invalid {
  border-color: #dc2626;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 12 12' stroke='%23dc2626'%3e%3ccircle cx='6' cy='6' r='4.5' stroke-dasharray='3'/%3e%3cpath stroke-linecap='round' d='M5.8 3.6h.4v3.6h-.4zm0 4.8h.4v.4h-.4z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-control.is-valid {
  border-color: #16a34a;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3e%3cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.error-feedback {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid + .error-feedback {
  display: block;
}

.submit-alert {
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 24px;
  display: none;
}

.submit-alert-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Map placeholder */
.map-container {
  height: 350px;
  background-color: #e2e8f0;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.map-placeholder-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.map-placeholder-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.map-placeholder-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
}

/* Legal pages content styling */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.legal-section p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-section li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Footer styling */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 32px 0;
  border-top: 4px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-activities {
  font-size: 13px;
  color: var(--text-light-muted);
  border-left: 2px solid var(--accent-color);
  padding-left: 12px;
}

.footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

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

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

.footer-links a {
  color: var(--text-light-muted);
  font-size: 14px;
}

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

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

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-light-muted);
}

.footer-contact-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 4px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-light-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--text-light-muted);
}

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn var(--transition-slow) forwards;
}

/* Accessible Keyboard Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Responsive Breakpoints */

/* Tablets and small desktops */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .process-line {
    display: none;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Navigation Drawer for Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-color);
    border-left: 1px solid rgba(255,255,255,0.05);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 20px;
    overflow-y: auto;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-sm);
    margin-top: 8px;
    padding: 8px 0;
    display: none;
    min-width: 100%;
  }
  
  .nav-item.dropdown-active .dropdown-menu {
    display: block;
  }
  
  .dropdown-item a {
    padding: 10px 20px;
  }
  
  /* Hamburger animation */
  .hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .header-action .btn {
    display: none; /* Hide Quote button in header on mobile */
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-desc {
    font-size: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .features-list-box {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-box {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}
