/*==================== VARIABLES CSS ====================*/
:root {
  /*========== Colors ==========*/
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #1e293b;
  --primary-color: #C5A572;
  --primary-dark: #b49059;
  --gradient-primary: linear-gradient(135deg, hsl(44 96% 70%), hsl(44 96% 60%));
  --light-text: #ffffff;

  /*========== Font and typography ==========*/
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --normal-font-size: 0.938rem;
}

.services-hero {
  padding: 0;
  text-align: center;
  background: #111111;
  color: var(--light-text);
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0; /* Ensure no top margin */
}

.services-hero h1{
  margin-top: 50px;
}


.parallax-hero {
  /* background-image: url('../assets/service-hero.webp'); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  width: 100%;
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-hero-overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.parallax-hero-overlay .container {
  max-width: 1200px;
  padding: 2rem;
  z-index: 2;
  position: relative;
  padding-top: 4rem; /* Add top padding to account for sticky nav */
}

.parallax-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #120f0f);
  z-index: 2;
}

.workflow-process {
  padding: 60px 0 30px;
  max-width: 800px;
  margin: auto;
  text-align: left;
  color: #fff;
  border: 10px solid hsl(44 96% 70%);
  border-radius: 16px;
  position: relative;
  z-index: 2; /* Ensure it's above the background */
}

.workflow-heading {
  text-align: center;
  font-size: 1.8rem !important;
  background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  margin-bottom: 30px;
}

.workflow-steps {
  list-style: decimal inside;
  line-height: 1.8;
  font-size: 1rem;
  padding-left: 20px;
}

.workflow-steps li {
  margin-bottom: 15px;
}


.services-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.service-tiers {
  padding: 4rem 2rem;
  background-image: url('../assets/blog-parallax.webp');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: -50px; /* Create overlap with hero section */
  z-index: 1; /* Ensure proper layering */
}

.service-tiers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 15, 15, 0.75);
  z-index: 0;
}

.service-tiers .container {
  position: relative;
  z-index: 1;
}

.service-tiers h3 {
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 2rem auto 3rem auto; /* Increased bottom margin for better spacing */
  text-align: center;
  line-height: 1.7;
  max-width: 700px;
  padding: 0 1.5rem;
  color: var(--light-text);
}

/* Specific styling for the white h3 in service-tiers section */
.service-tiers > .container > h3 {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #ffffff;
}

.service-tiers h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--primary-color);
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.service-card h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--light-text);
  opacity: 0.9;
}

.service-card .price-tag {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}
.service-details {
  display: none;
  margin-top: 1rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  color: var(--light-text);
  animation: fadeIn 0.5s ease-in forwards;
}

.service-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details ul li {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  font-size: 1rem;
  color: var(--light-text);
  line-height: 1.6;
  opacity: 0.95;
}

.service-details ul li::before {
  content: '';
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
}
.toggle-button {
  color: #eee;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-block;
  border-bottom: 1px dashed var(--primary-color);
  transition: color 0.3s ease;
}



