/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
  --primary-color: #0e5853; /* Brand Teal */
  --primary-dark: #0b4541; /* Darker Teal */
  --text-dark: #333333;
  --text-light: #555555;
  --bg-light: #f8f9fa; /* Light Grey */
  --bg-body: #f0f2f5; /* Body Background */
  --white: #ffffff;
  --accent-light: #a3d9d5; /* Light Teal Accent */
  --border-color: #e0e0e0;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  font-size: 1.6rem;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Brand Identity Selection Color */
::selection {
  background-color: var(--primary-color);
  color: var(--white);
}
::-moz-selection {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Baskervville", serif;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* =========================================
   2. LAYOUT & HEADER
   ========================================= */
.header-container {
  width: 94%;
  max-width: 140rem;
  margin: 0 auto;
}
.section-container {
  width: 90%;
  max-width: 110rem;
  margin: 0 auto;
}

.section-white-padded {
  background-color: var(--white);
  padding: 10rem 0 5rem 0;
}

.section-grey-padded {
  background-color: #f8f9fa;
  padding: 10rem 0;
}

header {
  background-color: var(--white);
  height: 9rem;
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  animation: fadeDown 0.8s ease-out forwards;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.left-side-header {
  display: flex;
  align-items: center;
  gap: 6rem;
}
.header-logo {
  height: 5.5rem;
  width: auto;
  display: block;
}

/* Desktop Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

nav a:link,
nav a:visited {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.5rem;
  padding: 0.8rem 0;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
  font-weight: 700;
  border-bottom: 2px solid var(--primary-color);
}

/* Header Actions */
.actions-group {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.phone-info {
  font-size: 1.5rem;
  font-weight: 500;
}
.phone-info span {
  color: var(--primary-color);
  font-weight: 700;
  margin-left: 0.5rem;
}

/* Buttons */
.btn-cta {
  padding: 1rem 2rem;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 0.3s;
}
.btn-cta:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary {
  display: inline-block;
  padding: 1.6rem 3.2rem;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  /* Removed transform translateY to stop jumping */
}

.btn-secondary {
  display: inline-block;
  padding: 1.6rem 3.2rem;
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--white);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  /* Removed transform translateY to stop jumping */
}

/* =========================================
   3. HERO SECTIONS
   ========================================= */
.hero-section {
  background-color: var(--primary-color);
  background-image:
    linear-gradient(to right, rgba(14, 88, 83, 0.9), rgba(14, 88, 83, 0.4)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.internal-hero {
  min-height: 70vh;
  padding: 8rem 0;
}

.hero-content {
  color: var(--white);
  text-align: center;
  animation: fadeUp 1s ease-out forwards;
}
.hero-content h1 {
  font-size: 5.2rem;
  margin-bottom: 2rem;
  color: var(--white);
}
.hero-content p {
  font-size: 2rem;
  max-width: 60rem;
  margin: 0 auto 4rem auto;
  opacity: 0.95;
  color: var(--white);
  font-family: "Inter", sans-serif;
}
.hero-btns {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

/* =========================================
   4. HOME PAGE SECTIONS
   ========================================= */
/* Services / Practice Areas Preview */
.services-section {
  padding: 8rem 0;
  background-color: var(--bg-light);
}
.services-header {
  text-align: center;
  margin-bottom: 5rem;
}
.services-header h2 {
  font-size: 4.2rem;
  margin-bottom: 2rem;
}
.services-header p {
  font-size: 1.8rem;
  color: var(--text-light);
  margin: 0 auto;
  max-width: 80rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  padding: 3rem 2rem;
  border-radius: 3px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  border-top: 4px solid var(--primary-color);
  flex: 1 1 30rem;
  max-width: 38rem;
}

.icon-box {
  width: 6rem;
  height: 6rem;
  background-color: #eef7f6;
  border-radius: 50%;
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon {
  width: 3rem;
  height: 3rem;
  stroke: var(--primary-color);
  stroke-width: 2;
}

.card-title {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}
.service-list li {
  margin-bottom: 1.2rem;
  color: var(--text-light);
  font-size: 1.5rem;
}
.service-list strong {
  color: var(--primary-color);
}
.card-btn-container {
  text-align: center;
  margin-top: auto !important;
}

.btn-details {
  display: inline-block;
  padding: 0.8rem 2.4rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.3s;
}
.btn-details:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Why Trust Us */
.trust-section {
  padding: 10rem 0;
  background-color: var(--white);
}
.trust-wrapper {
  display: flex;
  align-items: center;
  gap: 8rem;
  flex-wrap: wrap;
}
.trust-text-box {
  flex: 1;
  min-width: 30rem;
}
.trust-subtitle {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.trust-title {
  font-size: 4rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}
.trust-description {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.trust-list {
  list-style: none;
  margin-bottom: 4rem;
}
.trust-list-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 500;
}
.check-circle {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #eef7f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-circle svg {
  width: 1.6rem;
  height: 1.6rem;
}

.trust-image-box {
  flex: 1;
  min-width: 30rem;
  position: relative;
}
.trust-image-container {
  position: relative;
  width: 100%;
  height: 50rem;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.trust-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to right,
    rgba(14, 88, 83, 0.4),
    rgba(14, 88, 83, 0.1)
  );
}
.trust-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-badge {
  position: absolute;
  bottom: -3rem;
  left: -2rem;
  background-color: var(--white);
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  border-left: 5px solid var(--primary-color);
  z-index: 10;
}
.trust-badge-label {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.trust-badge-text {
  font-family: "Baskervville", serif;
  font-weight: bold;
  font-size: 2rem;
  color: var(--primary-color);
}

.btn-trust {
  display: inline-block;
  padding: 1.4rem 3.2rem;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1.6rem;
  transition: all 0.3s;
}
.btn-trust:hover {
  background-color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #083c39 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-title {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.cta-description {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  color: #e0ecec;
  margin: 0 auto 3.5rem auto;
  max-width: 60rem;
}
.btn-white {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* =========================================
   5. PRACTICE AREAS PAGE (DETAILED)
   ========================================= */
.practice-intro {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}
.practice-intro h2 {
  font-size: 4.2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}
.practice-intro p {
  font-size: 1.8rem;
  color: var(--text-light);
}

.detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45rem, 1fr));
  gap: 4rem;
  width: 100%;
}
.detailed-card {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 3px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
  transition: transform 0.3s ease;
}
.detailed-card:hover {
  transform: translateY(-5px);
}

.card-header-flex {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  min-height: 6rem;
}
.detailed-card .icon-box {
  background-color: transparent;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.detailed-card .service-icon {
  width: 2.8rem;
  height: 2.8rem;
  stroke: var(--primary-color);
  stroke-width: 2;
}
.detailed-card h3 {
  font-size: 2.4rem;
  margin-bottom: 0;
  color: var(--primary-color);
  line-height: 1.3;
}
.detailed-desc {
  font-size: 1.6rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
  min-height: 11rem;
}

.detailed-card .service-list {
  width: 100%;
}
.detailed-card .service-list li {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  border-left: 3px solid #eef7f6;
  line-height: 1.5;
}
.detailed-card .card-btn-container {
  margin-top: auto;
  text-align: left;
  width: 100%;
}
.hero-practice {
  background-image:
    linear-gradient(to right, rgba(14, 88, 83, 0.9), rgba(14, 88, 83, 0.4)),
    url("../images/practice.jpg");
  background-size: cover;
  background-position: center;
}
/* =========================================
   6. ABOUT PAGE (VISION, VALUES, FOUNDER)
   ========================================= */
/* Founder Section Utilities */
.text-highlight {
  color: var(--primary-color);
}

.founder-desc {
  color: #555;
  margin-bottom: 3rem;
}

.resume-item-text {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.5;
}

.resume-item-sub {
  color: #666;
}
/* Vision Mission */
.vision-mission-section {
  padding: 10rem 0;
}
.vision-mission-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.vm-box {
  flex: 1;
  padding: 6rem;
  min-width: 30rem;
  display: flex;
  flex-direction: column;
}
.vm-light {
  background-color: var(--bg-light);
}
.vm-dark {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Color overrides */
.vm-light .vm-subtitle {
  color: var(--primary-color);
}
.vm-light .vm-title {
  color: var(--text-dark);
}
.vm-light .vm-text {
  color: var(--text-light);
}
.vm-dark .vm-subtitle {
  color: var(--accent-light);
}
.vm-dark .vm-title {
  color: var(--white);
}
.vm-dark .vm-text {
  color: #e0ecec;
}

.vm-header-block {
  min-height: 19rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.vm-body-block {
  flex: 1;
}
.vm-subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.vm-title {
  font-size: 3.2rem;
  margin-bottom: 0;
  line-height: 1.2;
}
.vm-text {
  font-size: 1.6rem;
  line-height: 1.8;
}

/* Values */
.values-section {
  background-color: var(--white);
  padding: 8rem 0 10rem 0;
}
.values-header {
  text-align: center;
  margin-bottom: 8rem;
}
.values-header h2 {
  font-size: 4.2rem;
  margin-bottom: 1.5rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 4rem;
}
.value-card {
  text-align: left;
  padding: 3rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.value-card:hover {
  transform: translateY(-5px);
}
.value-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}
/* =========================================
   NEW EXECUTIVE / LEADERSHIP SECTION
   ========================================= */
.executive-section {
  background-color: var(--bg-light);
  padding: 10rem 0;
  overflow: hidden; /* <--- THIS IS REQUIRED TO FIX THE GAP */
  width: 100%;
}

.executive-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6rem;
  align-items: center;
  justify-content: space-between;
}

/* Left Column: Philosophy */
.executive-text-col {
  flex: 1.5;
  min-width: 32rem;
}

.exec-subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.exec-quote {
  font-family: "Baskervville", serif;
  font-size: 4.2rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.exec-desc {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Right Column: Badge Card */
.executive-card-col {
  flex: 1;
  min-width: 30rem;
  display: flex;
  justify-content: center;
}

.executive-card {
  background-color: #ffffff;
  padding: 5rem 4rem;
  border-radius: 3px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--primary-color);
  width: 100%;
  max-width: 40rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.executive-card:hover {
  transform: translateY(-5px);
}

.card-label {
  display: block;
  font-size: 1.3rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.exec-name {
  font-family: "Baskervville", serif;
  font-size: 3.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.exec-role {
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.exec-divider {
  height: 1px;
  width: 5rem;
  background-color: #ddd;
  margin-bottom: 2.5rem;
}

.exec-link {
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
  font-weight: 500;
}

.exec-link:hover {
  color: var(--primary-color);
}

.arrow-icon {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.8rem;
}

.hero-about {
  background-image:
    linear-gradient(to right, rgba(14, 88, 83, 0.9), rgba(14, 88, 83, 0.4)),
    url("../images/about.jpg");
  /* Ensure the image covers the area properly */
  background-size: cover;
  background-position: center;
}
/* =========================================
   7. CONTACT PAGE & FORMS
   ========================================= */
.contact-page-section {
  padding: 10rem 0;
  background-color: var(--bg-light);
}
.contact-split-wrapper {
  display: flex;
  gap: 4rem;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Contact Form Card */
.contact-form-card {
  flex: 1.5;
  min-width: 35rem;
  background-color: var(--white);
  padding: 5rem;
  border-radius: 3px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-top: 5px solid var(--primary-color);
  transition: transform 0.4s ease;
}

.contact-form-card h2 {
  font-size: 3.2rem;
  margin-bottom: 3rem;
}
form .btn-primary {
  color: var(--white);
  background-color: var(--primary-color);
}
.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-input-row {
  display: flex;
  gap: 2rem;
  width: 100%;
}

/* Form Fields */
.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 1.6rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
  background-color: #fff;
}

/* Form Focus State (No Movement, Just Glow) */
.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(14, 88, 83, 0.1);
  transform: none; /* Explicitly disabled movement */
}

/* Custom Select Dropdown Styling */
.contact-page-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5853' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1.5rem;
  padding-right: 4.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Contact Info Card */
.contact-info-card {
  flex: 1;
  min-width: 32rem;
  background-color: var(--primary-color);
  padding: 5rem;
  border-radius: 3px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-info-card h2 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 4rem;
}
.info-person-block {
  margin-bottom: 4rem;
}
.info-label {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-light);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}
.info-person-block h3 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}
.info-person-block p {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
.info-person-block strong {
  color: var(--accent-light);
}
.info-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4rem;
}
.info-content-bottom {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  opacity: 0.8;
}

.form-radio-group {
  display: flex;
  align-items: center; /* Aligns text and buttons vertically */
  justify-content: flex-start; /* Keeps everything to the left */
  gap: 2rem; /* Adds space between the label and the first button */
  width: 100%;
  padding: 1.5rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.form-radio-group:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(14, 88, 83, 0.1);
}
.form-radio-group span {
  font-weight: 700;
  color: var(--primary-color);
  font-family: "Baskervville", serif;
  font-size: 1.8rem;
  white-space: nowrap; /* Prevents the label from breaking into two lines */
  min-width: 11rem; /* Ensures the label has enough dedicated space */
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.radio-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--text-light);
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.radio-label input[type="radio"]:checked {
  border-color: var(--primary-color);
}
.radio-label input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  background-color: var(--primary-color);
  border-radius: 50%;
}
.hero-contact {
  background-image:
    linear-gradient(to right, rgba(14, 88, 83, 0.9), rgba(14, 88, 83, 0.4)),
    url("../images/contact.jpg");
  background-size: cover;
  background-position: center;
}
/* =========================================
   8. FOOTER
   ========================================= */
.footer-section {
  background-color: var(--white);
  padding: 3rem 0 0 0;
  border-top: 1px solid #e9ecef;
}
.footer-container {
  width: 94%;
  max-width: 140rem;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col-brand {
  flex: 1 1 22rem;
  max-width: 35rem;
}
.footer-brand-logo {
  height: 4.5rem;
  margin-bottom: 1.5rem;
}
.footer-brand-desc {
  font-size: 1.4rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.footer-col-links {
  flex: 1 1 15rem;
}
.footer-heading {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.footer-list {
  list-style: none;
}
.footer-item {
  margin-bottom: 0.8rem;
}
.footer-link {
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.5rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--primary-color);
}

.footer-social-title {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.footer-social-icons {
  display: flex;
  gap: 1.5rem;
}
.social-icon-link {
  color: var(--primary-color);
  transition: transform 0.2s;
}
.social-icon-link:hover {
  transform: translateY(-2px);
  color: var(--primary-dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.5rem;
}
.contact-icon {
  stroke: var(--primary-color);
  min-width: 1.8rem;
}

.footer-bottom {
  border-top: 1px solid #e9ecef;
  padding: 1.5rem 0;
  text-align: left;
}
.copyright-text {
  font-size: 1.4rem;
  color: #888;
}

/* =========================================
   9. HAMBURGER MENU & MOBILE MODAL
   ========================================= */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  position: relative;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: 0.3s;
}

/* Animation Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* Tablet & Smaller Desktop (Max 1200px) */
/* Scaled down slightly for mid-sized screens */
@media (max-width: 1200px) {
  .header-container,
  .section-container,
  .footer-container {
    width: 96%;
    max-width: 100%;
  }
  html {
    font-size: 58%; /* Scales content down proportionally */
  }
  .header-wrapper {
    gap: 2rem;
  }
  .header-logo {
    height: 4.5rem;
  }
  .left-side-header {
    gap: 3rem;
  }
  nav ul {
    gap: 2.5rem;
  }
  .actions-group {
    gap: 1.5rem;
  }
  .phone-info {
    display: none;
  }
  .hero-section {
    min-height: 50vh;
    padding: 6rem 0;
  }
  .hero-content h1 {
    font-size: 4.2rem;
  }
}

/* Mobile Devices (Max 900px) - Activates Hamburger */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .actions-group {
    display: none;
  }
  .left-side-header {
    width: 100%;
    justify-content: space-between;
    position: relative;
  }
  .header-wrapper {
    padding: 1rem 0;
  }
  header {
    height: auto;
  }

  /* Full Screen Modal Nav */
  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
  }
  nav.active {
    display: flex;
    animation: fadeDown 0.3s ease-out forwards;
  }
  nav ul {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
  }
  nav a:link,
  nav a:visited {
    font-size: 3.2rem;
    font-family: "Baskervville", serif;
    color: var(--text-dark);
  }
  nav a.active {
    color: var(--primary-color) !important;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
  }

  /* Page Adjustments */
  .detailed-grid {
    grid-template-columns: 1fr;
  }
  .vision-mission-wrapper {
    flex-direction: column;
  }
  .vm-header-block {
    min-height: auto;
  }
  .founder-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .founder-image-box,
  .founder-text-box {
    max-width: 100%;
  }

  /* Fix hanging badge on mobile */
  .founder-badge {
    position: static;
    margin-top: 2rem;
    display: inline-block;
    right: auto;
    bottom: auto;
  }
}

/* Small Phones (Max 600px) */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 3.6rem;
  }
  .hero-content p {
    font-size: 1.6rem;
    width: 100%;
  }
  .hero-btns {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    width: 100%;
    max-width: 100%;
  }

  .trust-wrapper {
    flex-direction: column;
    gap: 4rem;
  }
  .trust-text-box,
  .trust-image-box {
    min-width: 100%;
  }
  .trust-image-container {
    height: 30rem;
  }

  .cta-title {
    font-size: 2.8rem;
  }
  .btn-white {
    width: 100%;
    text-align: center;
  }

  /* Contact Page */
  .form-input-row {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 3rem;
    min-width: 100%;
  }

  /* Footer Fixes */
  .footer-grid {
    flex-direction: column;
    gap: 3rem;
    text-align: left;
  }
  .footer-col-brand,
  .footer-col-links {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .footer-social-icons {
    justify-content: flex-start;
  }
  .contact-item {
    justify-content: flex-start;
  }
  .footer-bottom {
    text-align: left;
  }
  .form-radio-group {
    flex-direction: column; /* Stacks items vertically */
    align-items: flex-start; /* Aligns them to the left */
    gap: 1rem; /* Reduces the space between items */
    padding: 1.5rem;
  }

  .form-radio-group span {
    min-width: auto; /* Removes the fixed width so it doesn't push */
    width: 100%; /* Makes the label take the full top row */
    margin-bottom: 0.5rem;
    font-size: 1.6rem; /* Slightly smaller text if needed */
  }

  /* Make the buttons sit side-by-side below the label */
  .form-radio-group .radio-label {
    display: inline-flex;
    margin-right: 2rem;
    width: auto;
  }
  .hero-section,
  .internal-hero {
    min-height: 50vh !important; /* Forces all to be exactly half screen height */
    padding: 6rem 0 !important; /* Ensures text position is identical */
    display: flex;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 3.2rem;
  }
  /* =========================================
     MOBILE FIX FOR EXECUTIVE SECTION
     ========================================= */
  .executive-section {
    padding: 6rem 0; /* Reduced from 10rem to fit screen better */
  }

  .executive-wrapper {
    flex-direction: column; /* Stack them vertically */
    gap: 4rem; /* Reduce gap between text and card */
  }

  .executive-text-col,
  .executive-card-col {
    width: 100%;
    min-width: 0; /* Allows it to shrink below the desktop limit */
    flex: 1 1 auto;
  }

  .exec-quote {
    font-size: 3rem; /* Smaller font so it doesn't take up the whole screen */
    margin-bottom: 2rem;
  }

  .exec-desc {
    font-size: 1.6rem;
  }

  .executive-card {
    padding: 3rem; /* Smaller padding inside the white card */
    max-width: 100%; /* Ensure it doesn't overflow */
  }

  .exec-name {
    font-size: 2.8rem;
  }
}
/* =========================================
   11. SUCCESS MODAL
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background-color: var(--white);
  padding: 4rem;
  border-radius: 8px;
  text-align: center;
  max-width: 50rem;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  animation: popIn 0.3s ease-out forwards;
}

.modal-icon {
  width: 8rem;
  height: 8rem;
  background-color: #eef7f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.modal-icon svg {
  width: 4rem;
  height: 4rem;
  stroke: var(--primary-color);
}

.modal-content h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.modal-content p {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
