@font-face{
  font-family: 'Monument Extended';
  src: url('fonts/Monument\ Extended\ Ultrabold\ 800.otf')format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face{
  font-family: 'Monument Extended';
  src: url('fonts/Monument\ Extended\ Regular\ 400.otf')format('opentype');
  font-weight: 400;
  font-style: normal;
}
html{
  scroll-behavior: smooth;
}

body {
  font-family: 'Monument Extended', arial;
  font-weight: 400;
  margin: 0;
  background-color: #ffffff;
  color: #020776;
  text-align: center;
  font-size: 14px;
}

header {
  padding: 20px;
  background-color: #ffffff;
}

.logo {
  width: 200px;
  margin: 10px auto;
  display: block;
}

h1 {
  font-size: 2em;
  color: #ffffff;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  background-color: #020776;
  flex-wrap: wrap;
  margin: 0;
  height: 70px;
  width: 100%;
  box-sizing: border-box;
}
.red-container{
  background-color: #FF0000;
  right: 100px;
  display: flex;
  top: 0;
  position: absolute;
  justify-content: space-around;
  height: 100%;
  align-items: center;
}

.brand-logo {
  height: 75px;
  width: auto; 
  display: block; 
  margin: 0 auto; 
  padding: 5px 0; 
}

.brand {
  align-items: center; 
  display: flex; 
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  padding: 5px 10px;
}

.nav-links li a:hover {
  color: #020776;
}

.milhome{
  color: #FF0000;
}
#services{
  background-color: #020776;
  color:#ffffff;
  padding: 120px 50px;
}
#about{
  background-color: #ffffff;
  color:#020776;
  padding: 80px 20px; 
}
#careers{
  color: #FFFFFF;
  padding: 80px 20px;
}

#contact{
  color: #ffffff;
  padding: 0;

}
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/Milani Truck.jpeg') no-repeat center center/cover;
  
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 7, 118, 0.6);
   /* semi-transparent blue overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  text-shadow: 1px 1px 2px #000;
}

.overlay h1 {
  font-size: 48px;
  margin-bottom:  20px;
  font-weight: bold;
}

.overlay p {
  font-size: 1.5em;
  margin: 0.2em;
}
.overlay h1,
.overlay p {
  text-align: left;
}
/* About Us Styles */
.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

.about-text h2 {
  font-size: 32px;
  color: #000;
}

.about-text .intro {
  font-weight: bold;
  color: #666;
}

.about-text .short-desc {
  color: #333;
}

.read-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #020776;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.read-more-btn:hover {
  background-color: #020776;
}

#more-about-text{
  display: block;
}

#more-about-text.show{
  display: none;
}
/* More About Us Section */
.more-about-section {
  padding: 40px 20px;
  background-color: #fff;
  font-family: Arial, sans-serif;
  color: #333;
  display: none;
}

.more-about-container {
  max-width: 1200px;
  margin: auto;
}

.hidden {
  display: none;
}

.show {
  display: inline;
}
#read-more-btn {
  background-color: #020776; /* Blue color */
  color: white;
  padding: 10px 20px;
  font-size: 1.1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

#read-more-btn:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Hide nav by default on small screens */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid #ccc;
    padding: 10px 0;
  }

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

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1001;
    display: none;
    margin-top: -10px;
    
  }
}

/* Show nav by default on desktop */
.menu-toggle {
  display: none;

}
.menu-toggle {
  display: none;
}

/* Show it on small screens */
@media screen and (max-width: 768px) {

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #FFFFFF;
    padding: 10px;
    border: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #020776; /* This is the current background, will be overridden */
    width: 100%;
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 1000;
    text-align: center;
    align-items: center;
  }

  .nav-links.active {
    display: flex;
    /* Added styles for red background and centering */
    background-color: #FF0000; /* Red background */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 50vh; /* Adjust height to fill remaining screen */
    top: 60px; /* Position below the top bar */
  }

  /* Ensure nav-links li a is visible on red background */
  .nav-links.active li a {
    color: #FFFFFF; /* White text for contrast */
    padding: 15px 0; /* Add some vertical padding */
    width: 100%; /* Make links take full width for easier tapping */
  }

  .red-container {
    background-color: transparent; /* Make the red-container transparent when nav is active */
    position: static; /* Remove absolute positioning when nav is active */
    height: auto;
  }
  .contact-container {
        flex-direction: column; /* This correctly stacks them vertically */
        align-items: center; /* This will center the stacked items horizontally */
        padding: 20px; /* Adjust padding for smaller screens if desired */
        /* Remove max-width and margin: auto if you want it to stretch more,
           but generally keeping margin auto is good for centering the container */
        max-width: unset; /* Allow it to expand to nearly full width within the body */
        margin: 0; /* Remove auto margin from the container itself within media query */
    }

    .contact-info, .contact-form {
        width: 100%; /* Make them take full width within the container */
        max-width: 400px; /* Limit their individual width for better readability on phones */
        margin-left: auto; /* Center individual items horizontally */
        margin-right: auto; /* Center individual items horizontally */
        margin-bottom: 20px; /* Add space between stacked items */
    }

  .contact-info .overlay {
    padding: 20px; /* Adjust padding for smaller screens if desired */
  }
  .careers-section .header h1 {
    font-size: 1.6em; /* Adjust this value as needed for tablets/small phones */
    line-height: 1.2; /* Helps if the text wraps to multiple lines */
  }
  .careers-section .container {
    padding: 15px; /* Give a bit more space inside the container */
  }
  
