/* ===== AGS Digital Marketing — Services Pages Shared CSS ===== */

/* ===== Header Fix for Service Pages =====
   On the homepage, header overlays a dark hero image so white text is readable.
   Service pages have a light hero background — we make the header solid here.
*/

/* Force full header to have white background and shadow */
body header,
body header.position-absolute {
  position: relative !important;
  width: 100% !important;
  background: transparent !important;
  z-index: 999;
}

/* Topbar: dark navy background with white text */
body header .topbar {
  border-bottom: .1rem solid #ddebf6;
}

body header .topbar p,
body header .topbar a,
body header .topbar .social-icon li a,
body header .topbar .social-icon li a i,
body header .topbar .phone-call p,
body header .topbar .phone-call a {
  color: #000000 !important;
}

/* Navbar: solid white background, dark text */
body header .navbar,
body header nav#active-sticky {
  background-color: #fff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

body header .navbar .nav-link,
body header nav .navbar-nav .nav-link {
  color: #262e45 !important;
}

body header .navbar .nav-link:hover,
body header nav .navbar-nav .nav-link:hover {
  color: #f44438 !important;
}

/* Hero Area */
.service-hero-area {
  padding: 8rem 0 8rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e5e9ff 100%);
  position: relative;
  overflow: hidden;
}

.service-hero-area::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 68, 56, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.service-hero-title {
  font-size: 4.4rem;
  font-weight: 800;
  color: #262e45;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.service-hero-desc {
  font-size: 1.8rem;
  line-height: 3.2rem;
  color: #555;
  max-width: 60rem;
  margin-bottom: 3rem;
}

.service-hero-img-wrapper {
  position: relative;
  display: inline-block;
}

.service-hero-icon {
  max-width: 420px;
  width: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(244, 68, 56, 0.15));
  border-radius: 12px 30px;
}

/* Background shapes */
.service-hero-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.8;
}

.shape-1 {
  top: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(244, 68, 56, 0.2) 0%, rgba(244, 68, 56, 0.05) 100%);
  border-radius: 50%;
  animation: float-shape 4s ease-in-out infinite alternate;
}

.shape-2 {
  bottom: -30px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(244, 68, 56, 0.15) 0%, rgba(38, 46, 69, 0.05) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float-shape-reverse 5s ease-in-out infinite alternate;
}

.shape-3 {
  top: 40%;
  right: -40px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(244, 68, 56, 0.25) 0%, rgba(244, 68, 56, 0.05) 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: float-shape 6s ease-in-out infinite alternate;
}

@keyframes float-shape {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(20px, 20px) rotate(15deg); }
}

@keyframes float-shape-reverse {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { transform: translate(-20px, -20px) rotate(-15deg) scale(1.1); }
}

/* Breadcrumb */
.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 68, 56, 0.15);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  margin-bottom: 2.5rem;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.service-breadcrumb .breadcrumb-item {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
}

.service-breadcrumb .breadcrumb-item a {
  color: #f44438;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
  text-transform: capitalize;
}

.service-breadcrumb .breadcrumb-item a:hover {
  color: #c72b20;
}

.service-breadcrumb .breadcrumb-item.active {
  color: #262e45;
  font-weight: 700;
}

.service-breadcrumb .breadcrumb-item+.breadcrumb-item {
  padding-left: 0.8rem;
}

.service-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  color: #aab0c5;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  padding-right: 0.8rem;
}


/* Feature Cards */
.service-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2.5rem;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  text-align: center;
}

.service-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(244, 68, 56, 0.12);
  border-color: #f44438;
}

.service-feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  color: #f58634;
}

.service-feature-icon i.fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fff5ed 0%, #ffe8d5 100%);
  border-radius: 16px;
  font-size: 2.8rem;
  color: #f58634;
  transition: all 0.3s ease;
}

.service-feature-card:hover .service-feature-icon i.fa {
  background: linear-gradient(135deg, #f58634, #ff7b3a);
  color: #fff;
  transform: scale(1.1);
}

.service-feature-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #262e45;
  margin-bottom: 1rem;
}

.service-feature-card p {
  font-size: 1.6rem;
  line-height: 2.8rem;
  color: #666;
}

/* Stats Grid */
.service-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-stat-box {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #f44438;
}

.service-stat-box h3 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.service-stat-box p {
  font-size: 1.5rem;
  color: #666;
  margin: 0;
  font-weight: 600;
}

