

/* Reset and basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #111;
}

body {
  background-color: #fff;
  line-height: 1.6;
  font-size: 16px;
}

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

a:hover,
a:focus {
  color: #0071e3; /* Apple blue */
  outline: none;
}

/* Header */

header {
  background-color: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1000;

}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #111;
  cursor: pointer;
}

/* Navigation */

.main-nav {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  position: relative;
}

/* Dropdown Container */

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

/* Dropdown toggle button */

.dropbtn {
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: #111;
  padding: 0.5rem 0;
  display: inline-block;
}

/* Primary dropdown menu */

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.5rem 0;
  top: 100%;
  left: 0;
  z-index: 1000;
}

/* Dropdown links */

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #111;
  font-weight: 500;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background-color: #f5f5f7;
  color: #0071e3;
  outline: none;
}

/* Show dropdown on hover */

.dropdown:hover > .dropdown-content,
.dropdown:focus-within > .dropdown-content {
  display: block;
}

/* Submenu container */

.dropdown-submenu {
  position: relative;
}

/* Submenu toggle link */

.dropdown-submenu > a {
  padding-right: 1.75rem;
  position: relative;
  cursor: pointer;
  display: block;
  font-weight: 500;
  color: #111;
}

.dropdown-submenu > a::after {
  content: "▸";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #666;
  pointer-events: none;
  user-select: none;
}

/* Submenu dropdown content */

.dropdown-content-submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 0.25rem 0;
  z-index: 1100;
font-size: 0.9rem;
}

/* Show submenu on hover */

.dropdown-submenu:hover > .dropdown-content-submenu,
.dropdown-submenu:focus-within > .dropdown-content-submenu {
  display: block;
}

/* Submenu links */

.dropdown-content-submenu a {
  padding: 0.75rem 1.5rem;
  color: #111;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.dropdown-content-submenu a:hover,
.dropdown-content-submenu a:focus {
  background-color: #f5f5f7;
  color: #0071e3;
  outline: none;
}

/* Other nav links */

.main-nav > a {
  font-weight: 600;
  padding: 0.5rem 0;
  display: inline-block;
  color: #111;
  transition: color 0.3s ease;
}

.main-nav > a:hover,
.main-nav > a:focus {
  color: #0071e3;
  outline: none;
}

/* Responsive Nav */

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    gap: 0;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none;
  }

  /* You can add hamburger menu functionality separately */

  .dropdown-content,
  .dropdown-content-submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: auto;
    padding-left: 1rem;
  }

  .dropdown-submenu > a::after {
    display: none;
  }
}

/* --------------------- */
/* Contact Page Styles - preserved from previous version */
/* --------------------- */

.contact-container {
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  padding: 0 1.5rem;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #111;
}

.contact-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: #444;
}

.contact-form {
  background-color: #fafafa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #0071e3;
  outline: none;
  background-color: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #0071e3;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: #005bb5;
  outline: none;
}




/* Add spacing to bottom of footer text */
footer p {
  margin-top: 0.5rem;
  color: #777;
}

/* Carousel Container */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 3rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Track: flex row, smooth slide */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each slide fills 100% of container */
.carousel-slide {
  flex: 0 0 100%; /* makes each slide take full width */
  box-sizing: border-box;
}

/* Images: fixed height, no warping */
.carousel-slide img {
  width: 100%;
  height: 500px;   /* adjust for your design */
  object-fit: cover;
  display: block;
}

/* Mobile-friendly adjustment */
@media (max-width: 768px) {
  .carousel-slide img {
    height: 300px;
  }
}


/* Buttons styling */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: #333;
  font-size: 24px;
  line-height: 38px;
  text-align: center;
  transition: background 0.3s ease;
  user-select: none;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.carousel-button:hover {
  background: rgba(255,255,255,0.95);
}

.carousel-button-left {
  left: 10px;
}

.carousel-button-right {
  right: 10px;
}

.carousel-nav {
  text-align: center;
  margin-top: 15px;
}

.carousel-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-indicator:hover,
.carousel-indicator.current-slide {
  background-color: #333;
}
.carousel-nav {
  text-align: center;
  margin-top: 15px;
}

.carousel-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-indicator:hover,
.carousel-indicator.current-slide {
  background-color: #333;
}

