
  #banner-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100; /* above content but below header nav */
  height: 90px;  /* <-- adjust this to your banner height */
}

/* Header (fixed below banner) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px 15px;
  width: 100%;
  position: fixed;
  top: 90px; /* <-- push header below banner */
  left: 0;
  z-index: 1000;
  height: 100px; /* normal header height */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Push body down so content isn't hidden */
body {
  margin: 0;
  padding-top: 170px; /* banner + header height */
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 5px 10px;
  padding-top: 30px; /*remove when banner need to delete*/

}

.logo img {
   width: 1000px;
  
  max-height: 700px;
  object-fit: contain;
}



nav {
  width: 100%;
  padding-top:30px;/*remove when banner need to delete*/
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 15px;
  flex-wrap: wrap;
}

.menu li {
  position: relative;
}

.menu li a {
  text-decoration: none;
  color: black;
  font-size: 18px;
  padding: 10px;
  font-weight: bold;
  transition: 0.3s;
}

.menu li a:hover,
.dropdown-menu li a:hover {
  color: red;
  background-color: whitesmoke;
  border-radius: 5px;
  text-decoration: underline;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  min-width: 160px;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  text-decoration: none;
  color: black;
  display: block;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  background-color: greenyellow;
  color: black;
  font-weight: bold;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column; /* stack logo + toggle + menu vertically */
    align-items: center;
    height: auto;
    padding: 10px 12px;
    gap: 10px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  body {
    padding-top: 220px; /* add space for taller stacked header */
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img {
    width: 450px;
    height: auto;
  }

  /* 🔽 Place toggle BELOW the logo */
  .menu-toggle {
    display: block;
    font-size: 22px;
    background-color: yellowgreen;
    border: none;
    color: white;
    cursor: pointer;
    margin-top: 5px;       /* space below logo */
    align-self: center;    /* center it below logo */
  }

  nav {
    width: 100%;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: whitesmoke;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    list-style: none;
  }

  .menu li a {
    color: black;
    padding: 10px;
    font-size: 15px;
    display: block;
    text-decoration: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background-color: #f0f0f0;
  }
}


/* 🔽 Extra optimization for screens <= 480px */
@media (max-width: 480px) {
 
  body {
    padding-top: 250px; /* more space since logo + toggle stacked */
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img {
    width: 450px;
    height: auto;
  }

 /* Header container */
header {
  display: flex;
  align-items: center;   /* vertical centering */
  justify-content: flex-start; /* keep items aligned left */
  gap: 10px; /* space between toggle and logo */
}

/* 🔽 Menu Toggle Styles */
.menu-toggle {
  display: block;
  font-size: 20px;
  background-color: yellowgreen;
  border: none;
  color: white;
  cursor: pointer;
  margin: 0; /* reset margin so it aligns left */
  order: -1; /* ensures toggle stays before logo */
}
  .menu li a {
    font-size: 14px;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background-color: #f0f0f0;
  }
}


/* 🔽 Optional tweak for ultra-small screens (iPhone SE, Galaxy A01, etc.) */
@media (max-width: 375px) {
  header {
    gap: 6px;
    padding: 6px 8px;
  }

  body {
    padding-top: 180px;
  }

  .logo img {
    width: 100px;
  }

  .menu-toggle {
    font-size: 18px;
  }


  .menu li a {
    font-size: 13px;
    padding: 8px;
  }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  header {
    height: 90px;
    padding: 10px;
  }

  .logo img {
    width: 180px;
  }


  .menu li a {
    font-size: 12px;
    padding: 8px;
  }
}

/* Laptop (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  

  .logo img {
    width: 180px;
  }

 
  .menu li a {
    font-size: 14px;
    padding: 10px 8px;
  }
}

/* Desktop (>= 1367px) */
@media (min-width: 1367px) {
  .logo img {
    width: 200px;
  }

 
  .menu li a {
    font-size: 18px;
    padding: 10px 12px;
  }

  .menu-toggle {
    display: none;
  }

 
}
 



/* About Us Section */


.about-collision-city {
  background-image: url(background3.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
   padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  color:white;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Image Section */
.about-images-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(1.05); /* Start slightly zoomed in */


}

.about-images-column:hover {
  transform: scale(1); /* Zoom out to original size */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}




.about-images  {
  width: 40%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(1.05); /* Start slightly zoomed in */
}

.about-images:hover {
  transform: scale(1); /* Zoom out to original size */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/* Text Content */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
}

.about-content h2 {
  font-size: 2.2rem;
  color: blue;
  text-align: center;
  margin-bottom: 10px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  color:black;
}

.cta-button {
  display: inline-block;
  background-color: #c8102e;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 30px;
  align-self: center;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #a50c23;
}

/* Larger screens: Side by side layout */
@media (min-width: 768px) {
  .about-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
  }

  .about-content h2 {
    text-align: left;
  }

  .cta-button {
    align-self: flex-start;
  }
}

/* Extra large screens */
@media (min-width: 1200px) {
  .about-content h2 {
    font-size: 2.8rem;
  }

  .about-content p {
    font-size: 1.15rem;
  }
}

/* ===================== Extra Mobile Queries ===================== */

/* Smallest phones (portrait, 320px - 480px) */
@media (max-width: 480px) {
  .about-collision-city {
    padding: 40px 15px;
  }

  .about-content h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .about-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .about-images {
    width: 80%;
  }
}

/* Medium phones (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .about-collision-city {
    padding: 50px 18px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-images {
    width: 70%;
  }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-wrapper {
    flex-direction: row;
    gap: 40px;
    align-items: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1.05rem;
  }

  .about-images {
    width: 50%;
  }
}

/* Small Laptops / Large Tablets (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .about-wrapper {
    gap: 50px;
  }

  .about-content h2 {
    font-size: 2.4rem;
  }

  .about-content p {
    font-size: 1.1rem;
  }
}
/* Video Section */
/* ===== Fullscreen Home Section ===== */
/* ===== Fullscreen Home Section ===== */
#home {
  position: relative;
  width: 100%;
  height: 100vh; /* default for desktops */
  overflow: hidden;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#home video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* desktop default */
  object-position: center;
  display: block;
}

/* ===== Remove Custom Controls ===== */
.video-controls {
  display: none !important;
}

/* ===== Mobile Adjustments ===== */

/* Small phones (portrait) */
@media (max-width: 480px) {
  #home {
    height: auto;       /* not forced fullscreen */
    min-height: 240px;  /* keep a decent height */
  }

  .video-container {
    position: relative;
    height: auto;
  }

  #home video {
    width: 100%;
    height: auto;
    object-fit: contain; /* show full video with black bars if needed */
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  #home {
    height: auto; 
  }

  .video-container {
    position: relative;
    height: auto;
  }

  #home video {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Small laptops and up */
