/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100vw;  /* Ensure body doesn't extend beyond viewport */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Colors */
.bg-orange {
  background-color: #FFAA33;
}

.bg-white {
  background-color: #ffffff;
}

.bg-light-gray {
  background-color: #f5f5f5;
  color: #333;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FFAA33;
  font-weight: 700;
  text-align: center;
}

.section-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #444;
}

/* Container - default */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Override container inside hero section */
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* Navbar */
nav {
  background-color: #FFAA33;
  padding: 1.5rem 0;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
  font-family: 'Segoe UI';
}

/* Navbar container - flex row, no wrapping */
nav .container {
  max-width: 95%;        /* Allow full width */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo left, nav links right */
  padding: 0 2rem;        /* Adjust side padding as you want */
  flex-wrap: wrap;
  gap: 2rem;
  overflow-x: visible;    /* Prevent horizontal scroll */
}


nav.bg-orange .nav-links a {
  font-size: 1.4rem; /* increase font size here */
  font-weight: 700;  /* optional: make it bolder */
}

/* Logo */
nav .logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;  /* Keep original or slightly bigger */
  font-weight: 600;
  color: rgb(255, 255, 255);
  padding-left: 0;
  margin-left: 0;
  white-space: nowrap;
  font-family: 'Segoe UI';
}

nav .logo-img {
  height: auto;
  max-height: 80px;
  width: auto;
}


/* Navigation links container */
nav .nav-links {
  list-style: none;         /* Remove bullets */
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
  align-items: center;
  white-space: nowrap;      /* Prevent wrapping */
  font-family: 'Segoe UI';
}


/* Nav links */
nav .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 300;
  font-size: 1.6rem;
  padding: 0.5rem 0;
  display: block;           /* Entire area clickable */
  transition: color 0.3s;
  font-family: 'Segoe UI';
}


/* Hero Section */
.hero-section {
  background: url('assets/background-image.jpg') no-repeat center center/cover;
  padding: 6rem 2rem;
  text-align: center;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  min-height: 90vh;
}

.hero-section .section-title {
  font-size: 2.8rem;
  max-width: 700px;
  margin: 0;
  color: white;
  font-size: 3rem;               /* Make it larger */
  max-width: 60ch;               /* Controls line length */
  line-height: 1.3;
  margin: 0 auto;
  text-align: center;
}

.hero-section .section-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0;
  color: white;
  font-size: 1.2rem;
  max-width: 90ch;               /* Match the width of the heading */
  line-height: 1.6;
  margin: 1rem auto 2rem;
  text-align: center;
}

.btn-apply {
  background-color: #44bb15;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(255, 170, 51, 0.4);
}

.btn-orange:hover {
  background-color: #cc5200;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  color: #333;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(247, 234, 234, 0.05);
  text-align: center;
}

.card-title {
  color: #FFAA33;
  margin-bottom: 0.5rem;
}

/* Generic Cards */
.grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.card {
  background: white;
  color: #333;
  padding: 2rem;
  border-radius: 8px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Steps */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.step {
  flex: 1;
  background-color: #FFAA33;
  color: white;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  min-width: 200px;
}

/* Contact Form - centered and width controlled */
#contact .container {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

/* Review Ticker */
.reviews-ticker {
  background-color: #fff7d4;
  padding: 1rem 0;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  gap: 1rem;
  animation: scroll-left 50s linear infinite;
}

.review {
  background-color: #e4a76e;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  min-width: 300px;
  white-space: normal;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Footer */
footer {
  text-align: center;
  padding: 0.75rem;
  font-size: 0.75rem;
  color: white;
  background-color: #FFAA33;
}

/* Responsive */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  nav .container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .container {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-section {
    padding: 4rem 1rem;
    min-height: 80vh;
  }
}

/* Optional Image Blocks */
img.responsive-img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: 'Fira Code', monospace;
  color: #fff;
}

.logo-img {
  height: 40px;       
  width: auto;        /* Maintain aspect ratio */
  margin-right: 10px; /* Space between image and text */
  object-fit: contain;
}
/* About section container */
.about-section {
  display: flex;
  gap: 3rem;
  padding: 4rem 2rem;
  align-items: flex-start; /* align content top */
  background-color: #fff8e1; /* subtle warm background */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 170, 51, 0.1);
  color: #333;

  max-width: 100vw; /* full viewport width */
  margin-left: calc(50% - 50vw); /* stretch full width */
  margin-right: calc(50% - 50vw);
}

/* About content (left side) */
.about-content {
  flex: 2; /* take more space */
}

/* Headings in about content */
.about-content h3 {
  color: #fd8726;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Lists inside about content */
.about-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.5;
}

/* Button inside about content */
.about-content .btn-apply {
  margin-top: 2rem;
  display: inline-block;
}

/* About image container (right side) */
.about-image {
  flex: 1; /* smaller than content */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6rem; /* push image and button down to align with text */
}

/* About image styling */
.about-image img {
  width: 100%;
  max-width: 500px; /* make image larger */
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

#about .section-title {
  text-align: left;
  margin-left: 0;
  color: #fd8726;
}

/* Button under image, centered */
.btn-under-image {
  align-self: center;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    padding: 2rem 1rem;
    max-width: 100%;  /* reset width on small screens */
    margin-left: 0;
    margin-right: 0;
  }

  .about-image {
    margin-top: 2rem;
  }

  .about-image img {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

/* === SERVICES SECTION === */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #ffaa33;
  margin-bottom: 2.5rem;
}

/* Steps container: two columns side-by-side */
.steps-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Unified card style for all service-step blocks */
.service-step {
  background: #f9f9f9;
  border-left: 4px solid #ff9800;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(255, 170, 51, 0.15);
}

.service-step h5 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  font-weight: 600;
  color: #333;
}

