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

/* --- CUSTOM PROPERTIES --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc; /* Slate-50, soft light gray/blue */
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9; /* Slate-100 */
  --color-primary: #14b8a6; /* Turquoise/Aqua Green */
  --color-primary-rgb: 20, 184, 166;
  --color-secondary: #0ea5e9; /* Sky Blue/Aqua */
  --color-accent: #0d9488; /* Teal Accent */
  --text-main: #0f172a; /* Dark Slate */
  --text-muted: #475569; /* Medium Slate */
  --text-dark: #94a3b8; /* Light Slate */
  --border-color: #e2e8f0; /* Light gray border */
  --border-hover: rgba(20, 184, 166, 0.4);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 20px rgba(20, 184, 166, 0.15);
  --shadow-glow-cyan: 0 0 20px rgba(14, 165, 233, 0.15);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- BASIC RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background grid overlay */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(14, 165, 233, 0.03) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

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

.section-padding {
  padding: 8rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

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

.logo svg {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: var(--transition-normal);
}

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

.btn-contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(5px);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(15px);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.hero-card:hover {
  transform: translateY(-5px) rotate(1deg);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-cyan);
}

.hero-card img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/5;
  margin-bottom: 1.2rem;
  background: var(--bg-secondary);
}

.hero-card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-name h4 {
  font-size: 1.25rem;
  color: var(--text-main);
}

.hero-card-name p {
  font-size: 0.85rem;
  color: var(--color-secondary);
}

.hero-card-socials {
  display: flex;
  gap: 0.75rem;
}

.hero-card-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.hero-card-social:hover {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- ABOUT SECTION --- */
.about {
  background: var(--bg-secondary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-box::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
}

.about-img-box img {
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.about-info h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-highlight-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-highlight-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about-highlight-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.about-highlight-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- SERVICES SECTION --- */
.services {
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

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

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* --- CLINICAL CASES SECTION --- */
.cases {
  background: var(--bg-secondary);
}

.cases-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: var(--text-main);
  border-color: var(--border-hover);
}

.tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.25);
}

.cases-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
}

.cases-container:hover {
  border-color: var(--border-hover);
}

.case-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: var(--bg-secondary);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.cases-container:hover .case-media img {
  transform: scale(1.03);
}

.case-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(5px);
  color: var(--text-main);
}

.case-badge.resolved {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

.case-info h3 {
  font-size: 2.2rem;
  line-height: 1.2;
}

.case-meta {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.meta-item {
  font-size: 0.85rem;
}

.meta-item span {
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.meta-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.case-description p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.case-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.case-highlights li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* --- REELS SHOWCASE SECTION --- */
.reels {
  position: relative;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.instagram-embed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 540px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.instagram-embed-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.instagram-embed-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-5px);
}

/* --- CONTACT SECTION --- */
.contact {
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

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

.contact-header h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  font-size: 1.3rem;
}

.contact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.contact-text p, 
.contact-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.contact-map-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 250px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.1);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  color: var(--color-primary);
  display: block;
}

.form-status.error {
  color: #ef4444;
  display: block;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  background: var(--bg-primary);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-logo span {
  color: var(--color-primary);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.footer-socials a:hover {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-copy {
  color: var(--text-dark);
  font-size: 0.85rem;
}

/* --- SMARTPHONE REELS MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-close-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.phone-wrapper {
  position: relative;
  width: 320px;
  height: 570px;
  background: #000;
  border-radius: 40px;
  border: 8px solid #222630;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  z-index: 2;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.modal.active .phone-wrapper {
  transform: scale(1);
}

/* Phone notch/island */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #222630;
  border-radius: 20px;
  z-index: 10;
}

.phone-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-video-container {
  width: 100%;
  flex-grow: 1;
  position: relative;
  background: #000;
  overflow: hidden;
}

.phone-video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 3;
}

.phone-header {
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  z-index: 5;
  color: #fff;
}

.phone-back-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.phone-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.phone-right-actions {
  position: absolute;
  right: 1rem;
  bottom: 8rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  z-index: 5;
}

.phone-action-btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.phone-action-btn:hover {
  background: rgba(16, 185, 129, 0.8);
  color: #000;
}

.phone-action-btn span {
  font-size: 0.65rem;
  margin-top: 0.2rem;
}

.phone-description {
  color: #fff;
  z-index: 5;
  margin-bottom: 0.5rem;
}

.phone-description .author {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-description .author span {
  font-size: 0.7rem;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.1rem 0.4rem;
  border-radius: 100px;
}

.phone-description .caption {
  font-size: 0.85rem;
  line-height: 1.3;
}

.phone-link-btn {
  background: #10b981;
  color: #000;
  text-align: center;
  padding: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  z-index: 5;
  border-radius: 10px;
  margin-top: 0.5rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.phone-link-btn:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* --- ANIMATED SCROLL EFFECTS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  
  .hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2.5rem;
  }
  
  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
  }

  .stat-item {
    text-align: center;
    flex: 1 1 120px;
    margin: 0 auto;
  }
  
  .hero-card {
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .about-info {
    text-align: center;
  }

  .about-info .badge {
    margin: 0 auto 1.5rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .about-highlight-item {
    text-align: left;
    max-width: 450px;
    width: 100%;
  }
  
  .about-img-box {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .cases-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
    text-align: center;
  }

  .case-info {
    align-items: center;
  }

  .case-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .case-highlights {
    text-align: left;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-info {
    text-align: center;
    align-items: center;
  }

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

  .contact-header .badge {
    margin: 0 auto 1.5rem;
  }

  .contact-details {
    align-items: center;
    width: 100%;
  }

  .contact-item {
    max-width: 450px;
    width: 100%;
    text-align: left;
  }

  .contact-map-card {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
  }

  .contact-form-container {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Dynamic js toggle later */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .about-info h2,
  .section-header h2,
  .contact-header h2 {
    font-size: 2.2rem;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .service-card {
    max-width: 450px;
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .service-icon {
    margin: 0 auto 2rem;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* For expanding nav menu in JS */
.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  z-index: 99;
}

/* Spinner animation for contact form loading state */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