@media (min-width: 769px) {
  #home {
    height: 100vh; /* fullscreen on bigger devices */
  }

  #home video {
    height: 100%;
    object-fit: cover; /* cinematic look */
  }
}




/* CORE VALUES SECTION */

.core-values-section {
  padding: 190px 20px;
  background-image: url(bg/bg4.png);
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.core-values-container {
  max-width: 1400px;
  margin: 0 auto;
}

.core-values-container h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: blue;
}

.core-values-container .intro {
  font-size: 1.1rem;
  margin: 0 auto 40px;
  color: black;
  max-width: 800px;
  line-height: 1.6;
}

.core-values-grid {
  display: grid;
  gap: 30px;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 0 10px;
}

/* Force 5 columns on large desktop */
@media (min-width: 1200px) {
  .core-values-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* For smaller laptops or medium desktops (2 or 3 columns centered) */
@media (min-width: 768px) and (max-width: 1199px) {
  .core-values-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    max-width: 720px;
    margin: 0 auto;
  }
  
.core-values-section {
  padding: 10px 10px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  margin-top: 5px;
  
}
  
}

/* For tablets and larger phones */
@media (max-width: 767px) {
  .core-values-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Individual Cards */
.core-value-card {
  background-color: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
   background-color:rgb(134, 214, 134);

}

.core-value-card i {
  font-size: 2.4rem;
  color: #c8102e;
  
  margin-bottom: 20px;
}

.core-value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: blue;
}

.core-value-card p {
  font-size: 0.95rem;
  color:black;
  line-height: 1.6;
}

/* Mobile font scaling */
@media (max-width: 480px) {
  .core-values-section {
    padding: 100px 15px;
    padding-top: 170px;
  }

  .core-values-container h2 {
    font-size: 2rem;
  }

  .core-values-container .intro {
    font-size: 1rem;
  }

  .core-value-card i {
    font-size: 2rem;
  }

  .core-value-card h3 {
    font-size: 1.15rem;
  }

  .core-value-card p {
    font-size: 0.9rem;
  }
}

/* ─────────────── Mission Section ─────────────── */

/* ========== Mission Section ========== */
#Mission {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
   padding: 10px 20px 60px;
  background-color: #f9f9f9;
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  
}

