/* Final, Fully Responsive and Branded CSS for Taxeas */

:root {
  --primary-color: #004d99; /* Deep Professional Blue */
  --accent-color: #ff9900; /* Vibrant Orange/Gold Accent */
  --background-light: #ffffff;
  --background-gray: #f2f5f9; /* Soft Off-White Background */
  --text-dark: #2c3e50; /* Darker Text for Readability */
  --text-light: #ffffff;
  --font-family: "Roboto", sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  color: var(--text-dark);
  line-height: 1.65;
  background-color: var(--background-light);
  overflow-x: hidden; /* Prevent horizontal scroll */
  -webkit-text-size-adjust: 100%; /* Prevent text scaling on iOS */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

/* Smooth transitions for better UX */
* {
  box-sizing: border-box;
}

/* Loading animation - Fixed to prevent blank page */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

body.loaded {
  opacity: 1;
}

/* --- Global & Utility Styles --- */
.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1280px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 77, 153, 0.4);
}

/* Headings and Sections */
.section-heading {
  text-align: center;
  padding-top: 20px;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 2.8em;
  color: var(--primary-color);
  margin-top: 10px;
  position: relative;
  padding-bottom: 10px;
}
.section-heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 10px auto 0;
}
.section-heading p {
  font-size: 1.1em;
  color: #555;
  font-weight: 500;
}

/* --- Header and Navigation --- */
header {
  background: var(--background-light);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  /* font-size: 2em; */
  /* font-weight: 900; */
  /* color: var(--primary-color); */
  /* text-decoration: none; */
  height: 45px;
  margin: 0;
  padding: 0;
  scale: 1.4;
}


.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  position: relative;
  color: var(--text-dark);
  font-weight: 600;
  padding: 15px 20px;
  text-decoration: none;
  display: block;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1em;
}
.nav-links a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
}
.nav-links a:hover::after {
  width: 100%;
}

/* --- Hero Section (Home Page) --- */
.hero {
  padding: 0;
  text-align: center;
}

.hero-with-bg-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 120px 0;
}

