/* Basic Reset & Box Sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px; /* Or a fluid width for responsiveness */
  margin: 0 auto;
  padding: 20px;
}

/* Header Styles */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Align items to the bottom */
  padding-bottom: 20px;
  position: relative; /* For background image if needed */
  height: 409px; /* Fixed height to contain absolute images */
}

.site-header .site-logo {
    position: absolute;
    left: 14px;
    top: 0px;
    max-width: 481px; /* Adjust as needed */
    height: auto;
}

.site-header .header-image {
    position: absolute;
    left: 665px;
    top: 0px;
    width: 535px;
    height: 409px;
    z-index: -1;
}

/* Navigation Styles */
.main-nav {
  background-color: #3e3f9ef0; /* Background color from original image */
  padding: 10px 0;
  text-align: center;
  position: relative; /* For the top/bottom borders */
}

.main-nav::before,
.main-nav::after {
    content: "";
    display: block;
    height: 7px; /* Half of original 14px */
    background-color: #9e06bd19; /* Color from original separator image */
    position: absolute;
    left: 0;
    right: 0;
}

.main-nav::before {
    top: -7px; /* Position above the nav */
}

.main-nav::after {
    bottom: -7px; /* Position below the nav */
}

.main-nav ul {
  list-style: none;
  display: flex; /* Use flexbox for horizontal navigation */
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.main-nav li {
  margin: 0 10px;
}

.main-nav .nav-item {
  display: block;
  padding: 5px 10px;
  color: #ff0000;
  font-family: Arial, sans-serif;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.main-nav .nav-item:hover {
  background-color: rgba(255, 0, 0, 0.1); /* Example hover effect */
}

.main-nav .current-page {
  font-weight: bold; /* Indicate active page */
  /* Add specific active state styling */
}

/* Main Content Layout */
.main-content {
  padding: 40px 0;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 1fr 2fr; /* Example: two columns, adjust as needed */
  gap: 30px; /* Space between sections */
}

.welcome-section {
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
}

.welcome-section h2 {
  color: #0000ff;
  font-family: "Verdana", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
}

.welcome-section p {
  font-family: "Verdana", sans-serif;
  font-size: 18.7px;
  margin-bottom: 10px;
}

.welcome-section .inline-icon {
  vertical-align: middle;
  margin-right: 5px;
}

.popular-services {
  padding: 20px;
  background-color: #f0f0f0;
}

.section-header-bar {
  background-color: #3f3f9f;
  color: #ffffff;
  padding: 8px 15px;
  margin-bottom: 20px;
}

.section-header-bar h3, .section-header-bar h4 {
  color: #ffffff;
  font-family: "Verdana", sans-serif;
  font-weight: 700;
  font-size: 18.7px;
}

.popular-services ul {
  list-style: disc;
  margin-left: 25px;
}

.popular-services li {
  margin-bottom: 8px;
}

.popular-services a {
  color: #0000ff;
  font-family: "Verdana", sans-serif;
  font-style: italic;
  text-decoration: none;
  font-size: 18.7px;
}

.popular-services a:hover {
  color: #ff0000;
  text-decoration: underline;
}

/* Aside/Sidebar Content */
.side-content {
  display: flex;
  flex-direction: column; /* Stack sections vertically */
  gap: 30px;
}

.why-choose-us, .business-hours {
  padding: 20px;
  border: 1px solid #ddd;
}

.why-choose-us ul, .business-hours ul {
  list-style: disc;
  margin-left: 20px;
}

.why-choose-us li, .business-hours p {
  font-family: "Verdana", sans-serif;
  font-size: 18.7px;
  margin-bottom: 5px;
}

.business-hours .closed-status {
  color: #ff0000;
  font-weight: normal;
}

.business-hours .hours-details p {
    margin-left: 15px;
}
.business-hours .hours-details p strong {
    font-weight: 700;
}

/* Online Services & Driver Handbooks */
.online-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid for service boxes */
    gap: 20px;
    padding: 30px 0;
}

.online-services .service-box {
    text-align: center;
    border: 1px solid #eee;
    padding: 15px;
    background-color: #fff;
}

.online-services .service-box img {
    max-width: 100%;
    height: auto;
}

.online-services .driver-handbooks {
    border: 4px double #808000;
    background-color: #fff;
    padding: 20px;
    text-align: left;
}

.online-services .driver-handbooks h4 {
    font-family: "Verdana", sans-serif;
    font-weight: 700;
    color: #777777;
    font-size: 19px;
    text-decoration: underline;
    text-align: center;
    margin-bottom: 15px;
}

.online-services .driver-handbooks ul {
    list-style: none;
    padding-left: 0;
}

.online-services .driver-handbooks li {
    margin-bottom: 8px;
}

.online-services .driver-handbooks a {
    color: #ffffff;
    font-family: "Verdana", sans-serif;
    font-weight: 700;
    font-size: 14.7px;
    text-decoration: underline;
    background-color: #3f3f9f; /* Example background for links from original */
    padding: 5px 10px;
    display: inline-block;
}

.online-renewal-info {
    grid-column: span 1; /* Adjust spanning for these sections as needed */
    padding: 20px;
    background-color: #e6e6e6;
    border: 1px solid #ccc;
}

.online-renewal-info img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.online-renewal-info p, .online-renewal-info li {
    font-family: "Verdana", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin-left: 15px;
    text-indent: 5px;
    list-style-position: outside;
}

.online-renewal-info ul {
    list-style: disc;
    margin-left: 35px;
}

.online-renewal-info a {
    color: #000000;
    text-decoration: none;
}
.online-renewal-info a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.site-footer .footer-link {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
}

.site-footer .footer-link:hover {
  text-decoration: underline;
}


.corporate-intro {
    text-align: center;
    margin-bottom: 30px;
}

.corporate-intro h2 {
    font-family: "Verdana", sans-serif;
    font-weight: 700;
    color: #0000ff;
    font-size: 27px;
    margin-bottom: 10px;
}

.corporate-intro p {
    font-family: "Verdana", sans-serif;
    font-size: 16px;
    color: #000000;
    margin-bottom: 10px;
}

.corporate-intro ul {
    list-style: none; /* No bullets for these links */
    padding-left: 0;
}

.corporate-intro li {
    margin-bottom: 5px;
}

.corporate-intro a {
    font-family: "Verdana", sans-serif;
    font-size: 16px;
    color: #0000ff;
    text-decoration: none;
}

.corporate-intro a:hover {
    color: #ff0000;
    text-decoration: underline;
}

.corporate-services-forms {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 30px;
    margin-bottom: 40px;
}

.corporate-services-left-column .section-title,
.corporate-forms-right-column .section-title {
    font-family: "Verdana", sans-serif;
    font-weight: 700;
    color: #0000ff;
    font-size: 18.7px;
    margin-bottom: 20px;
    text-align: left;
}

.corporate-services-left-column .corporate-link-box {
    background-color: #3f3f9f;
    height: 44px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.corporate-services-left-column .link-box-text {
    font-family: "Verdana", sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    display: block; /* Make the whole box clickable */
    width: 100%;
}

.corporate-services-left-column .link-box-text:hover {
    text-decoration: underline;
}

.corporate-forms-right-column ul {
    list-style: disc;
    padding-left: 20px;
}

.corporate-forms-right-column li {
    margin-bottom: 8px;
}

.corporate-forms-right-column a {
    font-family: "Verdana", sans-serif;
    font-style: italic;
    color: #0000ff;
    font-size: 18.7px;
    text-decoration: none;
}

.corporate-forms-right-column a:hover {
    color: #ff0000;
    text-decoration: underline;
}

.additional-info-section {
    text-align: center;
    margin-bottom: 30px;
}

.additional-info-section p {
    font-family: "Verdana", sans-serif;
    font-size: 18.7px;
    color: #000000;
}

.additional-info-section a {
    font-family: "Verdana", sans-serif;
    font-size: 18.7px;
    color: #0000ff;
    text-decoration: none;
}

.additional-info-section a:hover {
    color: #ff0000;
    text-decoration: underline;
}

.support-our-troops {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.support-our-troops .support-troops-title {
    max-width: 354px;
    height: auto;
}

.support-our-troops .support-troops-plate {
    max-width: 181px;
    height: auto;
}

/* Footer Styles */
.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.site-footer .footer-link {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
}

.site-footer .footer-link:hover {
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav li {
    margin-bottom: 10px;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .site-header .header-image-corporate {
      position: relative; /* Make it flow with content */
      width: 100%;
      height: auto;
      margin-top: 20px;
  }

  .container {
    padding: 10px;
  }

  .corporate-services-forms {
      grid-template-columns: 1fr; /* Stack columns on smaller screens */
  }

  .corporate-services-left-column .section-title,
  .corporate-forms-right-column .section-title {
      text-align: center;
  }

}

@media (max-width: 480px) {
  .main-nav .nav-item {
    font-size: 14px;
    padding: 8px;
  }

  .corporate-intro h2 {
      font-size: 22px;
  }

  .corporate-intro p, .corporate-intro a,
  .corporate-services-left-column .link-box-text,
  .corporate-forms-right-column a,
  .additional-info-section p, .additional-info-section a {
      font-size: 14px;
  }

  .corporate-services-left-column .corporate-link-box {
      height: auto;
      min-height: 44px;
      padding: 10px 15px;
  }
}




/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav li {
    margin-bottom: 10px;
  }

  .main-content {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
  }

  .site-header {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .main-nav .nav-item {
    font-size: 14px;
    padding: 8px;
  }

  .popular-services a, .why-choose-us li, .business-hours p {
    font-size: 16px;
  }
}