/* ========== Mission Container ========== */
.mission-container {
  width: 100%;
  max-width: 1100px;
  background-image: url('bg/bg4.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 40px;
}

/* ========== Typography ========== */
.mission-container h2 {
  color: blue;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.mission {
  color: black;
  line-height: 1.8;
  font-size: clamp(1rem, 2vw, 1.25rem);
  padding: 0 10px;
  max-width: 800px;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 768px) {
  #Mission {
    padding: 80px 15px 40px;
  }

  .mission-container {
    width: 92%;
    padding: 2rem 1.2rem;
  }

  .mission-container h2 {
    font-size: 1.8rem;
  }

  .mission {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  #Mission {
    padding: 70px 10px 30px;
  }

  .mission-container {
    width: 96%;
    padding: 1.5rem 1rem;
  }

  .mission-container h2 {
    font-size: 1.6rem;
  }

  .mission {
    font-size: 1rem;
  }
}
/* ==================== Responsive Breakpoints ==================== */

/* Extra Small Phones (320px - 480px) */
@media (max-width: 480px) {
  #Mission {
    padding: 40px 10px 30px;
  }

  .mission-container {
    width: 96%;
    padding: 1.2rem 1rem;

  }

  .mission-container h2 {
    font-size: 1.5rem;
  }

  .mission {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Small & Medium Phones (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  #Mission {
    padding: 70px 15px 40px;
  }

  .mission-container {
    width: 94%;
    padding: 1.5rem 1.2rem;
  }

  .mission-container h2 {
    font-size: 1.7rem;
  }

  .mission {
    font-size: 1rem;
  }
}

/* ========== Variables ========== */
:root {
  --primary: blue;
  --secondary: #28a745;
  --light: #f8f9fa;
  --dark: red;
  --card-bg: #ffffff;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: white;
}

/* ========== Services Section ========== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Section Wrapper */
#services {
  background-image: url('bg/background2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 100px 20px 60px; /* default top padding to clear header */
  box-sizing: border-box;
  padding-top: 170px;
}

.services-wrapper {
  width: 100%;
  margin: auto;
  padding: 40px 20px;
}

.services-wrapper h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: blue;
}

