/* ============================================
   SMILE PRAHA — Dental Clinic in Prague
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --clr-primary: #0984e3;
  --clr-primary-dark: #0770c2;
  --clr-secondary: #00cec9;
  --clr-accent: #6c5ce7;
  --clr-mint: #55efc4;
  --clr-light: #f0f9ff;
  --clr-white: #ffffff;
  --clr-dark: #1e272e;
  --clr-text: #576574;
  --clr-gradient: linear-gradient(135deg, #0984e3, #00cec9);
  --clr-gradient-2: linear-gradient(135deg, #6c5ce7, #0984e3, #00cec9);
  --clr-gradient-hero: linear-gradient(135deg, #0984e3 0%, #6c5ce7 50%, #00cec9 100%);
  --clr-overlay: rgba(9, 132, 227, 0.85);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --shadow: 0 10px 40px rgba(9, 132, 227, 0.12);
  --shadow-lg: 0 20px 60px rgba(9, 132, 227, 0.18);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

ul { list-style: none; }

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

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  color: var(--clr-dark);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--clr-text);
  max-width: 600px;
  margin: 0 auto 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.section-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--clr-gradient);
  color: var(--clr-white);
  box-shadow: 0 8px 30px rgba(9, 132, 227, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(9, 132, 227, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid var(--clr-white);
}

.btn-outline:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--clr-gradient);
  color: var(--clr-white);
  box-shadow: 0 8px 30px rgba(9, 132, 227, 0.3);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(9, 132, 227, 0.5);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-white);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo span {
  color: var(--clr-mint);
}

.header.scrolled .logo {
  color: var(--clr-primary);
}

.header.scrolled .logo span {
  color: var(--clr-accent);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-desktop a {
  color: var(--clr-white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-mint);
  transition: var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.header.scrolled .nav-desktop a {
  color: var(--clr-dark);
}

.header.scrolled .nav-desktop a::after {
  background: var(--clr-primary);
}

.nav-cta {
  padding: 10px 28px !important;
  background: var(--clr-gradient);
  color: var(--clr-white) !important;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.4);
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--clr-white);
  border-radius: 3px;
  transition: var(--transition);
}

.header.scrolled .burger span {
  background: var(--clr-dark);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--clr-white) !important;
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background: var(--clr-white) !important;
}

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--clr-gradient-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile a {
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 2rem;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.4s ease;
}

.nav-mobile.open a {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile.open a:nth-child(1) { transition-delay: 0.2s; }
.nav-mobile.open a:nth-child(2) { transition-delay: 0.3s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.4s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.5s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.6s; }

.nav-mobile a:hover {
  color: var(--clr-mint);
  transform: scale(1.1);
}

/* ---------- Hero Banner ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--clr-gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -25%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(85, 239, 196, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBubble 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBubble 10s ease-in-out infinite reverse;
}

@keyframes floatBubble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: var(--clr-mint);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(30px);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(40px);
}

.hero h1 em {
  color: var(--clr-mint);
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(40px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(60px);
}

.hero-img-wrapper {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-img-wrapper img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

/* Floating badge icons */
.hero-float {
  position: absolute;
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-dark);
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 3;
}

.hero-float .float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-float-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-float-1 .float-icon {
  background: rgba(9, 132, 227, 0.1);
}

.hero-float-2 {
  bottom: 15%;
  left: -15%;
  animation-delay: 1.5s;
}

.hero-float-2 .float-icon {
  background: rgba(85, 239, 196, 0.2);
}

.hero-float-3 {
  bottom: 5%;
  right: 5%;
  animation-delay: 3s;
}

.hero-float-3 .float-icon {
  background: rgba(108, 92, 231, 0.1);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Typing text */
.typing-text {
  color: var(--clr-mint);
  font-size: 1.1rem;
  font-weight: 500;
  min-height: 30px;
  margin-bottom: 24px;
}

/* Decorative circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 1;
}

.deco-circle-1 {
  width: 300px; height: 300px;
  top: 10%; left: -5%;
  animation: spinSlow 30s linear infinite;
}

.deco-circle-2 {
  width: 200px; height: 200px;
  bottom: 10%; right: 10%;
  animation: spinSlow 20s linear infinite reverse;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Features / Why Us ---------- */
.features {
  padding: 100px 0;
  background: var(--clr-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius);
  background: var(--clr-white);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--clr-gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--clr-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--clr-gradient);
  transform: scale(1.1) rotate(10deg);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--clr-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--clr-text);
}

/* ---------- Services Section ---------- */
.services {
  padding: 100px 0;
  background: var(--clr-light);
}

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

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--clr-white);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

.service-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--clr-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img .service-emoji {
  font-size: 5rem;
  transition: 0.6s ease;
}

