/* Reset & Theme Variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0f7ff; /* Light blue accent background for section contrast */
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent: #0284c7;        /* Ocean blue main accent */
  --accent-light: #e0f2fe;  /* Ice blue badge background */
  --border: #dbeafe;        /* Soft blue border color */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.04);
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--text-main);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-nav:hover {
  background: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Toned-down, soft ambient silver-blue glow behind hero text */
.hero::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 260px;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.badge {
  display: inline-block;
  background: var(--accent-light);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Hero Heading with subtle, low-intensity silver text aura */
.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--text-main);
  text-shadow: 
    0 0 10px rgba(186, 230, 253, 0.35),
    0 0 20px rgba(203, 213, 225, 0.25);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent);
}

/* Infinite Scrolling Ticker */
.ticker-wrapper {
  overflow: hidden;
  background: var(--accent);
  color: #ffffff;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  animation: scroll-ticker 22s linear infinite;
}

.ticker span {
  display: inline-block;
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Shared Section Styles */
.section {
  padding: 90px 0;
}

/* Light blue background section to break up white space */
.bg-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.04);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Team Section - Side-by-Side Horizontal Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.1);
}

.team-image-wrapper {
  flex-shrink: 0;
}

.team-avatar {
  width: 180px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}

.team-content h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.team-content .role {
  display: inline-block;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive Navigation & Mobile Layout Rules */
@media (max-width: 640px) {
  .nav-container {
    padding: 12px 16px;
    gap: 12px;
  }

  .logo {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  /* Properly scales the button and prevents text wrapping */
  .btn-nav {
    padding: 6px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 6px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}

/* Extra small devices (under 380px) */
@media (max-width: 380px) {
  .logo {
    font-size: 0.95rem;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .btn-nav {
    padding: 5px 8px;
    font-size: 0.78rem;
  }
}

/* Contact Info Grid Display */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.04);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  font-size: 1.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--accent);
}

.contact-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

@media (max-width: 600px) {
  .contact-card {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 24px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .nav-links {
    gap: 16px;
  }
}