/* Split screen layout */
.services-split {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

/* ==== Left: Vertical Links ==== */
.services-column {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 80vh;             /* default height */
  overflow-y: scroll;       /* ✅ always show scrollbar */
  overflow-x: hidden;
  padding-right: 10px;
}

.services-column::-webkit-scrollbar {
  width: 8px;
}
.services-column::-webkit-scrollbar-thumb {
  background: #c62828;
  border-radius: 4px;
}
.services-column::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.services-column h2 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #c62828;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 2px solid #c62828;
  padding-bottom: 5px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: white;
  font-size: 1.1rem;
  font-weight: 600;
  color: black;
  text-decoration: none;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.service-link i {
  font-size: 1.4rem;
  color: #c62828;
  min-width: 35px;
  text-align: center;
}

.service-link:hover {
  background:#9bef9f;
  color: black;
}
.service-link:hover i {
  color:red;
}

/* ==== Right: Service Cards ==== */
.service-card {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  background: #9bef9f; /* green */
  transform: translateY(-5px);
  color: white;
}

.card-icon {
  font-size: 2rem;
  color: #c62828;
  margin-bottom: 15px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: blue;
}

.card-description {
  font-size: 0.95rem;
  color: black;
}

/* Grid Container */
.services-container {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ always 3 per row for laptop/desktop */
  gap: 20px;
  height: 80vh;             /* ✅ matches link column */
  overflow: visible;        /* ✅ no scrollbar */
  padding-right: 5px;
}

/* ==== Laptop / Desktop (≥992px) ==== */
@media (min-width: 992px) {
  .services-split {
    flex-direction: row;
    align-items: stretch;   /* ✅ keeps equal height */
  }

  .services-column {
    flex: 0 0 250px;
    height: 85vh;           /* ✅ fixed height */
    overflow-y: scroll;     /* ✅ always scrollbar */
    overflow-x: hidden;
  }

  .services-container {
    grid-template-columns: repeat(3, 1fr);
    height: 85vh;           /* ✅ same as links */
    overflow: visible;      /* ✅ expand naturally, no scrollbar */
  }
}

/* ==== Tablet (601px - 768px) ==== */
@media (max-width: 768px) {
  .services-split {
    flex-direction: column;
  }

  .services-container {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .services-column {
    height: auto;
    overflow-y: visible;
  }
}

/* ==== Mobile (≤600px) ==== */
@media (max-width: 600px) {
  .services-split {
    flex-direction: row;   
    gap: 8px;
    align-items: stretch;
  }

  /* Left: Links Column */
  .services-column {
    flex: 0 0 45%;         
    height: 80vh;             
    overflow-y: auto;       /* smoother scrolling */
    overflow-x: hidden;
    padding-right: 12px;    /* increased padding to avoid scrollbar overlap */
    scrollbar-gutter: stable; /* keeps space for scrollbar in modern browsers */
  }

  .services-column h2 {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }

  .service-link {
    font-size: 0.65rem;      
    padding: 8px 5px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .service-link i {
    font-size: 0.9rem;
    min-width: 24px;
    text-align: center;
  }

  /* Right: Grid Column */
  .services-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 15px; 
    height: 80vh;             
    overflow-y: auto;       
    overflow-x: hidden;
    padding-right: 12px;    /* extra padding for scrollbar */
    scrollbar-gutter: stable; /* prevent content shift */
  }

  .service-card {
    padding: 12px;          /* slightly more padding for breathing space */
    border-radius: 8px;
  }

  .card-icon {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .card-title {
    font-size: 0.85rem;
    font-weight: 700;
  }

  .card-description {
    font-size: 0.7rem;
    font-weight: 500;
  }
}


/* ========== Prevoius Works Section ========== */

 body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background: #f7f7f7;
    }

#works{margin-top: 40px;}

    .sub-header {
  background:black;
  padding: 20px 10px;
  text-align: center;
  color: blue;
}

.sub-header h2 {
  margin: 0;
  font-size: 1.6rem;
}

.sub-header h1 {
  margin: 0;
  font-size: 2rem;
}

    .container {
      max-width: 800px;
      width:100%;
      margin: auto;
      padding: 20px;
      margin-top: 40px;
      
    }

    .post {
      background: white;
      margin-bottom: 30px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .post:hover {
      transform: translateY(-5px);
    }

    .post-header {
      background: #003049;
      color: white;
      padding: 15px;
      font-size: 1.2rem;
    }

    .images {
      display: flex;
      flex-wrap: wrap;
      gap: 0;
    }

    .image-box {
      flex: 1 1 50%;
      position: relative;
    }

    .image-box img {
      width: 100%;
      display: block;
    }

    .caption {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(0,0,0,0.6);
      color: white;
      padding: 5px 10px;
      font-size: 0.9rem;
      border-radius: 5px;
    }

    .description {
      padding: 15px;
      font-size: 1rem;
      line-height: 1.5;
      color:black;
    }
.btn {
  display: inline-block;
  margin: 20px auto; /* centers in block/inline-block when parent has text-align center */
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
        transition: background-color 0.3s ease;

}

.btn:hover {
  background-color: #01172f; /* darker blue on hover */
  transform: translateY(-2px); /* slight lift */
}


.container{
  text-align: center; /* ensures button centers inside */
}

    /* Responsive */
    @media(max-width: 768px) {
      .image-box {
        flex: 1 1 100%;
      }
    }
    .sub-header {
  background:black;
  padding: 20px 10px;
  text-align: center;
  color: blue;
}

.sub-header h2 {
  margin: 0;
  font-size: 1.6rem;
}

.sub-header p {
  margin-top: 5px;
  font-size: 1rem;
  color: white;
}








/* ========== Why Choose Us Section ========== */
#why-choose{padding-top:30px;}

.why-choose-collision {
 background-image: url(bg/bg1.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 20px 40px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;

}

.why-choose-collision h2 {
  font-size: 2rem;
  color: blue;
  margin-bottom: 35px;
  font-weight: 700;
  line-height: 1.2;
  padding-top:80PX ;
}

.why-choose-collision .reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.reason {
  background: #fff;
  padding: 25px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
   background-color:rgb(134, 214, 134);

}

.reason i {
  font-size: 2rem;
  color: #c8102e;
  margin-bottom: 15px;
}

.reason h3 {
  font-size: 1.2rem;
  color: blue;
  margin-bottom: 10px;
  font-weight: 600;
}

.reason p {
  font-size: 1rem;
  color: black;
  line-height: 1.6;
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .why-choose-collision .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-choose-collision {
  background-color: #f9f9f9;
  padding: 60px 20px 40px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 40px;
}

  .why-choose-collision h2 {
    font-size: 2.2rem;
    margin-top: 10px;
  }

  .reason {
    padding: 22px 16px;
  }

  .reason h3 {
    font-size: 1.15rem;
  }

  .reason p {
    font-size: 0.95rem;
  }
}

/* Desktop - 3 columns */
@media (min-width: 1024px) {
  .why-choose-collision .reasons {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-choose-collision h2 {
    font-size: 2.8rem;
    margin-top: 30px;
  }

  .reason h3 {
    font-size: 1.3rem;
  }

  .reason p {
    font-size: 1.1rem;
  }
}

/* Larger laptop screens */
@media (min-width: 1366px) {
  .why-choose-collision {
  background-color: #f9f9f9;
  padding: 60px 20px 40px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 100px;
}

  .why-choose-collision h2 {
    font-size: 2.8rem;
    margin-top: 0;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  
  .why-choose-collision {
  background-color: #f9f9f9;
  padding: 60px 20px 40px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  padding-top: 180px;
}

  .why-choose-collision h2 {
    font-size: 1.6rem;
  }

  .reason {
    padding: 20px 14px;
  }

  .reason h3 {
    font-size: 1rem;
  }

  .reason p {
    font-size: 0.95rem;
  }

  .reason i {
    font-size: 1.8rem;
  }
}

/* ========== Testimonials Section ========== */
#testimonials {
  width: 100%;
  padding: 120px 30px 80px; /* Top, horizontal, bottom */
  background:white ;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

#testimonials h2 {
  color: blue;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  padding-top: 40PX;
}

/* Testimonial Container */
.testimonial-container {
  width: 100%;
  max-width: 700px;
 background-image: url(bg/bg2.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 220px;
}

/* Testimonial Box */
.testimonial {
  display: none;
  font-size: 18px;
  color: black;
  line-height: 1.6;
  width: 100%;
   
  

}

.testimonial h4 {
  margin-top: 15px;
  color: #2088ef;
  font-size: 1.1rem;
}

/* Navigation Buttons */
.prev, .next {
  background: #2088ef;
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 22px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s ease;
  z-index: 10;
}

.prev:hover, .next:hover {
  background: #0a66c2;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

/* Dots */
.testimonial-dots {
  margin-top: 25px;
}

.dot {
  width: 14px;
  height: 14px;
  margin: 6px;
  background: #bbb;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #2088ef;
}

/* ========== Responsive Design ========== */

/* Base Section */
#testimonials {
  width: 100%;
  padding: 140px 30px 80px; /* accounts for fixed header */
  background: white;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

/* ========== Responsive Design ========== */

/* Large Desktops (1441px+) */
@media (min-width: 1441px) {
  #testimonials {
    padding-top: 180px;
  }

  .testimonial-container {
    max-width: 800px;
    padding: 35px;
  }
}

/* Laptops (1025px – 1440px) */
@media (max-width: 1440px) {
  #testimonials {
    padding-top: 160px; /* reduced for header */
    padding-bottom: 80px;
  }

  .testimonial-container {
    max-width: 680px;
    padding: 28px;
  }
}

/* Medium Laptops (992px – 1040px) */
@media (max-width: 1040px) and (min-width: 992px) {
  #testimonials {
    padding-top: 100px;
    padding-bottom: 70px;
  }

  #testimonials h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .testimonial {
    font-size: 17px;
  }

  .testimonial-container {
    width: 90%;
    padding: 20px;
  }

  .prev, .next {
    font-size: 20px;
    padding: 10px 12px;
  }
}

/* Tablets (768px – 991px) */
@media (max-width: 991px) {
  #testimonials {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  #testimonials h2 {
    font-size: 1.9rem;
  }

  .testimonial-container {
    width: 92%;
    padding: 22px;
  }

  .testimonial {
    font-size: 16.5px;
  }
}

/* Mobile (481px – 768px) */
@media (max-width: 768px) {
  #testimonials {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  #testimonials h2 {
    font-size: 1.7rem;
  }

  .testimonial-container {
    width: 95%;
    padding: 20px;
  }

  .testimonial {
    font-size: 16px;
  }

  .prev, .next {
    font-size: 18px;
    padding: 8px 12px;
    left: 10px;
    right: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  #testimonials h2 {
    font-size: 1.6rem;
  }
 #testimonials {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .testimonial-container {
    padding: 16px;
    text-align: center;
  }

  .testimonial {
    font-size: 15px;
  }

  /* Proper aligned nav below container */
  .testimonial-nav {
    display: flex;
    justify-content: center;  /* center horizontally */
    align-items: center;      /* vertical alignment */
    gap: 20px;                /* spacing between arrows */
    margin-top: 12px;         /* space below testimonial box */
  }

  .prev, .next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    position: static; /* removes overlap issues */
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}