@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #1a1d24 0%, #2d3748 100%);
  padding: 5rem 2rem;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(197, 165, 114, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(197, 165, 114, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta h2, .cta h2.gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--dark-bg);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: var(--bg-color);
  color:#C5A572;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.section-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}




.testimonial-swiper .swiper-slide {
  background: rgba(10, 10, 10, 0.95);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: auto;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.testimonial-swiper .swiper-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.swiper-wrapper a {
  text-decoration: none;
  color: inherit;
}

.testimonials{
    margin: 0 auto;
    background: url('../assets/hero-parallax.webp') center/cover fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

blockquote{
  color: var(--light-text);
}

blockquote .stars {
  color: #C5A572; /* Your primary gold tone */
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

blockquote .verified {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #aaa;
  font-style: normal;
  text-align: right;
}

.hosting-addon {
  background: linear-gradient(135deg, #1a1d24 0%, #2d3748 100%);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(197, 165, 114, 0.1);
  text-align: center;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
}

.hosting-addon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(197, 165, 114, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(197, 165, 114, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hosting-addon h2, .hosting-addon h2.gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.hosting-list {
  list-style: none;
  margin: 1rem auto;
  padding-left: 0;
  max-width: 600px;
  text-align: left;
}

.hosting-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--light-text);
  font-size: 1rem;
}

.small-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}




@media screen and (min-width: 968px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*==================== BASE ====================*/
/**,*/
/**:after,*/
/**:before {*/
/*  padding: 0;*/
/*  margin: 0;*/
/*  box-sizing: border-box;*/
/*}*/

/*body {*/
/*  font-size: var(--normal-font-size);*/
/*  background-color: var(--bg-color);*/
/*  color: var(--text-color);*/
/*  font-weight: 400;*/
/*  font-family: var(--body-font);*/
/*  transition: all 0.2s ease;*/
/*}*/

/*==================== REUSABLE CSS CLASSES ====================*/
/*.container {*/
/*  max-width: 1140px;*/
/*  width: 100%;*/
/*  margin: 0 auto;*/
/*  padding: 3rem 0;*/
/*  min-height: 100vh;*/
/*  display: grid;*/
/*  place-items: center;*/
/*}*/

/*==================== SERVICE CARD ====================*/
.card__container {
  display: flex;
  flex-wrap: wrap;
  gap: 150px;
  justify-content: center;
  width: 100%;
  max-width: 90%;
  margin: auto;
  padding: 60px 0;
  position: relative;
  z-index: 2; /* Ensure cards are above background */
}
.card__bx {
  --dark-color: #2e2e2e;
  --dark-alt-color: #777777;
  --white-color: #ffffff;
  --button-color: #333333;
  --transition: 0.5s ease-in-out;

  font-family: inherit;
  height: 650px;
  width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--dark-color);
  transition: var(--transition);
  z-index: 0;
  isolation: isolate;
  overflow: visible;
}

.card__bg {
  position: absolute;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
}

.card__bg::before,
.card__bg::after {
  content: "";
  position: absolute;
  border: none;
  transition: all 0.5s ease-in-out;
  pointer-events: none;
}

.card__bg::before {
  inset: 20px 80px;
  border-top: 4px solid var(--accent-text);
  border-bottom: 4px solid var(--accent-text);
  transform: skewY(15deg);
}

.card__bx:hover .card__bg::before {
  inset: 10px 40px;
  transform: skewY(0deg);
}

.card__bg::after {
  inset: 110px 20px;
  border-left: 4px solid var(--accent-text);
  border-right: 4px solid var(--accent-text);
  transform: skew(15deg);
}

.card__bx:hover .card__bg::after {
  inset: 60px 10px;
  transform: skew(0deg);
}

.card__data {
  position: relative;
  z-index: 1;
  background: var(--dark-color);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.card__bx .card__data {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  padding: 0 20px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.card__bx .card__data .card__icon {
  height: 80px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: var(--text-color);
  background-color: var(--dark-color);
  transition: var(--transition);
}
.card__bx .card__data .card__icon {
  color: var(--clr);
  box-shadow: 0 0 0 4px var(--dark-color), 0 0 0 6px var(--clr);
}
.card__bx:hover .card__data .card__icon {
  color: var(--dark-color);
  background-color: var(--clr);
  box-shadow: 0 0 0 4px var(--dark-color), 0 0 0 550px var(--clr);
}
.card__bx .card__data .card__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.card__bx .card__data h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white-color);
  transition: var(--transition);
}
.card__bx:hover .card__data h3 {
  color: var(--dark-color);
  transition: var(--transition);
}
.card__bx .card__data p {
  font-size: 0.9rem;
  color: var(--dark-alt-color);
  transition: var(--transition);
}
.card__bx:hover .card__data p {
  color: var(--dark-color);
  transition: var(--transition);
}
.card__bx .card__data a {
  position: relative;
  display: inline-flex;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  border: 2px solid var(--clr);
  color: var(--dark-color);
  background-color: var(--clr);
  transition: var(--transition);
}
.card__bx:hover .card__data a {
  color: var(--clr);
  background-color: var(--dark-color);
}
.card__bx:hover .card__data a:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
  background-color: var(--clr);
}

.card__bx .features-title {
  font-weight: 600;
  color: var(--white-color);
  transition: var(--transition);
}

.card__bx:hover .features-title {
  color: var(--dark-color);
}

.card__bx ul {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
  list-style: none;
  color: var(--white-color);
  transition: var(--transition);
}

.card__bx:hover ul {
  color: var(--dark-color);
}

.card__bx ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: inherit; /* So it follows the UL parent color */
  transition: var(--transition);
}

.card__bx ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: var(--clr, #C5A572); /* gold tone */
  border-radius: 50%;
  transition: background-color var(--transition);
}

.card__bx:hover ul li::before {
  background-color: var(--dark-color); /* switch to dark on hover fill */
}



@media (max-width: 480px) {
  .service-card {
    padding: 1.25rem;
    max-width: 100%;
  }
 
  
  .service-tiers h3{
      font-size: 0.9rem;
  }

  .service-card h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .service-details {
    padding: 1rem;
    border-left: none;
    border-top: 2px solid var(--primary-color);
    border-radius: 8px;
  }

  .service-details ul {
    padding: 0;
    border-left: none;
  }

  .service-details ul li {
    padding-left: 1.2rem;
    font-size: 0.95rem;
  }

  .service-details ul li::before {
    top: 0.55em;
    left: 0;
    width: 6px;
    height: 6px;
  }

  .toggle-button {
    display: block;
    margin: 1rem auto 0;
    text-align: center;
  }
  
  .screenshot-frame img{
      max-height: 300px;
  }
}



/* Responsive tweak */
@media (max-width: 768px) {
  .portfolio-swiper .swiper-slide {
    height: 360px;
  }

  .screenshot-frame .caption {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {

  .container {
    width: 100%;
    padding: 0 0!important;
  }

  .card__container {
    max-width: 100%;
    gap: 24px;
    align-items: center; 
    width: 100%;
     margin: 0 auto;
  }

  .card__bx {
    margin: 0 auto; 
    margin-bottom: 1rem;         /* <-- This ensures each card is centered */
    width: 90vw;              /* Optional: make cards responsive */
    max-width: 350px;         /* Optional: limit max width */
  }

  .card__bg::before{
    inset: 10px 40px;
  }

  .card__bg::after{
    inset: 60px 10px;
  }

  .card__bx:hover .card__bg::before,
  .card__bx:hover .card__bg::after,
  .card__bg::before,
  .card__bg::after {
    /* inset: 60px 10px !important; */
    transform: none !important;
  }

  blockquote, .cta{
    padding: 1rem !important;
  }
}

/* Mobile and tablet responsive improvements */
@media (max-width: 768px) {
  .parallax-hero {
    background-attachment: scroll; /* Better performance on mobile */
    min-height: 50vh;
  }
  
  .services-hero {
    min-height: 80vh;
  }
  
  .parallax-hero-overlay .container {
    padding: 1.5rem;
    padding-top: 3rem; /* Reduced top padding for mobile */
  }
  
  .services-hero h1 {
    margin-bottom: 1rem;
  }
  
  .services-hero p {
    margin-bottom: 50px;
  }
  
  .service-tiers {
    margin-top: -30px;
    padding: 3rem 1rem;
  }
  
  .parallax-hero::after {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .parallax-hero {
    min-height: 45vh;
  }
  
  .services-hero {
    min-height: 100vh;
  }
  
  .parallax-hero-overlay .container {
    padding: 1rem;
    padding-top: 2.5rem; /* Reduced top padding for very small screens */
  }
  
  .service-tiers {
    margin-top: -20px;
    padding: 2rem 1rem;
  }
  
  .parallax-hero::after {
    height: 40px;
  }
}

/* Disable fixed background on devices that don't support it well */
@media (prefers-reduced-motion: reduce) {
  .parallax-hero,
  .service-tiers {
    background-attachment: scroll;
  }
}