.carousel img {
  width: 100%;
  max-width: 100%;
  max-height: 500px; /* adjust as needed */
  object-fit: cover; /* crop if image exceeds size */
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.center-heading {
  text-align: center;
  font-size: 2.2rem;      /* Slightly bigger text */
  font-weight: 600;       /* Semi-bold, but not too heavy */
  line-height: 1.4;       /* Improves readability */
  margin: 40px auto 20px; /* Centered spacing */
  max-width: 900px;       /* Keeps it from stretching too wide */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: transparent; /* removed black */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;          /* space between logo and text */
  text-decoration: none;
}

.logo-img {
  height: 40px;       /* adjust logo size */
  width: auto;
}

.logo-text {
  color: #222;        /* dark gray text for visibility */
  font-size: 1.2rem;
  font-weight: bold;
}

.main-nav a {
  color: #222;        /* nav links color */
  text-decoration: none;
  margin-left: 20px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9; /* light dropdown background */
  min-width: 200px;
  z-index: 1;
}

.dropdown-content a {
  color: #222;
  padding: 8px 12px;
  display: block;
  text-decoration: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.content-wrapper {
  max-width: 1000px;   /* limit text width for readability */
  margin: 0 auto;      /* center content horizontally */
  padding: 0 20px;     /* spacing on left and right */
}

.center-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;         /* dark gray for readability */
}

.content-wrapper p {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;         /* slightly lighter than heading for contrast */
}

.sleek-list {
  display: flex;
  justify-content: space-between;  /* equal spacing between columns */
  max-width: 900px;
  margin: 0 auto;                  /* center on page */
  padding: 20px;
  gap: 40px;                        /* space between columns */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.column ul {
  list-style: none;                 /* remove default bullets */
  padding: 0;
  margin: 0;
}

.column li {
  position: relative;
  padding: 12px 15px 12px 25px;     /* space for bullet and padding */
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #222;
  background-color: #f9f9f9;        /* subtle background */
  border-radius: 6px;               /* rounded corners for card feel */
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  cursor: default;
}

.column li::before {
  content: '•';                      /* custom bullet */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #0077b6;                    /* accent color */
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.3s ease;
}

/* Hover Effects */
.column li:hover {
  transform: translateX(5px);        /* subtle slide right */
  color: #0077b6;                    /* text color change */
  background-color: #e0f0ff;         /* subtle highlight on hover */
}

.column li:hover::before {
  color: #023e8a;                    /* darker bullet on hover */
}

.container-with-margins {
  max-width: 900px;       /* optional: limits content width */
  margin: 0 auto;         /* centers container */
  padding: 0 20px;        /* adds left and right margins */
  line-height: 1.6;       /* improves readability */
}

.service-subtitle {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-images {
  display: flex;
  justify-content: space-between;   /* evenly space images */
  gap: 15px;                        /* space between images */
  max-width: 1200px;                /* allows wider images */
  margin: 20px auto;                /* center horizontally */
}

.service-images img {
  flex: 1;                           /* each image takes equal width */
  max-width: 24.5%;                  /* slightly larger width */
  height: 300px;                     /* taller images */
  object-fit: cover;                  /* crop to fill area */
  border-radius: 6px;                 /* optional rounded corners */
  display: block;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown button */
.dropbtn {
  cursor: pointer;
  padding: 10px 15px;
  display: inline-block;
  color: #222;
  text-decoration: none;
}

/* Hide submenu by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 10px 0;
  border-radius: 6px;
}

/* Show submenu on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Submenu items */
.dropdown-content-submenu a {
  display: block;
  padding: 8px 20px;
  color: #222;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content-submenu a:hover {
  background-color: #0077b6;
  color: #fff;
}

/* Group headings styling */
.dropdown-content-submenu strong {
  display: block;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0077b6;
  border-bottom: 1px solid #e0e0e0;
  margin: 5px 0 8px 0;
}

/* Optional: spacing between groups */
.dropdown-content-submenu strong + a {
  margin-top: 5px;
}

/* Mobile-friendly dropdown toggle */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }

  .dropdown-content-submenu {
    display: none;
    flex-direction: column;
  }

  .dropdown.active .dropdown-content-submenu {
    display: flex;
  }
}

.with-margins {
  margin-left: 60px;   /* increased left margin */
  margin-right: 60px;  /* increased right margin */
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Optional: For larger screens, you can center and limit width */
@media (min-width: 1024px) {
  .with-margins {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

.center-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px; /* optional: limits width for readability */
}

.indented-section {
  padding-left: 30px;   /* adds subtle indentation from the left */
  max-width: 800px;     /* optional: limits width for better readability */
  margin-right: auto;   /* optional: keeps section aligned nicely */
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

.service-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}

.service-images img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-images img:hover {
  transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox.active {
  display: flex;
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

header .header-inner {
  padding-top: 1px;   /* increase vertical space at the top */
  padding-bottom: 1px; /* increase vertical space at the bottom */
}

.logo-text {
  font-size: 1.4rem;  /* bigger than before */
  font-weight: bold;
}

.main-nav a {
  font-size: 1.15rem;  /* bigger navigation links */
}


/* Hide nav by default on small screens */
.main-nav {
  display: none;
}

/* Show toggle button on small screens */
.menu-toggle {
  display: block;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Show nav when active */
.main-nav.active {
  display: block;
}

/* Submenus hidden by default on mobile */
.dropdown-content,
.dropdown-content-submenu {
  display: none;
}

/* Expand submenu when parent is active */
.dropdown-submenu.active > .dropdown-content-submenu {
  display: block;
}

/* Desktop media query */
@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
  .dropdown-content,
  .dropdown-content-submenu {
    display: none; /* original hover behavior remains */
  }
  .dropdown:hover > .dropdown-content,
  .dropdown-submenu:hover > .dropdown-content-submenu {
    display: block;
  }
}

footer {
  background-color: #f5f5f7;
  padding: 2rem 2rem;
  margin-top: 4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #555;
  border-top: 1px solid #e6e6e6;
}

.footer-contacts {
  display: flex;
  justify-content: space-between; /* push cards to edges */
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* allow stacking on mobile */
}

.footer-card {
  flex: 0 0 45%; /* takes ~half width each */
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.footer-card h4 {
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: #111;
}

.footer-card p {
  margin: 4px 0;
  font-size: 0.95rem;
  word-break: break-word;
}

.footer-copy {
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  margin-top: 1rem;
}

/* Mobile view */
@media (max-width: 768px) {
  .footer-contacts {
    flex-direction: column;
    align-items: center;
  }

  .footer-left, .footer-right {
    text-align: center;
    width: 100%;
  }

  .footer-card {
    margin-bottom: 1.5rem;
  }
}

.contact-sections {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: #333;
}

/* Layout */
.contact-sections {
  display: flex;
  justify-content: center; /* centers the cards */
  gap: 40px; /* space between boxes */
  margin: 40px 20px; /* space from left and right edges */
  flex-wrap: wrap; /* wrap on small screens */
}

.contact-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

/* Bounce hover effect */
.contact-card:hover {
  transform: translateY(-10px) scale(1.05);
}

/* Card content */
.contact-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: #333;
  flex-shrink: 0;
}

.contact-item a {
  color: #333;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Reset & basic */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f5f5f5;
  color: #333;
}

header, footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Reset & basic */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f5f5f5;
  color: #333;
}

header, footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ---------------- TIMELINE & BUBBLES ---------------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f4f8;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 40px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

/* Dropdowns */
.dropdown, .dropdown-submenu {
  position: relative;
}

.dropdown-content, .dropdown-content-submenu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px;
  top: 100%;
  left: 0;
  z-index: 500;
}

.dropdown:hover > .dropdown-content,
.dropdown-submenu:hover > .dropdown-content-submenu {
  display: block;
}

.dropdown-content a,
.dropdown-content-submenu a {
  display: block;
  padding: 6px 10px;
  color: #222;
}

.dropdown-content a:hover,
.dropdown-content-submenu a:hover {
  background: #f0f4f8;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-nav.active {
    display: flex;
  }

  .dropdown-content, .dropdown-content-submenu {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
  }
}

main {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.2rem;
  color: #222;
}


















<style>
  /* --- Base Styles --- */
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f7f7f7;
    color: #111;
    margin:0;
  }
  h1 { font-weight:600; text-align:center; color:#111; margin-top:40px; font-size:2.5rem; }

  /* --- Timeline Styles --- */
  .timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 120px auto 100px;
    padding: 0 20px;
  }

  .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    border-radius: 3px;
    transform: translateX(-50%);
    background: #111;
    z-index: -1;
    height: 0;
    transition: height 0.5s ease-out;
  }

  .timeline-item {
    position: relative;
    width: 100%;
    margin: 140px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .timeline-item.show { opacity:1; transform: translateY(0); }

  .bubble {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .bubble:hover { transform: scale(1.15); box-shadow: 0 15px 35px rgba(0,0,0,0.35); }
  .bubble .timeline-year { background: rgba(0,0,0,0.45); padding: 10px 16px; border-radius: 12px; }

  .content {
    max-width: 320px;
    font-size: 1rem;
    color: #333;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

  .timeline-item.left .content {
    order: -1;
    text-align: right;
    transform: translateX(-200px);
    margin: 0 150px 0 0;
  }

  .timeline-item.right .content {
    order: 1;
    text-align: left;
    transform: translateX(200px);
    margin: 0 0 0 150px;
  }

  .timeline-item.show .content { transform: translateX(0); }

  @media (max-width:768px) {
    .timeline-item { flex-direction: column; margin: 100px 0; }
    .timeline-item.left .content,
    .timeline-item.right .content {
      order: 1;
      text-align: center;
      transform: translateX(0);
      margin: 30px 0 0;
    }
    .content { margin: 20px 0 0; }
  }

  /* --- Header & Menu Styles --- */
  .menu-toggle { display: none; font-size:2rem; background:none; border:none; cursor:pointer; }
  .main-nav { display:flex; flex-wrap:wrap; }
  .dropdown-content, .dropdown-content-submenu { display:none; position:absolute; background:#fff; padding:10px; box-shadow:0 8px 16px rgba(0,0,0,0.2); }
  .dropdown-submenu { position: relative; }
  .dropdown:hover > .dropdown-content, .dropdown-submenu:hover > .dropdown-content-submenu { display:block; }

  @media(max-width:768px) {
    .menu-toggle { display:block; }
    .main-nav { display:none; flex-direction:column; width:100%; }
    .main-nav.active { display:flex; }
    .dropdown, .dropdown-submenu { width:100%; }
    .dropdown-content, .dropdown-content-submenu { position:relative; display:none; flex-direction:column; padding-left:1rem; box-shadow:none; }
  }
</style>





/* =======================
   Base Styles
======================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  padding: 10px 15px;
  display: block;
}

.main-nav a:hover {
  background: #f0f0f0;
}

/* =======================
   Menu & Dropdowns
======================= */
.main-nav {
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Dropdown base */
.dropdown, .dropdown-submenu {
  position: relative;
}

.dropdown-content, .dropdown-content-submenu {
  position: absolute;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
}

/* Main dropdown opens below parent */
.dropdown-content {
  top: 100%;
  left: 0;
}

/* Submenus open to the right */
.dropdown-content-submenu {
  top: 0;
  left: 100%;
}






.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px; /* Adjust as needed for desired size */
  width: auto;
  margin-right: -15px; /* Reduced spacing between logo and text */
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-text .line:first-child {
  font-size: 34px;      /* Larger for "JONIAN" */
  font-weight: 800;      /* Bold */
  letter-spacing: 2px;   /* Subtle spacing for balance */
  color: #000;
  text-transform: uppercase;
}

.logo-text .line:last-child {
  font-size: 14px;       /* Smaller for "DEVELOPMENT" */
  font-weight: 400;      /* Normal weight */
  letter-spacing: 3.8px;   /* Slightly wider to match width of "JONIAN" */
  color: #000;
  text-transform: uppercase;
  margin-top: -3px;      /* Pull closer to top line */
 margin-left: 5px; /* 👈 shift left — adjust this value as needed */
}


/* --- Mobile: keep content over the timeline line --- */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: row; /* keep items side by side */
    justify-content: center;
    align-items: flex-start;
    margin: 120px 0;
  }

  .timeline-item.left .content,
  .timeline-item.right .content {
    order: 0;
    text-align: center;
    transform: translateX(0);
    margin: 0 20px;
    max-width: 250px; /* smaller on mobile */
  }

  .bubble {
    width: 180px;
    height: 180px;
  }

  .timeline-node {
    transform: translateX(-50%) translateY(-30px);
  }
}


/* --- Mobile: keep content readable over timeline line --- */
@media (max-width: 768px) {

  .timeline-item {
    flex-direction: column; /* keep column for small screens */
    align-items: center;
    margin: 120px 0;
  }

  .timeline-item .content {
    max-width: 90%;
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 3; /* above the timeline line */
    background: rgba(255, 255, 255, 0.95); /* light box behind text */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .bubble {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
  }

  .timeline-node {
    transform: translateX(-50%) translateY(-30px);
  }
}



/* --- Mobile dropdown/submenu vertical accordion --- */
@media (max-width: 768px) {

  /* All dropdowns full width */
  .dropdown, .dropdown-submenu {
    width: 100%;
  }

  /* Hide submenus by default */
  .dropdown-content,
  .dropdown-content-submenu {
    display: none;
    position: relative;
    left: 0;
    top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fff; /* match menu background */
    box-shadow: none; /* remove desktop shadow */
    border-radius: 0;
  }

  /* Show submenu when parent has .active */
  .dropdown.active > .dropdown-content,
  .dropdown-submenu.active > .dropdown-content-submenu {
    display: block;
    max-height: 1000px; /* enough for nested items */
    padding: 10px 0;
  }

  /* Make all submenu links full width */
  .dropdown-content a,
  .dropdown-content-submenu a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    text-align: left;
    color: #111;
    text-decoration: none;
  }

  .dropdown-content a:hover,
  .dropdown-content-submenu a:hover {
    background: rgba(0,0,0,0.05);
  }

  /* Add arrow indicator */
  .dropdown > a::after,
  .dropdown-submenu > a::after {
    content: '▼';
    float: right;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  /* Rotate arrow when open */
  .dropdown.active > a::after,
  .dropdown-submenu.active > a::after {
    transform: rotate(180deg);
  }

  /* Prevent submenus from opening sideways */
  .dropdown-submenu .dropdown-content-submenu {
    left: 0 !important;
    top: auto !important;
  }
}


/* --- Mobile Menu: fully polished --- */
@media (max-width: 768px) {

  /* Main nav column layout, left-aligned */
  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* all links left-aligned */
    width: 100%;
  }

  /* Top-level menu links */
  .main-nav > a,
  .main-nav > .dropdown > a {
    text-align: left;
    width: 100%;
    padding: 15px 20px;
    font-weight: 600;
    color: #111;
    position: relative;
  }

  /* Add arrow indicators for dropdowns */
  .dropdown > a::after,
  .dropdown-submenu > a::after {
    content: '▼';
    position: absolute;
    right: 20px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  /* Rotate arrow when open */
  .dropdown.active > a::after,
  .dropdown-submenu.active > a::after {
    transform: rotate(180deg);
  }

  /* Submenus: vertical accordion */
  .dropdown-content,
  .dropdown-content-submenu {
    display: none; /* hidden by default */
    position: relative;
    left: 0;
    top: 0;
    max-height: 0;
    overflow-y: auto; /* allow scrolling if long */
    -webkit-overflow-scrolling: touch; /* smooth scrolling iOS */
    transition: max-height 0.4s ease, padding 0.3s ease;
    width: 100%;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
  }

  /* Show submenu when parent active */
  .dropdown.active > .dropdown-content,
  .dropdown-submenu.active > .dropdown-content-submenu {
    display: block;
    max-height: 1000px; /* adjust if needed */
    padding: 10px 0;
  }

  /* Submenu links left-aligned with indentation */
  .dropdown-content a,
  .dropdown-content-submenu a {
    display: block;
    width: 100%;
    padding: 10px 30px; /* slight indent for hierarchy */
    text-align: left;
    color: #111;
    text-decoration: none;
  }

  .dropdown-content a:hover,
  .dropdown-content-submenu a:hover {
    background: rgba(0,0,0,0.05);
  }

  /* Optional: smaller padding for nested submenus */
  .dropdown-submenu .dropdown-content-submenu a {
    padding-left: 40px;
  }

}

