* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #f291b6, #e4b7cf);
  --primary-pink: #f291b6;
  --accent-color: #8b5a8a;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #cccccc;
  --bg-light: #fafafa;
  --bg-dark: #4a4a4a;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
  --radius: 20px;
  --radius-sm: 15px;
  --transition: all 0.3s ease;
}

/* Base responsive improvements */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Ensure no elements exceed viewport width */
*,
*::before,
*::after {
  max-width: 100%;
}

/* Better text wrapping */
h1,
h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
  hyphens: auto;
}

/* Prevent layout shifts */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Touch targets for mobile */
button,
.btn,
a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Better focus states */
button:focus,
.btn:focus,
a:focus {
  outline: 2px solid var(--primary-pink);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--text-dark);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* Layout & Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.section-padding {
  padding: 80px 0;
}
.text-center {
  text-align: center;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Typography - Fluid scaling */
.heading-xl {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.heading-lg {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 25px;
  font-weight: 700;
}
.heading-md {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 20px;
}
.heading-sm {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 15px;
}
.text-lg {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}
.text-base {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.text-sm {
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 500;
}

.highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons - Responsive sizing */
.btn {
  display: inline-block;
  padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 30px);
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: clamp(14px, 2vw, 16px);
  min-width: 120px;
}

.btn-large {
  font-size: clamp(16px, 2.5vw, 18px);
  padding: clamp(12px, 2.5vw, 15px) clamp(30px, 5vw, 40px);
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: 2px solid transparent;
}

.btn-outline {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn:hover {
  transform: translateY(-2px);
}
.btn-primary:hover {
  box-shadow: 0 5px 15px rgba(242, 145, 182, 0.4);
}
.btn-outline:hover {
  background: var(--primary-pink);
  color: white;
  border-color: var(--primary-pink);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.card-center {
  text-align: center;
}

.icon-circle:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(242, 145, 182, 0.4);
}

/* Images - Responsive and optimized */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image img {
  width: 100%;
  height: clamp(300px, 50vw, 600px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: clamp(200px, 40vw, 350px);
  height: clamp(200px, 40vw, 350px);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-hover);
  object-position: center 20%;
}

/* Cards - Responsive padding */
.card {
  background: white;
  padding: clamp(20px, 4vw, 40px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  width: 100%;
}

/* Icons - Responsive sizing */
.icon-circle {
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  flex-shrink: 0;
}

.icon-lg {
  width: clamp(60px, 12vw, 80px);
  height: clamp(60px, 12vw, 80px);
  background: var(--primary-gradient);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: clamp(24px, 4vw, 32px);
  color: white;
}

/* Logo - Responsive sizing */
.logo {
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: white;
}

/* Navigation - Better mobile handling */
.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(15px, 3vw, 30px);
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
  font-size: clamp(14px, 1.5vw, 16px);
}

.nav-menu a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Stats - Responsive layout */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(15px, 3vw, 30px);
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: clamp(15px, 3vw, 20px);
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.stat-number {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials - Better responsive cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 30px);
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-light);
  padding: clamp(20px, 4vw, 30px);
  border-radius: var(--radius);
  position: relative;
  border-left: 4px solid var(--text-dark);
  transition: var(--transition);
  width: 100%;
}

/* Footer - Responsive grid */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(20px, 4vw, 40px);
}

/* Floating buttons - Better positioning */
.floating-btn {
  position: fixed;
  bottom: clamp(20px, 4vw, 40px);
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1000;
}

