/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* Hero banner with special logo positioning */
.hero-banner-container {
    position: relative;
    width: 100%;
    margin-bottom: 120px;
}

.banner-visual-wrapper {
  background-image: url('../images/split3.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  overflow: hidden;
  width: 100%;
}

.full-span-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo positioned half over banner, half protruding */
.overlapping-brand-mark {
  align-items: center;
  background-color: #0C2C56;
  bottom: -60px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: lighter;
  font-size: 4rem;
  height: 265px;
  justify-content: center;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: 324px;
  z-index: 10;
}

.brand-subtext {
  font-size: 2rem;
  text-transform: uppercase;
}

.emblem-square {
  display: block;
  width: 120px;
}

/* Content wrapper for consistent spacing */
.centered-content-wrapper {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Introduction section */
.intro-message-block {
    padding-top: 40px;
    padding-bottom: 60px;
    text-align: center;
}

.primary-heading {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a5490;
}

.intro-paragraph {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service grid section */
.service-highlights-grid {
    background-color: #f8f9fa;
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #1a5490;
}

.triple-column-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.visual-element {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.descriptive-content {
    padding: 15px;
}

.card-heading {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a5490;
}

.card-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* About section */
.about-company-segment {
    padding-top: 30px;
    padding-bottom: 30px;
}

.about-profile-image {
    width: 200px;
    height: auto;
    border-radius: 5px;
    display: block;
    float: left;
    margin-left: auto;
    margin-right: 3rem;
    margin-bottom: 20px;
}

.about-text-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444;
    text-align: justify;
}

.faqs-section {
    margin-top: 40px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1a5490;
}

section.contact-us {
  padding-bottom: 5rem;
  text-align: center;
}

section.contact-us a.btn {
  background-color: #1a5490;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

section.faqs .learn-more {
  padding: 3rem 0 5rem 0;
  text-align: center;
}

section.faqs a.btn {
  border: 2px solid #1a5490;
  color: #1a5490;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Footer */
.page-footer {
    background-color: #2c3e50;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-profile-image {
    height: auto;
    margin-bottom: 4rem;
    margin-right: 1rem;
    width: 120px;
  }

  .about-text-container {
    .banner-visual-wrapper {
        height: 350px;
    }

    .emblem-square {
        width: 100px;
    }

    .overlapping-brand-mark {
        bottom: -50px;
    }

    .hero-banner-container {
        margin-bottom: 100px;
    }

    .primary-heading {
        font-size: 2rem;
    }

    .triple-column-layout {
        grid-template-columns: 1fr;
    }
}
