/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

html {
    scroll-behavior: smooth;
  }

body {
  font-family: "JetBrains Mono", monospace;
  color: #333;
  background-color: whitesmoke;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 1rem 1.2rem;
  
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid transparent;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.3s ease-out forwards;
  width: 32%;
  height: 7%;
  position: absolute;
  z-index: 1000;
  transition: opacity 0.1s ease-out;
  margin-top: -18px;
}

.account-created{
  margin-left: 400px;
}

.all-messages-div {  
    margin-left: 7px;
    min-height: 20px;
}

.alert-success {
  background-color: rgba(240, 255, 244, 0.75);
  border-left-color: #4caf50;
  color: #15961e;
}

.alert-info {
  background-color: rgba(235, 248, 255, 0.75);
  border-left-color: #2196f3;
  color: #1e4d7d;
}

/* Warning Alert */
.alert-warning {
  background-color: rgba(255, 250, 240, 0.75);
  border-left-color: #ff9800;
  color: #8a4b00;
}

.alert-error {
  background-color: rgba(255, 245, 245, 0.75);
  border-left-color: #f44336;
  color: #7b1e1e;
}

/* Close Button with Hover Effect */
.alert-close {
  
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}

.alert-close:hover {
  opacity: 1;
  transform: scale(1.4);
  color: #009900;
}

.fleet-section {
  padding : 50px 40px 160px 40px;
  max-width: 1200px;
  margin: 0 auto;
  height: 300px;
  margin-top: -6% ;
  margin-bottom: 5%;
  
}

.fleet-header {
  padding: 5px 10px;
  text-align: left;
  margin-bottom: 15px;
  margin-top: 0;
}

.fleet-title {
  font-size: 24px;
  font-weight: 730;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #000000;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  word-spacing: -1.5px;
}

.fleet-subtitle {
  font-size: 1.12rem;
  color: #666;
  font-weight: 400;
  word-spacing: -3px ;
}

.fleet-container {
  box-shadow: rgba(100, 100, 100, 0.85);
  border-radius: 20px;
  background-color: #ffffff;
  min-height: 320px; /* Changed from fixed height to min-height */
  padding: 8px 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Reduced gap */
  margin-bottom: 200px;
}

.vehicle-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.vehicle-card {
  text-align: center;
  padding: 8px 14px; /* Reduced padding significantly */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to top */
}

.vehicle-title {
  font-size: 20px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  /* font-weight: 2000; */
  letter-spacing: -0.5px;
  color: #000000;
  margin-bottom: 12px; /* Reduced margin */
}

.vehicle-description {
  word-spacing: -5px;
  font-size: 15px;
  color: #666;
  line-height: 1.4; /* Reduced line height */
  margin-bottom: 15px; /* Reduced margin */
  min-height: 65px;
}

.see-more-link {
  color: #009900;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  margin-bottom: 15px; /* Added margin bottom */
}

.see-more-link:hover {
  color: #1e7e34;
  text-decoration: underline;
}

.vehicle-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto; /* Removed top/bottom margins, centered horizontally */
  object-fit: contain;
  flex-grow: 1; /* Allow image to take available space */
}

.premium-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto; /* Removed excessive bottom margin */
  object-fit: contain;
  flex-grow: 1;
}

.cargo-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto; /* Removed top/bottom margins */
  object-fit: contain;
  flex-grow: 1;
}



.offers-section {
  display: flex;
  flex-direction: column;
  padding: 180px 20px;
  max-width: 1200px;
  margin-top: 45px;
  margin-bottom: -65px;
}

.section-title {
  font-size: 25px;
  font-weight: 730;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #000000;
  letter-spacing: -0.5px;
  word-spacing: -1.5px;
  margin-left: 50px;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: stretch;
}

.offer-card.card-3 {
  background: url("../images/special-section.jpg") no-repeat center center/cover;
  background-position: center right;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  width: 290px;
  margin-left: 98px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.offer-card.card-2 {
  background: url("../images/electric-car.avif") no-repeat center center/cover;
  background-position: center right;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  width: 310px;
  margin-left: 167px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}
.offer-card.card-1 {
  background: url("../images/discover-khi-landing.png") no-repeat center
    center/cover;
  background-position: center right;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  width: 510px;
  cursor: pointer;
  margin-left: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.card-1-text-1 {
  font-family: "Great Vibes", cursive;
  position: absolute;
  bottom: 20px; /* adjust as needed */
  left: 20px; /* adjust as needed */
  color: white;
  font-size: 35px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78); /* for readability */
}
.card-1-text-2 pre {
  font-family: "Great Vibes", cursive;
}

.card-1-text-2 {
  font-family: "Great Vibes", cursive;
  position: absolute;
  top: 0rem; /* adjust as needed */
  left: 10px; /* adjust as needed */
  color: white;
  font-size: 25px;
  font-weight: bold;
  padding: 0 5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78); /* for readability */
  background-color: rgb(205, 72, 10);
  border-radius: 15px;
}