/*small screen (phone)*/
@media screen and (max-width: 480px) {
  .careers-section .header h1 {
    font-size: 1.2em; /* Make it even smaller for very narrow screens */
    line-height: 1.2;
  }
  .careers-section .container {
    padding: 10px; /* Further reduce padding for tiny screens */
  }
}
  
}


/* Careers */
.container {
    
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color:#1f1c1c;
}

.header {
    color: #1f1c1c;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.header h1 {
    margin: 0;
    color: #1f1c1c;
    
}
.mil{
 color: #020776;
 font-size: small;
}
.mill{
  color: #FF0000;
  font-size: small;
}

.content {
    padding: 20px;
}

.content h2 {
    margin-top: 0;
}

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

.benefits li {
    margin-bottom: 10px;
    text-align: left;
}

.apply {
    background-color: #020776;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.careers-section .apply a {
    color: #FFFFFF; /* Set to white */
    text-decoration: none; /* Keep the underline removed */
}
.careers-section {
    font-size: 1.2em;
    color: #020776;
}

.careers-section h1 {
    font-size: 2em;
}

.careers-section h2 {
    font-size: 1.5em;
}

.careers-section a {
    color: #1f1c1c; 
}

/* Contact Us */
.contact-section {
  padding: 60px 0px;
  background: #020776;
}
.section-contactus{
  background-color: #020776;
  padding: 60px 20px;
  text-align: center;
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #FFFFFF;
  padding: 40px;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
}
.contact-info p{
  margin-bottom: 20 px;
  font-size: medium;
  text-align: left;
  
}
.contact-info {
  position: relative;
  background: url('images/Milani\ Truck.jpeg') no-repeat center center/cover;
  border-radius: 8px;
  width:300px;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* Align content to the left */
  justify-content: flex-start;
}
.contact-info .overlay {
  position: relative;
  background-color: rgb(0, 0, 0,0, 0.5);
  color: #ffffff;
  padding: 30px;
  height: 100%;
  width:100%;
  border-radius: 8px;
  text-align: left;
  display: flex; /* Makes it a flex container */
  flex-direction: column; /* Stacks its children vertically */
  align-items: flex-start; /* Aligns its children (p, social-media-links) to the start (left) */
  justify-content: flex-start; /* Pushes content to the top */
  
}
.contactlogo{
  width: 200px;
  height: 100px;
  object-fit: contain;
}
.contact-form p{
  margin-bottom: 20 px; /* Typo: should be '20px' */
  font-size: medium;
  text-align: left; /* Explicitly ensure paragraph text is left-aligned */
  width: 100%; 

  overflow-wrap: break-word; /* Allows long words to break and wrap */
  word-break: break-word;
}
.contact-info h2 {
  margin-bottom: 20px;
  
}
.contact-form h2{
  text-align: center;
  color: #FF0000;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input, .contact-form textarea {
  margin-bottom: 20px;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #020776;
}

textarea {
  height: 100px;
  resize: vertical;
}

button {
  background-color: #020776;
  color: #FFFFFF;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
  border-radius: 4px;
}
button:hover{
  background-color: #FF0000;
}
.social-media-links {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-top: 20px;
  /* ADD THESE LINES BELOW */
  width: 100%; /* Ensures it takes full width within its parent (.overlay) */
  align-items: flex-start; /* Aligns its children (.media divs) to the start (left) */
  
}

.media {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.media i {
  margin-right: 10px;
}

.social-media-links .media i{
  color: #FFFFFF;
  text-align: left;
}

.social-media-links a{
  color: #FFFFFF;
  text-align: left;
}

.social-media-links a:hover{
  color: #FF0000;
  overflow-wrap: break-word; /* Ensures long URLs/emails break */
  word-break: break-word; /* Fallback */
  display: block;
}


/* Our Services */

.services-section {
  background-color: #020776;
  padding: 60px 20px;
  text-align: center;
}
.section-title{
  color: #FFFFFF;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  border-bottom: 2px solid black;
  display: inline-block;
  padding-bottom: 10px;
}
.services-intro{
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.6;
}

.services-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.service-card {
  background-color: #f8f8f8;
  padding: 30px 20px;
  width: 450px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 36px;
  color:#020776;
  margin-bottom: 10px;
}

.service-card h3 {
  color: #FF0000;
  font-size: 20px;
  margin: 10px 0;
}

.service-desc {
  color: #555;
  font-size: 15px;
  min-height: 50px;
}

/* Image Sliders */
/* Slider Base Styles */
#home {
  
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0; /* make sure there's no margin */
  padding: 0;
}

.fullscreen-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  padding-bottom: 56.25%; /* For a 16:9 aspect ratio. Adjust this percentage based on your images' typical aspect ratio. */
  height: 0; /* Important: collapse height, padding-bottom creates the height */
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  border-radius: 50%;
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