.service-step p {
  margin: 0.2rem 0 0 0;
  line-height: 1.4;
}

/* Grid for info cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

/* Image below all */
.service-image-summary {
  text-align: center;
  margin-top: 2rem;
}

.service-image-summary img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-container {
    grid-template-columns: 1fr;
}


@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

}


/* WHY CHOOSE US SECTION - common tiles styles */
.tiles-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100vw;
  max-width: none;
  padding: 0 2rem;
  box-sizing: border-box;
  flex-wrap: wrap;   /* Allow wrap for normal tiles */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}


.tile {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 180px;        /* minimum width per tile */
  max-width: 300px;        /* max width */
  padding: 2rem;           /* consistent padding */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  background-color: rgb(254, 255, 243);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* Images inside tiles */
.tile img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  .tiles-row .tile {
    flex: 1 1 100%;
    max-width: none;
  }

  .floating-tiles-row .tile {
    width: 1100px;
    flex: 0 0 auto;
  }

  .floating-tiles-row .tile img {
    max-width: 350%;
  }
}


/* Spacer for vertical breathing room */
.spacer {
  height: 3rem;
}

/* Text tile styling if used */
.text-tile {
  background-color: #ffffff;
}

.text-tile p {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}

/* ====FLOATING TILES====*/

.floating-tiles-row {
  overflow: hidden;
  width: 100vw;
  box-sizing: border-box;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: transparent; /* optional */
  padding: 1rem 2rem;             /* optional padding */
  /* Remove flex-wrap and justify-content from here */
  position: relative;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .tiles-row {
    justify-content: center; /* center tiles on smaller screens */
  }

  .tiles-row .tile {
    flex: 1 1 45%;  /* two tiles per row */
    max-width: none; /* remove max-width restriction */
  }
}


.tiles-scroller {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: scroll-left 70s linear infinite;
}


.tiles-scroller .tile:last-child {
  margin-right: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* MOST IMPORTANT FOR RESIZINGN  */
.floating-tiles-row .tile {
margin-right: 23rem;
  flex: 0 0 auto;       /* fixed size */
  width: 1100px !important;         /* wider */
  height: 590px;        /* keep height fixed, not too tall */
  padding: 2rem;
  background-color: #fefef9;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.floating-tiles-row .tile img {
  max-width: 350%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.tiles-scroller {
  display: flex;
  flex-wrap: nowrap;
  width: max-content; /* important: prevents clipping */
  animation: scroll-left 70s linear infinite;
}

/* END  */

/*===PADDING====*/
#why-choose-us {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

footer {
  text-align: center !important;
  color: black;
  padding: 1rem 0;
  font-family: 'IBM Plex Mono', monospace; /* Optional: match your site font */
}


/* ===case-studies===*/
.case-studies-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 11rem;
}

.case-studies-gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* === WHY CHOOSE US SECTION === */
.why-choose-container {
  width: 100vw;       /* full viewport width */
  margin: 0;          /* no margin */
  padding: 2.5rem 2rem;  /* only vertical padding */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}


.why-choose-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 2rem;
}

