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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111213; /* Updated: Made background pure black instead of dark gray */
  color: #ffffff;
  line-height: 1.6;
}

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

/* Navigation */
.navbar {
  background-color: #000000;
  padding: 1rem 0;
  border-bottom: 2px solid #ff8c00;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Added min-height to ensure proper vertical alignment of logo and text */
  min-height: 70px;
}

/* Updated: Replaced logo-box styles with logo-image styles */
/* Made logo image larger (50px -> 70px) and improved vertical centering */
.logo-image {
  height: 70px;
  width: auto;
  display: block;
  /* Added vertical-align to fix positioning that was too high */
  vertical-align: middle;
  object-fit: contain;
}

/* Changed brand name color to orange (#ff8c00) and increased size */
.brand-name {
  font-size: 24px;
  font-weight: 600;
  color: #ff8c00;
  line-height: 1;
  /* Ensured text aligns vertically with logo */
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ff8c00;
  background-color: rgba(255, 140, 0, 0.1);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding: 40px 0; /* Updated: Reduced padding from 80px */
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); /* Updated: Changed gradient to use pure black */
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  color: #ff8c00;
}

.tagline {
  font-size: 26px;
  color: #ff8c00;
  margin-bottom: 20px;
  font-weight: 500;
}

.description {
  font-size: 20px;
  color: #cccccc;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  /* Removed centered justification from default, will be added inline where needed */
}

.btn {
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: #ff8c00;
  color: #000000;
}

.btn-primary:hover {
  background-color: #ff9d1f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #ff8c00;
  border: 2px solid #ff8c00;
}

.btn-secondary:hover {
  background-color: #ff8c00;
  color: #000000;
}

/* Added hover text swap effect for Try AI Now button */
.try-ai-btn {
  position: relative;
}

.try-ai-btn .hover-text {
  display: none;
}

.try-ai-btn:hover .default-text {
  display: none;
}

.try-ai-btn:hover .hover-text {
  display: inline;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 180%; /* Increased from 120% to 180% to make mascot 50-100% bigger */
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: #000000; /* Updated: Made background pure black */
}

.features h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  color: #ffffff;
}

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

.feature-card {
  background-color: #0a0a0a; /* Updated: Made background darker */
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #2d2d2d;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #ff8c00;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ff8c00;
}

.feature-card p {
  color: #cccccc;
  font-size: 16px;
}

/* Added styles for new Why Choose Us section */
.why-choose-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.benefit-card {
  background-color: #000000;
  padding: 40px 30px;
  border-radius: 12px;
  border: 2px solid #2d2d2d;
  text-align: center;
  transition: all 0.3s;
}

.benefit-card:hover {
  border-color: #ff8c00;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  color: #ff8c00;
  font-size: 24px;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
}

/* Added styles for How It Works section */
.how-it-works-section {
  padding: 80px 0;
  background-color: #000000;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  /* Made all step cards the same height */
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background-color: #0a0a0a;
  padding: 40px 30px;
  border-radius: 12px;
  border: 2px solid #ff8c00;
  text-align: center;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3);
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #ff8c00;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step-card h3 {
  color: #ff8c00;
  font-size: 24px;
  margin-bottom: 15px;
}

.step-card p {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
}

.step-arrow {
  font-size: 32px;
  color: #ff8c00;
  font-weight: bold;
}

/* Added new styles for redesigned How It Works section to match screenshot */
.steps-container-new {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card-new {
  flex: 1;
  max-width: 350px;
  background-color: #000000;
  padding: 40px 30px;
  border-radius: 12px;
  border: 2px solid #ff8c00;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
}

.step-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3);
}

.card-footer {
  margin-top: auto; /* pushes button to bottom */
  display: flex; /* optional, for alignment */
  justify-content: flex-start; /* left align; use center or flex-end if desired */
}

