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

:root {
  --primary-color: #0c4b66; /* Deep clinical blue */
  --secondary-color: #1a93b8; /* Vivid cyan */
  --accent-color: #26c6da;
  --bg-color: #f4f7f9;
  --white-bg: #ffffff;
  --text-main: #2b3a42;
  --text-muted: #647682;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(12, 75, 102, 0.08);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -5px rgba(12, 75, 102, 0.12);
  
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  line-height: 1.2;
}

p {
  line-height: 1.6;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

section {
  padding: 6rem 0;
  position: relative;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 147, 184, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 147, 184, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.3s ease;
  padding: 1.25rem 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span {
  color: var(--secondary-color);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  font-family: 'Outfit', sans-serif;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--secondary-color);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(circle at right top, rgba(26, 147, 184, 0.1) 0%, transparent 50%),
              radial-gradient(circle at left bottom, rgba(12, 75, 102, 0.05) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 650px;
  z-index: 2;
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
}

/* 3D decorative shapes in Hero */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  animation: float 8s infinite ease-in-out alternate;
}
.shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(26, 147, 184, 0.15);
  top: 10%;
  right: 5%;
}
.shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(38, 198, 218, 0.1);
  bottom: 0%;
  right: 25%;
  animation-delay: -4s;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, 30px); }
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Offerings Segment */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.offering-card {
  background: var(--white-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.offering-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.offering-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.offering-card:hover::before {
  transform: scaleX(1);
}
.offering-icon {
  width: 60px;
  height: 60px;
  background: rgba(26, 147, 184, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.offering-card:hover .offering-icon {
  transform: scale(1.1) rotate(5deg);
}
.offering-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Services / Partnerships */
.services-section {
  background: var(--white-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.services-content ul {
  list-style: none;
  margin-top: 2rem;
}
.services-content li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.services-content li i {
  color: var(--secondary-color);
  margin-top: 5px;
}
.services-content li h4 {
  margin-bottom: 0.25rem;
}
.services-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.services-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.services-img:hover img {
  transform: scale(1.05);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.stat-box {
  background: var(--white-bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat-box h3 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Blog Section */
.blog-section {
  background: var(--white-bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-color);
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-img {
  height: 220px;
  background: rgba(12, 75, 102, 0.1); /* placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-content {
  padding: 2rem;
}
.blog-meta {
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-link:hover {
  color: var(--secondary-color);
  gap: 0.75rem; /* animate arrow */
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 8rem 0;
  text-align: center;
}
.contact-section h2 {
  color: #fff;
}
.contact-section p {
  color: rgba(255,255,255,0.8);
}
.contact-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: var(--text-main);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.contact-form {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 147, 184, 0.1);
}
textarea.form-control {
  grid-column: 1 / -1;
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--text-main);
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--accent-color); }
.footer-col h4 {
  color: #fff;
  margin-bottom: 1.5rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.75rem;
}
.footer-col a {
  color: var(--text-muted);
}
.footer-col a:hover {
  color: var(--accent-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 3rem; }
  .services-grid, .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
  }
  .nav-links.active { left: 0; }
  .mobile-menu-btn { display: block; }
  
  .hero h1 { font-size: 2.5rem; }
  .form-group { grid-template-columns: 1fr; }
  .contact-box { padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
