:root {
  --primary-color: #FF8B5E;      /* Vibrant orange */
  --secondary-color: #FFD5C2;    /* Lighter peach */
  --accent-color: #E67048;       /* Deeper warm orange */
  --text-color: #33291E;         /* Rich dark brown */
  --background-color: #F5F5F5;   /* Light gray background */
  --light-gray: #F7F1E9;         /* Warmer light gray */
  --shadow-color: rgba(230, 112, 72, 0.1); /* Soft shadow based on accent color */
  --cursor-color: #40E0D0;       /* Turquoise for cursor effects */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: auto; /* Restore default cursor */
}

/* Custom cursor */
.custom-cursor {
  display: none; /* Hide the circular cursor */
  width: 20px;
  height: 20px;
  background: var(--cursor-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s ease;
}

/* Cursor hover effect */
a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor {
  transform: scale(1.5);
}

body {
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  font-size: 1.1rem;
  background-color: var(--background-color);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center; /* Center all titles */
}

h1 {
  font-size: 3.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: var(--background-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  z-index: 1000;
  transition: transform 0.3s ease;
}

header.scroll-down {
  transform: translateY(-100%);
}

header.scroll-up {
  transform: translateY(0);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.logo span {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--primary-color); /* Added color property */
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
}

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

.cta-button-small {
  background: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.4s ease;
  font-family: 'Playfair Display', serif;
  text-transform: none; /* Remove text transform */
  letter-spacing: 0.02em;
}

.cta-button-small:hover {
  background: var(--accent-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 2rem 2rem;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-gray) 100%);
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  background: var(--background-color);
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  color: var(--primary-color);
  font-size: 3.4rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-profile {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  animation: float 6s ease-in-out infinite;
  background: white;
  flex-shrink: 0;
}

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

.hero-profile:hover img {
  transform: scale(1.05);
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  border: none;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  font-weight: 600;
  transition: all 0.4s ease;
  letter-spacing: 0.02em;
  text-transform: none; /* Remove text transform */
}

.cta-button:hover {
  background: var(--accent-color);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-profile {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  background: var(--background-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  background: var(--light-gray);
  padding: 2.5rem 2rem;
  border: 1px solid var(--secondary-color);
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

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

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.service-card p {
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}

/* About Section - Updated styles */
.about {
  padding: 5rem 2rem;
  background: var(--background-color);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-color);
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  font-size: 1.1rem;
}

.credentials, .approach {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.credentials h3, .approach h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.credentials ul {
  list-style: none;
  margin-top: 1rem;
}

.credentials li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.7;
}

.credentials li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-10px);
}

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

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

@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .credentials, .approach {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 3rem 1rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .credentials li {
    font-size: 0.95rem;
  }
}

/* Featured Content Section */
.featured-content {
  padding: 5rem 2rem;
  background: var(--background-color);
}

.featured-content .container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-content h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.instagram-feed {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.instagram-carousel {
  position: relative;
  width: 100%;
  height: 700px;
  background: white;
}

.instagram-post {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-post.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.instagram-post iframe {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 700px !important;
  background: white;
}

.instagram-media {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: white !important;
}

.instagram-post blockquote {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.EmbedHeader {
  padding: 8px !important;
}

.EmbedHeader__avatar {
  width: 24px !important;
  height: 24px !important;
}

.EmbedHeader__title {
  font-size: 14px !important;
}

.EmbedFooter {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px !important;
}

.MediaCard__mediaContainer {
  margin: 0 !important;
  padding: 0 !important;
}

._aagv {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.Caption {
  padding: 8px !important;
  max-height: 60px !important;
  overflow-y: auto !important;
}

.ViewComments {
  padding: 4px 8px !important;
}

.instagram-post video {
  object-fit: contain !important;
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
}

.carousel-nav-overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.carousel-button {
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-carousel:hover .carousel-button {
  opacity: 0.9;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.3s ease;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-button:hover {
  background: var(--accent-color);
  opacity: 1;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.carousel-dot:hover {
  opacity: 0.8;
}

.carousel-dot.active {
  background: var(--primary-color);
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .instagram-feed {
    margin: 2rem -1rem;
    border-radius: 0;
  }
  
  .carousel-button {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .carousel-dots {
    bottom: 10px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background: var(--background-color);
}

.appointment-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.appointment-calendar {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  background: white;
  min-height: 500px;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Quicksand', 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--accent-color);
}

.form-group input,
.form-group textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Quicksand', 'Open Sans', sans-serif;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 0.5rem;
  fill: var(--primary-color);
}

.form-note {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: 1rem;
}

.contact-form .form-group label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-form .form-group label::after {
  content: "*";
  color: var(--accent-color);
  font-size: 1.2em;
  line-height: 1;
  display: none;
}

.contact-form .form-group label[for="name"]::after,
.contact-form .form-group label[for="email"]::after,
.contact-form .form-group label[for="appointment-time"]::after {
  display: inline;
}

.contact-form button[type="submit"] {
  position: relative;
}

.contact-form button[type="submit"].loading {
  opacity: 0.7;
  pointer-events: none;
}

.contact-form button[type="submit"].loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  right: 1rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 2rem;
  background: var(--background-color);
  text-align: center;
  overflow: hidden;
}

.testimonials h2 {
  margin-bottom: 3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.testimonials-carousel,
.instagram-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  height: 700px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.testimonial-slide,
.instagram-post {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide.active,
.instagram-post.active {
  opacity: 1;
  visibility: visible;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  margin: 0;
  display: block;
}

.carousel-button,
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.carousel-button:hover,
.testimonial-nav:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.testimonials-carousel:hover .testimonial-nav,
.instagram-carousel:hover .carousel-button {
  opacity: 0.9;
}

.carousel-button.prev,
.testimonial-nav.prev {
  left: 15px;
}

.carousel-button.next,
.testimonial-nav.next {
  right: 15px;
}

.carousel-dots,
.testimonial-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}

.carousel-dot,
.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0.6;
  padding: 0;
}

.carousel-dot:hover,
.testimonial-dot:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.carousel-dot.active,
.testimonial-dot.active {
  background: var(--primary-color);
  opacity: 1;
  transform: scale(1.2);
}

.instagram-post iframe {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 700px !important;
  background: white;
}

@media (max-width: 768px) {
  .testimonials-carousel,
  .instagram-carousel {
    height: 600px;
    max-width: 100%;
    border-radius: 0;
  }

  .carousel-button,
  .testimonial-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
  background-color: #20ba5a;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: var(--text-color);
  width: max-content;
  max-width: 200px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-color);
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow-color);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .cta-group {
    justify-content: center;
  }

  .about-content,
  .appointment-container {
    grid-template-columns: 1fr;
  }
}

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

.floating-minds {
  animation: float 6s ease-in-out infinite;
}

/* Update section backgrounds */
.hero,
.services,
.about,
.testimonials,
.featured-content,
.contact {
  background: var(--background-color);
}

/* Update section headings alignment */
section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* Update carousel styles to maintain aspect ratio */
.instagram-carousel,
.testimonials-carousel {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  height: 700px;
  max-width: 500px;
  margin: 0 auto;
}

/* Add underline highlight effect */
a, button {
  position: relative;
  text-decoration: none;
}

a::after, 
button::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #40E0D0; /* Turquoise color */
  transition: width 0.3s ease;
}

a:hover::after,
button:hover::after {
  width: 100%;
}

/* Ensure underline doesn't appear on certain elements */
.logo a::after,
.social-links a::after,
.whatsapp-float::after,
.carousel-button::after,
.testimonial-nav::after,
.testimonial-dot::after {
  display: none;
}