/* ------------------------------------
   Global Fix
------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ------------------------------------
   Base Styles
------------------------------------ */
body {
  font-family: 'Manrope', sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 60%;
  margin: 0 auto;
}

/* ------------------------------------
   Sticky Header
------------------------------------ */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #fff;
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: none;
}

.sticky-header.sticky-visible {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 60%;
  padding: 10px 0;
  margin: auto;
}

.logo img {
  width: 150px;
  height: auto;
}

.navbar-nav {
  gap: 1rem;
}

.gradient-btn {
  background: linear-gradient(135deg, #0066FF, #F09CFF) !important;
  border: none !important;
  color: white !important;
}

/* ------------------------------------
   Hero Section
------------------------------------ */
.hero-section {
  background: url('../img/Lines BG.png') no-repeat center center;
  background-size: cover;
  height: 700px;
  margin-top: 80px;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  text-align: center;
}

.hero-subheadline {
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 1500px;
  padding-top: 1rem;
  line-height: 1.5;
  color: #000;
  text-align: center;
}

/* ------------------------------------
   Subheadline Section
------------------------------------ */
.subheadline-section {
  padding-top: 180px;
  height: 700px;
  background: url('../img/Curve line.png') no-repeat center center;
  background-size: 50%;
  color: #333;
}

.subheadline {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 auto;
}

.line {
  max-width: 800px;
  background-color: #000;
  height: 1px;
  margin: 20px auto 0;
}

/* ------------------------------------
   How We Work Layout
------------------------------------ */
.how-we-work {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: flex-start;
}

.text-content {
  flex: 1 1 600px;
}

.text-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, #0066FF, #F09CFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-content p {
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.20rem;
  color: #1e1e1e;
  line-height: 1.8;
}

.image-content {
  flex: 1 1 600px;
}

.image-content img {
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* ------------------------------------
   Services Cards Section
------------------------------------ */
.services-section {
  max-width: 60%;
  margin: 0 auto;
  padding: 60px 20px;
  margin-bottom: 200px;
}

.services-title {
  text-align: left;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for 6 cards */
  gap: 40px;
}

.service-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(203, 180, 255, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.service-card:hover {
  transform: scale(1.05);
}

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
}

.service-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  flex: 1 1 auto;
  word-break: break-word;
}

/* Color Classes */
.blue { color: #0070f3; }
.red { color: #ff4d4f; }
.pink { color: #ff0080; }
.purple { color: #7928ca; }


/* ------------------------------
   Pre-Footer Section
------------------------------ */
.pre-footer {
  background-color: #f9f9f9; /* Light gray */
  color: #000;               /* Black text */
  height: 300px;
  display: flex;             /* Enable flexbox */
  justify-content: center;   /* Horizontal center */
  align-items: center;       /* Vertical center */
  text-align: center;
  padding: 0 20px;           /* Safe padding for mobile */
}

.pre-footer .container {
  max-width: 60%;
  margin: 0 auto;
}

.pre-footer p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0;
}


/* ------------------------------
   FOOTER
------------------------------ */
.footer {
  background-color: #14102b;
  color: #fff;
  padding: 60px 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 60%;
  margin: 0 auto;
}

.footer-col { flex: 1 1 200px; min-width: 220px; margin-bottom: 20px; }

.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 20px; }
.footer-col ul li a { color: #ccc; text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: #fff; }

.social-icons a { display: inline-block; margin-right: 10px; transition: background-color 0.3s ease; }

.footer-bottom {
  background-color: #000;
  color: #ccc;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom strong { color: #fff; }

/* ------------------------------------
   Responsive
------------------------------------ */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 768px) {
  .container,
  .navbar-container,
  .services-section {
    max-width: 90%;
  }

  .how-we-work {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

  .service-card {
    padding: 30px;
    min-height: auto;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .services-title {
    font-size: 2rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1.2rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .pre-footer .container {
    max-width: 90%;
  }

  .pre-footer p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .pre-footer p {
    font-size: 0.95rem;
  }
}