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

:root {
  --clear-blue: #007aff;
  --sunset-orange: #ff6b35;
  --black: #1d1d1f;
  --white: #ffffff;
  --light-gray: #f5f5f7;
  /* Added dark color variables */
  --dark-gray: #2c2c2e;
  --darker-gray: #1c1c1e;
  --medium-gray: #48484a;
  /* Added new colors to match reference site */
  --accent-green: #00d4aa;
  --soft-gray: #8e8e93;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--black);
  overflow-x: hidden;
  background: var(--white);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

/* Added scrolled state for navbar with dark background and light text */
nav.scrolled {
  background: rgba(29, 29, 31, 0.95);
  backdrop-filter: blur(20px);
}

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

.logo-space {
  width: auto;
  height: 40px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-space img {
  height: 100%;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  width: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

/* Added light text color for scrolled navbar */
nav.scrolled .nav-links a {
  color: var(--white);
}

.nav-links a:hover {
  color: var(--clear-blue);
}

/* Keep hover color consistent for scrolled state */
nav.scrolled .nav-links a:hover {
  color: var(--clear-blue);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  position: relative;
  padding-top: 100px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
  text-align: left;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-family: "Playfair Display", serif;
  font-weight: 400;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.hero .highlight {
  color: var(--clear-blue);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666666;
  max-width: 500px;
}

.cta-button {
  display: inline-block;
  background: var(--sunset-orange);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.hero-badge {
  display: inline-block;
  background: var(--accent-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--white);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666666;
}

.credentials {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 20px;
  margin-top: 2rem;
}

.credentials h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.credentials ul {
  list-style: none;
  padding-left: 0;
}

.credentials ul li {
  color: var(--black);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.credentials ul li:before {
  content: "✓";
  color: var(--accent-green);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--light-gray);
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-bottom: 3rem;
  color: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.18);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card h3 {
  color: var(--black);
  font-size: 1.3rem;
  margin: 1.5rem 1.5rem 1rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.service-card p {
  color: #666666;
  padding: 0 1.5rem 1.5rem;
  line-height: 1.5;
}

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

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

.service-card:hover .service-image img {
  transform: scale(1.1);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--white);
  color: var(--black);
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-bottom: 2rem;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666666;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-item {
  text-align: center;
}

.contact-item h3 {
  color: var(--sunset-orange);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-gray);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-method:hover {
  transform: translateY(-2px);
  border-color: var(--accent-green);
}

.contact-method.whatsapp {
  background: var(--accent-green);
  color: var(--white);
}

.contact-method .icon {
  font-size: 1.2rem;
}

/* Added pain section styling */
.pain-section {
  padding: 4rem 0;
  background: var(--white);
  text-align: center;
}

.pain-section h2 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  color: var(--black);
  margin-bottom: 1rem;
}

.pain-section p {
  font-size: 1.2rem;
  color: #666666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Videos Section */
.videos-section {
  padding: 6rem 0;
  background: var(--light-gray);
  text-align: center;
}

.videos-section h2 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  color: var(--black);
  margin-bottom: 2rem;
}

.videos-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  overflow-x: auto;
  padding: 2rem 2rem 2rem 2rem;
  background: var(--white);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  scroll-snap-type: x mandatory;
  margin: 0 auto;
  max-width: 900px;
}

.videos-grid::-webkit-scrollbar {
  height: 12px;
}

.videos-grid::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 6px;
}

.videos-grid::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 6px;
}

.videos-grid {
  scrollbar-color: var(--accent-green) var(--light-gray);
  scrollbar-width: thin;
}

.videos-grid video {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: var(--white);
  width: 320px;
  height: 480px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 3px solid transparent;
}

.videos-grid video:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-green);
}

@media (max-width: 768px) {
  .videos-grid {
    gap: 1rem;
    padding: 1rem;
    border-radius: 18px;
    max-width: 98vw;
  }
  .videos-grid video {
    width: 200px;
    height: 340px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo-space img {
    width: 35px;
    height: 35px;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .hero {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    height: auto;
    min-height: 100vh;
    justify-content: center;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-logo {
    width: 45px;
    height: 45px;
    align-self: center;
  }

  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-image {
    padding-left: 0;
    margin-top: 0;
    width: 100%;
  }

  .hero-image img {
    max-width: 90%;
    height: 280px;
    border-radius: 15px;
  }

  .hero a {
    justify-content: center;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-text h2,
  .services h2,
  .contact h2 {
    font-size: 2rem;
  }
}

/* Added social links styling */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-green);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-green);
  color: var(--white);
}

img,
.service-image img,
.about-image img,
.hero-logo,
.hero-image img {
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
  border-radius: 18px;
  transition: box-shadow 0.3s;
}

img:hover,
.service-image img:hover,
.about-image img:hover,
.hero-logo:hover,
.hero-image img:hover {
  box-shadow: 0 16px 48px rgba(0, 123, 255, 0.25);
}