.service-card:hover .service-emoji {
  transform: scale(1.2) rotate(5deg);
}

.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--clr-white);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-info {
  padding: 28px;
}

.service-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-dark);
  margin-bottom: 10px;
}

.service-info p {
  font-size: 0.95rem;
  color: var(--clr-text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price .price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--clr-primary);
  font-weight: 700;
}

.service-price .price small {
  font-size: 0.75rem;
  color: var(--clr-text);
  font-weight: 400;
}

.service-price .btn {
  padding: 10px 28px;
  font-size: 0.85rem;
}

/* ---------- About Section ---------- */
.about {
  padding: 100px 0;
}

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

.about-images {
  position: relative;
  height: 500px;
}

.about-img-1 {
  width: 70%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.about-img-1.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-img-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--clr-white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease 0.3s;
}

.about-img-2.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-content {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.about-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--clr-dark);
  margin-bottom: 20px;
}

.about-content h2 em {
  color: var(--clr-primary);
  font-style: italic;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--clr-text);
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--clr-gradient-hero);
  position: relative;
  overflow: hidden;
}

.testimonials .section-title,
.testimonials .section-subtitle {
  color: var(--clr-white);
}

.testimonials-slider {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 360px;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
}

.testimonial-stars {
  color: #fdcb6e;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--clr-white);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--clr-dark);
  font-size: 1.1rem;
}

.testimonial-name {
  color: var(--clr-white);
  font-weight: 600;
}

.testimonial-role {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ---------- CTA Section ---------- */
.cta {
  padding: 100px 0;
  text-align: center;
  background: var(--clr-white);
}

.cta-box {
  background: var(--clr-light);
  border-radius: 24px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '🦷';
  position: absolute;
  top: 20px;
  left: 40px;
  font-size: 4rem;
  opacity: 0.15;
  animation: floatBubble 6s ease-in-out infinite;
}

.cta-box::after {
  content: '😊';
  position: absolute;
  bottom: 20px;
  right: 40px;
  font-size: 4rem;
  opacity: 0.15;
  animation: floatBubble 8s ease-in-out infinite reverse;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-dark);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--clr-text);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Process / Steps ---------- */
.process {
  padding: 100px 0;
  background: var(--clr-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--clr-gradient);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.3);
  transition: var(--transition);
}

.process-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(9, 132, 227, 0.4);
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--clr-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--clr-text);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--clr-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--clr-white);
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--clr-gradient);
  transform: translateY(-4px);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--clr-white);
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--clr-secondary);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--clr-secondary);
}

/* ---------- Inner Page Hero ---------- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--clr-gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(85, 239, 196, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBubble 8s ease-in-out infinite;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--clr-white);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(30px);
}

.breadcrumbs {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.breadcrumbs a:hover { color: var(--clr-white); }
.breadcrumbs span { color: var(--clr-mint); }

/* ---------- Services Page Grid ---------- */
.services-page {
  padding: 80px 0;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

/* ---------- About Page ---------- */
.story {
  padding: 100px 0;
}

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

.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
  background: var(--clr-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-img.visible {
  opacity: 1;
  transform: translateX(0);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.story-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.story-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--clr-dark);
  margin-bottom: 24px;
}

.story-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.team {
  padding: 100px 0;
  background: var(--clr-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 40px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(40px);
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--clr-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--clr-white);
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  transform: scale(1.1) rotate(5deg);
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-dark);
  margin-bottom: 6px;
}

.team-card .role {
  color: var(--clr-primary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--clr-text);
}

/* ---------- Technologies ---------- */
.tech {
  padding: 80px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}

.tech-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius);
  background: var(--clr-white);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.tech-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tech-item .tech-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.tech-item p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-dark);
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.contact-form.visible {
  opacity: 1;
  transform: translateX(0);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--clr-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #e8eef3;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background: var(--clr-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.1);
}

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

.contact-info-side {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.contact-info-side.visible {
  opacity: 1;
  transform: translateX(0);
}

.contact-info-card {
  background: var(--clr-light);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--clr-dark);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--clr-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1rem;
  color: var(--clr-dark);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--clr-text);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  background: var(--clr-light);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-gradient);
  color: var(--clr-white);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Page Loader ---------- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-icon {
  width: 60px;
  height: 60px;
  position: relative;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-icon::before {
  content: '🦷';
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ---------- Particles canvas ---------- */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-wrapper,
  .story-grid,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-images {
    height: 400px;
  }
  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .features-grid,
  .services-grid,
  .services-page-grid,
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .about-stats {
    justify-content: center;
  }
  .testimonial-card {
    min-width: 300px;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    text-align: center;
  }
  .about-images {
    height: 300px;
  }
  .about-img-2 {
    width: 60%;
    height: 200px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
