/* ==========================================================================
   1. IMPORTS & GOOGLE FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   2. DESIGN TOKENS & BRAND VARIABLES
   ========================================================================== */
:root {
  /* Brand Palette */
  --color-primary: #124e61;       /* Deep Teal */
  --color-primary-dark: #0d3342;  /* Midnight Teal */
  --color-secondary: #2e6c4e;     /* Forest Green */
  --color-accent: #d9a73a;        /* Mustard Gold */
  --color-accent-hover: #c4932b;  /* Darker Gold */
  
  /* Neutral Palette */
  --color-bg-main: #f8f5ec;       /* Warm Cream Background */
  --color-bg-surface: #efe3dc;    /* Light Sand Container */
  --color-surface-white: #ffffff; /* Card/Modal background */
  
  /* Text Colors */
  --color-text-main: #0d3342;     /* Dark Teal for body text */
  --color-text-muted: #536b73;    /* Muted body text */
  --color-text-light: #f8f5ec;    /* Text on dark backgrounds */

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(13, 51, 66, 0.04);
  --shadow-md: 0 10px 30px rgba(13, 51, 66, 0.08);
  --shadow-lg: 0 20px 40px rgba(13, 51, 66, 0.12);
}

/* ==========================================================================
   3. BASE RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--color-secondary);
}

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

ul {
  list-style: none;
}

/* Section Common Styles */
section {
  padding: 5rem 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  font-size: 0.95rem;
  gap: 0.5rem;
}

/* Primary Button (Teal) */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 12px rgba(18, 78, 97, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 51, 66, 0.3);
}

/* Accent Button (Gold) */
.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(217, 167, 58, 0.2);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196, 147, 43, 0.3);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

/* Language Switcher Link button */
.lang-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

/* ==========================================================================
   5. UI COMPONENTS & CARDS
   ========================================================================== */
.card {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(18, 78, 97, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 78, 97, 0.15);
}

/* Accent Badge / Tag */
.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: rgba(46, 108, 78, 0.1);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* Section Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
header {
  background-color: rgba(248, 245, 236, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(18, 78, 97, 0.06);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 42px;
  width: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 78, 97, 0.15);
  object-fit: contain;
  background-color: var(--color-surface-white);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  letter-spacing: -0.5px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-main);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-secondary);
}

.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: calc(90vh - 70px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(217, 167, 58, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(46, 108, 78, 0.08) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background-color: var(--color-bg-surface);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(18, 78, 97, 0.1);
}

.hero-badge i {
  color: var(--color-accent);
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  animation: fadeInRight 0.8s ease-out;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-surface-white);
  z-index: 2;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.3;
}

/* ==========================================================================
   8. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: rgba(18, 78, 97, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.service-list {
  border-top: 1px solid rgba(18, 78, 97, 0.08);
  padding-top: 1.5rem;
  margin-top: auto;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

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

.service-list-item i {
  color: var(--color-secondary);
  margin-top: 3px;
  font-size: 0.85rem;
}

/* ==========================================================================
   9. VALUES SECTION
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}

.value-card {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(18, 78, 97, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Grid positioning to respect 5 columns beautifully in 6 columns container */
.value-card:nth-child(1) { grid-column: span 2; }
.value-card:nth-child(2) { grid-column: span 2; }
.value-card:nth-child(3) { grid-column: span 2; }
.value-card:nth-child(4) { grid-column: 2 / span 2; }
.value-card:nth-child(5) { grid-column: 4 / span 2; }

.value-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: rgba(217, 167, 58, 0.25);
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   10. METHODOLOGY (PROCESS) SECTION
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: rgba(18, 78, 97, 0.1);
  z-index: 1;
}

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

.step-number {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--color-surface-white);
  border: 4px solid var(--color-bg-surface);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover .step-number {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.step-number::after {
  content: '';
  position: absolute;
  width: 106%;
  height: 106%;
  border-radius: 50%;
  border: 1px dashed var(--color-primary);
  opacity: 0.3;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0 auto;
}

/* ==========================================================================
   11. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--color-text-main);
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  color: rgba(46, 108, 78, 0.08);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(18, 78, 97, 0.06);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--color-primary-dark);
}

.author-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   11a. JOB DETAIL MODALS
   ========================================================================== */

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 51, 66, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Panel */
.modal-panel {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modal-overlay.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.modal-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-text-light);
  padding: 2rem 2.5rem;
  position: relative;
  flex-shrink: 0;
}

