/* Design Tokens */
:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-secondary: #059669;
  --color-secondary-dark: #047857;
  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;
  
  /* Status Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Typography */

  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  
  /* Z-index */
  --z-index-modal: 1000;
  --z-index-dropdown: 100;
  --z-index-navbar: 50;
  --z-index-tooltip: 10;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
   background-color: rgba(17, 44, 99, 1); /* same as rgb(17, 44, 99) */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-neutral-800);
  background-color: var(--color-neutral-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  border-radius: var(--radius-base);
  z-index: 1000;
  font-weight: var(--font-weight-medium);
}

.skip-link:focus {
  top: 6px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-1);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--font-size-5xl);
  }
  
  h2 {
    font-size: var(--font-size-4xl);
  }
  
  h3 {
    font-size: var(--font-size-3xl);
  }
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-neutral-600);
  line-height: var(--line-height-relaxed);
}

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

a:hover {
  color: var(--color-primary-dark);
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
  color: var(--color-neutral-600);
}

/* Navigation */



.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(17,44,99,255); /* Changed from rgba(255, 255, 255, 0.95) */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-neutral-200);
  z-index: var(--z-index-navbar);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin: 0;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-8);
}

.nav-menu a {
  font-weight: var(--font-weight-medium);
  color: white !important;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: white !important;
}


.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-neutral-700);
  transition: all 0.3s ease;
}

.titlebar-grid h1 {
    text-align: center;
}

.ptd-50 {
    padding: 50px 0;
}

section {
    /*background-color: #fff !important;*/
}

.row:has(.col-6) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.col-6 {
    flex: 0 0 47%;
}
.row:has(.col-6.boxed) {
    align-items: normal;
}
.gap-30 {
    gap: 50px;
}

.image img {
    height: 480px;
    width: 570px;
    object-fit: cover;
}

.boxed {
    border: 1px #ccc solid;
    padding: 30px 50px;
}

.boxed p {
    margin: 0;
}

ul.boxes {
    list-style-type: none;
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

ul.boxes li {
    border: 1px #ccc solid;
    padding: 30px 20px 20px 20px;
}

.flow-row-reverse {
    flex-flow: row-reverse;
}

.theme-btn {
    background-color: #1a2b62;
    color: #fff;
    padding: 0px 40px;
    margin: 0 10px;
    border: 2px #1a2b62 solid;
}

.theme-btn:hover {
    background-color: #fff;
    color: #1a2b62;
}

.cta-section {
    background: url(../../img/aboutus.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.cta-section h2,.cta-section h3,.cta-section h4,.cta-section h5,.cta-section h6, .cta-section p {
    color: #fff;
}

ul.nav-menu li {
    padding: 23px 0;
    margin: 0;
}

ul.nav-menu li ul {
    list-style-type: none;
    position: absolute;
    background-color: #1a2b62ed;
    top: 80px;
    display: none;
    padding: 5px 0;
}

ul.nav-menu li ul li {
    padding: 0;
}

ul.nav-menu li ul li a {
    color: #fff;
    margin: 0;
    padding: 10px 20px;
    border-bottom: 1px #cccccc36 solid;
    display: block;
}

ul.nav-menu li:hover ul {
    display: block;
}

ul.nav-menu li svg {
    margin-bottom: -7px;
    fill: aliceblue;
    color: #fff;
    width: 18px;
}

@media (min-width: 768px) {

  
  .nav-menu {
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }
}

/* Sections */
.section {
  padding: var(--space-16) 0;
}

.section:first-child {
  padding-top: calc(var(--space-16) + 64px);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-neutral-600);
  max-width: 600px;
  margin: 0 auto;
}

/* 


Section */

/* Make all text inside hero-section black */
.hero-section,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section a,
.hero-section li {
  color: #000000 ;
}

/* If needed, adjust overlay so black text is visible */

.hero-section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)), /* 75% black overlay */
    url('../../img/hero_image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
}

/* Add a subtle overlay for better text contrast */


.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    
  }
}



/* 
 Container */
.form-container {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}

