/* Color Palette
  -------------------------------------------------------------------------- */
/*    
  #96C2DB - blue-grey (primary);
  #E5EDF1 - light blue-grey (secondary);
  #FFFFFF - white;
*/

/* Global Styles 
  -------------------------------------------------------------------------- */

/* Box-sizing Reset */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html, body {
  height: 100%;
}

body, html, main {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-width: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  position: relative;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

h1,
h2 {
  font-family: 'Open Sans', sans-serif;
  color: #FFFFFF;
  text-align: center;
}

h1 {
  font-size: 70px;
  margin-bottom: 0;
  text-transform: uppercase;
}

h2 {
  font-size: 40px;
  margin-top: 0;
}

h3 {
  margin: 0;
}

p {
  color: #FFFFFF;
}

hr {
  width: 100px;
  background: #FFFFFF;
}

h1 ~ p,
h2 ~ p,
h3 ~ p {
  margin: 0;
}

h1 ~ p {
  font-size: 1.2em;
}

a {
  text-decoration: none;
  color: #96C2DB;
  transition: background-color 0.5s ease-in-out;
}

a:hover {
  color: #FFFFFF;
  background-color: rgba(150, 194, 219, 0.5);
  text-decoration: none;
}

main {
  position: relative;
  z-index: 10;
}

.nav-wrap,
.content-wrap {
  max-width: 1300px;
  width: 90%;
  margin: 0px auto;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  /*background: rgba(229, 237, 241, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
  /* changed by sarthak */
  transition: all 0.5s ease-in-out;
  z-index: 9999;
  overflow: visible;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  max-height: 50px;
  width: auto;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  position: relative;
}

.topnav a {
  color: #96C2DB;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
}

.topnav a:hover {
  color: #E5EDF1;
  background-color: rgba(150, 194, 219, 0.1);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.5s ease-in-out;
  z-index: 9998; /* Ensure dropdown content is above video and overlay */
  margin-top: 5px;
}

/* Home Hero Content (text only) */
.home-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  position: absolute;
  top: 15%;
  left: 0;
  right: 0;
  max-width: 1020px;
  width: 80%;
  margin: auto;
  z-index: 1;
}

.home-hero-content h1 {
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.home-hero-content p {
  font-size: 1.5em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
  color: #96C2DB;
  background: #FFFFFF;
}

.dropdown-content a:hover {
  background: #E5EDF1;
  color: #96C2DB;
}

.bars {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: #232325;
}

@media screen and (max-width: 768px) {
  .nav-wrap {
    padding: 0.5rem 0;
  }

  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 0;
    width: 100%;
  }

  .topnav.responsive {
    display: flex;
  }

  .topnav a {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
  }

  .bars {
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #f8f9fa;
    width: 100%;
  }

  .dropdown-content a {
    padding-left: 2rem;
  }
}

.content-wrap {
  padding: 50px 0 75px 0;
}

.btn {
  text-decoration: none;
  background: #23ce6b;
  padding: 10px;
  display: inline-block;
  color: #fdfffc;
  transition: background-color 1s ease-in;
  cursor: pointer;
}

.btn:hover {
  background-color: #70e7a2;
  color: #fdfffc;
}

.btn:focus {
  border: 2px solid #235789;
}

.hero {
  background: #232325;
  background-size: cover;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Header
  -------------------------------------------------------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999; /* Ensure header is on top */
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  width: 80%;
  max-width: 1020px;
  margin: 0 auto;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  max-height: 50px;
  width: auto;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  position: relative;
}

.topnav a {
  color: #96C2DB;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.5s ease-in-out;
  text-decoration: none;
}

.topnav a:hover {
  color: #E5EDF1;
  background-color: rgba(150, 194, 219, 0.1);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.5s ease-in-out;
  z-index: 9998;
  margin-top: 5px;
}

.home-hero {
  position: relative;
  z-index: 1;
}

.home-hero video {
  position: relative;
  z-index: 1;
}