.hero-with-bg-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-with-bg-image .container {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-with-bg-image h1 {
  font-size: 4.5em;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.hero-with-bg-image p {
  font-size: 1.5em;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-with-bg-image .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-with-bg-image .btn-primary:hover {
  background-color: #ffb74d;
  border-color: #ffb74d;
  transform: translateY(-3px);
}

/* --- Services Overview Section (Home Page) --- */
.services-section {
  padding: 80px 0;
  background: var(--background-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: left;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 10px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
}

/* --- Confidence/Visual CTA Section (Home Page) --- */
.confidence-section {
  padding: 80px 0;
  background: var(--background-gray);
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.confidence-item {
  padding: 30px;
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.confidence-item i {
  font-size: 3em;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.confidence-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.4em;
}

.confidence-item:hover {
  transform: scale(1.05);
  background: var(--primary-color);
}
.confidence-item:hover i,
.confidence-item:hover h3,
.confidence-item:hover p {
  color: var(--text-light);
}

/* ======================================================================= */
/* --- About Page Specific Styles --- */
/* ======================================================================= */
.about-hero {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
}
.about-hero h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
}
.about-hero p {
  font-size: 1.4em;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.5;
}

.who-we-are-section {
  padding: 80px 0;
  background-color: var(--background-light);
}
.who-we-are-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.who-we-are-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.who-we-are-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 3px solid var(--accent-color);
}
.who-we-are-content {
  flex: 2;
  min-width: 300px;
}
.who-we-are-content h2 {
  color: var(--primary-color);
  font-size: 2.5em;
  margin-top: 0;
  position: relative;
  padding-bottom: 10px;
}
.who-we-are-content h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin-top: 10px;
  left: 0;
}

.mission-vision-section {
  padding: 80px 0;
  background-color: var(--background-gray);
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}
.mv-card {
  background: var(--background-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  border-bottom: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
}
.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.mv-card i {
  font-size: 3.5em;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.mv-card h3 {
  font-size: 2em;
  color: var(--primary-color);
  margin-top: 15px;
  margin-bottom: 15px;
}

.about-values-section {
  padding: 80px 0;
  background-color: var(--background-light);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.value-card {
  text-align: center;
  padding: 30px;
  background: var(--background-gray);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--accent-color);
}
.value-card i {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.value-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

/* ======================================================================= */
/* --- Services Page Specific Styles --- */
/* ======================================================================= */
.service-list-section {
  padding: 80px 0;
}

.services-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-category {
  background: var(--background-light);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  flex: 1 1 45%;
  min-width: 300px;
}

.service-category h3 {
  color: var(--accent-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
  display: inline-block;
  font-size: 1.8em;
}

.service-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-category ul li {
  padding: 8px 0;
  border-bottom: 1px dotted #ccc;
  font-weight: 500;
}
.service-category ul li:last-child {
  border-bottom: none;
}
.service-category ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* ======================================================================= */
/* --- Contact Page Specific Styles --- */
/* ======================================================================= */
.contact-hero {
  background-color: var(--background-gray);
  padding: 80px 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 1.2em;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section {
  padding: 60px 0;
}

.contact-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

/* Creative CTA Column (Replaces Form) */
.creative-cta-col {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: var(--background-light);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.creative-cta-col h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 2em;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.creative-cta-col p {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.creative-cta-col .cta-icon {
  font-size: 4em;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
  animation: pulse 2s infinite;
}

.creative-cta-col .btn-primary {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.creative-cta-col .btn-primary:hover {
  background-color: #ffb74d;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Contact Info Column */
.contact-info-col {
  flex: 1.5;
  min-width: 350px;
  padding: 40px 30px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
}

.contact-info-col h3 {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-size: 1.6em;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.8em;
  color: var(--accent-color);
  margin-right: 20px;
}

.info-item p {
  margin: 0;
  line-height: 1.4;
}
.info-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.info-item a:hover {
  color: var(--accent-color);
}

/* --- Footer (Restored) --- */
footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 50px 0;
}

.credit-line {
  margin-top: 10px;
  /* Increased size */
  font-size: 1.1em;
  color: #ccc; /* Slightly lighter text for contrast */
  font-weight: 500;
}
.credit-line a {
  /* Highlight the name */
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 700; /* Bold the name */
  transition: color 0.3s;
}
.credit-line a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 30px;
  text-align: center;
}

.footer-contact {
  flex-basis: auto;
  margin-bottom: 20px;
}

.footer-contact h3 {
  color: var(--accent-color);
  border-bottom: 2px solid #555;
  padding-bottom: 10px;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9em;
}

/* ======================================================================= */
/* 📱 COMPREHENSIVE MOBILE RESPONSIVENESS */
/* ======================================================================= */

/* Mobile-first approach - Base styles for mobile */
@media (max-width: 480px) {
  /* Extra small mobile devices */
  .container {
    width: 98%;
    padding: 0 8px;
  }

  .logo {
    font-size: 1.3em;
  }

  .hero-with-bg-image h1 {
    font-size: 1.6em;
    line-height: 1.2;
  }

  .hero-with-bg-image p {
    font-size: 0.95em;
    padding: 0 5px;
  }

  .about-hero h1 {
    font-size: 1.6em;
    line-height: 1.2;
  }

  .about-hero p {
    font-size: 0.95em;
    padding: 0 5px;
  }

  .section-heading h2 {
    font-size: 1.4em;
    line-height: 1.2;
  }

  .section-heading p {
    font-size: 0.9em;
  }

  .service-card,
  .confidence-item,
  .value-card,
  .mv-card {
    padding: 15px 12px;
    margin-bottom: 15px;
  }

  .service-category {
    padding: 12px;
    margin-bottom: 12px;
  }

  .service-category h3 {
    font-size: 1.2em;
  }

  .service-category ul li {
    font-size: 0.9em;
    padding: 4px 0;
  }

  .creative-cta-col,
  .contact-info-col {
    padding: 15px 12px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8em;
    min-height: 40px;
  }

  .btn-lg {
    padding: 10px 20px;
    font-size: 0.85em;
  }

  iframe {
    height: 200px !important;
  }

  .info-item {
    margin-bottom: 15px;
  }

  .info-item i {
    font-size: 1.3em;
    margin-right: 12px;
  }

  .footer-contact h3 {
    font-size: 1.2em;
  }

  .footer-contact p {
    font-size: 0.9em;
  }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: var(--primary-color);
  cursor: pointer;
  padding: 20px;
  transition: color 0.3s ease;
  min-width: 80px;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  color: var(--accent-color);
}

/* Header positioning for mobile menu */
header {
  position: relative;
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 92%;
  }

  .hero-with-bg-image h1 {
    font-size: 3.5em;
  }

  .about-hero h1 {
    font-size: 3.2em;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-list-container {
    flex-direction: column;
  }

  .service-category {
    flex: 1 1 100%;
    min-width: auto;
  }
}

/* Mobile Styles (up to 768px) */
@media (max-width: 768px) {
  /* Global Adjustments */
  .container {
    width: 95%;
    padding: 0 15px;
  }

  .section-heading {
    margin-bottom: 40px;
    padding-top: 15px;
  }
  .section-heading h2 {
    font-size: 1.8em;
    line-height: 1.3;
  }
  .section-heading p {
    font-size: 1em;
  }

  /* Header & Navigation - Mobile Menu */
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }

  .logo {
    font-size: 1.6em;
    margin-bottom: 0;
  }

  .mobile-menu-toggle {
    display: flex;
    padding: 20px;
    min-width: 80px;
    min-height: 80px;
    position: relative;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-links.active {
    display: flex !important;
    max-height: 400px;
    padding: 20px 15px;
  }

  .nav-links li {
    margin: 0;
    border-bottom: 1px solid #eee;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 18px 0;
    font-size: 1.1em;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: var(--background-gray);
    color: var(--primary-color);
  }

  /* Hero Section */
  .hero-with-bg-image {
    padding: 50px 0;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
  }
  .hero-with-bg-image h1 {
    font-size: 2.2em;
    line-height: 1.2;
    margin-bottom: 15px;
    text-align: center;
  }
  .hero-with-bg-image p {
    font-size: 1.1em;
    margin-bottom: 30px;
    padding: 0 10px;
    text-align: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9em;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .btn:active {
    transform: scale(0.95);
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1em;
    min-height: 52px;
  }

  /* Grid Layouts */
  .services-grid,
  .confidence-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .service-card:active {
    transform: scale(0.98);
  }

  .service-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
  }

  .confidence-item {
    padding: 25px 20px;
  }

  .confidence-item i {
    font-size: 2.5em;
  }

  .confidence-item h3 {
    font-size: 1.2em;
  }

  .service-category {
    flex: 1 1 100%;
    padding: 20px;
    margin-bottom: 15px;
  }

  .service-category h3 {
    font-size: 1.4em;
    margin-bottom: 12px;
  }

  .service-category ul li {
    padding: 6px 0;
    font-size: 0.95em;
  }

  /* About Page Layout */
  .about-hero {
    padding: 50px 0;
  }
  .about-hero h1 {
    font-size: 2.2em;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .about-hero p {
    font-size: 1.1em;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .who-we-are-section {
    padding: 50px 0;
  }

  .who-we-are-layout {
    flex-direction: column;
    gap: 25px;
  }
  .who-we-are-image {
    order: -1;
    min-width: auto;
  }
  .who-we-are-image img {
    max-width: 100%;
    height: auto;
  }
  .who-we-are-content {
    min-width: auto;
  }
  .who-we-are-content h2 {
    font-size: 1.8em;
    line-height: 1.3;
  }

  .mission-vision-section {
    padding: 50px 0;
  }

  .mv-card {
    padding: 25px 20px;
  }

  .mv-card i {
    font-size: 2.8em;
  }

  .mv-card h3 {
    font-size: 1.5em;
  }

  .about-values-section {
    padding: 50px 0;
  }

  .value-card {
    padding: 25px 20px;
  }

  .value-card i {
    font-size: 2.2em;
  }

  .value-card h3 {
    font-size: 1.3em;
  }

  /* Contact Page Layout */
  .contact-hero {
    padding: 50px 0;
  }

  .contact-hero h1 {
    font-size: 2.2em;
    line-height: 1.2;
  }

  .contact-hero p {
    font-size: 1.1em;
    padding: 0 10px;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-layout {
    flex-direction: column;
    gap: 25px;
  }
  .creative-cta-col,
  .contact-info-col {
    flex: none;
    width: 100%;
    box-sizing: border-box;
    padding: 25px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  .contact-info-col {
    order: -1;
  }

  .creative-cta-col:active,
  .contact-info-col:active {
    transform: scale(0.98);
  }

  .creative-cta-col h2 {
    font-size: 1.6em;
  }

  .creative-cta-col .cta-icon {
    font-size: 3em;
  }

  .info-item {
    margin-bottom: 20px;
  }

  .info-item i {
    font-size: 1.5em;
    margin-right: 15px;
  }

  /* Map iframe */
  iframe {
    height: 300px !important;
  }

  /* Footer */
  footer {
    padding: 40px 0;
  }

  footer .footer-content {
    flex-direction: column;
  }
  .footer-contact {
    flex-basis: 100%;
    margin-bottom: 25px;
  }

  .footer-contact h3 {
    font-size: 1.4em;
  }

  .footer-bottom {
    font-size: 0.85em;
  }

  .credit-line {
    font-size: 1em;
  }
}

/* Small Mobile Styles (up to 480px) */
@media (max-width: 480px) {
  .container {
    width: 98%;
    padding: 0 10px;
  }

  .logo {
    font-size: 1.4em;
  }

  .hero-with-bg-image h1 {
    font-size: 1.8em;
  }

  .hero-with-bg-image p {
    font-size: 1em;
  }

  .about-hero h1 {
    font-size: 1.8em;
  }

  .about-hero p {
    font-size: 1em;
  }

  .section-heading h2 {
    font-size: 1.6em;
  }

  .service-card,
  .confidence-item,
  .value-card,
  .mv-card {
    padding: 20px 15px;
  }

  .service-category {
    padding: 15px;
  }

  .creative-cta-col,
  .contact-info-col {
    padding: 20px 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85em;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 0.9em;
  }

  iframe {
    height: 250px !important;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
  /* Improve touch targets */
  .btn,
  .nav-links a {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-toggle {
    min-height: 80px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
  }

  .mobile-menu-toggle:active {
    background-color: var(--background-gray);
    transform: scale(0.95);
  }

  /* Better text readability */
  p,
  li {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Improve form elements if any are added later */
  input,
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
  }

  /* Better image handling */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Improve accessibility */
  .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;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-with-bg-image {
    padding: 40px 0;
  }

  .hero-with-bg-image h1 {
    font-size: 2em;
  }

  .about-hero {
    padding: 40px 0;
  }

  .about-hero h1 {
    font-size: 2em;
  }
}
