/* 
  SRIVANI ORO DENTAL HEALTH CARE - Design System
  Style: Premium, High-End, Minimalist
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  /* Colors */
  --primary: #0D6E6E;      /* Deep Teal */
  --primary-light: #E6F3F3;
  --secondary: #76C893;   /* Mint Green */
  --accent: #1E293B;      /* Slate */
  --bg-light: #F8FAFC;    /* Soft Gray */
  --white: #FFFFFF;
  --text-main: #334155;
  --text-muted: #64748B;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--accent);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 100px 20px;
}

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

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: #0b5e5e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s all ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 12px;
  }
}

/* Header & Navigation Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 10px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-area:hover .clinic-name {
  color: var(--secondary);
}

.nav-logo {
  height: 45px;
  width: auto;
}

.clinic-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.1;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.book-btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  color: var(--white) !important;
}

/* Hero Section Styles */
.hero {
  padding: 180px 20px 100px;
  background: radial-gradient(circle at top right, var(--primary-light), transparent 40%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.image-wrapper {
  position: relative;
  z-index: 1;
}

.main-hero-img {
  width: 100%;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: 0.6s all cubic-bezier(0.23, 1, 0.32, 1);
}

.image-wrapper:hover .main-hero-img {
  transform: perspective(1000px) rotateY(0deg) scale(1.03);
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 20px 25px;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.rating-card {
  top: 10%;
  right: -10%;
  border-left: 5px solid #F59E0B;
}

.patient-card {
  bottom: 10%;
  left: -10%;
  border-left: 5px solid var(--primary);
  animation-delay: 1s;
}

.stars { color: #F59E0B; font-size: 1.2rem; display: block; margin-bottom: 5px; }
.count { 
  font-size: 1.8rem; 
  font-weight: 800; 
  color: var(--primary);
  line-height: 1;
}

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

/* Trust Bar Styles */
.trust-bar {
  background-color: var(--bg-light);
  padding: 60px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.trust-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
}

.trust-item img {
  width: 32px;
  height: 32px;
}

/* Services Styles */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-primary { color: var(--primary); }

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

.service-card {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 30px;
  border: 1px solid var(--primary-light);
  transition: 0.4s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px -12px rgba(13, 110, 110, 0.15);
  border-color: var(--primary);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* About Styles */
.about {
  background-color: var(--bg-light);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.rounded-img {
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.doctor-profiles {
  margin: 40px 0;
  padding: 30px;
  background: var(--white);
  border-radius: 25px;
  display: flex;
  gap: 50px;
  box-shadow: var(--shadow);
}

.doc strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.doc p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.doc .mds {
  color: var(--primary);
  font-size: 0.75rem;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.about-quote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  border-left: 5px solid var(--primary);
  padding-left: 25px;
  margin-top: 40px;
  line-height: 1.8;
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.gallery-item {
  height: 350px;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s all cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-item:hover img {
  transform: scale(1.15) rotate(2deg);
}

/* Premium Videos Styles */
.videos {
  overflow: hidden;
  max-width: 100vw;
  width: 100%;
}

.video-scroll-container {
  max-width: 100%;
  box-sizing: border-box;
}

.video-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card-premium {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9/16;
  position: relative;
  transition: var(--transition);
}

.video-card-premium iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .video-grid-premium {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video-scroll-container {
    overflow-x: visible;
    padding-bottom: 0;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: auto;
  }
  
  .video-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }
  
  .video-card-premium {
    width: 100%;
  }
}

/* Floating WhatsApp Overlay */
.testimonials {
  background-color: var(--bg-light);
}

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

.testimonial-card {
  background: var(--white);
  padding: 50px;
  border-radius: 35px;
  position: relative;
  box-shadow: var(--shadow);
  transition: 0.3s all;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .rating {
  color: #F59E0B;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.testimonial-card p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.7;
  color: var(--text-main);
  position: relative;
}

.testimonial-card p::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 4rem;
  opacity: 0.1;
  color: var(--primary);
}

.testimonial-card h4 {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* CTA Styles */
.cta {
  background: linear-gradient(135deg, var(--primary), #0a5757);
  padding: 100px 20px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-container {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.cta h2 { color: var(--white); font-size: 3.5rem; margin-bottom: 25px; line-height: 1.1; }
.cta p { font-size: 1.3rem; opacity: 0.9; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.btn-transparent { color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-transparent:hover { background: rgba(255,255,255,0.1); }

/* Contact Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 { font-size: 2.8rem; margin-bottom: 30px; }
.contact-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; }

.contact-item { 
  margin-bottom: 35px; 
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-item strong { 
  font-size: 0.85rem; 
  text-transform: uppercase; 
  letter-spacing: 2px;
  color: var(--primary); 
}

.contact-item p { font-size: 1.1rem; font-weight: 500; }

.contact-map {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.15);
  height: 500px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Styles */
footer {
  background: #0f172a;
  color: var(--white);
  padding: 100px 20px 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand .logo-area { margin-bottom: 25px; }
.footer-brand .nav-logo { height: 55px; }
.footer-brand .clinic-name { color: var(--white); }
.footer-brand p { opacity: 0.6; font-size: 1.1rem; line-height: 1.8; }

.footer-links h4, .footer-social h4 { 
  margin-bottom: 30px; 
  color: var(--white); 
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.footer-links a { display: block; margin-bottom: 15px; opacity: 0.6; font-size: 1rem; }
.footer-links a:hover { opacity: 1; color: var(--secondary); transform: translateX(5px); }

.social-icons {
  display: flex;
  gap: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
  text-align: center;
  opacity: 0.4;
  font-size: 0.85rem;
}

/* Floating WhatsApp Overlay */
.floating-whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  transition: 0.3s all cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp img {
  width: 65px;
  height: 65px;
  filter: drop-shadow(0 10px 15px rgba(37, 211, 102, 0.3));
}

.floating-whatsapp:hover { 
  transform: scale(1.1) translateY(-5px); 
}

/* Hamburger & Mobile Menu Logic */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin: 8px 0;
  transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero-title { font-size: 3.2rem; }
  .about-container, .contact-container { gap: 50px; }
}

@media (max-width: 1050px) {
  .nav-container {
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .logo-area {
    gap: 10px;
  }

  .nav-logo {
    height: 40px;
  }

  .clinic-name {
    font-size: 0.85rem;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 100%;
    margin-top: 10px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .book-btn {
    padding: 10px 20px;
  }
}

@media (max-width: 992px) {
  section { padding: 80px 20px; }
  .hero { padding: 150px 20px 80px; }
  .hero-container, .about-container, .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content { order: 2; }
  .hero-image { order: 1; margin-bottom: 40px; }
  
  .hero-title { font-size: 3rem; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: stretch; max-width: 400px; margin: 0 auto; gap: 15px; }
  
  .doctor-profiles { justify-content: center; flex-direction: column; gap: 30px; }
  .footer-container { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  
  .hero-btns .btn, .cta-btns .btn {
    width: 100%;
  }
}

@media (max-width: 1050px) {
  .hamburger { display: block; }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    background: var(--white);
    width: 85%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    padding: 100px 30px;
    gap: 40px;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
    z-index: 1000;
    visibility: visible;
    opacity: 1;
  }

  .nav-links.active::before {
    content: '';
  }

  .nav-link { font-size: 1.05rem; width: 100%; text-align: left; }
  .book-btn { padding: 10px 20px; font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    background: var(--white);
    width: 85%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    padding: 100px 30px;
    gap: 40px;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
  }
  
  .nav-links.active { 
    right: 0; 
    visibility: visible;
    opacity: 1;
  }
  
  .nav-link { font-size: 1.5rem; width: 100%; text-align: left; }
  .book-btn { width: 100%; margin-top: 20px; font-size: 1.2rem; }
  
  .floating-whatsapp { bottom: 20px; right: 20px; }
  .floating-whatsapp img { width: 55px; height: 55px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-header h2 { font-size: 2.2rem; }
  .service-card { padding: 40px 30px; }

  .floating-card {
    width: auto;
    max-width: 130px;
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 10px 14px -8px rgba(0,0,0,0.12), 0 5px 8px -8px rgba(0,0,0,0.08);
  }

  .rating-card {
    right: 4%;
    top: 4%;
    transform: none;
  }

  .patient-card {
    left: 4%;
    bottom: 4%;
    transform: none;
  }

  .rating-card p,
  .patient-card p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .stars {
    font-size: 0.8rem;
  }

  .count {
    font-size: 1.2rem;
  }

  .rating-card,
  .patient-card {
    min-width: 0;
    max-width: 130px;
  }
}
