/* Minimal home hero */
.home-hero {
  min-height: calc(100vh - 220px); /* Reduced to ensure footer is visible */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex: 1; /* Allow it to grow */
}

.hero-text-container {
  text-align: center;
  padding: 2rem;
}

.hero-tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 2px;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  animation: fadeInUp 1.2s ease-out;
}

.hero-cta-button {
  display: inline-block;
  padding: 1.5rem 4rem;
  background: #1a3a52;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 1.5s ease-out;
}

.hero-cta-button:hover {
  background: #2d5a7b;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Certifications banner - fixed to bottom */
.certifications-banner {
  position: fixed;
  bottom: 0.2rem; /* Closer to bottom */
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: transparent;
}

.certs-banner-image {
  width: 75%; /* Scale down to 75% */
  max-width: 1050px; /* 75% of 1400px */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.8rem;
  }

  .hero-cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
  }

  .certifications-banner {
    bottom: 0.25rem;
    padding: 0.5rem;
  }

  .certs-banner-image {
    width: 85%; /* Slightly larger on mobile so it's still visible */
  }
}
/* Reset default margins */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background video - fills viewport */
.background-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navbar - minimal blur, more solid */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1600px;
  margin: 0;
  margin-right: auto; /* Only right margin auto */
  padding-left: 1rem; /* Explicit left padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
  margin-left: auto;
  padding-right: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 1);
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */

/* Hamburger button - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2000;
}

.hamburger-line {
  width: 2rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  transform-origin: 1px;
}

/* Hamburger animation when active */
.toggle-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
}

.toggle-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.toggle-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(26, 58, 82, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1500;
  }

  .nav-links.nav-active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:hover {
    color: #fff;
    padding-left: 0.5rem;
  }

  .phone-link {
    font-size: 1.5rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .nav-cta {
    background: #fff;
    color: #1a3a52 !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 4px;
    text-align: center;
    border: none !important;
    margin-top: 1rem;
  }

  .nav-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    padding-left: 1.5rem !important;
  }

  /* Adjust navbar container for mobile */
  .nav-container {
    padding-right: 1rem;
  }

  .logo {
    height: 60px;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-links {
    gap: 2rem;
    padding-right: 1rem;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .logo {
    height: 70px;
  }
}

/* Page content with top padding for fixed navbar */
.page-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  flex: 1; /* Take remaining space, pushing footer down */
  display: flex;
  flex-direction: column;
}

/* Glassmorphism content cards */
.page-container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1; /* Fill available space */
  display: flex;
  flex-direction: column;
}

.content-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 3rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.content-card h1 {
  color: #333;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.content-card h2 {
  color: #333;
  margin: 2rem 0 1rem 0;
  font-size: 2rem;
}

.content-card h3 {
  color: #555;
  margin: 1.5rem 0 0.5rem 0;
  font-size: 1.5rem;
}

.content-card p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Swiper carousel - stacked card effect */
.swiper {
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  margin: 2rem auto;
}

.swiper-slide {
  transition: transform 0.3s ease;
}

/* Stack effect - show cards behind */
.swiper-slide-next {
  transform: scale(0.95) translateX(5%);
  opacity: 0.7;
}

.swiper-slide-prev {
  transform: scale(0.95) translateX(-5%);
  opacity: 0.7;
}

.carousel-content-card {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.carousel-content-card.text-card {
  padding: 4rem;
  justify-content: center;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
}

.carousel-full-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Changed from contain - fills card, crops if needed */
  background: transparent;
  padding: 0;
}

.carousel-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2rem;
  text-align: center;
}

.carousel-text-overlay h2 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