.modal-header-dept {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.modal-header h2 {
  color: var(--color-text-light);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.modal-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  background-color: rgba(248, 245, 236, 0.12);
  color: var(--color-text-light);
  font-size: 0.83rem;
  font-weight: 500;
  border: 1px solid rgba(248, 245, 236, 0.2);
}

.modal-tag i {
  font-size: 0.75rem;
  color: var(--color-accent);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(248, 245, 236, 0.12);
  border: 1px solid rgba(248, 245, 236, 0.2);
  color: var(--color-text-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close-btn:hover {
  background-color: rgba(248, 245, 236, 0.25);
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  overflow-y: auto;
  padding: 2.5rem;
  flex-grow: 1;
  scroll-behavior: smooth;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--color-bg-main);
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(18, 78, 97, 0.2);
  border-radius: 3px;
}

.modal-section {
  margin-bottom: 2rem;
}

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

.modal-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-bg-surface);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-section-title i {
  color: var(--color-accent);
  font-size: 0.9rem;
}

.modal-intro {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.modal-list-item i {
  color: var(--color-secondary);
  margin-top: 4px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Modal Footer */
.modal-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(18, 78, 97, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--color-bg-main);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.modal-footer-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal-footer-note i {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .modal-panel {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }
  .modal-header {
    padding: 1.5rem;
  }
  .modal-header h2 {
    font-size: 1.4rem;
    padding-right: 2rem;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-footer {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   11b. CAREERS SECTION
   ========================================================================== */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.career-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 4px solid var(--color-accent);
}

.career-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.career-card .career-dept {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.career-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.career-requirements-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.career-list {
  margin-bottom: 2rem;
}

.career-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.career-list-item i {
  color: var(--color-accent);
  margin-top: 4px;
  font-size: 0.8rem;
}

.career-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   12. CONTACT & FORM SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-surface);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary-dark);
}

.contact-item-text p, .contact-item-text a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-item-text a:hover {
  color: var(--color-secondary);
}

/* Form Styling */
.contact-form-container {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 78, 97, 0.05);
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid rgba(18, 78, 97, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-surface-white);
  box-shadow: 0 0 0 4px rgba(18, 78, 97, 0.1);
}

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

/* Submit Status */
.submit-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.4s ease;
}

.submit-message.success {
  background-color: rgba(46, 108, 78, 0.1);
  color: var(--color-secondary);
  border: 1px solid rgba(46, 108, 78, 0.2);
  display: block;
}

.submit-message.error {
  background-color: rgba(217, 167, 58, 0.1);
  color: #a37217;
  border: 1px solid rgba(217, 167, 58, 0.2);
  display: block;
}

/* ==========================================================================
   13. FOOTER SECTION
   ========================================================================== */
footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 4rem 0 2rem 0;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--color-text-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--color-accent);
}

.footer-brand p {
  color: rgba(248, 245, 236, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(248, 245, 236, 0.1);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.social-link:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: rgba(248, 245, 236, 0.75);
  font-size: 0.95rem;
}

.footer-nav-link:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(248, 245, 236, 0.75);
  font-size: 0.95rem;
}

.footer-contact-details p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-details i {
  color: var(--color-accent);
  margin-top: 4px;
}

.footer-contact-details a {
  color: rgba(248, 245, 236, 0.75);
}

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

.footer-bottom {
  border-top: 1px solid rgba(248, 245, 236, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(248, 245, 236, 0.55);
}

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

.footer-bottom-links a {
  color: rgba(248, 245, 236, 0.55);
}

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

/* ==========================================================================
   14. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ==========================================================================
   15. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .contact-grid, .hero-grid {
    gap: 2.5rem;
  }
  .values-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  section {
    padding: 4rem 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-image {
    order: -1;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .process-timeline::before {
    display: none;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-card:nth-child(n) {
    grid-column: span 1 !important;
  }
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--color-bg-main);
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 15px rgba(13, 51, 66, 0.05);
    padding: 3rem 0;
    gap: 2rem;
    z-index: 999;
    align-items: center;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-actions {
    margin-top: 1rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