/* header.scroll-down {
  transform: translateY(-100%);
}

header.scroll-up {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

/* Improve mobile menu animation */
.topnav.responsive {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Update bars icon transition */
.bars i {
  transition: transform 0.3s ease;
}

.bars i.fa-times {
  transform: rotate(180deg);
}

.logo img {
  width: 170px;
  padding: 10px;
  height: auto;
}

/* Navigation
  -------------------------------------------------------------------------- */

nav {
  font-size: 0;
}

nav a {
  padding: 15px 20px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  font-size: 16px;
  display: inline-block;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #232325;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  text-transform: none;
  font-weight: normal;
  line-height: normal;
  font-size: 16px;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block !important;
  z-index: 10;
}

.dropbtn {
  padding: 15px 20px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: normal;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
}

.bars {
  display: none;
}

/* Home Hero Container
  -------------------------------------------------------------------------- */

.home-hero {
  background: #232325;
  overflow: hidden;
  position: relative;
}

video {
  width: 100%;
  vertical-align: bottom;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(35, 35, 37, 0.4);
}

.home-hero .content-wrap {
  text-align: center;
  font-size: 2em;
  position: absolute;
  top: 15%;
  left: 50%;
  display: inline-block;
  transform: translateX(-50%);
}

/* About Hero Container
  -------------------------------------------------------------------------- */

.about-hero {
  background: linear-gradient(rgba(35, 35, 37, 0.5), rgba(35, 35, 37, 0.3)),
    url(../images/about-hero-image.jpg) no-repeat;
  background-position: center center;
}

/* Services Hero Container
  -------------------------------------------------------------------------- */

.services-hero {
  background: linear-gradient(rgba(35, 35, 37, 0.5), rgba(35, 35, 37, 0.3)),
    url(../images/services-hero-image.jpg) no-repeat;
  background-position: bottom center;
}

/* News Hero Container
  -------------------------------------------------------------------------- */

.news-hero {
  background: linear-gradient(rgba(35, 35, 37, 0.5), rgba(35, 35, 37, 0.3)),
    url(../images/news-hero-image.jpg) no-repeat;
  background-position: top center;
}

/* Contact Hero Container
  -------------------------------------------------------------------------- */

.contact-hero {
  background: linear-gradient(rgba(35, 35, 37, 0.5), rgba(35, 35, 37, 0.3)),
    url(../images/contact-hero-image.jpg) no-repeat;
  background-position: center center;
}

/* Welcome */
.welcome {
  padding: 6rem 0;
  background: #E5EDF1;
}

.welcome h2 {
  font-size: 4.5rem;
  margin-bottom: 3rem;
  color: #232325;
  font-weight: 700;
}

.welcome p {
  color: #2C4A5E;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.welcome .btn {
  font-size: 1.5rem;
  padding: 1.2rem 2.5rem;
  margin: 1.5rem 0;
  font-weight: 600;
}

.welcome-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.welcome-info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.info-box {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-8px);
}

.info-box h3 {
  font-size: 2.2rem;
  color: #232325;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.info-box p {
  font-size: 1.5rem;
  color: #232325;
  margin: 0;
  line-height: 1.8;
}

.welcome-content {
  display: inline-flex;
  align-items: flex-start;
  padding: 4rem 2rem 15rem; /* padding changed to fit my screen*/
  justify-content: space-between;
  align-items: center;
} /* changed by sarthak */

.left-column-content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 650px; /* Set fixed width to match image max-width */
  min-width: unset;
  text-align: center;
  left: 10%;
} /* changed by sarthak */

.right-column-content {
  display: flex;
  padding: 0;
  margin: 0;
  flex-direction: column;
  flex: 1; /* Takes remaining space */
  align-items: center;
  max-height: 850px;      /* keeps the text column narrow like the mock‑up */
  max-width:400% ;
  padding-left: 40px;    /* small gap from the image edge */
} /* changed by sarthak */

.welcome-img {
  position: relative;
  left: 10%;
  width: 80%; /* Make image responsive to parent */
  height: auto; /* Maintain aspect ratio */
  max-width: 650px; /* Control maximum size */
  border-radius: 50%;
  box-shadow: none;
  object-fit: cover;
  margin-bottom: 60px; /* Space between image and info boxes */
  align-self: flex-start;
}   /* changed by sarthak */

.welcome-info-boxes {
  position: absolute;
  top: 100%;
  left: 20%;
  width: 30%;
  margin-top: 0;
  display: flex;
  gap: 20px;
  align-self: flex-start;
}

.info-box {
  background-color: #E5EDF1; /* Light blue-grey background */
  border-radius: 8px;
  padding: 1px 10% 10%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #2C3E50; /* Darker text color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.info-box h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #2C3E50; /* Darker text color */
}

