/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
  overflow-x: hidden;
}
/* === Navbar Styles === */
.navbar {
  transition: background-color 0.3s ease;
}

.navbar-brand img.brand-logo-img {
  height: 40px;
  width: auto;
}

/* Navbar links styling */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

/* ===== Mobile Navbar Animation ===== */
@media (max-width: 991px) {
  .custom-collapse {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }

  .custom-collapse.show {
    max-height: 500px;
    /* enough space for menu */
    opacity: 1;
  }

  /* Fade-in effect for links */
  .custom-collapse .nav-link {
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .custom-collapse.show .nav-link {
    opacity: 1;
  }
}

/* === Mobile text resizing === */
@media (max-width: 428px) {
  .navbar-brand span {
    font-size: 1rem;
    /* smaller text for tiny screens */
  }
}

@media (min-width: 250px) and (max-width: 370px) {
  .navbar-brand span {
    font-size: 0.85rem;
    /* Samsung Z Fold size screens */
  }
}

/* === For very narrow screens (below 349px) === */
@media (max-width: 349px) {
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    /* reduce gap between logo and text */
    white-space: nowrap;
    /* keep text in one line */
  }

  .navbar-brand span {
    font-size: 0.75rem;
    /* shrink text */
  }

  .brand-logo-img {
    max-width: 28px;
    /* shrink logo a bit */
    height: auto;
  }
}

/* === Logo animation === */
.brand-logo-img {
  animation: zoomIn 0.8s ease-out forwards;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.custom-btn {
  background-color: #000; /* black background */
  color: #fff; /* white text */
  border: 2px solid #000; /* keep border same as background */
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background-color: transparent; /* transparent on hover */
  color: #000; /* dark text */
  border-color: #000; /* keep visible border */
}
.card {
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  border-radius: 10px;
}

/* Mobile only */
@media (max-width: 767px) {
  .card.active {
    transform: translateY(-14px) scale(1.03);
    border: 1px solid #ddd; /* reset normal border */
    border-top: 4px solid #ff9800 !important; /* only top border orange */
    box-shadow: 0 -6px 18px rgba(255, 152, 0, 0.4) !important;
    background-color: #fffaf2; /* light orange tint */
  }
}

/* Base card reset */
#partner .card {
  transition: all 0.3s ease;
  border: 1px solid #ddd !important;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: none !important;
}

/* 🔵 Hover effect for PC/Laptop */
@media (min-width: 768px) {
  #partner .card:hover {
    transform: translateY(-10px) scale(1.03);
    border-left: 4px solid #2196f3 !important; /* Blue left border */
    box-shadow: -6px 0 18px rgba(33, 150, 243, 0.4) !important;
    background-color: #f4faff !important;
  }
}

/* 🔵 Scroll-triggered hover effect for Mobile */
@media (max-width: 767px) {
  #partner .card.active {
    transform: translateY(-14px) scale(1.03);
    border-left: 4px solid #2196f3 !important; /* Blue left border */
    box-shadow: -6px 0 18px rgba(33, 150, 243, 0.4) !important;
    background-color: #f4faff !important;
  }
}

/* Rent Section Styling */
#rent {
  background: linear-gradient(135deg, #f8fbff, #e9f3ff);
  padding: 80px 0;
  text-align: center; /* Center all text inside */
}

#rent h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #0d47a1; /* Dark blue */
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin: 0 auto; /* Center horizontally */
}

#rent h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 5px;
  background: #ff6f00; /* Orange underline */
  margin: 12px auto 0;
  border-radius: 3px;
}

#rent p.text-center {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #37474f;
  line-height: 1.7;
}

/* Card Styling */
#rent .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.35s ease;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-top: 5px solid transparent;
}

#rent .card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-top: 5px solid #ff6f00; /* Highlight orange */
}

#rent .card-body {
  padding: 28px;
}

#rent .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 12px;
}

#rent .card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Features Row */
#rent .text-center p.small {
  font-size: 0.95rem;
  color: #0d47a1;
  background: #e3f2fd;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 30px;
  margin-top: 20px;
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.1);
  font-weight: 600;
}

/* Responsive Heading */
@media (max-width: 768px) {
  #rent h2 {
    font-size: 2rem; /* smaller heading on tablets */
  }
}

@media (max-width: 576px) {
  #rent h2 {
    font-size: 1.6rem; /* smaller heading on phones */
  }
  #rent p.text-center {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* Partner Section Styling */
#partner {
  background: linear-gradient(135deg, #fff, #f1f8ff);
  padding: 80px 0;
  text-align: center;
}

#partner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff6f00; /* Orange instead of blue */
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

#partner h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background: #0d47a1; /* Blue underline */
  margin: 12px auto 0;
  border-radius: 3px;
}

#partner p.text-center {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #37474f;
  line-height: 1.7;
}

/* Card Styling */
#partner .card {
  border: none;
  border-radius: 15px;
  transition: all 0.35s ease;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-left: 5px solid transparent;
}

#partner .card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #0d47a1; /* Blue accent on hover */
}

#partner .card-body {
  padding: 28px;
}

#partner .card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff6f00;
  margin-bottom: 15px;
}

#partner ol,
#partner ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 0;
  color: #444;
}

#partner ol li,
#partner ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* CTA Button */
#partner .btn {
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