.form-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.form-subtitle {
  color: var(--color-neutral-600);
  margin-bottom: var(--space-8);
}

/* Info Panel */
.info-panel {
  
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  
}

.info-headline {
  color: var(--color-neutral-900);
  margin-bottom: var(--space-6);
}

.trust-points {
  margin-bottom: var(--space-8);
}

.trust-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

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

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.trust-content h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
  color: var(--color-neutral-900);
}

.trust-content p {
  margin: 0;
  color: var(--color-neutral-600);
}

.contact-info {
  margin-bottom: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-neutral-200);
}

.contact-info h4 {
  margin-bottom: var(--space-3);
}

.contact-details {
  margin-top: var(--space-4);
}

.contact-details p {
  margin-bottom: var(--space-2);
}

/* Testimonials */
.testimonials-carousel {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-neutral-200);
}

.testimonials-carousel h4 {
  margin-bottom: var(--space-4);
}

.testimonial-slider {
  position: relative;
  margin-bottom: var(--space-4);
}

.testimonial {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial.active {
  display: block;
}

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

.testimonial p {
  font-style: italic;
  margin-bottom: var(--space-3);
  color: var(--color-neutral-700);
}

.testimonial cite {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-500);
}

.testimonial-dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-neutral-300);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

/* Quick Links */
.quick-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-neutral-200);
}

.quick-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  text-decoration: underline;
}

/* About Section */

.about-section {
  background:
   
    url('../../img/aboutus.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
 


.about-section > * {
  position: relative;
  z-index: 2;
}
.about-section .section-header p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  font-weight: var(--font-weight-medium);
}

.about-section .section-header h2 {
  color: white !important;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0px 0px 12px rgba(0,0,0,0.6);
  font-weight: var(--font-weight-bold);
}



.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

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

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

.about-card {
  background: var(--color-neutral-50);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-neutral-200);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.about-card h3 {
  margin-bottom: var(--space-4);
}

.about-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
}

.about-card li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
}

.about-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: var(--space-3);
}

.card-link svg {
  width: 16px;
  height: 16px;
}

/* Services Section */
.services-section {

             
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: overlay;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

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

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

.service-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card-hidden {
  display: none;
}

.service-card-hidden.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--color-secondary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.service-card h3 {
  margin-bottom: var(--space-3);
}

.service-card p {
  margin-bottom: var(--space-6);
  color: var(--color-neutral-600);
}

.service-price {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.service-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-neutral-500);
  text-align: center;
}

.services-toggle {
  text-align: center;
  margin-bottom: var(--space-16);
}

#toggle-services {
  position: relative;
}

#toggle-services svg {
  transition: transform 0.3s ease;
}

#toggle-services.expanded svg {
  transform: rotate(180deg);
}

/* Plan Comparison */
.plan-comparison {
  margin-bottom: var(--space-16);
}

.plan-comparison h3 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.plan-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-neutral-200);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
}

.plan-featured {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  transform: scale(1.05);
}

.plan-featured:hover {
  transform: scale(1.05) translateY(-2px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

.plan-card h4 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.plan-featured h4 {
  color: white;
}

.plan-card ul {
  list-style: none;
  padding: 0;
}

.plan-card li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-neutral-600);
}

.plan-featured li {
  color: rgba(255, 255, 255, 0.9);
}

.plan-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

.plan-featured li::before {
  background: rgba(255, 255, 255, 0.8);
}

/* FAQ Accordion */
.faq-section h3 {
  text-align: center;
  margin-bottom: var(--space-8);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-neutral-200);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-6) 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-neutral-900);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
  padding-bottom: var(--space-6);
}

.faq-answer p {
  margin: 0;
  color: var(--color-neutral-600);
}

