/* ========================
   General Styles
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #fff;
  color: #333;
}

/* ========================
 Header
======================== */
header {
  background: #003366;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

header .logo img {
  width: 150px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #fcbf49;
}

header nav ul li a.btn-call {
  background: #fcbf49;
  color: #003366;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

header nav ul li a.btn-call:hover {
  background: #ffdb7c;
}







/* ========================
   MOBILE MENU BUTTON
======================== */
.menu-toggle {
  display: none; /* hidden on desktop */
  background: none;
  border: none;
  color: #6CAF10; /* brand accent */
  font-size: 28px;
  cursor: pointer;
  z-index: 1100;
}

/* ========================
   HERO SLIDER (FADE MODE)
======================== */





/* Slide image */



/* Slide text */




/* ========================
   MOBILE RESPONSIVE
======================== */
@media (max-width: 768px) {

  /* Show menu toggle */
  .menu-toggle {
    display: block;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
  }

 
  /* Hero text scaling */

}
















/* ========================
 Services Section
======================== */
.services {
padding: 60px 20px;
text-align: center;
background: #ffffff;
}

.services h2 {
font-size: 2rem;
margin-bottom: 30px;
color: #003366;
}

/* Service Cards Layout */
.service-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 25px;
justify-items: center;
}

/* ========================
 Service Card
======================== */
.card {
background: #f5f5f5;
padding: 25px 20px;
width: 100%;
max-width: 300px;
border-radius: 12px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
transform: translateY(-6px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Card Image */
.card img {
width: 110px;
height: 110px;
object-fit: contain;
margin-bottom: 15px;
transition: transform 0.3s ease;
}

.card:hover img {
transform: scale(1.08);
}

/* Card Text */
.card h3 {
margin-top: 10px;
font-size: 1.1rem;
color: #0066cc;
}

.card p {
font-size: 0.95rem;
color: #555;
margin-top: 8px;
}















/* ========================
 About Section
======================== */
.about {
  padding: 60px 20px;
  background: #e0e0e0;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003366;
}

/* ========================
 Contact Section
======================== */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #003366;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 30px;
}

.contact-wrapper form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-wrapper form input,
.contact-wrapper form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-wrapper form button {
  background: #003366;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-wrapper form button:hover {
  background: #0055aa;
}


/* ========================
 Footer
======================== */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}


/* Areas Served */
.areas {
padding: 60px 20px;
background: #f9f9f9;
text-align: center;
}

.areas h2 {
font-size: 2rem;
margin-bottom: 20px;
}



.area-card {
background: #fff;
border-radius: 10px;
padding: 15px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}

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

.area-card img {
width: 100%;
height: 150px;
object-fit: cover;
border-radius: 8px;
}

.area-card h3 {
margin: 15px 0 10px;
font-size: 1.2rem;
}

/* Hero Section */

/* Subpage Hero */


/* Problem Section */
.problems {
padding: 60px 20px;
background: #f9f9f9;
}
.problem-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}









/* Washing Machine Problems Grid */

.problems h2 {
font-size: 2rem;
margin-bottom: 40px;
color: #333;
}




.problem-card h3 {
font-size: 1.2rem;
color: #222;
margin: 15px 10px 8px;
}

.problem-card p {
color: #555;
font-size: 0.95rem;
margin: 0 15px 20px;
line-height: 1.5;
}

/* Call To Action */

.cta {
  margin: 40px 0;
  text-align: center;
}

.cta .btn-primary {
  display: inline-block;
  width: 100%;
  max-width: 420px;
}





.btn-primary {
background-color: #007bff;
color: #fff;
padding: 14px 28px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: background 0.3s;
}



.btn-primary:hover {
background-color: #0056b3;
}




/* --- Responsive --- */

.card-link {
text-decoration: none;
color: inherit;
display: block;
}




.card:hover img {
transform: scale(1.1);
}

.card img {
transition: transform 0.3s ease;
}



.card h3 {
margin-top: 15px;
color: #0066cc; /* clickable blue text */
font-size: 1.1em;
}

.card p {
color: #555;
font-size: 0.95em;
margin-top: 10px;
}







/* Desktop (default): 3 cards */
.area-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

/* Tablet: 2 cards */
@media (max-width: 1024px) and (min-width: 769px) {
.area-cards {
  grid-template-columns: repeat(2, 1fr);
}
}




