/* style.css - Premium Design System */

:root {
  --primary: #0f766e;
  /* Deep Teal */
  --primary-light: #14b8a6;
  --secondary: #0369a1;
  /* Medical Blue */
  --accent: #f43f5e;
  /* Action Red */
  --bg-light: #f8fafc;
  --bg-dark: #020617;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(12px);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

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

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: #f1f5f9;
}

.grid {
  display: grid;
  gap: 3rem;
}

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



/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.full-width {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span span {
  color: var(--secondary);
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -5px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}



/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('hero.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.4));
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--primary-light);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}



/* About Section */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.about-img .img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  display: block;
  transition: var(--transition);
}

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

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

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.check-list i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Services Section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

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

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background: #f0fdfa;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 20px;
  margin: 0 auto 2rem;
  transition: var(--transition);
}

.service-card:hover .icon {
  background: var(--primary);
  color: white;
}

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

.service-card p {
  color: var(--text-muted);
}

/* Features */
.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
}

.feature-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-muted);
}

.features-img img {
  width: 100%;
  border-radius: 20px;
}

/* Contact Section */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: var(--primary);
  padding: 4rem;
  color: white;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info>p {
  margin-bottom: 3rem;
  opacity: 0.9;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-light);
}

.info-item span {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

.info-item p {
  font-weight: 600;
}

.contact-form {
  padding: 4rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}



/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: white;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

.footer-address {
  margin-top: 1.5rem;
  line-height: 1.8;
}

.footer-address strong {
  color: white;
  opacity: 1;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

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

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.form-success-toast {
  transition: opacity 0.3s ease;
}

/* Scroll Active Link Style */
.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

/* Anchor Offset for dynamic scrolling */
[id] {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   Responsive Design (Consolidated)
   ========================================================================== */

/* Laptops & Tablets (Small) */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

/* Tablets (Portrait) & Large Phones */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 2rem;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: flex;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    padding: 3rem 2rem;
  }
}

/* Phones (Large/Medium) */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

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

  .hero {
    height: auto;
    min-height: auto;
    padding: 160px 0 0px;
  }

  .hero-title {
    font-size: 2.75rem;
    letter-spacing: -1px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    padding: 3rem 0;
    margin-top: 4rem;
    flex-direction: column;
    gap: 2rem;
    background: white;
    border-top: 1px solid #eee;
    backdrop-filter: none;
  }

  .stat-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-number {
    color: var(--primary);
  }

  .stat-label {
    color: var(--text-muted);
  }

  .about-img,
  .features-img {
    order: -1;
    /* Image always on top in stack */
  }

  .footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-brand {
    align-items: flex-start;
    text-align: left;
  }

  .footer-links,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links ul {
    align-items: center;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-info h3 {
    font-size: 1.75rem;
  }
}