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

:root {
  /* Color Palette */
  --primary-color: #0d47a1; /* Deep Trust Blue */
  --primary-light: #e3f2fd;
  --secondary-color: #00b0ff; /* Vibrant Medical Cyan */
  --accent-color: #ff4081;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-color: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.05), 0 6px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease-in-out;
}

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

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

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

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

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

ul {
  list-style: none;
}

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

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

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

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.4);
  color: var(--white);
}

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 15px 0;
}

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

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

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

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

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
}

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

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

/* Hero Section */
.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(243, 248, 255, 0.9), rgba(243, 248, 255, 0.9)), url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1600&q=80') center/cover;
  position: relative;
}

.hero-content {
  max-width: 600px;
  animation: slideUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

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

.hero-text {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

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

/* Services / Features Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
  border-bottom: 4px solid transparent;
}

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

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

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

.service-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

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

/* Departments */
.departments {
  background-color: var(--white);
}

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

.dept-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.dept-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dept-card:hover img {
  transform: scale(1.1);
}

.dept-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.9), transparent);
  color: var(--white);
}

.dept-info h3 {
  color: var(--white);
  margin-bottom: 5px;
}

/* Team Section (About Page) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-info {
  padding: 25px;
}

.team-name {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Contact Info */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-info-panel {
  background: var(--primary-color);
  color: var(--white);
  padding: 50px 40px;
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

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

.info-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 5px;
}

.info-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* Forms */
.contact-form-panel {
  padding: 50px 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-grid .form-group {
  margin-bottom: 0;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
  background-color: var(--bg-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.1);
  background-color: var(--white);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 50px;
}

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

/* Footer */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
  margin-top: 80px;
}

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

.footer-logo {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

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

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

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

/* Page Headers (About/Contact) */
.page-header {
  padding: 180px 0 100px;
  background: linear-gradient(rgba(13, 71, 161, 0.8), rgba(13, 71, 161, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=80') center/cover;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 15px;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-normal);
  }
  .nav-links.active {
    left: 0;
  }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Custom CSS Logo */
.custom-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.custom-logo .logo-icon {
  display: flex;
  align-items: center;
}

.custom-logo .logo-icon img {
  height: 60px;
  width: auto;
}

.custom-logo .logo-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-logo .logo-main {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: normal;
  line-height: 1;
  display: flex;
  gap: 8px;
}

.custom-logo .ss-text {
  color: #003366;
}

.custom-logo .care-text {
  color: #1a8b3e;
}

.custom-logo .logo-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #003366;
  text-transform: uppercase;
  margin-top: 4px;
}

.custom-logo .logo-sub .line {
  height: 2px;
  background-color: #003366;
  width: 25px;
}

.custom-logo .logo-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #003366;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.custom-logo .logo-tagline .line {
  height: 1px;
  background-color: #003366;
  width: 15px;
}

.footer-logo.custom-logo .ss-text, 
.footer-logo.custom-logo .care-text {
  color: var(--white);
}
.footer-logo.custom-logo .logo-icon {
  color: var(--white);
}
.footer-logo.custom-logo .logo-sub {
  color: var(--white);
}
.footer-logo.custom-logo .logo-sub .line {
  background-color: var(--white);
}
.footer-logo.custom-logo .logo-tagline {
  color: rgba(255, 255, 255, 0.8);
}
.footer-logo.custom-logo .logo-tagline .line {
  background-color: rgba(255, 255, 255, 0.5);
}
