/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

/* ===== Header/Navbar ===== */
.navbar-container {
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 10;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-container.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #e1dcd5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-container.scrolled .nav-links a {
  color: #1b3d5d;
}

.navbar-container.scrolled .nav-links a:hover {
  color: #004aad;
}

.nav-links a:hover {
  color: #00a0fd;
}



.checklist {
  list-style: none; /* removes the default dot */
  padding-left: 0;   /* removes left padding */
}

.checklist li {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.about-image img {
  width: 100%;
  max-width: 800px; /* You can increase this value */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px; /* optional for smooth corners */
}
@media (max-width: 768px) {
  .about-image img {
    max-width: 100%;
  }
}


/* ===== Hero Section ===== */
.hero-content-wrapper {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)),
              url('asset/home-image.avif') no-repeat center center/cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  padding: 10px 20px;
  border-radius: 25px;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.btn.primary {
  background: #004aad;
  color: white;
}

.btn.secondary {
  background: white;
  color: #004aad;
}

.btn:hover {
  opacity: 0.8;
}

/* ===== Products Section ===== */
.products {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 36px;
  color: #1b3d5d;
}

.section-header p {
  font-size: 18px;
  color: #666;
}

/* ===== Filter Buttons ===== */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #ccc;
  background-color: white;
  color: #1b3d5d;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: #e6f0ff;
  border-color: #1b3d5d;
}

.filter-btn.active {
  background-color: #1b3d5d;
  color: white;
  border-color: #1b3d5d;
}


/* ===== Gallery Grid ===== */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-buttons .btn {
    display: block;
    margin: 10px auto;
  }
}

/* Mobile Menu Styles */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #004aad;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 40px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #004aad !important;
    padding: 10px 0;
  }
}

/* WhatsApp Button Styles */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-buttons {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  justify-content: center;
  gap: 10px;
  flex-direction: row;
}

.hero-buttons .btn {
  white-space: nowrap; /* Prevent text from wrapping */
  flex-shrink: 1;      /* Allow buttons to shrink */
  min-width: 130px;    /* Prevent buttons from getting too small */
}


/* why-choose-us */

.why-choose-us {
  padding: 60px 20px;
  background-color: #f9fafc;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #1f3c88;
  margin-bottom: 10px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5f6368;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
  position: relative;
}

.section-subtitle::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #d8b018;
  display: block;
  margin: 10px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.feature-box img {
  width: 40px;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 1.2rem;
  color: #1f3c88;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-box p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* === Features Section (Why Choose SSfabtech) === */
.features {
  padding: 60px 20px;
  background-color: #f9fafc;
  text-align: center;
}

.features .section-header h2 {
  font-size: 2.5rem;
  color: #1f3c88;
  margin-bottom: 10px;
  font-weight: 700;
}

.features .section-header p {
  font-size: 1.1rem;
  color: #5f6368;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
  position: relative;
}

.features .section-header p::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #d8b018;
  display: block;
  margin: 10px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  color: #1f3c88;
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #1f3c88;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Optional: Animation classes */
.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideIn 0.6s forwards;
}

.slide-in-left.delay-1 {
  animation-delay: 0.2s;
}
.slide-in-left.delay-2 {
  animation-delay: 0.4s;
}
.slide-in-left.delay-3 {
  animation-delay: 0.6s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* about-section */
.about-section {
  padding: 80px 20px;
  background: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 1 1 500px;
}

.about-title {
  font-size: 2.5rem;
  color: #1f3c88;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: #5f6368;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.about-subtitle::after {
  content: "";
  width: 150px;
  height: 3px;
  background-color: #d8b018;
  display: block;
  margin: 6px auto 0;
}

.about-text p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.about-text li {
  margin-bottom: 10px;
  color: #333;
}

.about-button {
  display: inline-block;
  background-color: #1f3c88;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.about-button:hover {
  background-color: #16306f;
}

.about-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ✅ Media Query for Mobile */
@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .about-image img {
    max-width: 100%;
    margin-top: 20px;
  }
}


/* premium- product -section*/

