/* Local Self-Hosted Fonts (GDPR / DSGVO Compliant - No External Calls) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary-color: #004b87;
  --secondary-color: #9bd0eb;
  --text-color: #333333;
  --bg-light: #f4f7f9;
  --premium-radius: 12px;
  --premium-shadow: 0 10px 30px rgba(0, 75, 135, 0.08);
  --premium-shadow-hover: 0 15px 35px rgba(0, 75, 135, 0.15);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #f4f7f9;
  background: linear-gradient(to bottom, #004b87 0%, #00355e 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--primary-color);
}

.nav-link {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Premium Card Overrides */
.card, .service-card, .review-card, .iframe-placeholder, .bg-light {
  border-radius: var(--premium-radius) !important;
  color: var(--text-color);
}
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
  color: var(--primary-color);
}

.premium-card {
  background: #ffffff;
  border: none;
  box-shadow: var(--premium-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--premium-radius);
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--premium-shadow-hover);
}

/* Specific Service Card tweaks */
.service-card {
  border: none;
  border-top: 4px solid var(--primary-color);
  box-shadow: var(--premium-shadow);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--premium-shadow-hover);
}

main {
  flex: 1;
  background-color: var(--bg-light);
  color: var(--text-color);
}

main a:not(.btn) {
  color: var(--primary-color);
}

main a:not(.btn):hover {
  color: #00355e;
}

.navbar {
  background-color: #ffffff;
  color: var(--text-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.navbar-brand img {
  max-height: 80px;
}

/* Two-Tier Navigation Header Elements */
.header-slogan {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--primary-color);
  font-weight: 500;
}

.header-separator,
.navbar hr {
  border: 0;
  border-top: 1px solid rgba(0, 75, 135, 0.15);
  opacity: 1;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  text-transform: uppercase;
  margin-right: 15px;
  transition: color 0.2s ease-in-out;
}

.nav-link:hover,
.nav-link:focus {
  color: #00355e !important;
}

.nav-link.active {
  color: #00355e !important;
  font-weight: 700;
}

@media (min-width: 992px) {
  .nav-link.active {
    border-bottom: 2px solid var(--secondary-color);
  }
}

.hero-section {
  background: linear-gradient(135deg, #004b87 0%, #00355e 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 5px solid var(--secondary-color);
}

.hero-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.carousel-caption,
.carousel-caption p,
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3,
.carousel-caption h4,
.carousel-caption h5,
.carousel-caption h6 {
  color: #ffffff !important;
}



.service-title {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.footer {
  background: linear-gradient(to bottom, #004b87 0%, #00355e 100%);
  color: #ffffff;
  padding: 40px 0 20px;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer h5 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
}

.contact-info p {
  margin-bottom: 5px;
}

.page-header {
  background: linear-gradient(135deg, #004b87 0%, #00355e 100%);
  padding: 50px 0;
  margin-bottom: 40px;
  border-bottom: 5px solid var(--secondary-color);
}

.page-header h1,
.page-title {
  color: #ffffff;
  font-weight: 700;
  margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 55px;
  }
  .header-slogan {
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .hero-section {
    padding: 30px 0;
  }
  .page-header {
    padding: 25px 0;
    margin-bottom: 25px;
  }
  .footer {
    margin-top: 0;
    padding: 30px 0 10px;
  }
  .footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
  }
  .service-card {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .header-slogan {
    font-size: 0.65rem;
    line-height: 1.2;
    max-width: 200px;
  }
}

/* Responsive Navbar Fit for Tablet Landscape & Small Desktop (992px - 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-link {
    font-size: 0.875rem !important;
    margin-right: 8px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .navbar-brand img {
    max-height: 65px;
  }
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* 2-Click Iframe Placeholder */
.iframe-placeholder {
    width: 100%;
    min-height: 400px;
    background-color: #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}
.iframe-placeholder h4 {
    color: var(--primary-color);
}