#partner .btn-primary {
  background: #ff6f00;
  border: none;
}

#partner .btn-primary:hover {
  background: transparent;
  border: 2px solid #0d47a1;
  color: #0d47a1;
}

/* Responsive */
@media (max-width: 768px) {
  #partner h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  #partner h2 {
    font-size: 1.6rem;
  }
  #partner p.text-center {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* Navbar */
.navbar {
  padding: 0.8rem 1rem;
  transition: all 0.3s ease-in-out;
}
.navbar-name {
  color: #ff124d;
}
.navbar-brand {
  font-weight: bold;
  color: #000000 !important;
}
.navbar-nav .nav-link {
  margin-left: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
  color: #0d6efd;
}
/* Add underline on hover for links */
a,
.nav-link {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover,
.nav-link:hover {
  text-decoration: underline;
}
.brand-logo-img {
  width: 40px;
  height: auto;
  display: inline-block;
}
/* Disable underline in feature cards */
#about .feature-card h5,
#about .feature-card p {
  text-decoration: none !important;
}

/* Also prevent underline on hover */
#about .feature-card h5:hover,
#about .feature-card p:hover {
  text-decoration: none !important;
}

/* Headings underline on hover */
h1:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover,
p:hover {
  text-decoration: underline;
  cursor: pointer; /* makes it clear text is interactive */
}

.text-center:hover{
  text-decoration: none ;
}

/* Hero Section */
section.bg-light.text-center {
  background: url("images/9.jpg") no-repeat center center/cover;
  color: white;
  padding: 6rem 1rem;
}
section.bg-light.text-center h1 {
  font-size: 2.5rem;
}
section.bg-light.text-center p {
  font-size: 1.2rem;
}
.gapping {
  padding: 10cm;
}
/* Cards */
.card {
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Fleet Images */
#fleet img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}
#fleet img:hover {
  transform: scale(1.05);
}

#about {
  background: #f9fbfd;
}

#about h2 {
  color: #0056b3; /* deep blue */
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
  font-size: 2rem;
}

.feature-card h5 {
  color: #0056b3; /* blue headings */
}



/* Contact Form */

/* Contact Section Styling */
#contact {
  background: linear-gradient(135deg, #fdfdfd, #f8fbff);
  padding: 80px 0;
}

#contact h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #0d47a1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

/* Card */
#contact .card {
  border-radius: 15px;
  border: none;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Inputs & Textarea */
#contact .form-control {
  border: 2px solid #e3eaf2;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fcff;
}

#contact .form-control:focus {
  border-color: #0d47a1;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(13, 71, 161, 0.15);
  outline: none;
}

/* Placeholder Styling */
#contact .form-control::placeholder {
  color: #999;
  font-style: italic;
}

/* Textarea height */
#contact textarea.form-control {
  resize: none;
  min-height: 150px;
}

/* Send Button */
#contact .btn-warning {
  background: #ff6f00;
  border: none;
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

#contact .btn-warning:hover {
  background: transparent;
  border: 2px solid #ff6f00;
  color: #ff6f00 !important;
}

/* Responsive */
@media (max-width: 768px) {
  #contact h3 {
    font-size: 1.6rem;
  }
}

form.card {
  border: none;
  border-radius: 10px;
}
form input,
form textarea {
  border-radius: 5px;
}

/* Footer */
footer {
  font-size: 1rem;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  section.bg-light.text-center h1 {
    font-size: 2rem;
  }
  section.bg-light.text-center p {
    font-size: 1rem;
  }
  #fleet img {
    height: 150px;
  }
}
@media (max-width: 576px) {
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav .nav-link {
    margin: 10px 0;
  }
}

/* Make the whole row equal height */

/* Ensure both panels stretch fully */
.contact-left,
.bg-white.shadow-sm {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* top alignment */
}

/* Remove extra top margin from headings */
.contact-left h4,
.bg-white h4 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Left panel styles */
.contact-left {
  background: linear-gradient(135deg, #0d6efd, #1e3c72);
  color: #fff;
  padding: 3rem;
}

/* Heading styling */
h4.text-orange {
  color: #ff7f27 !important;
  font-size: 1.8rem;
  font-weight: bold;
}

/* Inputs remain as before */
.contact-input {
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  padding: 8px 2px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-input:focus {
  border-bottom: 2px solid #ff7f27;
  outline: none;
  box-shadow: none;
}

textarea.contact-input {
  resize: none;
}

/* Button stays as before */
.btn-orange {
  background-color: #ff7f27;
  color: #fff;
  border: none;
  transition: 0.3s;
}

.btn-orange:hover {
  background-color: #0d6efd;
  color: #fff;
}

/* WhatsApp background logo */
.whatsapp-bg {
  position: relative;
  padding-left: 30px; /* space for icon */
  color: inherit;
  text-decoration: none;
  background: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg")
    no-repeat left center;
  background-size: 22px 22px;
}

.whatsapp-bg:hover {
  text-decoration: underline;
}

/* Email background logo */
.email-bg {
  position: relative;
  padding-left: 30px; /* space for icon */
  color: inherit;
  text-decoration: none;
  background: url("https://upload.wikimedia.org/wikipedia/commons/4/4e/Mail_%28iOS%29.svg")
    no-repeat left center;
  background-size: 22px 22px;
}

.email-bg:hover {
  text-decoration: underline;
}
