:root {
  /* ===== Color Variables ===== */
  --primary-bg: #fff;           /* Main background color */
  --secondary-bg: #fafafa;      /* Secondary background color (e.g., cards, panels) */
  /* --secondary-bg: green; */  /* Uncomment for testing alternate background */
  --primary-text: #000;         /* Main text color */
  --accent: #1c6bba;            /* Accent color for links and highlights */

  /* ===== Font Variables ===== */
  --font-family-medium: "vcjp-Volvo-Novum-medium", sans-serif; /* Medium font family */
  --font-weight: 500;           /* Standard font weight */
  --font-weight-light: 350;     /* Light font weight */

  /* ===== Profile Image & Car Sizes ===== */
  --profile-img-width: 163px;   /* Default profile image width */
  --profile-img-height: 211px;  /* Default profile image height */
  --profile-car-width: 280px;   /* Default car image width */
  --profile-car-height: 179px;  /* Default car image height */

  /* ===== Timeline Variables ===== */
  --timeline-dot-size: 20px;    /* Size of timeline event dot */
  --timeline-line-width: 10px;  /* Width of the timeline vertical line */
}

/* =====================
       Base Styles
       ===================== */
body {
  font-family: "vcjp-Volvo-Novum-light", sans-serif;
  margin: 0;
  background: var(--primary-bg);
}

* {
  box-sizing: border-box;
}

/* =====================
       Layout Containers
       ===================== */
.layout-flex {
  display: flex;
  min-height: 100vh;
}

.sidenav-container {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #E5E9EB;
  min-width: 180px;
  max-width: 100vw;
  box-sizing: border-box;
  align-items: stretch;
  padding-top: 20px;
  /* don't scoll the sidenav */
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: hidden;
  /* don't scoll the sidenav */
}

.main-content {
  flex: 1;
  padding: 50px 20px 0px 20px;
  margin-left: 0;
}

/* =====================
       Logo Styles
       ===================== */
.logo {
  text-align: center;
  width: 100%;
}

.logo-img {
  width: 143px;
  height: 11px;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

/* =====================
       Sidenav & Menu Styles
       ===================== */
.sidenav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px;
}

.side-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-parent > a, .menu-other-parent > a {
  font-family: var(--font-family-medium);
  font-weight: var(--font-weight);
  font-size: 16px;
  color: #000;
  display: block;
  padding: 12px 6px; 
  text-decoration: none;
}

.menu-parent > a {
   background: #f0f0f0;
}


.submenu {
  list-style: none;
  padding-left: 16px;
  margin: 0;
  background: none;
}

.submenu li {
  min-width: 200px;
}

.submenu li a {
 font-weight: var(--font-weight-light);
  font-size: 16px;
  color: #000;
  display: block;
  padding: 10px 24px;
  text-decoration: none;
  border-left: 6px solid #f7f7f7;
}

.submenu li a.active,
.submenu li a:hover {
  border-left: 6px solid #eaeaea;
  font-family: var(--font-family-medium);
  font-weight: var(--font-weight);
}

/* =====================
       Hamburger Button Styles
       ===================== */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  align-self: center;
}

/* =====================

       5. ATM info boxes
       ===================== */

.atm-info-boxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: nowrap;
}

