/* 
  OmHarmony Care Services Inc. - Master Stylesheet
  Curated Premium Palette: Sage Green, Warm Ivory, Dark Charcoal Slate
*/

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

:root {
  /* Color Tokens */
  --bg-primary: #f8f3ed;      /* Premium Warm Ivory */
  --bg-secondary: #f1ede6;    /* Darker Warm Ivory Accent */
  --primary: #8ba58e;         /* Soft Sage Green */
  --primary-hover: #758e78;   /* Sage Green Hover State */
  --primary-light: #e4ebe6;  /* Soft light sage tint */
  --text-dark: #1d2d35;       /* Dark Charcoal Slate */
  --text-muted: #5a676c;      /* Muted Navy Slate */
  --white: #ffffff;
  --black: #0c1417;
  
  /* Replicated Header Colors */
  --header-bg: #075662;       /* Gorgeous Deep Teal Green */
  --gold: #d4af37;            /* Radiant Gold Yellow */
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows & Layouts */
  --shadow-sm: 0 4px 6px -1px rgba(29, 45, 53, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(29, 45, 53, 0.08), 0 4px 6px -2px rgba(29, 45, 53, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(29, 45, 53, 0.1), 0 10px 10px -5px rgba(29, 45, 53, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
p { font-size: 1rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
}

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

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

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

.btn-white {
  background-color: var(--white);
  color: var(--text-dark);
}

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

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-link.active {
  color: var(--gold);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: var(--white);
  color: var(--header-bg);
  border: 1px solid var(--white);
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-phone svg {
  display: none;
}

.nav-phone:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  margin-bottom: 6px;
  transition: var(--transition);
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

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

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

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 180px;
  background-color: var(--bg-primary);
}

.hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.hero-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 2px);
  height: 140px;
}

.curve-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.curve-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 2px);
  height: 100px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 16px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
}

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

.hero-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: var(--bg-secondary);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-image-container:hover .hero-img {
  transform: scale(1.05);
}

.hero-floating-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 1rem;
  font-weight: 600;
}

.floating-text p {
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Core Sections */
.section {
  padding: 100px 0;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* Why Choose Us Cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(29, 45, 53, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 165, 142, 0.3);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background-color: var(--primary);
  color: var(--white);
}

.why-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

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

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(29, 45, 53, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card h3 svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
}

.service-card-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

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

/* Reviews Carousel */
.reviews-section {
  background: linear-gradient(180deg, var(--white), var(--bg-primary));
}

.reviews-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.review-slider {
  overflow: hidden;
  position: relative;
}

.review-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
  width: 100%;
  flex-shrink: 0;
  padding: 10px;
}

.review-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(29, 45, 53, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.review-stars {
  color: #ffb800;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  position: relative;
}

.review-text::before {
  content: "“";
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.5;
}

.review-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.review-author h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.review-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #4caf50;
  font-weight: 500;
}

.reviews-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.control-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid rgba(29, 45, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--text-dark);
}

.control-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(29, 45, 53, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
  width: 24px;
}

/* Trustindex Badge Footer */
.trust-badge {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-badge-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--text-dark), #0f181c);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(139, 165, 142, 0.2), transparent 50%);
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.cta-container h2 {
  color: var(--white) !important;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-container p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* About Section on Home */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-graphics {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background-color: var(--bg-secondary);
}

.about-card-overlap {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-card-overlap h3 {
  color: var(--white) !important;
  font-size: 2.2rem;
  font-weight: 800;
}

.about-card-overlap p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Careers Page Layout Styles */
.career-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 120px;
  background-color: var(--bg-secondary);
}

.career-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.career-main {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(29, 45, 53, 0.03);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.career-section-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.career-section-block h3 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--bg-primary);
  padding-bottom: 10px;
  color: var(--text-dark);
}

.career-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.career-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 1rem;
}

.career-bullets li svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.career-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(29, 45, 53, 0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Interactive Application Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(29, 45, 53, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-dark);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 45, 53, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(139, 165, 142, 0.15);
  background-color: var(--white);
}

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

/* Contact Page Form & Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-text p {
  font-size: 0.95rem;
  margin-top: 4px;
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(29, 45, 53, 0.03);
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(29, 45, 53, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.blog-card p {
  font-size: 0.9rem;
}

.blog-card-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Footer styling */
.footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 48px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: var(--white) !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

/* Success Messages and Notification styles */
.alert-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--white);
  color: var(--text-dark);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  pointer-events: none;
}

.alert-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.alert-toast svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 200px;
  }
  
  .why-grid, .services-grid, .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-img-main {
    aspect-ratio: 16/9;
  }
  
  .career-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: left 0.4s ease;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(29, 45, 53, 0.05);
  }
  
  .nav-link {
    color: var(--text-dark);
    font-size: 1.15rem;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    display: block;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--primary);
  }
  
  .nav-links.open {
    left: 0;
  }
  
  .nav-actions {
    display: none;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 150px;
  }
  
  .career-hero {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 90px;
  }
  
  .hero-divider svg, .curve-divider svg {
    height: 80px;
  }
  
  .why-grid, .services-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .why-card {
    padding: 24px;
  }
  
  .service-card-content {
    padding: 24px;
  }
  
  .hero-floating-card {
    bottom: 16px;
    left: 16px;
    padding: 12px 16px;
    max-width: calc(100% - 32px);
    gap: 12px;
  }
  
  .floating-icon {
    width: 38px;
    height: 38px;
  }
  
  .review-card {
    padding: 24px;
  }
  
  .contact-form-container {
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Service Detail Blocks */
.service-detail-block {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(29, 45, 53, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 100px;
}

.service-detail-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(139, 165, 142, 0.2);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.service-icon-container {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.service-bullets-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.service-bullets-grid li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-bullets-grid li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .service-detail-block {
    padding: 24px;
  }
  
  .service-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}