/* ========================
   MOBILE RESPONSIVE FIXES
======================== */
@media (max-width: 768px) {

  /* ========================
     AREA CARDS
  ======================== */
  .area-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ========================
     HEADER LAYOUT
  ======================== */
  .header-container {
    display: flex;
    flex-direction: row; /* keep logo + toggle horizontal */
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    position: relative;
  }

  /* ========================
     MENU TOGGLE
  ======================== */
  .menu-toggle {
    display: block;
    position: absolute;
    left: 8px;                 /* far left */
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #6CAF10;            /* ✅ your chosen color */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  .menu-toggle.open {
    color: #ffffff;
  }

  /* ========================
     MOBILE NAV (OFF-CANVAS)
  ======================== */
  nav {
    position: fixed;
    top: 0;
    left: -260px;              /* hidden */
    width: 260px;
    height: 100vh;
    background: #003366;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    left: 0;
  }

  /* ========================
     NAV LINKS
  ======================== */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 20px;
  }

  .nav-links li {
    margin: 0;
  }

  /* ========================
     CALL BUTTON
  ======================== */
  .btn-call {
    width: 80%;
    margin: 15px auto;
    text-align: center;
  }

  /* ========================
     MAP FIX
  ======================== */
  .contact .map {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
  }

  .contact .map iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* ========================
     HERO SECTION
  ======================== */
  

 


  
  /* ========================
     SERVICE CARDS
  ======================== */
  .service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    max-width: 320px;
    margin: 0 auto;
  }

}














/* Fix Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}


.card {
    max-width: 320px;
    margin: 0 auto;
    padding: 15px;
    text-align: center;
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}







/* ========================
   Areas Served Section
======================== */
.area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 20px;
  align-items: start;
  justify-items: center;
}

.area-card {
  width: 100%;
  max-width: 350px; /* prevents cards from stretching too wide */
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.area-card img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.area-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #003366;
}

.area-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}

.area-card .btn-primary {
  display: inline-block;
  width: 100%; /* button spans full card width */
  text-align: center;
  padding: 12px 0;
  font-size: 0.95rem;
  border-radius: 6px;
  margin-top: auto; /* push button to bottom if card height varies */
}