/* Extra Small (up to 360px) */
@media (max-width: 360px) {
  #testimonials {
    padding-top: 110px;
  }

  .testimonial-container {
    padding: 14px;
  }

  .testimonial {
    font-size: 14.5px;
  }

  .prev, .next {
    font-size: 14px;
    padding: 5px 9px;
  }
}



/* START OF FAQ CSS */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: black;
}

/* FAQ Section Base Styling */
.faq-section {
  padding: 80px 20px 60px;
  background-color: white;
  padding-top: 190px;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: blue;
  margin-bottom: 40px;
  position: relative;
  margin-top: 20px ;
}

.faq-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: red;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* FAQ Item Base Style */

.faq {
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
}

.faq:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
  background-color: rgb(243, 191, 94);
  padding: 18px 24px;
  font-weight: bold;
  font-size: 1.15rem;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  text-align: left;
}

.faq-question:hover {
  background-color: #fff;
}

.faq-question::after {
  content: "\f078"; /* Chevron down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

/* FAQ Answer Style */
.faq-answer {
  font-size: 1.05rem;
  color: black;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background-color: white;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq.active .faq-answer {
  max-height: 1000px;
  padding: 16px 24px 24px;
}

/* -------------------------- */
/* RESPONSIVE MEDIA QUERIES */
/* -------------------------- */

@media (max-width: 991px) {
  .faq-section {
    padding: 20px 16px 20px;
     padding-top: 90px;
  }

  .faq-section h2 {
    font-size: 2.1rem;
  }

  .faq-question {
    font-size: 1.05rem;
    padding: 16px 20px;
  }

  .faq-answer {
    font-size: 1rem;
    padding: 0 20px;
  }

  .faq.active .faq-answer {
    padding: 14px 20px 20px;
  }
}

@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 1.9rem;
  }
  .faq-section {
  
  padding-top: 30px;
}

  .faq-question {
    font-size: 1rem;
    padding: 14px 18px;
  }

  .faq-answer {
    font-size: 0.95rem;
    padding: 0 18px;
  }

  .faq.active .faq-answer {
    padding: 12px 18px 18px;
  }
}

