/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Our Brands Page Styles */

.services-hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.services-listing {
    padding: 80px 0;
}

.service-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.select-service-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: auto;              /* IMPORTANT */
    align-self: flex-start;   /* Keeps it natural */
    margin-top: 24px;
}

.select-service-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f3c57);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transform: none; /* REMOVE upward shift */
    transform: scale(1.04);
}


/*Services Images section*/
/* Brand Images Styling - Only for Brands Page */

#brands-page .brand-image-box {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

#brands-page .brand-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

#brands-page .service-card:hover .brand-image-box img {
    transform: scale(1.08);
}

/* =========================================
   OUR BRANDS – RESPONSIVE ADDITIONS
   Paste at bottom of our_brands.css
========================================= */

/* Tablets */
@media (max-width: 992px) {

  .services-hero {
    padding: 60px 20px;
  }

  .services-hero h1 {
    font-size: 2.4rem;
  }

  .services-hero p {
    font-size: 1rem;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .service-card-image {
    height: 220px;
  }

  .service-features {
    grid-template-columns: 1fr;
  }
}


/* Mobile */
@media (max-width: 640px) {

  .services-hero {
    padding: 50px 20px;
  }

  .services-hero h1 {
    font-size: 1.9rem;
  }

  .services-hero p {
    font-size: 0.95rem;
  }

  .services-listing {
    padding: 50px 15px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card-content h3 {
    font-size: 1.4rem;
  }

  .select-service-btn {
    font-size: 1rem;
    padding: 10px 22px;
  }

  #brands-page .brand-image-box {
    height: 200px;
  }
}

/* =========================================
   PROFESSIONAL FEATURE LIST STYLE
   Paste at bottom of our_brands.css
========================================= */

.service-features {
  margin-top: 15px;
  gap: 14px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: #444;
}

.service-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #3498db, #2c3e50);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Refined Feature List Layout */
.service-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px 30px;
  margin-top: 18px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #2f3e4e;
}

.service-features li::before {
  width: 20px;
  height: 20px;
  font-size: 12px;
}

.service-features li {
  transition: transform 0.2s ease, color 0.2s ease;
}

.service-features li:hover {
  transform: translateX(4px);
  color: #3498db;
}

@media (max-width: 768px) {
  .service-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Center button on mobile */
@media (max-width: 768px) {
  .select-service-btn {
    align-self: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .service-card-content p {
    text-align: justify;
    text-justify: inter-word;
  }
}