.card-2-text-1 {
  font-family: "Great Vibes", cursive;
  position: absolute;
  top: 1px; /* adjust as needed */
  left: 55px; /* adjust as needed */
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(66, 212, 37, 0.78); /* for readability */
  background-color: rgb(81, 168, 64);
  border-radius: 12px;
  padding: 0 5px;
}
.card-3-text-1  {
  font-family: 'Lucida Handwriting',  cursive;
  position: absolute;
  top: 4px; /* adjust as needed */
  left: 2px; /* adjust as needed */
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 1000;
  padding: 0 5px;
  line-height: 1.5;
  word-spacing: 1.2px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78); /* for readability */
  border-radius: 15px;
}
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}



.mobile-app-section {
  margin-top: 0px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 0;
  min-height: 600px;
}

.container {
  margin-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mobile-app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  min-height: 500px;
}

.phone-image-container {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  background: #2c3e50;
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: rotate(-2deg) scale(1.05);
}

.phone-screen {
  width: 280px;
  height: 500px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.app-info {
  flex: 1;
  max-width: 550px;
}

.platform-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.platform-tag {
  background: #e8f4f8;
  color: #2c5aa0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 35px;
  letter-spacing: 1px;
  word-spacing: -1px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.1;
}

.app-description {
  font-family: "Arial", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  word-spacing: 1.3px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.8;
}

.download-section {
  margin-bottom: 40px;
}

.download-button {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #2c3e50;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  margin-bottom: 30px;
  display: inline-block;
  text-decoration: none;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.store-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.store-btn:hover {
  background: #333;
  transform: translateY(-1px);
  border-color: #ffd700;
}

.store-btn img {
  width: 120px;
  height: auto;
}

.background-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.background-decoration:nth-child(2) {
  top: auto;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #2c5aa0, #3498db);
}



.footer {
  background-color: #151c24;
  color: #ffffff;
  padding: 60px 0px 20px 0px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd23f);
}

.footer-container {
  
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-top: -40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.brand-section{
  margin-top: -45px;
}

.brand-section .logo {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd23f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-section p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #cccccc;
  line-height: 1.6;
  margin-top: -13px;
  margin-bottom: 8px;
}

.social-links {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  gap: 15px;
  margin-top: 0px;
  margin-bottom: 1.8rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #ff6b35;
  padding-left: 8px;
}

.newsletter {
  margin-top: 60px;
  margin-right: 0px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
  border-radius: 14px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: #999999;
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  padding: 12px 25px;
  border: none;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #f7931e, #ffd23f);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #888888;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: #888888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ff6b35;
}



@keyframes navbarTextEntrance {
  0% {
    transform: translateY(-60px) scale(0.95);
    opacity: 0;
    filter: blur(4px);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

.navbar-content {
  animation: navbarTextEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity, filter;
}




/* Responsive Design */

@media (max-width: 768px) {
  .all-messages-div {
    padding: 0 12px;
    margin-bottom: 20px;
  }

  .alert {
    font-size: 14px;
    padding: 12px 16px;
    line-height: 1.4;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    margin: 8px 0;
    position: relative;
  }

  
  .alert-close {
  font-size: 20px;
  font-weight: bold;
  padding: 0 10px;
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
}

}


@media (max-width: 768px) {
  .fleet-section {
    padding: 2.5rem 1rem 92rem 1rem;
  }

  .fleet-title {
    font-size: 2rem;
  }

  .fleet-container {
    grid-template-columns: 1fr;
    padding: 25px 15px;
    gap: 25px;
  }

  .vehicle-card {
    padding: 20px 15px;
  }

  .vehicle-description {
    min-height: auto;
  }
}
@media (max-width: 768px) {
  .offers-section {
    padding: 80px 10px;
    margin-top: 8rem;
    margin-bottom: 0;
  }
  
  .offers-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center; /* center cards horizontally */
    gap: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 6rem;
    margin-left: 0rem;
  }

  
  .offer-card {
    
    width: 100% !important;  /* Override fixed widths */
    margin-left: 0 !important;  /* Override custom margins */
    height: auto; /* optional: allow auto height */
  }

  .card-content {
    padding: 2px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-subtitle {
    font-size: 1rem;
  }

  

  .card-1-text-1 {
    font-size: 20px; /* smaller fonts for mobile */
    left: 10px;
    right: 10px;
    margin-top: -2rem;
  } 
  .card-2-text-1,
  .card-3-text-1 {
    font-size: 20px; /* smaller fonts for mobile */
    left: 10px;
    right: 10px;
  }

  .card-1-text-2 {
    font-size: 18px;
    left: 0.3rem;
    top: 0rem;
    padding: 2px 6px;
  }


}

@media (max-width: 480px) {
  body {
    padding: 20px 10px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .offer-card {
    height: 220px;
  }
}


@media (max-width: 768px) {
  .mobile-app-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .phone-image-container {
    flex: none;
    order: 2;
  }

  .app-info {
    order: 1;
    max-width: 100%;
  }

  .app-title {
    font-size: 2.2rem;
  }

  .phone-screen {
    width: 250px;
    height: 450px;
  }

  .store-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .mobile-app-section {
    padding: 50px 0;
  }

  .app-title {
    font-size: 1.8rem;
  }

  .app-description {
    font-size: 1.1rem;
  }

  .phone-screen {
    width: 220px;
    height: 400px;
  }

  .download-button {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 0;
  }

  .newsletter-form input {
    border-radius: 12px 12px 0 0;
  }

  .newsletter-form button {
    border-radius: 0 0 12px 12px;
  }
  .footer-section h3 {
  margin-top: 10px;
  
}
}