/* Blogs Section */
.blogs-section {
background:
   
    url('../../img/aboutus.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blogs-section .section-header h2 {
  color: #ffffff; /* Example: bright green, change as needed */
}

.blogs-section .section-header p {
  color: #ffffff; /* Example: white, change as needed */
}

.blogs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

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

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

.blog-card {
  background: var(--color-neutral-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-base);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: var(--space-6);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.blog-category {
  background: var(--color-primary);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
}

.blog-read-time {
  font-size: var(--font-size-sm);
  color: var(--color-neutral-500);
}

.blog-content h3 {
  margin-bottom: var(--space-3);
  line-height: var(--line-height-tight);
}

.blog-content p {
  margin-bottom: var(--space-4);
  color: var(--color-neutral-600);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.blog-link:hover {
  gap: var(--space-3);
}

.blog-link svg {
  width: 16px;
  height: 16px;
}

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

/* Locations Section */
.locations-section {
  background: var(--color-neutral-50);
}

.postcode-checker {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  margin-bottom: var(--space-12);
  text-align: center;
}

.postcode-checker h3 {
  margin-bottom: var(--space-6);
}

.postcode-form {
  max-width: 500px;
  margin: 0 auto;
}

.postcode-input-group {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.postcode-input-group input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  transition: border-color 0.2s ease;
}

.postcode-input-group input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.postcode-result {
  min-height: 60px;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
}

.postcode-result.success {
  background: var(--color-success);
  color: white;
}

.postcode-result.error {
  background: var(--color-error);
  color: white;
}

.location-filters {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.filter-btn {
  padding: var(--space-3) var(--space-6);
  background: white;
  border: 2px solid var(--color-neutral-200);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  color: var(--color-neutral-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.map-container {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  box-shadow: var(--shadow-base);
}

.map-placeholder {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-neutral-100);
  color: var(--color-neutral-500);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .locations-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

.location-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.location-card.hidden {
  display: none;
}

.location-card h3 {
  margin-bottom: var(--space-3);
  color: var(--color-neutral-900);
}

.location-card p {
  margin-bottom: var(--space-4);
  color: var(--color-neutral-600);
}

.location-availability {
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--color-secondary);
  color: white;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  text-align: center;
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.location-link:hover {
  gap: var(--space-3);
}

.location-link svg {
  width: 16px;
  height: 16px;
}

/* Contact Section */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
  }
}



.contact-info-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .contact-info-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-info-container {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
}

.contact-info-card h3 {
  margin-bottom: var(--space-4);
  color: var(--color-neutral-900);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

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

.info-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item p {
  margin: 0;
}

.info-item strong {
  color: var(--color-neutral-900);
}

.social-links {
  display: flex;
  gap: var(--space-4);
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

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

.social-link svg {
  width: 24px;
  height: 24px;
  color: var(--color-neutral-600);
  transition: color 0.2s ease;
}

.social-link:hover svg {
  color: white;
}

/* Footer */
.footer {
  background: var(--color-neutral-900);
  color: var(--color-neutral-300);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

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

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

.footer-section h3 {
  color: white;
  margin-bottom: var(--space-4);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-4);
}

.footer-section p {
  color: var(--color-neutral-400);
  margin-bottom: var(--space-3);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: var(--color-neutral-400);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-neutral-700);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--color-neutral-500);
}

.footer-bottom a {
  color: var(--color-neutral-400);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: white;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Loading States */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Mobile Navigation */
@media (max-width: 767px) {
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--color-neutral-200);
    padding: var(--space-4);
    flex-direction: column;
    gap: var(--space-4);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .nav-menu.open {
    transform: translateX(0);
    display: flex;
  }
  
  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}



/* Hero Section Professional Text Styling */
.hero-section * {
  position: relative;
  z-index: 3;
  
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
  color: white !important;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0px 0px 8px rgba(0, 0, 0, 0.5);
  font-weight: var(--font-weight-bold);
}

.hero-section .form-title,
.hero-section .info-headline {
  color: white !important;
  text-shadow: 
    2px 2px 6px rgba(0, 0, 0, 0.9),
    0px 0px 12px rgba(0, 0, 0, 0.6);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.025em;
}

.hero-section p,
.hero-section .form-subtitle {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 
    1px 1px 3px rgba(0, 0, 0, 0.8),
    0px 0px 6px rgba(0, 0, 0, 0.4);
  font-weight: var(--font-weight-medium);
}






.hero-section .trust-content h4 {
  color: white !important;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0px 0px 8px rgba(0, 0, 0, 0.5);
  font-weight: var(--font-weight-semibold);
}

.hero-section .trust-content p {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  font-weight: var(--font-weight-normal);
}

/* Professional form and contact styling */
.hero-section label,
.hero-section .contact-details p,
.hero-section .contact-info h4 {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  font-weight: var(--font-weight-medium);
}

/* Enhanced trust points for pest control credibility */
.hero-section .trust-point {
  backdrop-filter: blur(2px);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Professional call-to-action emphasis */
.hero-section .btn,
.hero-section button {
  text-shadow: none !important;
  font-weight: var(--font-weight-semibold) !important;
  letter-spacing: 0.025em;
}

/* iPhone / small mobile text color change */
@media (max-width: 480px) {
  /* Change hero-section background for mobile */
  .hero-section {
    background:
      linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.60)), /* 50% black overlay */
      url('../../img/hero_image.jpg');
    background-size: cover;
    background-position: center;
  }

  


/* Utility for revealable cards (if you use it elsewhere) */
.service-card-hidden { display: none; }
.service-card-hidden.show { display: block; }

/* ===== Mobile hamburger menu: make link text and bars black ===== */
@media (max-width: 767px) {
  .navbar .nav-menu a,
  .navbar .nav-menu.open a {
    color: #000 !important;
  }
  .navbar .nav-menu a:hover,
  .navbar .nav-menu a:focus,
  .navbar .nav-menu a:active {
    color: #000 !important;
  }
  .navbar .nav-toggle span {
    background: #000 !important;
  }
}


}

/* whoweare */

/* ===== Trust Points ===== */
.block-trust-points {
  padding: var(--space-12) var(--space-4);
  background-color: var(--color-neutral-50);
  text-align: center;
}

.heading-trust-points {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-6);
}

.list-trust-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
}

.item-trust-point {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--font-size-lg);
  color: var(--color-neutral-700);
}

