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

:root {
  --primary: #183059;
  /* Navy blue from logo */
  --primary-hover: #0f203d;
  --accent: #00AEEF;
  /* Cyan from logo */
  --accent-hover: #0096cc;
  --secondary: #eaf6fc;
  /* Light cyan tint */
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-color: #ffffff;
  --bg-gray: #f8fafc;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-color);
  padding-top: 70px;
  /* For fixed navbar */
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .cta {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}

.nav-links .cta::after {
  display: none;
}

.nav-links .cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border-top: 1px solid #e2e8f0;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

/* Sections */
section {
  padding: 80px 0;
}

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Mobile CTA (Sticky Bottom) */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--accent);
    text-align: center;
    padding: 15px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-cta a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: block;
    font-size: 1.1rem;
  }

  /* Add padding to body so sticky CTA doesn't cover content */
  body {
    padding-bottom: 60px;
  }
}

/* Cards Grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
.grid > .card {
  flex: 1 1 300px;
  max-width: 350px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.card h3 {
  color: var(--text-dark);
  margin-bottom: 15px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  color: var(--accent);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

/* Testimonial */
.testimonial {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--secondary);
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
}

.author-info span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Partner Logos */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.partner-logos img {
  max-width: 150px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.partner-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}
/* Service Card Tooltips */
.service-card {
  cursor: pointer;
  position: relative; /* Anchor for absolute tooltip */
}

/* Hidden data container for service list */
.card-tooltip {
  display: none;
}

#servicePanelList ul {
  list-style-position: inside;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  color: var(--text-dark);
}

#servicePanelList ul ul {
  margin-left: 15px;
  list-style-type: circle;
  margin-top: 5px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  /* Removed tooltip specific mobile styles */
}

/* Detail Trigger Styling */
.detail-trigger {
  cursor: pointer;
  position: relative;
  display: inline;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.detail-trigger:hover {
  color: var(--primary);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Detail Modal Styling */
.detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 32, 61, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.detail-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.detail-modal-content {
  background: white;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.detail-modal-overlay.active .detail-modal-content {
  transform: translateY(0);
}

.detail-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.detail-modal-close:hover {
  color: var(--text-dark);
}

/* Subject Dropdown Options */
.subject-option {
  padding: 11px 16px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9;
}

.subject-option:last-child {
  border-bottom: none;
}

.subject-option:hover {
  background: var(--secondary, #f0f4ff);
  color: var(--primary);
}