* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
	
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

section {
  scroll-margin-top: 70px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
header {
  background: #222;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0; 
  z-index: 2;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-icon {
  height: 1.5em;       /* Matches text height */
  width: auto;         /* Keeps aspect ratio */
  vertical-align: middle; /* Aligns with text baseline */
  margin-right: 0.5rem;    /* Space between icon and text */
  filter: brightness(0) invert(1); /* Makes dark PNG appear white */
}
.logo {
  font-size: 1.8rem;
}
nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
  margin-left: 0.75rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #fff;           /* matches your dark header */
  transition: transform 200ms ease, opacity 200ms ease;
}

.features {
  padding: 4rem 0;
}
.features .cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.my-carousel {
  position: relative;
  width: 100vw;
  height: 500px;
  overflow: hidden;
  margin: 0 auto;
 
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

  
.text-shadow {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.card {
  flex: 1;
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 250px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

footer {
  text-align: center;
  padding: 2rem 0;
  background: #222;
  color: white;
}
.features-section {
  background: #f7f7f7;
  padding: 4rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.feature-block {
  margin-bottom: 3rem;
}

.feature-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #800000;
  margin-bottom: 1rem;
}

.feature-block ul {
	font-family: 'Inter', sans-serif;
  list-style: disc;
  padding-left: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
/*new css*/


.hero-section {
  display: flex;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-left {
  background: linear-gradient(135deg, #dbeaff, #b3d4ff)!important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.hero-text-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  color: black;
  
  
  padding: 3rem 2.5rem;
  border-radius: 12px;
  
  max-width: 90%;
  width: 100%;
  max-width: 400px;
  animation: fadeSlideIn 1.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-contact-button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: #0d47a1;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.2s ease;
}
.hero-contact-button:hover {
  background: #09357d;
  transform: translateY(-2px);
}


.hero-box {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 90%;
  text-align: center;
}

.hero-text-box h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;   /* deep charcoal */
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-text-box p {
  color: #555555;   /* warm medium gray */
  font-size: 1.1rem;
  line-height: 1.5;
}


.hero-button {
  display: inline-block;
  padding: 1rem;
  background: #0d47a1;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background: #0d47a1;
}

.hero-right {
  flex: 2;
  position: relative;
  height: 600px;
  width: 100%;
  overflow: hidden;
}

.carousel-images {
  display: flex;
  height: 100%;
  object-fit: cover;
  transition: transform 3s ease-in-out;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 1024px) {


 .hero-section {
    flex-direction: column;
    height: auto;
  }


  .hero-left {
    height: auto;              /* Let it shrink to fit content */
    padding: 2rem 1.5rem;
  }
  .hero-right {
    width: 100%;
    height: auto;
  }

  .hero-text-box {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
    border-radius: 0;
    text-align: center;          /* 👈 Make text align to left */
    align-items: center;   /* 👈 Align inner flex to left */
	
  }

  .hero-text-box h2,
  .hero-text-box p {
    width: 100%;  
  }
  

  .hero-contact-button {
    align-self: center;    /* 👈 Button aligns left too */
  }

  .carousel-images img {
    height: auto;
    max-height: 300px;
    width: 100%;
  }
  header {
    padding: 0.5rem 0; /* Less top/bottom padding */
  }

  .logo {
    font-size: 1.2rem; /* Smaller logo text */
  }

  nav a {
    margin-left: 0.5rem; /* Less spacing between links */
    font-size: 0.9rem; /* Slightly smaller link text */
  }

  .nav-toggle span {
    width: 22px; /* Slightly smaller hamburger icon */
    height: 2px;
  }
}
}
@media (max-width: 600px) {
  .hero-text-box h2 {
    font-size: 1.4rem;
  }
  

  .hero-text-box p {
    font-size: 0.95rem;
  }

  .hero-contact-button {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }
}
/* new contact and map */
.contact {
  padding: 4rem 2rem;
  background: #eee;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #222;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin: 0.5rem 0;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  display: inline-block;
  padding: 1rem;
  background: #0d47a1;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.contact-form button:hover {
  background: #09326d;
}

.contact-map {
  flex: 1;
  min-height: 400px;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* Responsive behavior */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-map {
    height: 300px;
  }
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
  margin-left: 0.75rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #fff; /* matches your dark header */
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Mobile: collapse into dropdown */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  /* keep header layout intact */
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* create positioning context for dropdown */
  }

  /* dropdown panel (hidden by default) */
  #site-nav {
    position: absolute;
    top: 100%;     /* sits directly below header */
    left: 0;
    right: 0;
    display: none; /* closed by default */
    flex-direction: column;
    background: #222;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 1rem;
    z-index: 10;
  }

  #site-nav a {
    display: block;
    padding: 0.75rem 0.25rem;
    color: white;
    text-decoration: none;
  }

  /* opened state toggled by JS */
  header.menu-open #site-nav { display: flex; }

  /* prevent logo from squishing */
  .logo { margin-right: auto; }
}

/* Desktop stays as you already have it */
@media (min-width: 769px) {
  #site-nav { display: flex; gap: 1.25rem; align-items: center; }
}
@media (min-width: 1200px) {
  /* Full-screen desktop styles here */
.hero-text-box h2::after {
  content: "";
  display: block;
  width: 50%;           /* matches the width of the text */
  height: 4px;
  background: #0d47a1;
  margin-top: 0.5rem;
  border-radius: 2px;
}
.hero-left {
  border-right: 3px solid #ccc;
}
}
/* Offices Page Layout */
.office-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.office-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.office-block {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.office-text {
  flex: 1;
  min-width: 250px;
}

.office-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.office-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.office-images {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.office-images::-webkit-scrollbar {
  height: 6px;
}

.office-images::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.office-images img {
  flex-shrink: 0;
  width: 90%;              /* take up most of the scroller width */
  max-width: 600px;        /* prevent it from being too huge on big screens */
  height: 350px;           /* taller for better visibility */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
  margin: 0 auto;          /* center image horizontally */
}

.office-images img:hover {
  transform: scale(1.03);
}
@media (max-width: 768px) {
  .office-block {
    flex-direction: column;     /* stack */
    align-items: stretch;
  }

  .office-text {
    width: 100%;
    margin-bottom: 0.75rem;
    text-align: left;           /* keep copy left-aligned */
  }

  .office-images {
    flex: none;
    width: 100%;
    /* horizontal scroller that snaps one image mostly at a time */
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 12px;
    overflow-x: auto;
    padding: 0.25rem 0;
    scroll-snap-type: x mandatory;
  }

  .office-images img {
    width: 100%;
    max-width: none;
    height: 260px;              /* big on mobile */
    object-fit: cover;
    border-radius: 12px;
    scroll-snap-align: center;  /* stop centered on each image */
  }

  
}
/* Phones (small and large) */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  nav a {
    margin-left: 0.5rem;
    font-size: 0.95rem;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
  }
}

/* Extra small screens (super compact view) */
@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  nav a {
    font-size: 0.85rem;
  }
}
.view-map-btn {
  position: absolute;
  top: 60px;         /* desktop position */
  left: 10px;
  z-index: 10;
  background: #fff;
  color: black;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: bold;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .view-map-btn {
    top: 20px;      /* move higher up for mobile */
    left: 10px;
    font-size: 0.8rem;  /* slightly smaller if needed */
    padding: 6px 10px;  /* tighten spacing */
  }
}
/* Mobile override */
@media (max-width: 768px) {
  .hero-left {
    min-height: 20vh;   /* shorter hero on mobile */
    padding: 1.5rem 1rem; /* add some breathing room */
  }

  .hero-text-box h2 {
    font-size: 1.6rem;  /* scale text down */
  }

  .hero-text-box p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Mobile override */
@media (max-width: 768px) {
  .hero-contact-button {
    margin-top: 2.5rem;   /* push it down */
    font-size: 0.95rem;   /* slightly smaller if needed */
    display: inline-block;
  }
}