.step-number-new {
  width: 80px;
  height: 80px;
  background-color: #ff8c00;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.step-title-new {
  color: #ff8c00;
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-description {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
}

.step-arrow-new {
  font-size: 40px;
  color: #ff8c00;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

/* Added styles for Featured Services preview section */
.featured-services-preview {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

/* Updated to allow 3 columns for web design addition */
@media (min-width: 1400px) {
  .preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.preview-card {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 40px;
  /* Made rectangles much larger vertically for home page */
  min-height: 500px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 2px solid #2d2d2d;
  transition: all 0.3s;
}

.preview-card.featured {
  /* Removed orange border from featured class */
  border-color: #2d2d2d;
}

.preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
}

.preview-badge {
  display: inline-block;
  background-color: #ff8c00;
  color: #000000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.preview-badge.secondary {
  background-color: #ff8c00;
}

/* Added new styles for smaller badges and titles in preview cards */
.preview-badge-small {
  display: inline-block;
  background-color: #ff8c00;
  color: #000000;
  padding: 4px 16px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.preview-title-small {
  color: #ff8c00;
  font-size: 22px;
  margin-bottom: 15px;
}

.preview-card h3 {
  color: #ff8c00;
  font-size: 28px;
  margin-bottom: 15px;
}

.preview-card p {
  color: #cccccc;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.preview-features {
  list-style: none;
  margin: 20px 0 30px 0;
}

.preview-features li {
  color: #cccccc;
  padding: 8px 0;
  font-size: 16px;
}

/* Added styles for "Plus many more" text */
.plus-more-text {
  text-align: center;
  font-size: 18px;
  color: #ff8c00;
  font-weight: 600;
  margin: 30px 0 20px 0;
  font-style: italic;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 3px solid #ff8c00;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #ff8c00;
}

.page-header p {
  font-size: 20px;
  color: #cccccc;
}

/* Services Section */
.services-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
  color: #ff8c00;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 60px;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 968px) {
  .services-row {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: #0a0a0a; /* Updated: Made background darker */
  padding: 40px;
  border-radius: 12px;
  border: 2px solid #2d2d2d;
  margin-bottom: 30px;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: #ff8c00;
  transform: translateY(-3px);
}

.service-card.featured {
  border-color: #ff8c00;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); /* Reverted to gradient background */
}

.service-card.featured.secondary {
  border-color: #ff8c00;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); /* Reverted to gradient background */
}

.service-card.full-width {
  margin-bottom: 0;
}

.ai-automations-full-section {
  margin-top: 40px;
}

.intro-text {
  font-size: 18px;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
}

.automation-subsections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.automation-item {
  background-color: #1a1a1a; /* Changed from #000000 to grey (#1a1a1a) */
  padding: 30px;
  border-radius: 12px;
  border: none;
  transition: all 0.3s;
}

.automation-item:hover {
  border-color: #ff8c00;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.automation-item h3 {
  color: #ff8c00;
  font-size: 22px;
  margin-bottom: 10px;
}

.subsection-tagline {
  color: #cccccc;
  font-size: 16px;
  font-style: italic;
  margin-bottom: 15px;
}

.automation-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.automation-features li {
  color: #cccccc;
  padding: 6px 0;
  font-size: 15px;
  position: relative;
  padding-left: 20px;
}

.automation-features li:before {
  content: "•";
  color: #ff8c00;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.service-header h2 {
  color: #ff8c00;
  font-size: 32px;
}

.badge {
  background-color: #ff8c00;
  color: #000000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.badge.secondary {
  background-color: #ff8c00;
  color: #000000;
}

.service-card h3 {
  color: #ff8c00;
  font-size: 24px;
  margin-bottom: 15px;
}

.service-card p {
  color: #cccccc;
  margin-bottom: 20px;
  font-size: 16px;
}

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

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.about-text h2 {
  color: #ff8c00;
  font-size: 32px;
  margin: 30px 0 20px 0;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  color: #cccccc;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-mascot {
  text-align: center;
}

.about-mascot img {
  /* Removed padding and increased size to fill the container better */
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  background-color: #000000; /* Confirmed: Ensured background is pure black */
  border: 2px solid #ff8c00;
  object-fit: contain;
}

.mascot-caption {
  margin-top: 20px;
  color: #cccccc;
  font-style: italic;
}

.values-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #ff8c00;
}

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

.value-card {
  background-color: #0a0a0a; /* Updated: Made background darker */
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #2d2d2d;
  text-align: center;
  transition: all 0.3s;
}

.value-card:hover {
  border-color: #ff8c00;
  transform: translateY(-5px);
}

.value-card h3 {
  color: #ff8c00;
  font-size: 24px;
  margin-bottom: 15px;
}

.value-card p {
  color: #cccccc;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #000000;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.contact-form-wrapper h2 {
  color: #ff8c00;
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  color: #ffffff;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border-radius: 6px;
  border: 2px solid #2d2d2d;
  background-color: #0a0a0a; /* Updated: Made input backgrounds darker */
  color: #ffffff;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff8c00;
}

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

.info-card {
  background-color: #0a0a0a; /* Updated: Made background darker */
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #2d2d2d;
}

.info-card h3 {
  color: #ff8c00;
  font-size: 24px;
  margin-bottom: 20px;
}

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

.info-item strong {
  color: #ff8c00;
  display: block;
  margin-bottom: 5px;
}

.info-item p {
  color: #cccccc;
}

/* Updated contact info links to light blue color and added underline */
.info-item a {
  color: #4fc3f7;
  text-decoration: underline;
  transition: color 0.3s;
}

.info-item a:hover {
  color: #81d4fa;
}

.dragon-card {
  text-align: center;
  background-color: #000000; /* Confirmed: Ensured background is pure black */
}

.dragon-card img {
  /* Increased width and added scaling to fill the card container */
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
}

/* Added styles for service detail sections */
.service-detail-section {
  padding: 80px 0;
  background-color: #000000;
}

.service-detail-section.alt-bg {
  background-color: #0a0a0a;
}

.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-content > p {
  font-size: 18px;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.detail-feature {
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #2d2d2d;
  transition: all 0.3s;
}

.service-detail-section.alt-bg .detail-feature {
  background-color: #000000;
}

.detail-feature:hover {
  border-color: #ff8c00;
  transform: translateY(-3px);
}

.detail-feature h4 {
  color: #ff8c00;
  font-size: 20px;
  margin-bottom: 10px;
}

.detail-feature p {
  color: #cccccc;
  font-size: 15px;
  line-height: 1.6;
}

.detail-cta {
  text-align: center;
}

/* Added styles for CTA section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border-top: 2px solid #ff8c00;
  border-bottom: 2px solid #ff8c00;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-text h2 {
  font-size: 48px;
  color: #ff8c00;
  margin-bottom: 20px;
}

.cta-text p {
  font-size: 20px;
  color: #cccccc;
  margin-bottom: 40px;
}

.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

/* Added new footer styles based on screenshot */
.footer-new {
  background-color: #0a0a0a;
  padding: 60px 0 30px 0;
  border-top: 2px solid #ff8c00;
}

/* Updated grid to 3 columns and centered layout */
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.footer-column h4 {
  color: #ff8c00;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 15px;
}

/* Added comprehensive mobile-first responsive design */

/* Mobile Navigation - Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  background-color: #000000;
  padding: 10px;
  border-radius: 4px;
  border: 2px solid #ff8c00;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ff8c00;
  transition: all 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Tablet and Mobile Responsive Styles */
@media (max-width: 968px) {
  /* Mobile navigation with hamburger menu */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 84px;
    flex-direction: column;
    background-color: #000000;
    width: 100%;
    text-align: center;
    transition: left 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 0;
    border-top: 2px solid #ff8c00;
    /* Fixed z-index to prevent navbar overflow on mobile */
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
  }

  /* Hero section stacked layout for mobile */
  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    /* Reorder hero content: image first, text second on mobile */
  }

  .hero-image {
    order: -1;
  }

  .hero-text {
    order: 1;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .tagline {
    font-size: 20px;
  }

  .description {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-image img {
    max-width: 100%;
  }

  /* Feature cards single column on mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  /* Preview grid single column for mobile */
  .preview-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    /* Fixed min-width to prevent overflow on mobile */
  }

  .preview-card {
    min-height: auto;
    padding: 30px 20px;
    /* Ensure cards don't overflow on mobile */
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* Steps container stacked for mobile */
  .steps-container-new {
    flex-direction: column;
    gap: 20px;
  }

  .step-arrow-new {
    transform: rotate(90deg);
    padding: 10px 0;
  }

  .step-card-new {
    max-width: 100%;
  }

  /* About section single column */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Contact layout single column */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer 2 columns on tablet */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  /* Services grid single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-row {
    grid-template-columns: 1fr;
  }

  /* Fix services section text overflow on mobile */
  .service-card {
    padding: 25px 15px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .service-card ul {
    padding-left: 20px;
  }

  /* Automation subsections single column */
  .automation-subsections {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .automation-item {
    padding: 20px 15px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .automation-item ul {
    padding-left: 20px;
  }

  /* Detail features single column */
  .detail-features {
    grid-template-columns: 1fr;
  }

  /* Benefits and values grid single column */
  .benefits-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .page-header p {
    font-size: 16px;
  }

  .cta-text h2 {
    font-size: 32px;
  }

  .cta-text p {
    font-size: 16px;
  }
}

/* Small Mobile Devices */
@media (max-width: 600px) {
  /* Further optimizations for small phones */
  .logo-image {
    height: 50px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }

  /* Footer single column on small mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card,
  .preview-card,
  .feature-card {
    padding: 25px 15px;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 28px;
  }

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

  .cta-text h2 {
    font-size: 28px;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {
  /* Micro-adjustments for very small screens */
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .cta-text h2 {
    font-size: 24px;
  }
}