@media (max-width: 480px) {
  .faq-section h2 {
    font-size: 1.6rem;
    margin-top: 80px;
  }

  .faq-question::after {
    right: 15px;
  }

  .faq-question {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding: 0 16px;
  }

  .faq.active .faq-answer {
    padding: 12px 16px 16px;
  }

  .faq-section {
    padding: 100px 20px 60px;   /* base padding */
    padding-top: 200px;         /* extra space to avoid header overlap */
    
  }
}

    /* END OF FAQ CSS */
  


/* contact form*/


#sheetform {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: white;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Main Container Styles */
.container {
  max-width: 800px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(black) padding-box,
              linear-gradient(greenyellow) border-box;
  border: 7px solid transparent;
  padding: 32px 24px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 20px;
  background-size: 300% 200%;

  position: relative;
  overflow: hidden;
}


/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 15px;
}

.form-header h2 {
  font-size: 2.4rem;
  color: blue;
  margin-bottom: 15px;
  line-height: 1.2;
}

.form-header h1 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* Form Elements Container */
#jobForm {
  display: grid;
  gap: 1.8rem;
  padding: 0 15px;
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
}

.input-group label {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: blue;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  padding: 0 0.5rem;
  font-size: 1rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: black;
}

/* Floating Labels Animation */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -2rem;
  left: 1rem;
  font-size: 1.5rem;
  color: greenyellow;
  background: transparent;
  transform: translateY(0);
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #6c5ce7;
  background: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.1);
}

/* Message Styles */
#msg {
  padding: 1.2rem;
  border-radius: 10px;
  margin: 1.5rem 15px;
  text-align: center;
  font-weight: 500;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.7s ease;
  display: none;
}


    .success-float {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: black;
      color: greenyellow;
      font-size: 40px;
      font-weight: bold;
      padding: 20px 40px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
      opacity: 0;
      animation: appear 0.6s ease-out forwards, fadeOut 1s ease-in-out 2s forwards;
      z-index: 8000;
    }
#msg.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#msg.success {
  background: white;
  border: 2px solid #4CAF50;
  color: blue;
  font-size: 2rem;
  font-weight: bold;
 
}
.error-message {
  color: red;
  font-size: 18px;
  font-weight: bold;
  margin-top: 5px;
}

#msg.error {
  background: #ffebee;
  border: 2px solid #f44336;
  color: #c62828;
  font-size: 1.5;
}

/* Submit Button */
button[type="submit"] {
  background: rgb(2, 109, 21);
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 10px;
  font-size: 4rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: calc(100% - 20px);
  margin: 0 15px;
}

button[type="submit"]:hover {
  background: rgb(1, 36, 12);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
  color:red;
   font-size: 2rem;
  font-weight: bold;
}

/* Spinner Animation */
.spinner {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 2rem;
    margin: 1rem;
    width: 95%;
  }

  .form-header h2 {
    font-size: 2rem;
  }

  .form-header h1 {
    font-size: 1.5rem;
  }

  #jobForm input,
  #jobForm textarea {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
    border-width: 4px;
     max-width: 600px;
    width: 100%;
  }
  
}
  button[type="submit"] {
    padding: 1rem;
    font-size: 1rem;
    width: calc(100% - 20px);
    margin: 0 10px;
  }
  
  .input-group label {
    left: 1rem;
    font-size: 0.9rem;
  }
          .qr-code1 {display: flex;
            justify-content: center;
            align-items: center;
            height: 200px; /* Adjust height as needed */
            width: 300px; /* Adjust width as needed */
           
            margin: auto;
        }
        img {
            max-width: 100%;
            height: auto;
        }