.item-trust-point::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* ===== Methodology ===== */
.block-methodology {
  padding: var(--space-12) var(--space-4);
  background-color: white;
  max-width: 1400px;
  margin: 0 auto;
}

.heading-methodology {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-4);
  text-align: center;
}

.text-methodology {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-neutral-600);
  margin-bottom: var(--space-6);
  text-align: center;
}

.steps-methodology {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps-methodology li {
  counter-increment: step;
  background: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  position: relative;
  padding-left: var(--space-10);
}


/* ===== Pest Solutions ===== */
.block-pest-solutions {
  padding: var(--space-12) var(--space-4);
  background-color: var(--color-neutral-50);
}

.heading-pest-solutions {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-8);
  text-align: center;
}

.grid-pest-solutions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto;
}

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

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

.card-pest-solution {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

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

.card-pest-solution img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-pest-solution h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-neutral-800);
  padding: var(--space-4);
}



/* Ultra-small screens fix (≤371px) */
@media (max-width: 371px) {
  /* Slightly smaller base type to ease wrapping */
  html { font-size: 14px; }

  /* Tighten horizontal padding so content fits */
  .container,
  .nav-container { padding: 0 var(--space-2); }

  /* Reduce vertical spacing */
  .section { padding: var(--space-12) 0; }

  /* Ensure grid children can shrink instead of forcing overflow */
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-grid > * { min-width: 0; }

  /* Make the form fully fluid and comfy on tiny widths */
  .form-container,
  .info-panel {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* safety: clip any inner overflow */
  }

  /* Inputs/buttons scale down neatly */
  .form-container input,
  .form-container select,
  .form-container textarea { font-size: var(--font-size-sm); }

  .hero-section .btn,
  .hero-section button { width: 100%; }

  /* Trust points/icons don’t push width */
  .trust-point { gap: var(--space-3); margin-bottom: var(--space-4); }
  .trust-icon { width: 40px; height: 40px; }
  .trust-icon svg { width: 20px; height: 20px; }
}