.whatsapp-float {
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  left: clamp(20px, 4vw, 40px);
  background: #25d366;
  color: white;
  font-size: clamp(20px, 3vw, 24px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.scroll-top {
  width: clamp(45px, 7vw, 50px);
  height: clamp(45px, 7vw, 50px);
  right: clamp(20px, 4vw, 40px);
  background: var(--primary-gradient);
  color: white;
  border: none;
  cursor: pointer;
  font-size: clamp(16px, 2.5vw, 20px);
  box-shadow: 0 4px 12px rgba(242, 145, 182, 0.4);
  opacity: 0;
  visibility: hidden;
}

/* Header */
header {
  background: linear-gradient(90deg, #f291b6, #e4b7cf);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  padding: 8px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.mobile-menu.active {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  padding: 20px 0;
}

.mobile-menu a {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:hover {
  background: var(--bg-light);
  color: var(--primary-pink);
  padding-left: 40px;
}

/* Hero */
.hero {
  background: var(--bg-light);
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100); /* Better mobile support */
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 60px;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

/* About */
.about {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-hover);
}

.about-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

/* Services */
.services {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Stats */
.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 5px;
}

/* Testimonials */
.testimonials {
  background: white;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: '"';
  font-size: 60px;
  color: var(--text-dark);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  color: var(--text-dark);
  margin: 15px 0 20px;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
}

.testimonial-info h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* CTA */
.cta {
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
}

.cta .btn {
  background: var(--primary-gradient);
  color: white;
}

.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(242, 145, 182, 0.4);
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary-pink);
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: white;
}

.footer-section p a {
  color: var(--text-muted);
  text-decoration: underline;
  transition: var(--transition);
}

.footer-section p a:hover {
  color: var(--primary-pink);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #666;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary-pink);
}

.complaints-book {
  margin-top: 20px;
}

.complaints-book a {
  display: inline-block;
  transition: var(--transition);
}

.complaints-book a:hover {
  transform: translateY(-2px);
}

.complaints-book svg {
  width: 240px;
  height: 80px;
  fill: var(--text-muted);
  transition: var(--transition);
  aspect-ratio: 3/1;
}

.complaints-book a:hover svg {
  fill: var(--primary-pink);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(242, 145, 182, 0.6);
}

/* Responsive Design - Mobile First Approach */

/* Extra Small devices (portrait phones, up to 575px) */
@media (max-width: 575px) {
  .container {
    padding: 0 15px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .logo {
    font-size: 22px;
  }

  .heading-xl {
    font-size: 28px;
    line-height: 1.3;
  }

  .heading-lg {
    font-size: 32px;
  }

  .heading-md {
    font-size: 28px;
  }

  .heading-sm {
    font-size: 20px;
  }

  .text-lg {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero {
    min-height: 80vh;
    padding-top: 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-image img {
    height: 300px;
  }

  .hero-text div {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-image img {
    width: 250px;
    height: 250px;
  }

  .about-socials {
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 25px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .floating-btn {
    bottom: 20px;
  }

  .whatsapp-float {
    left: 15px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .scroll-top {
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text div {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .heading-xl {
    font-size: 36px;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .about-image img {
    width: 300px;
    height: 300px;
  }

  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .floating-btn {
    bottom: 30px;
  }

  .whatsapp-float {
    left: 20px;
    width: 55px;
    height: 55px;
  }

  .scroll-top {
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-text div {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-menu {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }

  .container {
    max-width: 960px;
  }

  .hero-content {
    grid-template-columns: 1fr 450px;
    gap: 50px;
  }

  .about-content {
    grid-template-columns: 350px 1fr;
    gap: 60px;
  }

  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .nav-menu {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }

  .container {
    max-width: 1200px;
  }

  .hero-content {
    grid-template-columns: 1fr 500px;
    gap: 60px;
  }

  .about-content {
    grid-template-columns: 400px 1fr;
    gap: 80px;
  }

  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .section-padding {
    padding: 100px 0;
  }

  .hero-content {
    grid-template-columns: 1fr 550px;
    gap: 80px;
  }

  .about-content {
    grid-template-columns: 450px 1fr;
    gap: 100px;
  }

  .heading-xl {
    font-size: 56px;
  }

  .heading-lg {
    font-size: 48px;
  }

  .text-lg {
    font-size: 20px;
  }
}

/* Portrait orientation adjustments */
@media (orientation: portrait) and (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero-image img {
    height: 400px;
  }
}

/* Landscape orientation adjustments for small screens */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .floating-btn {
    bottom: 15px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .about-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .card:hover,
  .testimonial-card:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .floating-btn,
  .mobile-menu-toggle,
  header {
    display: none;
  }

  .section-padding {
    padding: 20px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .btn {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
  }
}