/*flying papers submit button effects*/
    .paper {
      position: absolute;
      width: 20px;
      height: 20px;
      background: white;
      border: 1px solid #ccc;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      opacity: 0;
      transform: scale(0.6);
      animation: fly 1s ease-out forwards;
      z-index: 8000;
    }

    @keyframes fly {
      0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(0.6);
      }
      100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1);
      }
    }

   .success-float {
  position: fixed;
  top: 30%; /* Changed from 50% to 30% to move it above form */
  left: 50%;
  transform: translate(-50%, -30%);
  background-color: black;
  color: greenyellow;
  font-size: 32px; /* Slightly larger */
  font-weight: bold;
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
  opacity: 0;
  animation: appear 0.6s ease-out forwards;
  z-index: 9999; /* Ensure it's above all other content */
  max-width: 90%;
  text-align: center;
}

    @keyframes appear {
      0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
      }
      50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
      }
      100% {
        transform: translate(-50%, -50%) scale(1);
      }
    }

    @keyframes fadeOut {
      to {
        opacity: 0;
      }
    }

/*cta apply*/

 body {
      margin: 0;
      padding: 0;
      background-color: white;
    }

    .cta-section {
      background-color:rgb(245, 200, 117);
      padding: 160px 20px;
      text-align: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      animation: fadeIn 1.2s ease-in-out;
    }

    .cta-container {
      max-width: 600px;
      margin: 0 auto;
    }

    .cta-heading {
      font-size: 2rem;
      margin-bottom: 15px;
      color:blue;
      font-weight: bolder;
      padding-top: 50px;
    }

    .cta-text {
      font-size: 1.5rem;
      margin-bottom: 25px;
      color: black;
      font-weight: bold;
    }

    .cta-button {
      display: inline-block;
      padding: 12px 24px;
      background-color: black;
      color: white;
      font-size: 2rem;
      border-radius: 6px;
      text-decoration: none;
      margin-bottom: 15px;
      transition: all 0.3s ease;
    }

    .cta-button i {
      margin-right: 8px;
    }

    .cta-button:hover {
      background-color:white;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      color:red;
    }
    .cta-button :hover {
      margin-right: 8px;
      color:red;
    }

    .cta-email {
      font-size: 1rem;
      color: #0066cc;
      word-break: break-word;
      margin-top: 10px;
    }

    
    .cta-email a {
      text-decoration: none;
      color:black;
      transition: color 0.3s;
      font-weight: bold;
      font-size: 2rem;
    }

    .cta-email a:hover {
      color: blue;
      text-decoration: underline;
      font-weight: bold;
      font-size: 2rem;
    }

    .cta-email i {
      margin-right: 6px;
      color: white;
      font-weight: bold;
      font-size: 2rem;
    }

    .cta-email i:hover {
      margin-right: 6px;
      color: blue;
      font-weight: bold;
      font-size: 2rem;
    }
    /* Fade-in animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive adjustments */
    @media (max-width: 480px) {
      .cta-heading {
        font-size: 1.5rem;
      }

      .cta-text,
      .cta-email {
        font-size: 1rem;
      }

      .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
      }
    }
/* ========== Location Section Base Styles ========== */
.location-section {
  padding: 190px 20px;
  background-image: url(bg/background2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  color: black;
}

.location-content {
  max-width: 1200px;
  margin: 0 auto;
}

.location-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
  color: blue;
}

.location-content p {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
  color: black;
}

.info-map-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.location-info {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
}

.location-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
  color: blue;
}

.location-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
  color: black;
}

.location-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  text-align: center;
  color: black;
}