/* Top and bottom rows: 4 tiles, no wrap, equal width */
.why-choose-row.tiles-4 {
  flex-wrap: nowrap;
}
.why-choose-row.tiles-4 .why-choose-tile {
  flex: 0 1 23%;
  max-width: 23%;
}

/* Middle row: 2 text tiles, centered */
.why-choose-row.tiles-2 {
  justify-content: center;
  flex-wrap: nowrap;
}
.why-choose-row.tiles-2 .why-choose-text-tile {
  flex: 0 1 48%;
  max-width: 48%;
  min-width: 220px;
}

/* Tile styles */
.why-choose-tile, .why-choose-text-tile {
  background: #fefef9;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 160px;
  margin: 0;
}

.why-choose-tile img, .why-choose-text-tile img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  margin-bottom: 1rem;
  object-fit: contain;
}

/* Text tile specific */
.why-choose-text-tile {
  background: #fff;
  color: #333;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(255,170,51,0.08);
}
.why-choose-text-tile p {
  margin: 0;
  color: #444;
}

/* Responsive styles */
@media (max-width: 768px) {
  .why-choose-row.tiles-4 {
    flex-wrap: wrap;
  }
  .why-choose-row.tiles-4 .why-choose-tile {
    flex: 1 1 45%;
    max-width: 48%;
    margin-bottom: 1.5rem;
  }
  .why-choose-row.tiles-2 {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .why-choose-row.tiles-2 .why-choose-text-tile {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .why-choose-row {
    flex-direction: column;
    gap: 1.2rem;
  }
  .why-choose-row.tiles-4 .why-choose-tile,
  .why-choose-row.tiles-2 .why-choose-text-tile {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .why-choose-container {
    padding: 1rem 0.2rem;
    gap: 1.2rem;
  }
}

/* ACCOMPLISHMENTS*/
#accomplishments .container {
  max-width: 100%;
  width: 100vw;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  padding-bottom: 100px;
}


/* Make grid use flex layout */
#accomplishments .grid {
  display: flex;
  justify-content: space-between; /* or space-around/space-evenly */
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
}

/* Tile styling */
#accomplishments .why-choose-tile {
  padding: 20px;
  box-sizing: border-box;
}

/* Make image responsive */
#accomplishments .why-choose-tile img {
  width: 100%;
  height: auto;
  display: block;
}

#accomplishments h4.section-title {
  font-size: 1.2rem;        /* smaller font */
  font-weight: 400;       /* lighter than the big heading */
  color: #000000;         /* make it black */
  text-align: center;     /* keep it centered */
  margin-top: 2rem;      /* optional: reduce space above if needed */
  margin-bottom: 2rem;    /* space below it */
}

/* ====CONTACT IMAGE==== */
.contact-container {
  width: 100%;
  display: flex;
  gap: 5rem;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Form box */
.contact-form {
  flex: 1 1 45%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Image wrapper */
.contact-image {
  flex: 1 1 50%;
  display: flex;
  align-items: stretch;
}

/* Show full image without cropping */
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Show entire image without crop */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* Responsive fallback */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
  }

  .contact-form, .contact-image {
    max-width: 100%;
  }

  .contact-image img {
    aspect-ratio: auto;
    height: auto;
  }
}


/* Responsive fallback */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 0 2rem;
  }

  .contact-form, .contact-image {
    max-width: 100%;
    height: auto;
  }

  .contact-image img {
    height: auto;
  }
}


/* Make it stack vertically on smaller screens */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-image {
    max-width: 100%;
  }
}

/* PROCESS BLOCK*/
/* Step-by-Step Process Section */
#step-by-step {
  background-color: #f5f5f5; /* light gray background */
  padding: 4rem 2rem;        /* vertical and horizontal padding */
  box-sizing: border-box;
}

#step-by-step .container {
  max-width: 1400px;
  margin: 0 auto;
}

#step-by-step .steps {
  display: flex;
  justify-content: center;
  align-items: center;
}

#step-by-step .steps img {
  max-width: 250%;
  height: auto;
  border-radius: 12px; /* optional rounded corners */
  box-shadow: 0 6px 16px rgba(0,0,0,0.1); /* subtle shadow */
}

/* DEVELOPERS CREDIT */
.site-footer {
  background-color: #333;  
  color: #fff;
  padding: 2rem 1rem;
  text-align: right;
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
}

.site-footer .developer-credit {
  font-size: 0.8rem;
  color: #ccc;
  margin-top: 0.5rem;
  font-style: italic;
}
