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

:root {
  /* Colors */
  --color-primary: #0a2540; /* Deep blue */
  --color-secondary: #00b4d8; /* Teal */
  --color-secondary-hover: #0096c7;
  --color-white: #ffffff;
  --color-dark: #2b2d42; /* Charcoal */
  --color-light-gray: #f8f9fa;
  --color-gray: #6c757d;
  --color-border: #e9ecef;
  
  /* Text */
  --color-text-main: #333333;
  --color-text-muted: #666666;

  /* Shapes */
  --radius-sm: 4px;
  --radius-md: 8px; /* Subtle rounded */
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-hover: 0 15px 25px rgba(0,0,0,0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

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

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

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

ul {
  list-style: none;
}

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

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--color-white);
}

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

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h2, .section-dark h3 {
  color: var(--color-white);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  gap: 0.5rem;
}

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

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

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

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

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

.btn-white:hover {
  background-color: var(--color-light-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Header Component Styles (Applied globally so component shadow DOM can use them or component is light DOM) */
/* We will use Light DOM for Web Components for easier global styling access */
.site-header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-footer .logo img {
  height: 52px;
}

.cert-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cert-badges img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

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

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

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

/* Footer styles */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-col p {
  color: #a0aec0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #a0aec0;
  font-size: 0.9rem;
}

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

.social-link {
  color: var(--color-white);
  opacity: 0.8;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.social-link:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #a0aec0;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Utility cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  display: inline-block;
  background-color: rgba(0, 180, 216, 0.2);
  color: var(--color-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 180, 216, 0.4);
}

.hero h1 {
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Features */
.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 180, 216, 0.1);
  color: var(--color-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  font-size: 1.25rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary { background-color: rgba(10, 37, 64, 0.1); color: var(--color-primary); }
.badge-secondary { background-color: rgba(0, 180, 216, 0.1); color: var(--color-secondary); }
.badge-accent { background-color: rgba(245, 158, 11, 0.1); color: #b45309; }
.badge-success { background-color: rgba(16, 185, 129, 0.1); color: #047857; }

/* Stars */
.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.page-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 6rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}