.location-map {
  flex: 1 1 500px;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ========== Responsive Styles ========== */

/* Extra Small Phones (320px - 480px) */
@media (max-width: 480px) {
  .location-section {
    padding: 100px 15px;
  }
  .location-content h1 {
    font-size: 1.6rem;
  }
  .location-content p {
    font-size: 1.1rem;
  }
  .location-info h2 {
    font-size: 1.4rem;
  }
  .location-info h3 {
    font-size: 1.1rem;
  }
  .location-info p {
    font-size: 0.95rem;
  }
  .location-map {
    min-height: 250px;
    width: 100%;
  }
  .info-map-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* Small & Medium Phones (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .location-section {
    padding: 160px 18px;
  }
  .location-content h1 {
    font-size: 1.8rem;
  }
  .location-content p {
    font-size:1rem;
}
}

  /* Before & After images slider */
    
   body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
  }

  

  header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .container {
    max-width: 1200px;
    margin: auto;
    padding: clamp(10px, 2vw, 20px);
    text-align: center;
    margin-top: 20px;
  }

  /* Slider container */
  .slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: #003049;
  }

  /* Slider track */
  .slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
  }

  /* Each slide */
  .slide {
    flex: 0 0 100%;
    box-sizing: border-box;
  }

  .post-header {
    background: #003049;
    color: white;
    padding: clamp(10px, 1.5vw, 15px);
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-align: center;
  }

  /* Before & After images */
  .images {
    display: flex;
    flex-wrap: wrap;
  }

  .image-box {
    flex: 1 1 50%;
    position: relative;
  }

  .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    border-radius: 5px;
  }

  /* Slider navigation buttons */
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: clamp(8px, 2vw, 12px);
    cursor: pointer;
    border-radius: 4px;
    z-index: 5;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    transition: background 0.3s ease;
  }

  .slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
  }

  .prev { left: 10px; }
  .next { right: 10px; }

  /* Main CTA Button */
  .btn {
    display: inline-block;
    margin: 20px auto;
    background-color: #007bff;
    color: white;
    padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 24px);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color:black;
  }

  /* Section sub-header */
  .sub-header {
    background: black;
    padding: clamp(10px, 2vw, 20px);
    text-align: center;
    color: blue;
    margin-top: 40px;
  }

  .sub-header h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  }

  .sub-header p {
    margin-top: 5px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: white;
  }

  /* Hover effect on slider to indicate pause */
.slider-container:hover {
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: scale(1.01);
  transition: all 0.3s ease-in-out;
}

  /* Responsive tweaks */
  @media(max-width: 768px) {
    .image-box {
      flex: 1 1 100%;
    }
    .post-header {
      text-align: center;
    }
    .slider-btn {
      padding: 8px 10px;
    }
  }

  @media(max-width: 480px) {
    .caption {
      font-size: 0.75rem;
      padding: 3px 6px;
    }
    .slider-btn {
      font-size: 1.2rem;
      padding: 6px 8px;
    }
  }


/* Footer  */
footer {
  background: linear-gradient(100deg, #efc210, #e6bb7a,#ebba1b);
  color: black; /* Original color */
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease; /* Smooth color transition */
  padding: 10px 0;
  margin-top: 0;
  GAP:20PX;

}
/* Footer links color hover effect */
footer a {
 
  color: blue; /* Original color */
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease; /* Smooth color transition */
  padding: 10px 15px; /* Adjust padding for better spacing */
  margin: 0 5px; /* Add margin for additional spacing */
}

footer a:hover {
  color: black; /* Hover color */
  text-decoration: underline;
  transform: translateX(5px);
}

footer{
  background-image: url(bg/background2.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/*insurance partnership */

  #logo-insurance-partners {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(rgb(205, 205, 114), rgb(246, 188, 81), rgb(243, 243, 176));
  overflow: hidden;
}

#logo-insurance-partners h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: blue;
  padding-top: 40px;
}

#logo-insurance-partners p {
  font-size: 2rem;
  margin-bottom: 30px;
  color: black;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
  padding: 30px 0;
  background: linear-gradient(rgb(205, 205, 114), rgb(246, 188, 81), rgb(243, 243, 176));
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.logo-marquee-content {
  display: flex;
  width: max-content; /* ensures logos don't cut off */
  gap: 60px;
  animation: scroll-left 15s linear infinite;
  flex-wrap: nowrap;
}

/* Pause marquee on hover */
.logo-marquee:hover .logo-marquee-content {
  animation-play-state: paused;
}

.logopartner {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.2rem;
  color: blue;
  padding: 20px 18px;
  background: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.logopartner img {
  height: 120px; /* balanced desktop size */
  max-height: 20vh;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover effects on individual logos */
.logopartner:hover {
  background: #222;
  color: #fff;
  transform: scale(1.05);
}

.logopartner:hover img {
  transform: scale(1.25);
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%); /* full width scroll */
  }
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 480px) {
  #logo-insurance-partners {
    padding: 30px 15px;
  }
  #logo-insurance-partners h2 {
    font-size: 1.5rem;
  }
  #logo-insurance-partners p {
    font-size: 1rem;
  }
  .logopartner img {
    height: 60px;
  }
  .logo-marquee-content {
    gap: 30px;
    animation-duration: 15s;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .logo-marquee-content {
    gap: 40px;
    animation-duration: 18s;
  }
  .logopartner img {
    height: 80px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  #logo-insurance-partners h2 {
    font-size: 2rem;
  }
  #logo-insurance-partners p {
    font-size: 1.2rem;
  }
  .logopartner img {
    height: 100px;
  }
}

@media (min-width: 1201px) {
  .logo-marquee-content {
    gap: 80px;
    animation-duration: 28s;
  }
  .logopartner img {
    height: 120px;
  }
}