:root {
  --primary-color: #032B69; /* Deep Royal Navy Blue from Logo */
  --primary-hover: #021e4b;
  --secondary-color: #0E86D4; /* Medical Cyan / Ocean Blue from Logo */
  --secondary-hover: #0284C7;
  --accent-cyan: #38BDF8;
  --bg-color: #F8FAFC; /* Clean clinical light background */
  --bg-subtle: #F0F7FF;
  --white: #ffffff;
  --text-dark: #0F172A; /* Slate 900 */
  --text-light: #475569; /* Slate 600 */
  --shadow-sm: 0 4px 6px -1px rgba(3, 43, 105, 0.05), 0 2px 4px -1px rgba(3, 43, 105, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(3, 43, 105, 0.09), 0 8px 10px -6px rgba(3, 43, 105, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(3, 43, 105, 0.08), 0 10px 10px -5px rgba(3, 43, 105, 0.03);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

/* Header & Nav */
header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(3, 43, 105, 0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

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

.nav-links li a {
  font-weight: 600;
  color: var(--text-dark);
}

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

.btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white) !important;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(3, 43, 105, 0.25);
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 134, 212, 0.35);
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 0;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
}

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

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

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

.service-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(3, 43, 105, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 134, 212, 0.2);
}

.service-card i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-card a {
  font-weight: 700;
  color: var(--secondary-color);
}

.service-card a:hover {
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.footer-content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--white);
}

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

.footer-content ul li {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-content ul li a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-content ul li a:hover {
  color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
  }
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  flex: 1.2;
  margin: 0;
  border: 1px solid rgba(3, 43, 105, 0.05);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #F8FAFC;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 134, 212, 0.15);
}

.form-group textarea {
  resize: vertical;
}

/* About Section */
.about-grid {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-grid img {
  flex: 1;
  border-radius: var(--border-radius);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
  }
}