/* ========================
   Responsive (Tablet & Mobile)
======================== */
@media (max-width: 1024px) {
  .area-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (max-width: 768px) {
  .area-cards {
    grid-template-columns: 1fr; /* stack cards vertically on mobile */
    gap: 20px;
  }

  .area-card {
    max-width: 95%; /* small margin from edges */
    padding: 15px;
  }

  .area-card img {
    max-height: 150px;
  }

  .area-card h3 {
    font-size: 1.1rem;
  }

  .area-card p {
    font-size: 0.9rem;
  }

  .area-card .btn-primary {
    font-size: 0.95rem;
    padding: 12px 0;
  }
}











/* Fix Contact Section */













/* FIX – Service card icons only */
.services .card img {
width: 120px;
height: 120px;
object-fit: contain;
}

/* FIX – Subpage problem cards */
.problem-card img {
width: 100%;
height: 200px;
object-fit: cover;
}



.contact .map {
width: 100%;
height: 400px;
margin: 30px 0;
border-radius: 10px;
overflow: hidden;
}

.contact .map iframe {
width: 100%;
height: 100%;
border: 0;
}

/* Navy blue theme */
.areas-list {
padding: 60px 20px;
background: #f4f6fa;
}

.areas-list h2 {
text-align: center;
margin-bottom: 30px;
color: #0a1f44; /* navy */
}

.areas-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

.areas-grid ul {
list-style: none;
padding: 0;
margin: 0;
}

.areas-grid li {
padding: 8px 0;
font-size: 25px;
color: #0a1f44; /* navy text */
position: relative;
padding-left: 18px;
}

/* Navy bullet indicator */
.areas-grid li::before {
content: "•";
position: absolute;
left: 0;
color: #0a1f44;
font-size: 18px;
line-height: 1;
}

/* Hover effect */
.areas-grid li:hover {
color: #133b7a;
transform: translateX(4px);
transition: all 0.2s ease;
}

/* Tablet */
@media (max-width: 900px) {
.areas-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

/* Mobile */
@media (max-width: 600px) {
.areas-grid {
  grid-template-columns: 1fr;
}

.areas-grid li {
  font-size: 20px;
}
}










/* ==========================================
   1. GLOBAL & TYPOGRAPHY
============================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }

body { line-height: 1.6; background: #fff; color: #333; overflow-x: hidden; }

/* NAVY BLUE SEO HEADINGS */
.main-h1, h1.navy-title {
  color: #000080; /* Navy Blue */
  text-align: center;
  padding: 20px 10px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
}

/* ==========================================
   2. HEADER & MOBILE NAVIGATION
============================================= */
header {
  background: #003366;
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo img { width: 140px; height: auto; }

.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; }

.nav-links a { color: #fff; text-decoration: none; font-weight: 600; transition: 0.3s; }

.btn-call {
  background: #fcbf49;
  color: #003366 !important;
  padding: 10px 20px;
  border-radius: 8px;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #6CAF10;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #003366;
    transition: 0.4s;
    padding: 80px 20px;
  }
  nav.active { left: 0; }
  .nav-links { flex-direction: column; align-items: flex-start; }
}

/* ==========================================
   3. MASTER HERO SLIDER (HOME PAGE)
============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  background: #000;
}

.slides { display: flex; width: 100%; height: 100%; transition: transform 0.8s ease-in-out; }

.slide { min-width: 100%; height: 100%; position: relative; }

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

.slide::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1;
}

.slide-text {
  position: relative; z-index: 2; height: 100%; display: flex;
  flex-direction: column; justify-content: center; align-items: center;
  color: #fff; text-align: center; padding: 0 10%;
}

/* ==========================================
   4. SUB-PAGE HERO (CURVED & FIXED)
============================================= */
.sub-hero {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 350px;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-hero-img { width: 100%; height: 100%; object-fit: cover; position: absolute; }

.sub-hero-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: 1;
}

.sub-hero-content { position: relative; z-index: 2; color: #fff; text-align: center; padding: 20px; }

/* ==========================================
   5. CARDS & CURVED FRAMES (SERVICES/PROBLEMS)
============================================= */
.service-cards, .problem-list, .area-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px 5%;
}

.card, .problem-card, .area-card {
  background: #fff;
  border-radius: 20px; /* Modern curve */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: center;
}

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

.card img, .problem-card img, .area-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px; /* Inner image curve */
  transition: 0.4s;
}

/* ==========================================
   6. FOOTER & UTILITIES
============================================= */
footer { background: #003366; color: #fff; padding: 40px 0; text-align: center; }

.btn-primary {
  background: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px; /* Fully rounded buttons */
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 768px) {
  .hero, .sub-hero { border-radius: 0 0 30px 30px; height: 50vh; }
  .card, .problem-card { border-radius: 15px; }
  .main-h1 { font-size: 1.4rem; }
}























/* ========================
   MOBILE FIX
======================== */
@media (max-width: 768px) {
  .sub-hero {
    height: 40vh;         /* Shorter on phones */
    min-height: 300px;
  }
  
  .sub-hero-content h2 {
    font-size: 1.6rem;
  }
}








/* ========================
   CURVED IMAGE FRAMES
======================== */

/* Sub-Hero (Banner) Curves */
.sub-hero {
  /* Large curve for the main banner */
  border-radius: 0 0 40px 40px; 
  overflow: hidden;
  margin-bottom: 30px;
}

/* Service & Problem Cards */
.problem-card img, 
.card img,
.area-card img {
  border-radius: 15px; /* Nice curved corners */
  transition: transform 0.4s ease, border-radius 0.4s ease;
  display: block;
  width: 100%;
}

/* Hover effect: Subtle zoom with curve sharpening */
.problem-card:hover img, 
.card:hover img {
  transform: scale(1.05);
  border-radius: 25px; /* Corner curves more on hover */
}

/* Add a soft shadow to the frame */
.problem-card, .card, .area-card {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden; /* Ensures child images don't "leak" out of the curve */
}


/* Responsive Curves for Mobile */
@media (max-width: 768px) {
  .sub-hero {
      border-radius: 0 0 25px 25px; /* Smaller curve on mobile */
  }
  
  .problem-card img, 
  .card img, 
  .area-card img {
      border-radius: 12px; /* Consistent look for smaller screens */
  }
  
  .problem-card, .card, .area-card {
      border-radius: 15px;
  }
}







/* ========================
   FIXED SERVICE CARD IMAGES
======================== */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;    /* Centers text and images horizontally */
  justify-content: center;
  text-align: center;
}

.card img {
  /* This ensures the image doesn't hug the left side */
  display: block;
  margin-left: auto;
  margin-right: auto;
  
  /* Standardized sizing for service icons */
  width: 150px; 
  height: 150px;
  object-fit: contain; /* Keeps icons from being cropped */
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .card img {
    width: 120px; /* Slightly smaller for mobile */
    height: 120px;
  }
}





/* Curved Frame System for Problem Cards */
.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.problem-card {
  background: #ffffff;
  border-radius: 25px; /* Large curved frame */
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.problem-card:hover {
  transform: translateY(-8px);
}

/* Image Centering and Framing */
.card-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Centers and fills the frame */
  transition: transform 0.5s ease;
}

.problem-card:hover img {
  transform: scale(1.1);
}

.problem-card h3 {
  padding: 15px 15px 5px;
  color: #003366;
  font-size: 1.2rem;
}

.problem-card p {
  padding: 0 15px 20px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .problem-card {
    border-radius: 18px; /* Slightly smaller curve for mobile */
  }
  .card-image-wrap {
    height: 180px;
  }
}




/* 1. Force the body to stay locked to the screen width */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* 2. Fix the Problem Grid - The most likely culprit */
.problem-list {
  display: grid;
  /* Change 280px to 1fr to let the card shrink on small phones */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 20px;
  padding: 20px 15px; /* Use fixed padding instead of percentages */
  width: 100%;
  box-sizing: border-box; /* Ensures padding stays inside the width */
}

/* 3. Ensure cards don't have fixed widths on mobile */
@media (max-width: 768px) {
  .problem-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important; /* Removes any side margins causing the shift */
  }
  
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    overflow: hidden;
  }
}


