/* =========================
   SERVICES PAGE HERO
========================= */

.services-page-hero {
  position: relative;
  min-height: 90vh;  /* full screen */
  background-image: url("../images/servicess_banner.jpg"); /* your image path */
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;
  padding: 0 20px;
}

/* Overlay */
.services-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Content */
.services-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 20px;
  color: #ffffff;
}

/* Title */
.services-page-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.8px;

  opacity: 0;
  animation: aboutHeroTitleUp 1.1s ease forwards;
}

/* Paragraph */
.services-page-description {
  font-size: 20px;
  line-height: 1.7;
  color: #e5e7eb;
  letter-spacing: 0.5px;

  opacity: 0;
  animation: aboutHeroParaUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Heading animation */

@keyframes aboutHeroTitleUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Paragraph slide-up */
@keyframes aboutHeroParaUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .services-page-title {
    font-size: 48px;
  }

  .services-page-description {
    font-size: 18px;
    line-height: 1.6;
  }

  .services-page-hero {
    min-height: 80vh;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .services-page-hero {
    min-height: 70vh;
    padding: 0 15px;
  }

  .services-page-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .services-page-description {
    font-size: 16px;
    line-height: 1.6;
  }

  .services-page-hero-content {
    max-width: 100%;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .services-page-hero {
    min-height: 65vh;
  }

  .services-page-title {
    font-size: 28px;
    letter-spacing: 0.5px;
  }

  .services-page-description {
    font-size: 14px;
    line-height: 1.5;
  }
}





/* =========================
   SERVICES LIST SECTION
========================= */

.services-page-list {
  padding: 100px 0;
  background-color: #f9fafb;
}

.services-page-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

/* Section heading */
.services-page-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}

.services-page-heading h2 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 700px;
  /* letter-spacing: 0.6px; */
}

