
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: black;
  color: #222;
  line-height: 1.6;
}

header {
  background: black;
  margin-bottom: 40px;
 
}
/* Navigation Container */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px); /* Modern frosted look */
  position: fixed; /* Changed from sticky to fixed for consistent positioning */
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  
}

.logo {
  height: 100px;
  transition: transform 0.4s ease;
}

.logo:hover {
  transform: scale(1.15);
}

/* Nav Links Styling */
.navlinks {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.navlinks li a {
  position: relative;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 50px;
}

/* The Catchy Hover Effect */
.navlinks li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.navlinks li a:hover {
  color: #2563eb;
}

.navlinks li a:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Special Styling for the 'Get a Quote' Button */
.nav-cta {
  background: #2563eb;
  color: white !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.nav-cta::before {
  display: none;
}

/* Mobile Burger (Basic setup) */
#menu-toggle { display: none; }
.burger { display: none; cursor: pointer; font-size: 24px; }

@media (max-width: 768px) {
  .burger { display: block; }
  .navlinks {
    /* Add logic here to show mobile menu */
    display: none; 
  }
}

/* --- ADDED CSS FOR THE DROPDOWN MENU --- */

.nav-item-has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);

    min-width: 240px;

    /* 🔥 IMPORTANT FIX */
    max-height: 70vh;
    overflow-y: auto;

    z-index: 1000;
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.4);
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}


.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: #0f172a;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 400;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

/* Add this new CSS rule */
.nav-item-has-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.burger {
  display: none;
  cursor: pointer;
  font-size: 26px;
  color: #0f172a;
}
.burger:hover {
  color: #E31B23;
}


/* Mobile adjustments for the dropdown */
@media (max-width: 768px) {

  .burger {
    display: block;
  }

  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;

    flex-direction: column;
    align-items: center;
    gap: 15px;

    padding: 20px 0;
    display: none;
  }

  /* 🔥 THIS IS THE MISSING LINE */
  #menu-toggle:checked ~ .navlinks {
    display: flex;
  }
}



.modern-footer {
    background: linear-gradient(135deg, #000000, #000000 , #d51117);
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-contact,
.footer-map {
    flex: 1;
    min-width: 280px;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #00c6ff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item .icon {
    font-size: 20px;
}

.contact-item.email {
    font-weight: bold;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid #00c6ff;
    border-radius: 30px;
    color: #00c6ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.map-link:hover {
    background: #00c6ff;
    color: #0f2027;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}
.modern-footer {
     background: linear-gradient(135deg, #000000, #000000 , #d51117);
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-contact,
.footer-map {
    flex: 1;
    min-width: 280px;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #00c6ff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item .icon {
    font-size: 20px;
}

.contact-item.email {
    font-weight: bold;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid #00c6ff;
    border-radius: 30px;
    color: #00c6ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.map-link:hover {
    background: #00c6ff;
    color: #0f2027;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}



@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
     header {
    padding: 30px 20px;
  }

  .top h1 {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .aboutusbox {
    padding-left: 0;
    text-align: center;
  }

  .logo {
    height: 60px;
  }
  
  nav ul li a {
    color: white;
    font-size: 18px;
  }

  nav input[type="text"] {
    display: none;
  }

  .burger {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0d1b2a;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  #menu-toggle:checked + .burger + ul {
    display: flex;
    background-color: #e2e8f0;
  }
}

@media (max-width: 600px) {
  header {
    padding: 30px 20px;
  }

  .top h1 {
    font-size: 28px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

.auto-hero {
  min-height: 100vh;
  background: linear-gradient(120deg, #0b0b0b, #7f1d1d);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

.auto-text {
  max-width: 550px;
  z-index: 2;
  animation: slideLeft 1.1s ease;
}

.tag {
  color: #f87171;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 18px;
  display: inline-block;
}

.auto-text h1 {
  font-size: 78px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.auto-text p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 35px;
}

.auto-btn {
  padding: 14px 36px;
  border-radius: 50px;
  background: #dc2626;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s ease;
}

.auto-btn:hover {
  background: #991b1b;
  transform: translateY(-3px);
}

.auto-icon {
  width: 420px;
  z-index: 2;
  animation: slideRight 1.1s ease;
}

.auto-icon img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 25px 45px rgba(0,0,0,0.5))
    drop-shadow(0 0 30px rgba(220,38,38,0.35));
  animation: floatWheel 8s ease-in-out infinite;
}

/* Background Glow */
.auto-bg {
  position: absolute;
  right: -220px;
  top: 50%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(220,38,38,0.45), transparent 70%);
  transform: translateY(-50%);
  z-index: 1;
}

/* Animations */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(70px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatWheel {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-10px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

/* ========================= */
/* RESPONSIVE BREAKPOINTS */
/* ========================= */

@media (max-width: 1024px) {
  .auto-hero {
    padding: 60px;
  }

  .auto-text h1 {
    font-size: 60px;
  }

  .auto-icon {
    width: 320px;
  }
}

@media (max-width: 768px) {
  .auto-hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }

  .auto-text {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .auto-text h1 {
    font-size: 52px;
  }

  .auto-text p {
    font-size: 18px;
  }

  .auto-icon {
    width: 260px;
  }

  .auto-bg {
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 480px) {
  .auto-hero {
    padding: 40px 20px;
  }

  .tag {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .auto-text h1 {
    font-size: 42px;
  }

  .auto-text p {
    font-size: 17px;
  }

  .auto-btn {
    padding: 12px 30px;
  }

  .auto-icon {
    width: 220px;
  }
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-page-separator {
    margin-top: 80px;
}

.box-section {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 80px;
}

.box {
    background-color: #fff;
    color: #000;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    flex: 1;
    max-width: 500px;
    transition: background-color 0.3s, color 0.3s, transform 0.25s;
    cursor: pointer;
}

.box:hover {
    background-color: #ff0000;
    color: #fff;
    transform: translateY(-6px);
}

.box h2 {
    margin-top: 0;
    font-size: 28px;
}

.box p,
.box ul {
    font-size: 18px;
    line-height: 1.6;
}

.box ul {
    padding-left: 20px;
}

.box ul li {
    margin-bottom: 12px;
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    margin-bottom: 100px;
}

.cta-text {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
    color: red;
    line-height: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    
}

.arrow {
    font-size: 26px;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.contact-btn:hover {
    color: #ff0000;
    transform: scale(1.20);
    transition: transform 0.3s ease;
}

.contact-btn:hover .arrow {
    font-size: 40px;
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .box-section {
        flex-direction: column;
    }

    .contact-section {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .cta-text {
        font-size: 30px;
    }
}
.navlinks a {
    text-decoration: none;
    color: white; /* default color */
    transition: color 0.3s;
}

.navlinks a.activepage {
    color: red; /* highlight the active page */
    font-weight: bold; /* optional: make it stand out more */
}
.navlinks a:hover {
    color: #ff6666; /* lighter red on hover */
}
