/* Global Variables */
:root {
  --primary-color: #0d9488;
  /* Teal/Green Medical calming color */
  --primary-dark: #0f766e;
  --secondary-color: #1e293b;
  /* Dark Slate Blue */
  --accent-color: #f59e0b;
  /* Amber for subtle highlights */
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--secondary-color);
}

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

ul {
  list-style: none;
}

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

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

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

.section-badge {
  display: inline-block;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid var(--white);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.accent-dot {
  color: var(--primary-color);
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(24, 24, 27, 0.85), rgba(24, 24, 27, 0.7));
  backdrop-filter: blur(5px);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.text-highlight {
  color: #2dd4bf;
  /* Brighter teal for contrast on dark */
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background-color: var(--white);
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 15px;
}

.experience-badge .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text .lead {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 15px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--primary-color);
}

/* Services Section */
.services-section .section-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

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

.service-card .icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(13, 148, 136, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 24px;
}

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

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

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.2rem;
  opacity: 0.9;
}

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

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

/* Contact Section */
.contact-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info>p {
  color: var(--text-light);
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

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

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-light);
}

.social-links {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-label {
  font-weight: 600;
  margin-right: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.contact-form-wrapper {
  flex: 1;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.contact-form h3 {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.btn-primary.full-width {
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: #94a3b8;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-col .brand-logo.light {
  color: var(--white);
  margin-bottom: 15px;
  display: block;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .experience-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
  }

  .about-text {
    margin-top: 40px;
  }

  .feature-list li {
    justify-content: center;
  }

  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Logo Styling */
.logo-img {
  height: 50px;
  /* Adjust based on navbar height */
  width: auto;
  object-fit: contain;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Adjust Footer Logo */
.footer .logo-img {
  height: 60px;
  background-color: var(--white);
  padding: 5px;
  border-radius: 8px;
}

.footer-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

.footer-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
  background-color: var(--white);
  padding: 5px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.footer-logos img:hover {
  transform: translateY(-5px);
}