.carousel-text-overlay p {
  color: white;
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.text-card h2 {
  color: #1a3a52;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.text-card p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.text-card ul {
  margin: 1rem 0 1rem 2rem;
  color: #333;
  font-size: 1.1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.text-card ul li {
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

/* Add to existing application.css */

.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.service-image-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .service-section {
    grid-template-columns: 1fr;
  }

  .service-image-card {
    min-height: 300px;
  }
}

/* Certificate display styles */
.certificate-card {
  background: rgba(255, 255, 255, 0.97);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.certificate-card h2 {
  color: #1a3a52;
  margin-bottom: 2rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.certificate-preview {
  width: 90%;
  max-width: 600px;
  height: 50vh;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.pdf-preview {
  width: 100%;
  height: 100%;
  border: none;
}

.cert-download-btn {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  background: #1a3a52;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid #1a3a52;
  display: inline-block;
}

.cert-download-btn:hover {
  background: #2d5a7b;
  border-color: #2d5a7b;
}

/* Contact page styles */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.12);
}

.contact-name {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.role-tag {
  display: inline-block;
  background: rgba(26, 58, 82, 0.08);
  color: #1a3a52;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.contact-page-title {
  text-align: center;
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.email-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(26, 58, 82, 0.04);
  border: 1px solid rgba(26, 58, 82, 0.12);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.email-card:hover {
  background: rgba(26, 58, 82, 0.08);
  border-color: rgba(26, 58, 82, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.email-card:active {
  transform: translateY(0);
}

.email-card.copied {
  background: rgba(76, 175, 80, 0.1);
  border-color: #4CAF50;
}

.email-text {
  flex: 1;
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  user-select: none;
}

.copy-icon {
  color: #1a3a52;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.email-card:hover .copy-icon {
  color: #2d5a7b;
}

.email-card.copied .copy-icon {
  color: #4CAF50;
}

/* Keep old styles for quote page */
.email-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.contact-email {
  flex: 1;
  color: #333;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
}

.contact-email:hover {
  color: #1a3a52;
}

.copy-btn {
  background: rgba(26, 58, 82, 0.08);
  border: 1px solid rgba(26, 58, 82, 0.15);
  padding: 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #1a3a52;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(26, 58, 82, 0.12);
  border-color: rgba(26, 58, 82, 0.25);
  transform: scale(1.05);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn.copied {
  background: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-name {
    font-size: 1.5rem;
  }

  .email-card {
    padding: 0.9rem 1rem;
  }

  .email-text {
    font-size: 1rem;
  }
}

/* Quote page styles */
.quote-page-title {
  text-align: center;
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.quote-page-subtitle {
  text-align: center;
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.quote-section-title {
  color: #eeba2b;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.quote-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.quote-guidance-title {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.quote-guidance-intro {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.quote-info-title {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.quote-info-list {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  margin-left: 1.5rem;
}

.quote-info-text {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
}

.quote-contact-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.quote-contact-section {
  margin-bottom: 0;
}

.quote-person-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.quote-person-row .contact-name {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: fit-content;
}

.quote-person-row .email-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.quote-contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.quote-guidance-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.quote-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.quote-info-item {
  background: rgba(26, 58, 82, 0.04);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(26, 58, 82, 0.08);
}

.quote-info-item ul {
  list-style-position: outside;
  padding-left: 1rem;
}

.quote-info-item li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .quote-info-grid {
    grid-template-columns: 1fr;
  }

  .quote-guidance-card {
    padding: 2rem;
  }

  .quote-contact-card {
    padding: 1.5rem;
  }

  .quote-person-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .quote-person-row .email-container {
    width: 100%;
  }
}

/* Footer styles */
.site-footer {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  padding: 2rem 2rem 2.5rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Oswald', sans-serif;
}

.footer-copyright {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-contact {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-phone {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-links {
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

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

.footer-links .separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.25rem;
}

/* Navbar phone link styling */
.phone-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: rgba(255, 255, 255, 1) !important;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 1rem 2rem 1rem; /* More bottom padding on mobile too */
    margin-top: 2rem;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }

  .footer-contact {
    font-size: 1rem;
  }

  .footer-links {
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .footer-links .separator {
    margin: 0 0.15rem;
  }

  .phone-link {
    font-size: 1.2rem !important;
  }
}

/* ============================================
   SERVICES PAGE - FORMAL GRID LAYOUT
   ============================================ */

.services-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.services-hero h1 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.services-intro {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.service-card-header {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-header-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 58, 82, 0.95), rgba(26, 58, 82, 0.7));
  padding: 1.5rem;
}

.service-header-overlay h2 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0;
}

.service-card-content {
  padding: 2rem;
}

.service-card-content h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem 0;
}

.service-card-content h3:first-child {
  margin-top: 0;
}

.service-card-content p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-card-content ul {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0.5rem 0 1rem 1.5rem;
}

.service-card-content ul li {
  margin-bottom: 0.4rem;
}

.service-card-content strong {
  color: #1a3a52;
  font-weight: 600;
}

.service-note, .service-spec {
  background: rgba(26, 58, 82, 0.04);
  padding: 1rem;
  border-radius: 4px;
  border-left: 3px solid #1a3a52;
  margin-top: 1rem;
  font-style: italic;
}

.services-section {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 6px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.services-section-alt {
  background: rgba(26, 58, 82, 0.02);
}

.section-title {
  color: #eeba2b;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 3px solid #1a3a52;
  padding-bottom: 1rem;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.additional-service-item h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.additional-service-item ul {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin-left: 1.5rem;
}

.additional-service-item ul li {
  margin-bottom: 0.5rem;
}

.specialized-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.specialized-item {
  background: rgba(255, 255, 255, 0.97);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid rgba(26, 58, 82, 0.1);
}

.specialized-item h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.specialized-item ul {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin-left: 1.5rem;
}

.specialized-item ul li {
  margin-bottom: 0.5rem;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.material-category {
  background: rgba(26, 58, 82, 0.04);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #1a3a52;
}

.material-category h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.material-category p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Services Page Mobile Responsive */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2rem;
  }

  .services-intro {
    font-size: 1.1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-header {
    height: 200px;
  }

  .services-section {
    padding: 2rem 1.5rem;
  }

  .additional-services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .specialized-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ABOUT PAGE - FORMAL SECTIONS LAYOUT
   ============================================ */

.about-hero {
  margin-bottom: 3rem;
}

.about-hero-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.founder-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 58, 82, 0.9);
  color: #fff;
  padding: 1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  text-align: center;
}

.about-main-title {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
}

.about-section {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 6px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-section-alt {
  background: rgba(26, 58, 82, 0.02);
}

.story-content h2 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #1a3a52;
  padding-bottom: 0.5rem;
}

.story-content p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.expertise-intro {
  color: rgba(255, 255, 255, 0.98);
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.expertise-column {
  background: rgba(255, 255, 255, 0.98);
  padding: 2rem;
  border-radius: 6px;
  border-left: 4px solid #1a3a52;
}

.expertise-column h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.expertise-column ul {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  margin-left: 1.5rem;
}

.expertise-column ul li {
  margin-bottom: 0.5rem;
}

.quality-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.quality-text p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.certifications-list {
  background: rgba(26, 58, 82, 0.04);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #1a3a52;
}

.certifications-list h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.certifications-list ul {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-left: 1.5rem;
}

.certifications-list ul li {
  margin-bottom: 0.5rem;
}

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

.capability-item {
  background: rgba(255, 255, 255, 0.98);
  padding: 1.5rem;
  border-radius: 6px;
  border-top: 4px solid #1a3a52;
}

.capability-item h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.capability-item p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.commitment-text {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* About Page Mobile Responsive */
@media (max-width: 768px) {
  .about-main-title {
    font-size: 2rem;
  }

  .about-section {
    padding: 2rem 1.5rem;
  }

  .story-content h2 {
    font-size: 1.8rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .quality-content {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .commitment-text {
    font-size: 1.05rem;
  }
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 1rem 2rem 1rem; /* More bottom padding on mobile too */
    margin-top: 2rem;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }

  .footer-contact {
    font-size: 1rem;
  }

  .footer-links {
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .footer-links .separator {
    margin: 0 0.15rem;
  }

  .phone-link {
    font-size: 1.2rem !important;
  }
}

/* Policy pages styling */
.policy-page {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1; /* Fill available space */
  display: flex;
  flex-direction: column;
}

.policy-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  padding: 3rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.policy-card h1 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}

.policy-card h2 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  margin: 2rem 0 1rem 0;
}

.policy-card h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem 0;
}

.policy-card p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.policy-card ul,
.policy-card ol {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  margin: 1rem 0 1rem 2rem;
  font-size: 1.1rem;
}

.policy-card ul li,
.policy-card ol li {
  margin-bottom: 0.5rem;
}

.policy-card strong {
  color: #1a3a52;
  font-weight: 600;
}

.policy-card a {
  color: #1a3a52;
  text-decoration: underline;
  transition: color 0.2s ease;
}

/* Ensure download buttons have white text */
.policy-card .cert-download-btn {
  color: #fff !important;
  text-decoration: none;
}

.policy-card a:hover {
  color: #2d5a7b;
}

.policy-card .cert-download-btn:hover {
  color: #fff !important;
}

.policy-callout {
  background: rgba(26, 58, 82, 0.06);
  border-left: 4px solid #1a3a52;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-weight: 600;
}

.policy-signature {
  margin-top: 2rem;
  font-style: italic;
  color: #1a3a52;
  font-weight: 600;
}

.policy-download-top {
  text-align: right;
  margin-bottom: 2rem;
}

.policy-download-bottom {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .policy-page {
    padding: 1rem;
  }

  .policy-card {
    padding: 2rem 1.5rem;
  }

  .policy-card h1 {
    font-size: 2rem;
  }

  .policy-card h2 {
    font-size: 1.5rem;
  }

  .policy-card h3 {
    font-size: 1.2rem;
  }

  .policy-card p,
  .policy-card ul,
  .policy-card ol {
    font-size: 1rem;
  }
}

/* ============================================
   CERTIFICATIONS PAGE - CARD GRID LAYOUT
   ============================================ */

.certifications-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.certification-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.certification-card-header {
  background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
  padding: 2rem;
  text-align: center;
}

.certification-card-header h2 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

.cert-type {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  margin: 0;
}

.certification-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.certification-card-content p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.certification-card-content h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 1.5rem 0 0.8rem 0;
  border-bottom: 2px solid #1a3a52;
  padding-bottom: 0.3rem;
}

.certification-card-content ul {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 1.5rem;
}

.certification-card-content ul li {
  margin-bottom: 0.5rem;
}

.cert-preview-download {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certificate-preview-inline {
  width: 100%;
  height: 300px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.pdf-preview-inline {
  width: 100%;
  height: 100%;
  border: none;
}

.cert-download-btn-prominent {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  background: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 1.2rem 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid #1a3a52;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cert-download-btn-prominent:hover {
  background: #2d5a7b;
  border-color: #2d5a7b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

/* Why It Matters Section */
.certifications-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-item {
  background: rgba(255, 255, 255, 0.98);
  padding: 2rem;
  border-radius: 6px;
  border-top: 4px solid #1a3a52;
}

.why-item h3 {
  color: #1a3a52;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.why-item p {
  color: #333;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* Mobile responsive - Certifications */
@media (max-width: 768px) {
  .certifications-main-grid {
    grid-template-columns: 1fr;
  }

  .certification-card-header h2 {
    font-size: 1.6rem;
  }

  .certification-card-content {
    padding: 1.5rem;
  }

  .certificate-preview-inline {
    height: 250px;
  }

  .cert-download-btn-prominent {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .certifications-why-grid {
    grid-template-columns: 1fr;
  }
}