.info-box p {
  font-size: 1rem;
  line-height: 1.5;
  color: #96C2DB; /* Blue-grey text color */
  margin-bottom: 0;
}

.welcome h2,
.welcome p {
  align-self: flex-start;
  text-align: left; 
  color: #FFFFFF; /* White text for main headings/paragraphs */
}

.info-box p{
  text-align: center;
}/* changed by sarthak */

.welcome h2 {
  font-size: 4.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.welcome p {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Removing styles for welcome-buttons as they are no longer present */
/* The previous .welcome-buttons styles will be removed by this edit */

/* Responsive adjustments for welcome section - these will be re-added later, for now commented out */
/*
@media screen and (max-width: 1400px) {
  .welcome-content {
    max-width: 1200px;
    width: 90%;
    padding: 50px;
    gap: 70px;
  }

  .left-column-content,
  .right-column-content {
    min-width: 350px;
  }

  .welcome-img {
    width: 350px;
    height: 350px;
    margin-bottom: 50px;
  }

  .welcome-info-boxes {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
  }

  .info-box {
    padding: 25px;
  }

  .info-box h3 {
    font-size: 2rem;
  }

  .info-box p {
    font-size: 1.1rem;
  }

  .welcome h2 {
    font-size: 4rem;
  }

  .welcome p {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 1200px) {
  .welcome-content {
    max-width: 1000px;
    width: 90%;
    padding: 40px;
    gap: 60px;
  }

  .left-column-content,
  .right-column-content {
    min-width: 300px;
  }

  .welcome-img {
    width: 300px;
    height: 300px;
    margin-bottom: 40px;
  }

  .welcome-info-boxes {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .info-box {
    padding: 20px;
  }

  .info-box h3 {
    font-size: 1.8rem;
  }

  .info-box p {
    font-size: 1rem;
  }

  .welcome h2 {
    font-size: 3.5rem;
  }

  .welcome p {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 992px) {
  .welcome-content {
    flex-direction: column;
    align-items: center;
    width: 95%;
    gap: 60px;
    padding: 20px;
  }

  .left-column-content,
  .right-column-content {
    width: 100%;
    min-width: unset;
    align-items: center;
  }

  .welcome-img {
    max-width: 60%;
    height: auto;
    margin-bottom: 30px;
    align-self: center;
  }

  .welcome-info-boxes {
    grid-template-columns: 1fr;
  }

  .welcome h2,
  .welcome p {
    align-self: center;
    text-align: center;
  }

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

@media screen and (max-width: 576px) {
  .welcome h2 {
    font-size: 2.5rem;
  }
  .welcome p {
    font-size: 1.1rem;
  }

  .welcome-img {
    width: 250px;
    height: 250px;
  }

  .info-box h3 {
    font-size: 1.8rem;
  }

  .info-box p {
    font-size: 1rem;
  }
} */
/* No buttons to style for this breakpoint */

.building-img {
  padding-top: 50px;
}

.our-team h2,
.our-team p {
	padding-top: 20px;
	color: #232325;
}

.our-team h3,
.services-box h3 {
  padding-bottom: 10px;
}

.our-team p {
  margin-top: 0;
  margin-bottom: 10px;
}

.our-team .content-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 75px;
  align-items: stretch;
}

.our-team-box {
  width: 48%;
  padding: 20px;
  margin: 10px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.our-team img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  flex-shrink: 0;
  align-self: center;
}

.our-team-box .text-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.our-team-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.our-team-box .text-content p {
  margin: 0 0 10px 0;
}

.our-team-box .text-content p:last-child {
  margin-bottom: 0;
  margin-top: auto;
  text-align: center;
}

.our-team p {
  padding-top: 0;
}

.our-team h2 {
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

/* Services
  -------------------------------------------------------------------------- */

.services {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  background: #E5EDF1;
}

.services > h2 {
  margin: 0 0 2rem 0;
  padding: 2rem 0 0 0;
  text-align: center;
}

.services-grid,
.services-grid.merged-top {
  outline: none;
  background: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  width: calc(100vw - 64px);
  margin: 0 0px;
  padding: 0 20rem;
  max-width: none;
}

.service-box,
.service-box-large {
  height: 100%;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  box-sizing: border-box;
  padding: 2.5rem 2rem;
}

.services .content-wrap {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.services .box {
  flex: 1 1 300px;
  max-width: 350px;
  margin: 1rem;
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services .box h3 {
  color: #2C3E50;
  margin: 1rem 0;
}

.services .box p {
  color: #1A1A1A;
  margin: 1rem 0;
}

.services .box .fas {
  color: #2C3E50;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services a.read-more {
  color: #2C3E50;
  text-decoration: none;
  font-weight: 500;
}

.services a.read-more:hover {
  color: #1A1A1A;
  text-decoration: underline;
}

.services .btn.download {
  background-color: #2C3E50;
  color: #FFFFFF;
  margin-top: 1rem;
}

.services .btn.download:hover {
  background-color: #1A1A1A;
  color: #FFFFFF;
}

.services .box .fas,
.services-box .fas,
.col-narrow .fas {
  font-size: 60px;
}

a.btn.download {
  font-size: 10px;
  margin-top: 20px;
}

.services-box {
  width: 30%;
  text-align: center;
  border: 1px solid #fdfffc;
  padding: 20px;
  margin: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-box p {
  margin-top: 10px;
  margin-bottom: 10px;
}

.services-box p:first-of-type {
  margin-top: 0;
}

.services-box p:last-child {
  margin-bottom: 0;
  margin-top: auto;
}

/* Testimonials
  -------------------------------------------------------------------------- */

.testimonials {
  background-color: #FFFFFF;
  padding: 4rem 0;
}

.testimonials h2 {
  color: #2C3E50;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials hr {
  width: 50px;
  margin: 0 auto 2rem;
  border: none;
  border-top: 3px solid #2C3E50;
}

.testimonials-slider {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-text {
  font-size: 1.2rem;
  color: #1A1A1A;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonials-slider p:last-child {
  color: #2C3E50;
  font-weight: 500;
}

.testimonials-slider .fas {
  color: #2C3E50;
  font-size: 1.5rem;
  margin: 0 1rem;
  cursor: pointer;
}

/* Newsletter
  -------------------------------------------------------------------------- */

.newsletter {
  background-color: #E5EDF1;
  padding: 4rem 0;
}

.newsletter h2 {
  color: #2C3E50;
  text-align: center;
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form p {
  color: #1A1A1A;
  margin-bottom: 1rem;
}

.newsletter-form input[type='email'] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
}

.newsletter-form .btn {
  background-color: #2C3E50;
  color: #FFFFFF;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form .btn:hover {
  background-color: #1A1A1A;
}

/* Footer
  -------------------------------------------------------------------------- */

footer {
  background-color: #232325;
  color: #FFFFFF;
  padding: 4rem 0 2rem;
  position: relative;
}

footer .content-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer .box {
  width: 25%;
  padding: 0 1rem;
  box-sizing: border-box;
}

footer h3 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

footer p {
  color: #CCCCCC;
  margin-bottom: 0.5rem;
}

footer a {
  color: #CCCCCC;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #FFFFFF;
}

footer .social-media a {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

footer .social-media .fas {
  margin-right: 0.5rem;
  width: 20px;
}

footer .social-media-name {
  margin-left: 0.5rem;
}

footer .social-media-name.linkedin {
  margin-left: 0.3rem;
}

footer .social-media-name.facebook {
  margin-left: 0.3rem;
}

footer .social-media-name.instagram {
  margin-left: 0.3rem;
}

footer .credit {
  text-align: center;
  margin-top: 2rem;
  color: #CCCCCC;
}

footer .credit a {
  color: #FFFFFF;
}

footer .credit + p {
  font-size: 12px;
}

footer .btn {
  position: absolute;
  bottom: 30px;
  right: 50px;
  border-radius: 2px;
}

/* Media Queries
  -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .col-narrow {
    width: 40%;
    float: left;
    margin-right: 30px;
  }

  .col-wide {
    width: calc(60% - 10px);
    float: left;
    padding-left: 0;
  }
}

@media (max-width: 899px) {
  h1 {
    font-size: 30px;
  }

  h2,
  h3 {
    font-size: 0.8em;
  }

  .home-hero p {
    font-size: 0.4em;
  }

  p {
    font-size: 14px;
  }

  nav a {
    float: left;
    width: 100%;
    padding: 0;
    text-align: left;
  }

  .bars {
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
  }

  .topnav a {
    display: none;
  }

  .responsive a {
    display: block;
    text-align: left;
    border-bottom: 1px solid #232325;
  }

  .responsive a:last-of-type {
    border-bottom: none;
  }

  .services .box {
    display: block;
    width: 100%;
    padding-bottom: 50px;
  }

  .services-box {
    display: block;
    width: 90%;
    text-align: center;
    min-height: 0px;
  }

  .latest-news .box {
    display: block;
    width: 100%;
    padding-bottom: 50px;
  }

  .newsletter input[type='email'],
  .newsletter button {
    display: block;
    width: 100%;
    text-align: center;
  }

  footer .box {
    display: block;
    width: 100%;
    text-align: center;
  }

  footer {
    padding-bottom: 50px;
  }
}
/* Style for the buttons container */
.welcome-buttons {
  display: flex;
  flex-direction: row; /* Buttons side-by-side */
  gap: 1rem;
  margin-top: 2rem;
  align-self: flex-end; /* Align the button container to the right */
  justify-content: flex-end; /* Align buttons to the right within their container */
}

/* New button styles based on theme */
.btn-primary {
  background-color: #FFFFFF;
  color: #96C2DB;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #E5EDF1;
  color: #2C3E50;
}

.btn-secondary-outline {
  background-color: transparent;
  color: #FFFFFF;
  padding: 12px 24px;
  border: 2px solid #FFFFFF;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-secondary-outline:hover {
  background-color: #FFFFFF;
  color: #96C2DB;
}

/* Add a container for the hero section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Welcome Section
  -------------------------------------------------------------------------- */

.welcome-section {
  background-color: #96C2DB;
  min-height: 100vh; /* Make the section take full viewport height */
  padding: 4rem 2rem; /* Re-add padding for overall section spacing */
  color: #FFFFFF;
  display: flex; /* Make it a flex container */
  flex-direction: column; /* Stack its child (.welcome-container) vertically */
  align-items: center; /* Center its child horizontally */
  justify-content: center; /* Center content vertically within the section */
}

.welcome-container {
  width: calc(100vw - 64px);
  margin: 0 1000px;
  padding: 0 20rem;
  max-width: none;
  display: flex;
  flex-direction: column;
}

.welcome-main-content {
  /* DEBUG */
  outline: 4px solid blue;
  background: rgba(0,0,255,0.05);
  /* END DEBUG */
  max-width: 100vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  margin-bottom: 2rem;
}

.welcome-left-column {
  display: flex;
  flex-direction: column; /* Stack image and stats vertically */
  align-items: center; /* Center items within the left column */
  gap: 2rem; /* Space between image and stats */
  flex-shrink: 0;
  width: 400px; /* Fixed width for the image column */
}

.welcome-right-column {
  /* DEBUG */
  outline: 4px solid green;
  background: rgba(0,255,0,0.05);
  /* END DEBUG */
  flex-grow: 1;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.welcome-image-wrapper {
  width: 400px;
  height: 400px;
}

.welcome-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.welcome-content-wrapper {
  flex-grow: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.welcome-content-wrapper h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.welcome-content-wrapper p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.welcome-buttons {
  display: flex;
  flex-direction: row; /* Buttons side-by-side */
  gap: 1rem;
  margin-top: 2rem;
  align-self: flex-end; /* Align the button container to the right */
  justify-content: flex-end; /* Align buttons to the right within their container */
}

.welcome-buttons .btn {
  display: inline-block;
  padding: 1rem 2rem;
  min-width: 200px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 25px; /* More rounded corners */
  transition: all 0.3s ease;
  background-color: #FFFFFF; /* White background */
  color: #2c3e50; /* Dark text color */
  border: 1px solid #96C2DB; /* Subtle border matching section background */
}

.welcome-buttons .btn:hover {
  background-color: #e0e0e0; /* Slightly darker on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.welcome-stats {
  display: flex;
  justify-content: space-between; /* Distribute items evenly */
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.stat-box {
  background-color: #FFFFFF;
  padding: 20px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: #232325;
  flex-grow: 0; /* Prevent growing */
  flex-shrink: 0; /* Prevent shrinking */
  width: 190px; /* Explicit fixed width for consistent sizing */
  /* Removed flex-basis and max-width from here */
}

.stat-box h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #232325;
}

.stat-box p {
  font-size: 1rem;
  margin: 0;
  color: #232325;
}

@media (max-width: 992px) {
  .welcome-main-content {
    flex-direction: column; /* Stack columns vertically on smaller screens */
    align-items: center; /* Center the stacked columns */
    gap: 30px;
  }

  .welcome-left-column {
    width: 100%;
    align-items: center;
  }

  .welcome-right-column {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .welcome-image-wrapper {
    width: 300px;
    height: 300px;
  }

  .welcome-stats {
    justify-content: center;
  }

  .stat-box {
    width: calc(50% - 10px); /* 2 columns on medium screens */
    max-width: 250px; /* Max width for these screens */
    /* Removed flex-basis: auto; as width takes precedence */
  }

  .welcome-buttons {
    flex-direction: column; /* Stack buttons vertically on smaller screens */
    align-self: center;
    justify-content: center;
  }

  .welcome-buttons .btn {
    min-width: 250px; /* Make buttons wider when stacked */
  }
}

@media (max-width: 576px) {
  .welcome-section {
    padding: 3rem 0;
  }

  .welcome-image-wrapper {
    width: 250px;
    height: 250px;
  }

  .welcome-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    width: 100%; /* Full width on small screens */
    max-width: none; /* No max-width when full width */
    /* Removed flex-basis: auto; as width takes precedence */
  }
}

.services-grid.merged-top {
  /* DEBUG */
  outline: 4px solid purple;
  background: rgba(128,0,128,0.05);
  /* END DEBUG */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "large large"
    "left right";
  gap: 2.5rem;
  width: calc(100vw - 64px);
  margin: 0 0px;
  padding: 0 20rem;
  max-width: none;
  height: 100%;
  align-items: stretch;
}
.service-box-large {
  grid-area: large;
  min-height: 220px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #186ab320;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  min-height: 0;
}
.service-box-large h3 {
  font-size: 2.3rem;
}
.services-grid.merged-top .service-box:nth-child(2) {
  grid-area: left;
}
.services-grid.merged-top .service-box:nth-child(3) {
  grid-area: right;
}
@media (max-width: 900px) {
  .services-grid.merged-top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "left"
      "right";
    gap: 1.5rem;
  }
  .service-box-large {
    padding: 2rem 1.2rem;
    min-height: 180px;
  }
  .service-box-large h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 900px) {
  .services {
    min-height: unset;
  }
  .services-grid.merged-top {
    height: auto;
  }
  .service-box-large,
  .services-grid.merged-top .service-box {
    height: auto;
  }
}

/* --- Services Section 2x2 Grid (Inspired by About/Welcome Section) --- */
.services-section {
  background: #E5EDF1;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100vw;
  min-height: 100vh;
}
.services-section h2 {
  font-size: 3rem;
  color: #232325;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
}
.services-grid-2x2 {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2.5rem;
  width: calc(100vw - 64px);
  margin: 0 1000px;
  padding: 0 20rem;
  max-width: none;
  outline: 3px solid red; /* DEBUG: visualize grid area */
  align-items: stretch;
  min-height: 0;
  height: 100%;
}
.services-grid-2x2 .service-square {
  height: 100%;
}
.services-grid-2x2 .service-square:first-child {
  grid-column: 1 / span 2;
}
.service-square {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(44,74,94,0.10);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #232325;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  min-height: 0;
}
.service-square:hover {
  box-shadow: 0 8px 24px rgba(44,74,94,0.18);
  transform: translateY(-4px);
}
.service-square h3 {
  font-size: 1.5rem;
  color: #232325;
  margin-bottom: 1rem;
  font-weight: 600;
}
.service-square p {
  color: #2C4A5E;
  font-size: 1.1rem;
  margin: 0;
}
@media (max-width: 700px) {
  .services-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.services-grid-2x2 > .service-square:first-child {
  display: flex;
  flex-direction: row;
  height: 100%;
}
.services-grid-2x2 .service-square-left,
.services-grid-2x2 .service-square-right {
  flex: 1 1 0;
  box-sizing: border-box;
  height: 100%;
}

.financial-suite-content {
  outline: 2px solid blue;
  flex: 1 1 0;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 2.5rem;
  text-align: left;
}
.financial-suite-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: #232325;
}
.financial-suite-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #2C4A5E;
  margin: 0;
}

