/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root{
  --blue:#153D6B;        /* section wedge */
  --bg:#e9e9ea;          /* light panel background */
  --text:#1c2a39;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #000000;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: transparent;
  color: white;
}
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 300px;
}
.navbar .logo img {
  max-width: 100%;
  height: auto;
  width: 300px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 20px;
}
.nav-links a:hover {
    color:#153D6B;
    background: white;
    padding: 12px 20px;
    border-radius:30px;
}
/* Hero Section */
.hero {
  background-image:  url("../images/herobg.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  color: white;
  text-align: left;
  padding: 50px 0 200px 0;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin-bottom: 3rem;
  font-size: 15px;
}

.btn {
  display: inline-block;
  padding: 20px 40px;
  background: #D1D1D1;
  color: #153D6B;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
  font-size: 23px;
  font-weight: bold;
}

.btn:hover {
  background: #07294d;
  color:white;
}
.btn-blue{
    background: #153D6B;
  color: white;
}

/* Process */
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-heading .divider {
  display: block;
  margin: 0 auto;
  max-width: 214px; /* default max width */
  width: 100%;      /* makes it scale on smaller screens */
  height: auto;     /* preserve aspect ratio */
}

.process {
  text-align: center;
  padding: 100px 0;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 200px;
  background: #D1D1D1;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.step span {
  font-size: 38px;
  display: block;
  margin-bottom: 0.5rem;
}
.step h3{
    font-size:38px;
}
.step img {
  max-width: 140px;
  margin-bottom: 1rem;
    min-height: 140px;
    max-height: 140px;
}
/* About */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 3rem 5%;
  gap: 2rem;
}

.about-text {
  flex: 1 1 300px;
}

.about-img img {
  max-width: 300px;
  border-radius: 50%;
}

/* === BIO SECTION (Eric) === */
.bio-section{
  position: relative;
  overflow: hidden;
  padding: 48px 0 52px;
  border-top: 5px solid #153D6B;
}

/* The navy triangle wedge on the right */
.bio-section::after{
  content:"";
  position:absolute;
  inset:0;
  /* only paint a right-side triangle */
  /* background:
    linear-gradient(140deg, transparent 66%, var(--blue) 0); */
  /* keep it behind content */
  z-index:-1;
  background-image: url("../images/background.png");
  background-size: cover;
}

/* Content grid */
.bio-grid{
  position: relative;
  z-index:1;             /* above the triangle */
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* Left text */
.bio-title{
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 18px;
}
.bio-text p{margin: 0 0 14px; line-height: 1.75;font-size: 18px;}

.mt-50{margin-top:50px;}

/* Right image */
.bio-photo-wrap{
  display:flex;
  justify-content:center;
}
.bio-photo{
  width: clamp(220px, 34vw, 420px);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  display:block;
  /* make the image visibly on top of the blue shape */
  position: relative;
  z-index: 2;
}
.bio-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 5px 0;
  display: flex;
}
.tab-item {
  margin-right: 20px;
}
.tab-link {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 400;
  color: #153D6B;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.tab-link.active {
  border-bottom: 2px solid #007bff;
  color: #007bff;
}
.tab-link:hover {
  color: #0056b3;
}
.tab-content {
  position: relative;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}



.mt-50 {
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 980px){
  .bio-grid{ grid-template-columns: 1fr; }
  .bio-text{ order: 1; }
  .bio-photo-wrap{ order: 2; margin-top: 14px; }

  /* move the triangle so it doesn't crowd text on small screens */
  .bio-section::after{
    background: linear-gradient(165deg, transparent 70%, var(--blue) 0);
  }
}

/* Services */
.services {
  text-align: center;
  padding: 3rem 5%;
  background: #f5f5f5;
  
}
.services .service-head-section {
  margin-bottom: 3rem;
  background-image: url('../images/servicebg.png');
  background-size: 250px;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 100px;;
}
.services .service-head-section h2{
    font-size: 44px;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #153D6B;
}
.service-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.service {
  flex: 1 1 250px;
  padding: 1.5rem;
}
.service h3{
    font-size: 30px;
    color: #153D6B
}
.service p{
    font-size: 20px;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #153D6B;
}
.service ul li{
    font-size: 20px;
    list-style: none;
    line-height: 30px;
    margin-bottom: 10px;
}
/* Footer */
/* Footer */
.footer {
  background: #C4C4C4;
  color: #333;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  max-width: 100%;
}

.footer-logo h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer-logo span {
  font-weight: 400;
  font-size: 1rem;
}

.footer-contact h3 {
  margin-bottom: 40px;
  font-size: 31px;
  font-weight: 600;
}

.footer-contact p {
  margin: 0.3rem 0;
}
footer .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  font-size: 20px;
}

footer .contact-list img {
  width: 32px;
  height: auto;
  margin-right: 40px;
}

.footer-disclaimer {
  padding: 1.5rem 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #555;
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
}
.footer-disclaimer p{
    font-size:15px;
    text-align: center;
}
.footer-bottom {
  background: #0F2647;
  color: white;
  text-align: left;
  padding: 1rem 0;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0.2rem 0;}
.footer-bottom-content{
  display: flex;
    gap:10px;
  align-items: center;
}
.footer-bottom-content img{
    width: 50px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

/* Responsive */
@media(max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-logo {
    justify-content: center;
  }
}


/* Go To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #153D6B;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
  padding:12px
}
#scrollTopBtn img {
  width: 80%;
  height: auto; 
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  background: #092c56;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/* === GRID SYSTEM === */
.container {
  width: 90%;
  max-width: 1380px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col {
  padding: 15px;
  flex: 1 1 0;
}

.col-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.align-items-center{
    align-items: center;
    display: flex;
    justify-content: center;
}
/* Responsive */
@media (max-width: 768px) {
  .col-6, .col-4, .col-3, .col-8 { 
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Responsive */
@media(max-width: 768px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
  .row{
    padding:15px;
  }
}
