

body {
  font-family: Arial, sans-serif;
  background-color: #F2F2F2;
  color: #2C3E50;
  margin: 0;
  padding: 0;
}

.banner-wrapper {
  aspect-ratio: 13360 / 1211; /* Use your image's actual aspect ratio */
  width: 100%;
  overflow: hidden;
  position: relative;
}
.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Overlay text */
.banner-text {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', Arial, sans-serif; /* <-- Change here */
    font-size: 10em;
    color: #E9F2F5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    z-index: 10;
}
/* Responsive adjustments */
@media (max-width: 14000px) {
  .banner-text {
    font-size: 5em;
    right: 3%;
  }
}
header {
  background-color: #003B5C;
  color: white;
  padding: 1em;
  text-align: center;
}
.linkedin-btn {
  background-color: #0077B5; /* LinkedIn blue */
  color: #fff !important;
  padding: 0.5em 1.2em;
  border-radius: 24px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,119,181,0.15);
  border: none;
}
.linkedin-btn:hover, .linkedin-btn:focus {
  background-color: #005983;
  color: #fff;
  text-decoration: none;
}
.linkedin-btn img {
  height: 1em;
  vertical-align: middle;
  margin-right: 0.4em;
}
nav a {
  margin: 0 1em;
  color: #66B2E4;
  text-decoration: none;
}
h2.projects-title {
  color: #66B2E4;
  background-color: #2C3E50;
  padding: 0.5em;
}
section {
  padding: 2em;
}
.about-services-split {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  background: #F2F2F2;
  padding: 2em 0;
}
.about-left, .services-right {
  flex: 1 1 300px;
  min-width: 280px;
  background: #fff;
  padding: 2em;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
}
.services-right img {
  display: block;
  max-width: 1200px;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
/* Responsive for mobile */
@media (max-width: 400px) {
  .about-services-split {
    flex-direction: column;
    gap: 1em;
  }
}
.about-left p {
  font-size: 1.3em; /* Increase as needed */
  line-height: 1.6;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  width: 100%;
  white-space: nowrap;
  background-color: #005C99;
  color: #F2F2F2;
  padding: 0; /* Removed padding to eliminate left-side gap */
  margin: 0;  /* Ensure no margin pushes content inward */
}
.carousel-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 33.33%;
  box-sizing: border-box;
  padding: 1em;
}
.carousel-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.carousel-item p {
  white-space: pre-line;
  line-height: 1.0;
  max-height: 8em;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #F2F2F2;
}
.carousel-item p span {
  font-weight: bold;
  font-size: 1.2em;
  color: #E9F2F5;
  display: block;
  margin-bottom: 0.5em;
}
/* 📱 Mobile responsiveness */
@media (max-width: 600px) {
  .carousel-item {
    width: 100%;
    padding: 0.5em;
  }
  .carousel-container {
    padding: 0; /* Ensure no padding on mobile either */
    margin: 0;
  }
  .carousel-item p {
    max-height: none;
    overflow: visible;
  }
  .services-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.contact-photo {
  width: 20vw;      /* 20% of the viewport width */
  max-width: 20%;   /* 20% of the parent container */
  height: auto;     /* Maintain aspect ratio */
  border-radius: 8px;
  display: block;
  margin: 0 auto;   /* Optional: center the image */
}
}
