/* SPACING SYSTEM */
section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }
}
main {
  min-height: 70vh;
}

section:first-of-type {
  padding-top: 60px;
}

@media (max-width: 480px) {
  section:first-of-type {
    padding-top: 40px;
  }
}

/* ================================
   GENERIC PAGE LAYOUT
================================ */
.page-section {
  padding: 90px 0;
}

.page-header {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  color: #0f172a;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.05rem;
  color: #555;
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }
}



/* ================================
   GLOBAL RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8f9fb;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   CONTAINER
================================ */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}


@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ================================
   NAVBAR (IMPROVED)
================================ */
.navbar {
  background: linear-gradient(
    90deg,
    #0f172a,
    #1e3a8a,
    #7c3aed
  );
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between; /* push nav to right */
  height: 64px;
}

@media (max-width: 768px) {
  .nav-inner {
    justify-content: space-between;
  }

  .logo {
    position: static;
    transform: none;
  }
}


.logo {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
}


/* NAV LINKS */
#nav-links {
  display: flex;
  gap: 24px;
}

#nav-links a {
  color: white;
  font-size: 0.95rem;
  position: relative;
}

/* Hover underline */
#nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #93c5fd;
  bottom: -6px;
  left: 0;
  transition: width 0.3s ease;
}

#nav-links a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  #nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    background: #0f172a;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    display: none;
  }

  #nav-links.open {
    display: flex;
  }

  #nav-links a {
    padding: 12px 0;
    font-size: 1rem;
  }
}


/* ================================
   HERO (HOME)
================================ */
.hero {
  padding: 100px 0;
  background: linear-gradient(
    90deg,
    #0f172a,
    #1e3a8a,
    #7c3aed
  );
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  background: white;
  color: #1e40af;
  border-radius: 8px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem;
  }
}

/* ================================
   HOME SERVICES (SCROLL)
================================ */
.home-services {
  padding: 80px 0;
  background: #f8f9fb;
}

.home-services h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 45px;
}

.services-wrapper {
  position: relative;
}

.services-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px 25px;
}

.services-scroll::-webkit-scrollbar {
  display: none;
}

.service-card {
  min-width: 260px;
  background: white;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card h3 {
  margin-bottom: 10px;
  color: #0f172a;
}

/* SCROLL ARROWS */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 10;
}

.scroll-btn.left {
  left: -10px;
}

.scroll-btn.right {
  right: -10px;
}
.service-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
}

/* ================================
   WHY US
================================ */
.why-us {
  padding: 80px 0;
  background: white;
}

.why-us h2 {
  text-align: center;
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.why-card {
  background: #f8f9fb;
  padding: 30px;
  border-radius: 16px;
}

/* ================================
   INDUSTRIES
================================ */
.industries {
  padding: 70px 0;
}

.industries h2 {
  text-align: center;
  margin-bottom: 30px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.industry-list li {
  list-style: none;
  background: white;
  padding: 12px 22px;
  border-radius: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* ================================
   PROCESS
================================ */
.process {
  padding: 80px 0;
  background: #f8f9fb;
}

.process h2 {
  text-align: center;
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.process-grid div {
  background: #e0e7ff;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
}

/* ================================
   SERVICES PAGE (FULL GRID)
================================ */
.services-page {
  padding: 90px 0;
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.services-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

@media (max-width: 768px) {
  .services-grid {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    gap: 20px;
  }
}


.service-box {
  border-color: linear-gradient(
    90deg,
    #0f172a,
    #1e3a8a,
    #7c3aed
  );
  
  padding: 32px;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}


.service-box:hover {
  transform: translateY(-6px);
}

.service-box h2 {
  margin-bottom: 12px;
  color: #0f172a;
}

/* ================================
   CTA
================================ */
.cta {
  padding: 80px 0;
  background: linear-gradient(
    90deg,
    #0f172a,
    #1e3a8a,
    #7c3aed
  );
  text-align: center;
  color: white;
}

.cta h2 {
  margin-bottom: 20px;
}

/* ================================
   FOOTER
================================ */
footer {
  background: linear-gradient(
    90deg,
    #0f172a,
    #1e3a8a,
    #7c3aed
  );
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
}

/* STICKY FOOTER FIX */
/* Sticky footer ONLY for short pages */
.sticky-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sticky-layout main {
  flex: 1;
}


/* ================================
   MOBILE POLISH
================================ */
@media (max-width: 480px) {
  .hero {
    padding: 70px 0;
  }

  .services-page {
    padding: 60px 0;
  }

  .service-box {
    padding: 26px;
    border-color: linear-gradient(
    90deg,
    #0f172a,
    #1e3a8a,
    #7c3aed
  );
  }
}

/* ================================
   ABOUT PAGE
================================ */
.about-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: #444;
}

.about-content p {
  margin-bottom: 18px;
  line-height: 1.7;
}







h1 {
  letter-spacing: -0.5px;
}

h2 {
  letter-spacing: -0.3px;
}

p {
  max-width: 100%;
}

/* ================================
   CONTACT PAGE – CLEAN DESIGN
================================ */

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  padding: 42px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ================================
   MOBILE POLISH
================================ */

@media (max-width: 480px) {
  .contact-card {
    padding: 28px;
  }

  .form-group {
    grid-template-columns: 1fr;
  }
}

.main-content {
  flex: 1;
}

/* ================================
   LOGO – RESPONSIVE SIZING
================================ */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
}

/* Desktop */
.logo img {
  width: 191px;
  height: auto;
}


/* Laptop / Tablet */
@media (max-width: 1024px) {
  .logo img {
    width: 160px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .logo img {
    width: 140px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .logo img {
    width: 120px;
  }
}