.services-page-heading p {
  font-size: 18px;
  color: #26334199;
  line-height: 30px;
  letter-spacing: 0.5px;

}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .services-page-list {
    padding: 80px 0;
  }

  .services-page-container {
    padding: 0 30px;
  }

  .services-page-heading h2 {
    font-size: 34px;
  }

  .services-page-heading p {
    font-size: 17px;
    line-height: 28px;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .services-page-list {
    padding: 70px 0;
  }

  .services-page-container {
    padding: 0 20px;
  }

  .services-page-heading {
    margin-bottom: 50px;
  }

  .services-page-heading h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .services-page-heading p {
    font-size: 16px;
    line-height: 26px;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .services-page-list {
    padding: 60px 0;
  }

  .services-page-container {
    padding: 0 15px;
  }

  .services-page-heading h2 {
    font-size: 24px;
  }

  .services-page-heading p {
    font-size: 14px;
    line-height: 24px;
  }
}




/* =========================
   SERVICE ITEM
========================= */

.services-page-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
  position: relative;
  color: #ffffff;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Reverse layout */
.services-page-item.reverse {
  flex-direction: row-reverse;
}

/* Image */
.services-page-image {
  flex: 1;
  position: relative;}

.services-page-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

/* Content */
.services-page-content {
  flex: 1;
  background-color: #111827;
  color: #ffffff;
  padding: 39px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;

  /* OVERLAP */
  margin-left: -140px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.services-page-item:hover {
  background-color: #ffffff;
  color: #111827;
}

/* Reverse layout overlap */
.services-page-item.reverse .services-page-content {
  margin-left: 0;
  margin-right: -140px;
}

/* Hover animation */
.services-page-item:hover .services-page-content {
  transform: translateY(-12px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  color: #111827;
}

/* Text color fix on hover */
.services-page-item:hover .services-page-content p {
  color: #007bff;
}

.services-page-item:hover .services-page-content h3 {
  color: #111827;
}

.services-page-content h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: inherit;
  margin-top: 24px;
}

.services-page-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

/* List with icons */
.services-page-list-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-page-list-icons li {
 display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 10px;
  color: #007bff;
}


.services-page-list-icons i {
  font-size: 16px;
  color: #007bff;
}




/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .services-page-item {
    gap: 30px;
    margin-bottom: 80px;
  }

  .services-page-content {
    padding: 30px;
    margin-left: -80px; /* reduce overlap */
  }

  .services-page-item.reverse .services-page-content {
    margin-right: -80px;
  }

  .services-page-content h3 {
    font-size: 22px;
  }

  .services-page-content p {
    font-size: 16px;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .services-page-item {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
  }

  .services-page-item.reverse {
    flex-direction: column;
  }

  .services-page-image,
  .services-page-content {
    width: 100%;
  }

  .services-page-content {
    margin-left: 0;
    margin-right: 0;
    padding: 25px;
  }

  .services-page-item.reverse .services-page-content {
    margin-right: 0;
  }

  .services-page-content h3 {
    font-size: 20px;
  }

  .services-page-content p {
    font-size: 15px;
    line-height: 1.6;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .services-page-item {
    margin-bottom: 50px;
  }

  .services-page-content {
    padding: 20px;
  }

  .services-page-content h3 {
    font-size: 18px;
  }

  .services-page-content p {
    font-size: 14px;
  }

  .services-page-list-icons li {
    font-size: 14px;
  }
}



/* =========================
   FEATURES SECTION
========================= */

/* FULL WIDTH BLUE SECTION */
.features-section {
  width: 100vw;                 
  margin-left: calc(-50vw + 50%);
  background-color: #007bff;
  padding: 100px 0;
}

/* CENTERED CONTENT */
.features-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 fixed boxes */
  gap: 30px;
}

/* FULL WIDTH BOXES */
.feature-box {
  width: 100%;
  background-color: #111827;
  color: #ffffff;
  padding: 40px;
  border-radius: 18px;
  text-align: center;
  transition: all 0.35s ease;
}


/* Icon */
.feature-box i {
  font-size: 40px;
  margin-bottom: 18px;
  color: #787af0;
}

/* Heading */
.feature-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Text */
.feature-box p {
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
  font-size: 17px;
}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .features-section {
    padding: 80px 0;
  }

  .features-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 25px;
  }

  .feature-box {
    padding: 35px;
  }

  .feature-box h3 {
    font-size: 20px;
  }

  .feature-box p {
    font-size: 16px;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .features-section {
    padding: 70px 0;
  }

  .features-container {
    grid-template-columns: 1fr; /* single column */
    gap: 20px;
  }

  .feature-box {
    padding: 30px;
  }

  .feature-box h3 {
    font-size: 18px;
  }

  .feature-box p {
    font-size: 15px;
    line-height: 1.6;
  }

  .feature-box i {
    font-size: 36px;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .features-section {
    padding: 60px 0;
  }

  .feature-box {
    padding: 25px;
  }

  .feature-box h3 {
    font-size: 16px;
  }

  .feature-box p {
    font-size: 14px;
  }

  .feature-box i {
    font-size: 32px;
  }
}





/* =========================
   INDUSTRIES SECTION
========================= */

.industries-section {
  padding: 100px 20px;
  width: 100%;
  justify-content: center; 
}

.industries-container {
  width: 100%;
  max-width: 1700px;   /* must be large enough */
  margin: 0 auto;
  /* text-align: center; */
}

/* Heading */
.industries-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.industries-subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #26334199;
  letter-spacing: 0.5px;
  line-height: 30px;
  text-align: center;
}

/* Grid */
.industries-grid {
  display: grid;
 grid-template-columns: repeat(4, 1fr);
  gap: 35px; 
  justify-items: center;
}

/* Box */
.industry-box {
  background: #111827;
  width: 100%;
  max-width: 420px;
  padding: 40px 30px; 
  border-radius: 18px;
  color: #ffffff;
  transition: all 0.35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.view-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px -4px;
  color: #2563eb;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.view-btn i {
  margin-left: 8px;
  font-size: 9px;
  transition: transform 0.3s ease;
}

.btn-wrapper {
  text-align: left; 
  margin-top: 20px;
}

.industry-box:hover .view-btn {
  opacity: 1;
  transform: translateY(0);
}

.industry-box:hover .view-btn i {
  transform: translateX(5px);
}

.industry-box:hover {
  background-color: #ffffff;
  color: #111827;
  transform: translateY(-12px);
}

/* Icon */
.industry-box i {
  font-size: 38px;
  color: #787af0;
  margin-bottom: 20px;
}

/* Text */
.industry-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.industry-box p {
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */
.industries-cta {
  margin-top: 70px;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background-color: #007bff;      /* blue */
  color: #ffffff;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;            /* modern pill shape */
  text-decoration: none;

  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

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


.industries-cta a{
  background-color: #007bff;
  padding: 15px;
  border-radius: 44px;
  margin-top: 25px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   FULL WIDTH CTA SECTION
================================ */
.fullwidth-cta-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 70px 20px;
  background-image: url("../images/service_banner.jpg"); /* change image path */
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: #ffffff;
  /* margin-bottom: -201px;
  margin-top: 100px; */
}

/* Overlay */
.fullwidth-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.837);
  z-index: 1;
}

/* Content above overlay */
.fullwidth-cta-section > * {
  position: relative;
  z-index: 2;
}

/* ===============================
   TEXT
================================ */
.fullwidth-cta-section h2 {
  font-size: 63px;
  margin-bottom: 15px;
  font-weight: 700;
}

.fullwidth-cta-section p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 35px;
  line-height: 1.7;
  color: #e5e7eb;
  letter-spacing: 1.0px;
}