/* ========================
   HEADINGS SYSTEM
======================== */

/* Base heading reset */
h1, h2, h3 {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 15px;
}

/* H1 – Page title (hero, main pages) */
h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #003366; /* Navy */
  text-align: center;
  margin-bottom: 25px;
}

/* Optional underline accent for H1 */
h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #0066cc;
  margin: 12px auto 0;
  border-radius: 4px;
}

/* H2 – Section titles */
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
}

/* Subtle left accent for desktop sections */
@media (min-width: 769px) {
  h2::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 8px;
    width: 5px;
    height: 60%;
    background: #0066cc;
    border-radius: 4px;
  }
}

/* H3 – Cards, service titles */
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0066cc;
  margin-bottom: 10px;
}



/* Floating Mobile Call Button */
.mobile-call-icon {
  display: none; /* hide on desktop */
  position: fixed;     /* float above content */
  bottom: 20px;        /* distance from bottom */
  right: 20px;         /* distance from right */
  z-index: 9999;       /* above everything */
  width: 50px;
  height: 50px;
  background: #0066cc;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: pulse 1.8s infinite;
}

/* Mobile Only */
@media (max-width: 768px) {
  .mobile-call-icon {
    display: flex;
  }
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,102,204,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(0,102,204,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,102,204,0); }
}


/* Desktop: default logo size (already controlled by width/height attributes in HTML) */
.logo img {
  width: 150px; /* desktop size */
  height: auto; /* keep aspect ratio */
}

/* Mobile: smaller logo */
@media (max-width: 768px) {
  .logo img {
    width: 5px; /* smaller on mobile */
    height: 50px; /* maintain aspect ratio */
  }
}





/* ========================
   BRAND GRID FIX (IMPORTANT)
======================== */

.brands {
  padding: 60px 20px;
  background: #ffffff;
}

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

.brand-card {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-6px);
}

/* 🔥 THIS IS THE KEY FIX */
.brand-card img {
  width: 140px;
  height: 100px;              /* FIXED HEIGHT */
  object-fit: contain;        /* Keeps logo proportions */
  margin-bottom: 15px;
  display: block;
}

/* Brand titles */
.brand-card h3 {
  font-size: 1.15rem;
  color: #003366;
  margin-bottom: 8px;
}

/* Brand description */
.brand-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .brand-card img {
    width: 120px;
    height: 90px;
  }
}


