/* Complete CSS - Responsive Fix */

:root {
  /* Light mode colors */
  --light-bg: #fafafa;
  --light-card: #ffffff;
  --light-text: #222222;
  --primary: #2bc0c4;
  --secondary: #eaecc6;

  /* Dark mode colors (default) */
  --bg: #0b0c1a;
  --card: #1c1d2e;
  --text: #d9d9d9;

  /* Common colors */
  --primary-gradient: linear-gradient(135deg, #2bc0c4 0%, #eaecc6 100%);
  --border: rgba(255, 255, 255, 0.1);
  
  /* Enhanced color palette */
  --accent-blue: #3498db;
  --accent-purple: #9b59b6;
  --accent-gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.18);
  
  /* Typography */
  --letter-spacing-wide: 0.03em;
  --letter-spacing-wider: 0.05em;
  
  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  letter-spacing: var(--letter-spacing-wide);
}

body.light-mode {
  --bg: var(--light-bg);
  --card: var(--light-card);
  --text: var(--light-text);
  --border: rgba(0, 0, 0, 0.1);
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent-blue) 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: var(--letter-spacing-wider);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.section {
  padding: 5rem 0;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background-color: rgba(11, 12, 26, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.light-mode .header {
  background-color: rgba(250, 250, 250, 0.95);
}

.header.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(15px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  margin-right: 0.75rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform var(--transition-fast);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition-medium);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle,
.mobile-menu {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.theme-toggle:hover,
.mobile-menu:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
}

/* Modern Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  color: #0b0c1a;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(43, 192, 196, 0.3);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-outline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary);
  z-index: -1;
  transition: height 0.3s ease;
}

.light-mode .btn-outline {
  color: var(--primary);
}

.btn-outline:hover {
  color: var(--bg);
}

.btn-outline:hover::after {
  height: 100%;
}

/* FIXED HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
  padding: 2rem 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 80% 10%,
    rgba(43, 192, 196, 0.15),
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(43, 192, 196, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(43, 192, 196, 0.07) 0%, transparent 25%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.hero-content {
  max-width: 100%;
  position: relative;
  z-index: 3;
  order: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatImage 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  object-fit: cover;
  display: block;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  z-index: 10;
  line-height: 1.2;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(43, 192, 196, 0.2);
}

.hero-heading.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
  flex-wrap: wrap;
}

/* About Section */
.about {
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43, 192, 196, 0.3);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Services Section */
.services {
  background-color: var(--card);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(43, 192, 196, 0.1) 0%, transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43, 192, 196, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  background: rgba(43, 192, 196, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(43, 192, 196, 0.2);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Process Section */
.process {
  background-color: var(--card);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 22%;
  position: relative;
  z-index: 1;
  transition: all var(--transition-medium);
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-gradient);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(43, 192, 196, 0.4);
}

.process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.process-step p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
  position: relative;
}

.testimonials-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn.active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.testimonial-container {
  display: none;
}

.testimonial-container.active {
  display: block;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 12px;
  border-top: 4px solid var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  font-family: "Playfair Display", serif;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.client-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(43, 192, 196, 0.2);
  transition: all var(--transition-medium);
}

.testimonial-card:hover .client-logo {
  border-color: var(--primary);
  transform: scale(1.05);
}

.client-logo img {
  width: 75%;
  height: auto;
}

.client-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.client-title {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* FAQ Section */
.faq {
  background-color: var(--card);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  transition: all var(--transition-medium);
  padding: 0.5rem 1rem;
}

.faq-item.active {
  border-left-color: var(--primary);
  background-color: rgba(43, 192, 196, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.faq-question:hover h3 {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Contact Section - Enhanced Responsive Design */
.contact {
  position: relative;
  background-color: var(--bg);
}

.contact-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 100%;
  align-items: start;
}

.contact-form-wrapper {
  width: 100%;
  min-height: fit-content;
}

.contact-form {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  min-height: fit-content;
}

.contact-form:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(43, 192, 196, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  transition: all var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  max-width: 100%;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 192, 196, 0.2);
  transform: translateY(-2px);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(217, 217, 217, 0.5);
}

.light-mode input::placeholder,
.light-mode textarea::placeholder {
  color: rgba(34, 34, 34, 0.5);
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  max-width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
  min-height: fit-content;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 192, 196, 0.3);
}

.contact-icon {
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-details {
  flex: 1;
  min-width: 0;
}

.contact-details h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  color: var(--text);
}

.contact-details p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}

.contact-email {
  word-break: break-all;
  hyphens: auto;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
}

.contact-phone {
  font-family: monospace;
  letter-spacing: 0.5px;
  color: var(--primary);
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: var(--card);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 10%, rgba(43, 192, 196, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(43, 192, 196, 0.05) 0%, transparent 30%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  color: var(--text);
  border-radius: 50%;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
  background: var(--primary-gradient);
  color: var(--bg);
  transform: translateY(-5px) rotate(10deg);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.7;
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Dark/Light Mode Transition */
body,
body.light-mode,
body * {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-image {
    order: 2;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-image img {
    max-width: 350px;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    width: 100%;
    margin-bottom: 2rem;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .step-number {
    margin-right: 1.5rem;
    margin-bottom: 0;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
  }

  .contact-form {
    margin-bottom: 2rem;
    padding: 1.5rem;
    max-width: 100%;
  }

  .contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }

  .contact-item {
    padding: 1.25rem;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
  }

  .contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .contact-details p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .contact-email {
    font-size: 0.9rem;
    word-break: break-all;
    line-height: 1.3;
  }

  .contact-phone {
    font-size: 0.95rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Mobile specific fixes */
@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .container {
    padding: 0 1rem;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
  }

  .header-content {
    position: relative;
    padding: 0 1rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0 2rem;
    overflow: hidden;
  }
  
  .hero .container {
    gap: 2rem;
    padding: 0 1rem;
    grid-template-columns: 1fr;
    max-width: 100%;
    overflow: hidden;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
    overflow: hidden;
  }
  
  .hero-image {
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .hero-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .hero-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 250px;
  }

  .section {
    padding: 3rem 0;
    overflow: hidden;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
    max-width: 100%;
  }

  .contact-form {
    margin: 0;
    width: 100%;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.5rem;
  }

  .contact-icon {
    margin: 0 auto 0.5rem;
  }

  .contact-details {
    text-align: center;
  }

  .contact-email {
    font-size: 0.85rem;
    word-break: break-all;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-heading {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .hero p {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 2rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .services-grid,
  .values-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card,
  .value-card,
  .testimonial-card {
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
  }

  .contact-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 480px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding: 0 0.75rem;
    max-width: 100%;
  }

  .hero {
    padding: 3rem 0 2rem;
    overflow: hidden;
  }

  .hero .container {
    padding: 0 0.75rem;
  }
  
  .hero-image {
    max-width: 250px;
    margin: 0 auto;
  }
  
  .hero-image img {
    max-width: 220px;
    border-radius: 1rem;
    width: 100%;
    height: auto;
  }
  
  .hero-heading {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.1;
  }
  
  .hero p {
    margin-bottom: 2rem;
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .hero-cta .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .contact-info {
    padding: 0;
  }

  .contact-item {
    padding: 1rem;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .contact-icon {
    margin: 0.25rem 0 0 0;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .contact-details {
    text-align: left;
    flex: 1;
  }

  .contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .contact-details p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .contact-email {
    font-size: 0.8rem;
    line-height: 1.4;
    word-break: break-all;
  }

  .contact-phone {
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  input, textarea {
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .btn-submit {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
}

.services-container .counter {
  display: none;
}