.atm-info-box {
  flex: 1 1 auto;
  background: #f7f7f7;
  padding: 24px; 
  min-width: 260px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.atm-info-box > div:first-child {
  font-size: 20px;  
  line-height: 24px;
  margin-bottom: 4px; 
  font-family: var(--font-family-medium);
  font-weight: var(--font-weight);
}

.atm-info-box > div:last-child {
  font-size: 16px;
  color: var(--primary-text);
  font-weight: 350;
  line-height: 19px;
}

.atm-info-box > div:last-child b {
    /* font-size: 5px; */
    font-family: var(--font-family-medium);
    font-weight: 500;
}

.atm-info-box > div:last-child p {
  margin: 5px 0px;
}

@media screen and (max-width: 950px) {
  .atm-info-boxes {
    flex-direction: column;
    gap: 16px;
  }
  .atm-info-box {
    min-width: 0;
    width: 100%;
  }
}

/* =====================
       6. Timeline
       ===================== */
.timeline-event-details {
   font-weight: var(--font-weight-light);
  margin-bottom: 20px;
}

.timeline-event-examples {
  margin-bottom: 20px;
}

.timeline-event-examples a, .timeline-event-examples a:visited{
  color: var(--accent);
}

.timeline-event-offers {
  margin-bottom: 20px;
}

 .timeline-event-title {
  font-style: normal;
  font-family: var(--font-family-medium);
  font-weight: var(--font-weight);
  font-size: 18px;
  margin-bottom: 20px;
  padding: 15px 0px 8px 0px;
}

.timeline {
  position: relative; 
  margin: 0 auto;
  padding-top: 30px;
}

.timeline::after {
  content: "";
  position: absolute;
  width: var(--timeline-line-width);
  background: var(--secondary-bg);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -11px;
}

.container {
  position: relative;
  background-color: inherit;
  width: 50%;
}

.container::after {
  content: "";
  position: absolute;
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  right: -7px;
  background-color: black;  
  top: 40%;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
  padding-right: 50px;
}

.right {
  left: 50%;
  padding-left: 40px;
}

.right::after {
  left: -16px;
}

.content {
  padding: 15px;
  background: var(--secondary-bg);
  position: relative;
}

.timeline-event-time {
  font-style: normal;
  font-family: var(--font-family-medium);
  font-weight: var(--font-weight);
  font-size: 16px;  
  margin-bottom: 8px;
  width: 120px;
}


.timeline-event-time-left {
  text-align: right;
  position: absolute;
  left: -170px;
  top: 37%;
}

.timeline-event-time-right {
  position: absolute;
  right: -160px;
  top: 37%;
}

.timeline > div:last-child {
  padding-bottom: 30px;
}


/* .timeline-event-time-page-bev {   
  top: 40%;
} */


/* Combine selectors with shared properties to reduce duplication */
.timeline-event-details, .timeline-event-examples, .timeline-event-offers {
  font-style: normal;
  font-size: 16px;
}

.timeline-event-examples span, .timeline-event-offers span{
  font-family: var(--font-family-medium);
  font-weight: var(--font-weight);
}

.timeline-event-details {
   font-weight: var(--font-weight-light);
  margin-bottom: 20px;
}

.timeline-event-examples {
  margin-bottom: 20px;
}

.timeline-event-offers {
  margin-bottom: 20px;
}



/* =====================
       Responsive Styles (Mobile)
       ===================== */
/* Phones which are small than iPhone pro 12 (portrait and landscape) */
/* Phones (portrait and landscape) */
@media screen and (max-width: 700px) {
  /* ...mobile styles here... */
 
  
}

/* Tablets (portrait and landscape) */
@media screen and (min-width: 701px) and (max-width: 950px) {
  /* ...tablet styles here... */
  
}

@media screen and (max-width: 950px) {
  /* Layout */
  .layout-flex {
    display: flex;
    flex-direction: column;
  }

  

  /** profile style for mobile */

  /* Timeline responsive adjustments */
  .timeline {
    padding-top: 0px;
  }
  .timeline::after {
    left: 22px;
  }

  .container {
    width: 100%;
    padding-top: 30px;
    padding-left: 35px;
    padding-right: 0px;
  }

  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .container::after {
  top: 30px;
}

  .left::after,
  .right::after {
    left: 5px;
  }

  .right {
    left: 0%;
  }

  .timeline-event-time-left,
  .timeline-event-time-right {
    position: relative;
    left: 0%;
    top: 39%;
    right: 0px;
  }  

  .timeline-event-time {
    width:100%;
    text-align: left;
  }
 
}

/* footer */
footer.main-footer {
  padding: 20px;
  background: var(--secondary-bg);
  text-align: left;
  color: var(--primary-text);
  font-size: 16px;
  border-top: 1px solid #e0e0e0;
}
footer.main-footer b {
    /* font-size: 5px; */
    font-family: var(--font-family-medium);
    font-weight: 500;
}

@media screen and (max-width: 1200px) {
  .layout-flex {
    display: inline-grid;
    flex-direction: column;
  }

  .main-content {
    padding: 20px 8px 0px 8px;
    margin-top: 65px; 
    /* Adjust this value to match logo-container height to scroll*/
  }

  /* Logo */
  .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1100;
    background: var(--primary-bg);
  }
  .logo{
    text-align: left;
    padding-left: 15px;
    z-index: 1002;
  }

  /* Sidenav slides in from right */
  .sidenav-container {
    width: 98vw;
    min-width: 0;
    border-right: none;
    padding-top: 0px;
    position: initial;
    height: auto;
    overflow-y: auto;
    /* Allow scrolling */
  }

  .sidenav {
    position: fixed;
    top: 0;
    right: -100vw;
    /* Hide off-canvas to the right */
    left: auto;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 70px;
    /* To avoid overlapping logo */
  }

  .sidenav.open {
    right: 0;
    /* Slide in from right */
  }

  .side-menu {
    width: 100%;
  }

  /* Hamburger Button */
  .hamburger-menu {
    display: block;  
    z-index: 1100;
    background: #fff;
  }
}