/* ===============================
   BUTTONS
================================ */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #ffffff;
  color: #111827;
}

/* ===============================
   BOXES
================================ */
.cta-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 40px 30px;
  border-radius: 10px;
  width: 320px;
  transition: 0.3s ease;
}

.cta-box i {
  font-size: 40px;
  color: #60a5fa;
  margin-bottom: 15px;
}

.cta-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.cta-box p {
  font-size: 15px;
  color: #d1d5db;
  line-height: 1.6;
}

.industries-cta p{
  color:#26334199;
}



/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .cta-boxes {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .fullwidth-cta-section h2 {
    font-size: 30px;
  }

  .cta-buttons {
    flex-direction: column;
  }
}


/* ------submit project*------*/


/* Section 1 */
.contact-info-section {
  background: #fff;
  padding: 157px 20px 40px;
  text-align: center;
  color: #fff;
}

.info-container {
  max-width: 900px;
  margin: auto;
}

.info-container h2 {
  font-size: 34px;
  margin-bottom: 12px;
  color: #111827;
}

.info-container p {
  font-size: 18px;
  max-width: 729px;        
  margin: 0 auto;         
  color: #26334199;
  letter-spacing: 0.5px;
  line-height: 1.7;
}

/* Section 2 */
/* ===============================
   CONTACT FORM SECTION
================================ */

.contact-form-section {
  background: #fdfeff;
  padding: 40px;
  border-radius: 18px;

  max-width: 898px;   /* 🔥 reduce section width */
  margin: 3px auto 70px; /* center horizontally */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ===============================
   FORM CONTAINER
================================ */

.contact-form {
  max-width: 724px;
  margin: auto;
}

/* ===============================
   FORM ROW (2 COLUMNS)
================================ */

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* ===============================
   FORM GROUP
================================ */

.form-group {
  margin-bottom: 34px;
}

/* ===============================
   LABELS
================================ */

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #282222db;
  font-weight: 600;
}

/* ===============================
   INPUTS & TEXTAREA
================================ */

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: #000;
  background: transparent;
  border: 1px solid;
  border-color: #007bff;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
}

/* Placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

/* Focus */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
}

/* ===============================
   DATE FIELD WITH ICON
================================ */

.date-field {
  position: relative;
}

.date-field input {
  padding-right: 42px;
}

.calendar-icon {
  position: absolute;
  right: 12px;
  top: 38px;
  font-size: 18px;
  pointer-events: none;
}

/* ===============================
   TEXTAREA
================================ */

.contact-form textarea {
  resize: vertical;
}

/* ===============================
   SUBMIT BUTTON
================================ */

.submit-btn {
  margin-top: 20px;
  padding: 12px 32px;
  background: #007bff;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  display: block;
  margin: 25px auto 0;
}


.submit-btn:hover {
  background: #4233b9;
  color: #fff; 
}

/* ===============================
   VALIDATION STYLES
================================ */

.contact-form input:invalid,
.contact-form textarea:invalid {
  border-color: #bcbbbb88;
}

.contact-form input:valid,
.contact-form textarea:valid {
  border-color: #007bff;
  border-width: 2px;
}