.premium-section {
  background-color: #f9fafc;
  padding: 40px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #1f3c88;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5f6368;
  position: relative;
  display: inline-block;
}

.section-subtitle::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #d8b018;
  display: block;
  margin: 8px auto 0;
}

.gallery-section {
  max-width: 1200px;
  margin: auto;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid #ccc;
  background: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: #1b3d5d;
  color: white;
  border-color: #1b3d5d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}


.gallery-item img {
  width: 100%;
  height: 470px; /* Reduced height */
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  opacity: 0;
  transition: 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Zoom Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* services-section */

.services {
  padding: 60px 20px;
  text-align: center;
}

.services-header h2 {
  font-size: 2.8rem;
  color: #1d3b8b;
  font-weight: 700;
}

.services-header p {
  font-size: 1.2rem;
  color: #555;
  margin-top: 10px;
  position: relative;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #f1c40f;
  margin: 10px auto 30px;
  border-radius: 3px;
}

.service-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #fff;
  border-radius: 14px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  background-color: #3b82f6;
  color: #fff;
  font-size: 2rem;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #1d3b8b;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.5;
}
.service-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* smooth subtle shadow */
  border-top: 4px solid #1d3b8b; /* colored top border like your image */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12); /* deeper hover shadow */
}

.service-card button {
  padding: 10px 20px;
  border: 2px solid #1d3b8b;
  background: transparent;
  color: #1d3b8b;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.service-card button:hover {
  background-color: #1d3b8b;
  color: #fff;
}


.service-card button {
  padding: 10px 20px;
  border: 2px solid #1d3b8b;
  background: transparent;
  color: #1d3b8b;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.service-card button:hover {
  background-color: #1d3b8b;
  color: #fff;
}



/* footer-section */
.footer {
  background-color: #151543;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid white;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-column p, .footer-column li {
  font-size: 15px;
  margin: 10px 0;
  color: #eee;
  line-height: 1.5;
}

.footer-column i {
  color: #ffc107;
  margin-right: 10px;
}

.quick-links .links {
  display: flex;
  gap: 30px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
}

.quick-links li {
  color: #ffc107;
  margin: 8px 0;
  cursor: pointer;
}

.qr-code {
  width: 180px;
  border: 4px solid white;
  padding: 5px;
  background-color: white;
}
.quick-links a {
  color: #ffc107; /* Yellow */
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: #ffffff; /* White on hover */
}

.quick-links a:visited {
  color: #ffc107; /* Same as normal */
}


/* our-work */
.our-work {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.work-header h2 {
  font-size: 2.5rem;
  color: #1d3b8b;
  font-weight: 700;
}

.work-header p {
  font-size: 1.1rem;
  color: #666;
  margin: 10px 0;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #f1c40f;
  margin: 12px auto 30px;
  border-radius: 3px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.work-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}




/* testimonial */

.container {
  max-width: 1400px;
  margin: auto;
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.section-subtitle {
  font-size: 18px;
  color: #777;
  margin-bottom: 40px;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card.logo-only .author-img {
  width: 140px;   /* Increased image width */
  height: 140px;  /* Increased image height */
  object-fit: contain;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 12px;
}
.testimonial-card.logo-only .author-img {
  width: 100%;              /* Fill the available space */
  height: 100%;             /* Maintain aspect ratio */
  max-width: 230px;         /* You can increase this if needed */
  max-height: 230px;
  object-fit: contain;
  padding: 10px;
  background-color: #fff;
  border-radius: 12px;
}



/* === Image Gallery Slider Section === */
.our-works {
  padding: 50px 20px;
  text-align: center;
}

.section-header h2 {
  color: #002366;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-header p::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: #f4af1b;
  margin: 8px auto 0;
}

.works-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-image {
  width: 90%;
  max-width: 700px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: opacity 0.5s ease;
}

.thumbnail-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail:hover {
  transform: scale(1.1);
}

.thumbnail.active {
  border: 3px solid #004aad;
}





.form-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}

.form-container h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #1e1e1e;
}

.form-container p {
  color: #666;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.full {
  flex-direction: column;
}

input, textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  height: 120px;
}

button {
  background-color: #3056d3;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #244bb5;
}