/* Checklist */
.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 2.8rem;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: #f44438;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Process Steps */
.process-step {
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(244, 68, 56, 0.1);
}

.process-number {
  width: 5.5rem;
  height: 5.5rem;
  background: linear-gradient(135deg, #f44438, #ff6b5b);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 2rem;
}

.process-step h4 {
  font-size: 2rem;
  font-weight: 700;
  color: #262e45;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 1.5rem;
  color: #666;
  line-height: 2.6rem;
  margin: 0;
}

/* CTA Area */
.service-cta-area {
  background: linear-gradient(135deg, #262e45 0%, #1a2035 100%);
  position: relative;
  overflow: hidden;
}

.service-cta-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/bg/3.png');
  background-size: cover;
  opacity: 0.05;
}

.service-contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.service-contact-list li {
  font-size: 1.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-contact-list li i {
  color: #f44438;
  font-size: 1.8rem;
  width: 2rem;
}

/* Enquiry Form */
.service-enquiry-form {
  background: #fff;
  border-radius: 16px;
  padding: 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.service-enquiry-form h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #262e45;
  margin-bottom: 2.5rem;
  text-align: center;
}

.service-enquiry-form input {
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1.6rem;
  font-family: 'Nunito', sans-serif;
  color: #333;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.service-enquiry-form input:focus {
  border-color: #f44438;
  box-shadow: 0 0 0 3px rgba(244, 68, 56, 0.1);
}

/* Other Service Links */
.other-service-link {
  display: block;
  padding: 1.5rem 2rem;
  background: #fff;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #262e45;
  border: 2px solid #e8e8e8;
  transition: all 0.3s ease;
  text-transform: none;
}

.other-service-link:hover {
  background: #f44438;
  color: #fff;
  border-color: #f44438;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(244, 68, 56, 0.3);
}

/* Responsive */
@media (max-width: 767.98px) {
  .service-hero-area {
    padding: 12rem 0 6rem;
  }

  .service-hero-title {
    font-size: 3.2rem;
  }

  .service-hero-icon {
    max-width: 300px;
    margin-top: 3rem;
  }

  .service-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .service-enquiry-form {
    padding: 3rem 2rem;
  }

  .service-feature-card {
    margin-bottom: 2rem;
  }
}

/* ===== Services Dropdown Menu ===== */
.services-dropdown {
  padding: 0;
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 560px;
  margin-top: 0 !important;
  overflow: hidden;
}

.dropdown-columns {
  display: flex;
}

.dropdown-col {
  flex: 1;
  padding: 1rem 0;
}

.dropdown-col:first-child {
  background: #f8f9ff;
  border-right: 1px solid #eef0f8;
}

.dropdown-col:last-child {
  background: #fff;
}

.services-dropdown .dropdown-item {
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  padding: 0.7rem 1.8rem;
  color: #262e45 !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.services-dropdown .dropdown-item:hover {
  background-color: #f44438 !important;
  color: #fff !important;
  padding-left: 2.4rem;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
  display: flex !important;
}

.navbar-nav .nav-link.dropdown-toggle::after {
  margin-left: 0.4rem;
  vertical-align: 0.2em;
}

@media (max-width: 991.98px) {
  .services-dropdown {
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-columns {
    flex-direction: column;
  }

  .dropdown-col:first-child {
    border-right: none;
    border-bottom: 1px solid #eef0f8;
  }
}

/* ===== WhatsApp Pill Button ===== */
.float.whatsapp-pill {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  height: auto !important;
  border-radius: 50px !important;
  padding: 12px 20px 12px 16px !important;
  line-height: 1 !important;
}

.float.whatsapp-pill .my-float {
  font-size: 2.2rem;
  margin: 0;
}

.float-label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* ===== Call Now Pill Button ===== */
.call-buton .cc-calto-action-ripple {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: auto !important;
  height: auto !important;
  border-radius: 50px !important;
  padding: 12px 20px 12px 16px !important;
  line-height: 1 !important;
}

.call-label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

@media (max-width: 576px) {

  .float-label,
  .call-label {
    font-size: 1.2rem;
  }

  .float.whatsapp-pill,
  .call-buton .cc-calto-action-ripple {
    padding: 10px 14px 10px 12px !important;
    gap: 8px;
  }
}