/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /** 
   * colors
   */

  --sonic-silver: hsl(0, 0%, 46%);
  --spanish-gray: hsl(0, 0%, 60%);
  --theme-color: hsl(10, 100%, 57%);
  --light-gray: hsl(0, 0%, 80%);
  --gray-x-11: hsl(0, 0%, 73%);
  --dim-gray: hsl(0, 0%, 44%);
  --cultured: hsl(0, 0%, 98%);
  --black_10: hsl(0, 0%, 0%, 0.1);
  --black_20: hsl(0, 0%, 0%, 0.2);
  --black_30: hsl(0, 0%, 0%, 0.3);
  --black_70: hsl(0, 0%, 0%, 0.7);
  --white_10: hsl(0, 0%, 100%, 0.1);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */

  --ff-poppins: 'Poppins', sans-serif;
  --ff-mulish: 'Mulish', sans-serif;

  --fs-35: 4.5rem;
  --fs-30: 4rem;
  --fs-25: 3.5rem;
  --fs-24: 3rem;
  --fs-20: 2.5rem;
  --fs-18: 2.2rem;
  --fs-17: 2rem;
  --fs-13: 1.8rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;
  --fw-400: 400;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * shadow
   */

  --shadow: 0 0 20px hsla(0, 0%, 0%, 0.08);

  /**
   * radius
   */

  --radius-10: 10px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

  /* Add RGB values for the theme color */
  --theme-color-rgb: 255, 76, 41;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-mulish);
  font-size: 10px;
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: 100%;
}

body {
  background-color: var(--white);
  color: var(--black);
  font-size: var(--fs-18);
  line-height: 1.5;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

:focus-visible { outline-offset: 4px; }

::placeholder { color: var(--dim-gray); }

::-webkit-scrollbar {
  width: 12px;
  height: 2px;
}

body::-webkit-scrollbar-track { background-color: var(--white); }

body::-webkit-scrollbar-thumb {
  background-color: var(--spanish-gray);
  border: 3px solid var(--white);
  border-radius: 50px;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { 
  padding-inline: 30px; 
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.section { padding-block: var(--section-padding); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.has-before {
  position: relative;
  z-index: 1;
}

.has-before::before {
  position: absolute;
  content: "";
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-subtitle {
  color: var(--theme-color);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
  margin-block-end: 6px;
}

.h1,
.h2,
.h3 {
  color: var(--black);
  font-family: var(--ff-poppins);
}

.h1 { font-size: var(--fs-30); }

.h1,
.h2 {
  font-weight: var(--fw-800);
  text-transform: uppercase;
}

.h2 {
  font-size: var(--fs-25);
  line-height: 1.2;
}

.h1,
.h3 { line-height: 1.4; }

.h3 { font-size: var(--fs-18); }

.section-title { margin-block-end: 40px; }

:is(.portfolio, .news) .section-title { margin-block-end: 60px; }

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-10);
}

.card-content {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  background-color: var(--white);
  border-radius: var(--radius-8);
  padding: 20px 25px;
  display: block;
  align-content: flex-start;
  opacity: 0;
  transition: var(--transition);
}

.card:is(:hover, :focus-within, :active) .card-content { opacity: 1; }

.card-content > ion-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--black);
  font-size: 40px;
  transform: rotate(-45deg);
}

.card-text { font-family: var(--ff-poppins); }

.card-title, .h3.card-title {
  display: inline;
  white-space: normal;
  word-spacing: normal;
  word-break: normal;
  text-align: left;
  width: 100%;
}

.scrollbar-item:nth-of-type(2) .card-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
  word-wrap: normal;
  word-break: normal;
  hyphens: none;
  display: inline;
  width: 100%;
}



.has-scrollbar {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-block-end: 30px;
  margin-block-end: -15px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar-track { background-color: var(--black_20); }

.has-scrollbar::-webkit-scrollbar-thumb { background-color: var(--black_70); }

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 25px); }




/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-block: 15px;
  border-block-end: 1px solid var(--black_10);
  z-index: 1000;
  height: auto;
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  max-width: 50px;
  height: auto;
  margin-right: 10px;
}

.logo {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: 3.2rem;
  line-height: 0.9;
  font-weight: var(--fw-700);
}

.nav-toggle-btn .line {
  width: 30px;
  height: 2px;
  background-color: var(--black);
  transition: var(--transition);
}

.nav-toggle-btn .line:not(:last-child) { margin-block-end: 8px; }

.nav-toggle-btn.active .line-1 { transform: translateY(10px) rotate(45deg); }

.nav-toggle-btn.active .line-2 {
  transform: translateX(-100%);
  opacity: 0;
}

.nav-toggle-btn.active .line-3 { transform: translateY(-10px) rotate(-45deg); }

.navbar {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding-inline: 30px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.3s var(--cubic-out);
}

.navbar.active {
  max-height: 250px;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-list { margin-block: 25px; }

.navbar-link {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-500);
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.slide-down-btn { display: none; }

.hero {
  background-color: var(--cultured);
  padding-block-start: calc(var(--section-padding) + 30px);
}

.hero-banner {
  margin-block-end: 60px;
  max-height: 500px;
  border-radius: var(--radius-10);
  margin-inline: auto;
  display: none; /* Hide by default on mobile */
}

.hero-title { margin-block: 10px 20px; }

/* Main heading specific styles */
.main-heading {
  font-size: 3.2rem;
  line-height: 1.2;
  max-width: 600px;
  text-transform: none;
  font-weight: 700;
  color: #232836;
  display: block;
  margin: 0 auto;
  text-align: left;
  padding: 0;
  letter-spacing: -0.02em;
}

/* Override any conflicting styles */
.h1.hero-title.main-heading {
  text-transform: none !important;
  font-size: 3.2rem !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .main-heading {
    font-size: 2.8rem !important;
    line-height: 1.3;
    margin: 15px 0;
  }
}

.hero-list { margin-block-end: 35px; }

.hero-list .list-link {
  font-size: var(--fs-20);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim-gray);
  transition: var(--transition);
}

.hero-list .list-link:is(:hover, :focus) { color: var(--theme-color); }

.hero-list .list-link .span,
.hero-list .list-link ion-icon { transition: var(--transition); }

.hero-list .list-link:is(:hover, :focus) ion-icon { transform: rotate(-45deg); }

.exp-list .list-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.exp-list .list-item:not(:last-child) { margin-block-end: 15px; }

.exp-list .strong {
  color: var(--theme-color);
  font-size: var(--fs-30);
  font-family: var(--ff-poppins);
}

.exp-list .span { font-size: var(--fs-13); }

/* Hero Reviews CSS Removed */

.skills-banner { display: none; }

.hero-description {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--dim-gray);
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.hero-features {
  margin-bottom: 2.5rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--black);
}

.hero-features ion-icon {
  color: var(--theme-color);
  font-size: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.6rem;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--theme-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--black);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  padding: calc(1rem - 2px) calc(2rem - 2px); /* Adjust for border */
}

.btn-secondary:hover {
  background-color: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-description {
    font-size: 1.6rem;
    margin-block: 20px 25px;
    line-height: 1.6;
  }
  
  .hero-features li {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .btn {
    font-size: 1.5rem;
    padding: 12px 20px;
    min-width: auto;
  }
  
  .hero-list .list-link {
    font-size: 1.4rem;
  }
}

/* Add more specific mobile adjustments for smaller screens */
@media (max-width: 480px) {
  .hero-cta {
    width: 100%;
    gap: 10px;
  }
  
  .btn {
    font-size: 1.4rem;
    padding: 10px 16px;
    width: 100%;
    text-align: center;
  }
  
  .btn-primary, .btn-secondary {
    padding: 10px 15px;
    font-size: 1.3rem;
  }
  
  .click-button, .buy-button {
    font-size: 1.3rem;
    padding: 10px 16px;
  }
  
  .hero-features li {
    font-size: 1.4rem;
  }
  
  .hero-features ion-icon {
    font-size: 1.4rem;
  }
}





/*-----------------------------------*\
  #SKILLS
\*-----------------------------------*/

.skills { background-color: var(--black); }

.skills .section-title { color: var(--white); }

.skills .section-text {
  color: var(--gray-x-11);
  margin-block: 40px 45px;
}

.skills-item:not(:last-child) { margin-block-end: 25px; }

.skills-list .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-family: var(--ff-poppins);
  margin-block-end: 10px;
}

.skill-title {
  font-size: unset;
  font-weight: unset;
}

.skills .progress-box { background-color: var(--white_10); }

.skills .progress {
  background-color: var(--theme-color);
  height: 8px;
}





/*-----------------------------------*\
  #TIMELINE
\*-----------------------------------*/

.timeline {
  background-color: var(--cultured);
  position: relative;
  overflow: hidden;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 73, 36, 0.05) 0%, transparent 100%);
  z-index: 0;
}

.timeline .container {
  position: relative;
  z-index: 1;
}

.timeline-list {
  position: relative;
  padding-left: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--theme-color) 0%, var(--theme-color) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 35px;
  background-color: var(--white);
  border-radius: var(--radius-10);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-item:not(:last-child) {
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 4px solid var(--theme-color);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 1;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -44px;
  top: 50%;
  width: 40px;
  height: 2px;
  background-color: var(--theme-color);
  transform: translateY(-50%);
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.timeline-item:hover::before {
  background-color: var(--theme-color);
  border-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 73, 36, 0.2);
}

.timeline-item .item-title {
  color: var(--theme-color);
  font-size: 1.8rem;
  font-weight: var(--fw-700);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-item .item-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--theme-color);
  border-radius: 50%;
}

.timeline-item .item-address {
  color: var(--black);
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.timeline-item .item-period {
  display: inline-block;
  font-family: var(--ff-poppins);
  font-size: 1.4rem;
  font-weight: var(--fw-600);
  color: var(--white);
  background-color: var(--theme-color);
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(255, 73, 36, 0.2);
}

@media (max-width: 768px) {
  .timeline-list {
    padding-left: 35px;
  }

  .timeline-item {
    padding: 25px;
  }

  .timeline-item::before {
    left: -35px;
    width: 16px;
    height: 16px;
  }

  .timeline-item::after {
    left: -30px;
    width: 30px;
  }

  .timeline-item .item-title {
    font-size: 1.6rem;
  }

  .timeline-item .item-address {
    font-size: 1.4rem;
  }

  .timeline-item .item-period {
    font-size: 1.3rem;
    padding: 6px 15px;
  }
}





/*-----------------------------------*\
  #PRICEING
\*-----------------------------------*/

.pricing {
  background-color: #232836;
  background-image: linear-gradient(135deg, #232836 0%, #1a202c 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
  z-index: 1;  /* Added z-index to ensure proper stacking */
}

.pricing .container {
  position: relative;
  z-index: 2;  /* Increased z-index for container */
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;  /* Added padding to create space between header and content */
}

.pricing-header {
  width: 100%;
  margin-bottom: 60px;
  position: relative;
  display: block;
  clear: both;
}

.pricing h2 {
  font-size: 2.8rem;
  font-weight: var(--fw-800);
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
  display: block;
  margin: 0 auto 20px;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.pricing h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--theme-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.pricing-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
  width: 100%;
  position: relative;
  z-index: 1;
  clear: both;
}

.pricing-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 35px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--black);
}

.pricing-card ion-icon {
  font-size: 35px;
  color: var(--theme-color);
  margin: 0 auto 15px;
  display: block;
}

.pricing-card.featured {
  background-color: var(--theme-color);
  color: var(--white);
  transform: translateY(-15px);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 35px rgba(231, 76, 60, 0.35);
}

.pricing-card.featured:hover {
  transform: translateY(-20px);
  box-shadow: 0 15px 50px rgba(231, 76, 60, 0.5);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 30px;
  background-color: var(--theme-color);
  border-radius: 30px 30px 0 0;
  z-index: -1;
}

.pricing-card.featured::after {
  content: "★ BESTSELLER ★";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--theme-color);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 15px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card.featured a,
.pricing-card.featured .card-title,
.pricing-card.featured .card-price,
.pricing-card.featured .pricing-feature,
.pricing-card.featured ion-icon {
  color: var(--white);
}

.pricing-card .card-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.pricing-card .card-price {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--theme-color);
  margin-bottom: 15px;
}

.pricing-card:nth-child(3) {
  position: relative;
  overflow: visible;
  padding: 30px 25px;
}

.pricing-card:nth-child(3) .card-price {
  margin-bottom: 5px;
}

.pricing-feature {
  width: 100%;
  padding: 12px 5px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--black);
  font-size: 1.4rem;
  text-align: center;
  display: block;
}

.pricing-feature:last-of-type {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .pricing-feature {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.pricing-card.featured .pricing-feature:last-of-type {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card button {
  width: 100%;
  margin-top: auto;
  padding: 15px 0;
  border: none;
  border-radius: 5px;
  background-color: var(--theme-color);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  text-align: center;
}

.pricing-card button:hover {
  background-color: #e03c17;
}

.pricing-card.featured button {
  background-color: var(--white);
  color: var(--theme-color);
}

.pricing-card.featured button:hover {
  background-color: #f5f5f5;
}

@media (max-width: 992px) {
  .pricing {
    padding: 100px 0 60px;  /* Adjusted padding for tablets */
  }

  .pricing-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    gap: 40px;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 0;
    padding: 30px 20px;
  }
  
  .discount-badge {
    top: -10px;
    right: -10px;
  }

  .pricing-card.featured {
    transform: translateY(0);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .pricing-card.featured::before {
    display: none;
  }
  
  .pricing-card.featured::after {
    top: -15px;
  }
  
  /* Set explicit order to maintain the original card sequence */
  .pricing-wrapper .pricing-card:nth-child(1) {
    order: 1;
  }
  
  .pricing-wrapper .pricing-card:nth-child(2) {
    order: 2;
  }
  
  .pricing-wrapper .pricing-card:nth-child(3) {
    order: 3;
  }
}

@media (max-width: 480px) {
  .pricing {
    padding: 80px 0 40px;  /* Adjusted padding for mobile */
    margin-top: 60px;  /* Added margin-top for mobile */
  }

  .pricing h2 {
    font-size: 2.2rem;
  }
  
  .pricing h2::after {
    width: 60px;
    margin: 10px auto 0;
  }

  .pricing-wrapper {
    padding: 0 10px;
    gap: 30px;
  }
  
  .pricing-card {
    padding: 25px 15px;
  }
  
  .pricing-card:nth-child(3) {
    padding: 20px 15px;
  }
  
  .pricing-card .card-title {
    font-size: 1.5rem;
  }

  .pricing-card .card-price {
    font-size: 2.6rem;
  }
  
  .pricing-feature {
    font-size: 1.3rem;
    padding: 10px 5px;
  }
  
  .pricing-card button {
    padding: 12px 0;
    font-size: 1.4rem;
  }
  
  .countdown-container {
    flex-direction: column;
    padding: 4px;
  }
  
  .countdown-text {
    margin-right: 0;
    margin-bottom: 4px;
  }
  
  .pricing-card.featured::after {
    font-size: 0.7rem;
    padding: 3px 10px;
    top: -12px;
  }
}





/*-----------------------------------*\
  #NEWS
\*-----------------------------------*/

.news-card .card-text { margin-block-end: 5px; }





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact { background-color: var(--cultured); }

.contact-list { margin-block: 40px 50px; }

.contact-item:not(:last-child) { margin-block-end: 22px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item ion-icon {
  color: var(--theme-color);
  font-size: 22px;
  flex-shrink: 0;
  --ionicon-stroke-width: 25px;
}

.contact-link {
  color: var(--black);
  font-family: var(--ff-poppins);
}

.input-field {
  color: var(--black);
  font-family: var(--ff-poppins);
  font-size: var(--fs-13);
  letter-spacing: 1.4px;
  border: 1px solid var(--black_10);
  padding: 10px;
  margin-block-end: 30px;
  outline: none;
  transition: border var(--transition);
}

.input-field:focus { border-color: var(--black_30); }

textarea.input-field {
  resize: vertical;
  min-height: 45px;
  height: 45px;
  max-height: 100px;
}

.submit-btn {
  background-color: var(--theme-color);
  color: var(--white);
  width: 100%;
  font-size: var(--fs-17);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  transition: var(--transition);
}

.submit-btn:is(:hover, :focus) { background-color: var(--black); }

.submit-btn ion-icon { transition: var(--transition); }

.submit-btn:is(:hover, :focus) ion-icon { transform: rotate(-45deg); }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding-block: 30px;
}

.copyright { margin-block-end: 10px; }

.copyright-link { display: inline-block; }

.copyright-link:is(:hover, :focus) { text-decoration: underline; }

.social-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link { font-size: 30px; }

.copyprav {
  text-decoration: underline;
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 576px screen
 */

@media (min-width: 576px) {

  /**
   * REUSED STYLE
   */

  .scrollbar-item { min-width: calc(50% - 20px); }



  /**
   * HERO
   */

  .exp-list {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
  }

  .exp-list .list-item:not(:last-child) { margin-block-end: 0; }



  /**
   * PRICING
   */

  .pricing-card {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .pricing-card .card-title {
    margin-block: 0;
    margin-inline-end: auto;
  }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-30: 3.5rem;
    --fs-25: 3rem;

  }



  /**
   * REUSED STYLE
   */

  .h3 { --fs-18: 2rem; }

  .card-content { padding: 30px 35px; }

  .card-content > ion-icon {
    top: 30px;
    right: 30px;
  }



  /**
   * TIMELINE
   */

  .timeline-item {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }



  /**
   * PRICING, CONTACT
   */

  .pricing-card,
  .contact-link { font-size: var(--fs-18); }



  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright { margin-block-end: 0; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-35: 4.5rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }
  


  /**
   * REUSED STYLE
   */

  .container { padding-inline: 50px; }



  /**
   * HEADER
   */

  .header {
    background-color: transparent;
    border-block-end: none;
    padding-block: 25px;
    transition: var(--transition);
  }

  .header.active {
    background-color: var(--white);
    padding-block: 20px;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
    transition: var(--transition);
  }

  .navbar { visibility: hidden; }

  .navbar.active { visibility: visible; }

  .navbar-list {
    display: flex;
    gap: 20px;
    margin-block: 0;
  }

  .navbar-link {
    opacity: 0;
    transform: translateX(20px);
    font-weight: var(--fw-400);
    transition: var(--transition);
  }

  .navbar.active .navbar-link {
    opacity: 1;
    transform: translateX(0);
  }

  .navbar-link:is(:hover, :focus) { color: var(--theme-color); }



  /**
   * HERO
   */

  .hero {
    --section-padding: 70px;
    padding-block-start: calc(var(--section-padding) + 60px);
    min-height: 100vh;
    display: grid;
    align-items: center;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 150px;
  }

  .hero-banner {
    display: block; /* Show on desktop */
    order: 1;
    width: 250px;
    margin-inline: auto 80px;
    margin-block-end: 0;
    overflow: visible;
    transform: rotate(7deg);
  }

  .hero-banner .img-cover { 
    border-radius: inherit; 
  }

  .hero-banner::before {
    bottom: -40px;
    left: -95px;
    width: 90%;
    height: 100%;
    background-color: var(--theme-color);
    z-index: -1;
    transform: rotate(-15deg);
    border-radius: var(--radius-10);
  }

  .exp-list .span { --fs-13: 1.4rem; }

  .slide-down-btn {
    display: block;
    color: var(--black);
    font-size: 40px;
    max-width: max-content;
    margin-block-start: 40px;
    transition: var(--transition);
    animation: scrollDown 2s ease infinite;
  }

  .slide-down-btn:is(:hover, :focus) { color: var(--theme-color); }

  @keyframes scrollDown {
    0% { transform: translateY(0); }
    30% { transform: translateY(20px); }
  }



  /**
   * SKILLS
   */

  .skills .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 150px;
  }

  .skills-banner {
    display: block;
    position: absolute;
    top: 0;
    right: 50px;
    width: 410px;
    height: 620px;
    background-image: url('../images/justice-stat2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 145%;
    background-attachment: fixed;
    overflow: hidden;
  }



  /**
   * TIMELINE
   */

  .timeline-item { padding-block: 30px; }



  /**
   * PRICING
   */

  .pricing .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .pricing-content {
    position: sticky;
    top: 120px;
  }

  .pricing .section-text { margin-block-end: 0; }



  /**
   * CONTACT
   */

  .contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 200px;
  }

  .contact-list { margin-block-end: 0; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1170px;
    width: 100%;
    margin-inline: auto;
  }

  .has-scrollbar { gap: 40px; }

  .scrollbar-item { min-width: calc(33.33% - 26.66px); }

  :is(.portfolio, .news) .section-title { margin-block-end: 80px; }



  /**
   * HEADER
   */

  .header .container { max-width: unset; }

  

  /**
   * HERO
   */

  .hero-banner { width: 275px; }

  .logo1 {
    color: #ff4924; 
    font-family: var(--ff-poppins);
    font-size: 3.2rem;
    line-height: 0.9;
    font-weight: var(--fw-700);
  }
}


a {
  display: inline;
}

/* Flashcards Container */
.flashcards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Flashcard */
.flashcard {
  width: 340px; /* Increased from 300px to accommodate larger text */
  height: auto;
  padding: 25px; /* Increased from 20px */
  background-color: #ff4924;
  color: #fff !important;
  border-radius: 10px;
  text-align: center;
  font-family: var(--ff-poppins), "Poppins", sans-serif !important;
  font-size: 27px !important; /* Increased by 70% from 16px with !important flag */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.flashcard:hover {
  background-color: #53251c;
  transform: scale(1.05);
}

/* Flashcard internal elements */
.flashcard h3 {
  font-family: var(--ff-poppins), "Poppins", sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  margin-bottom: 15px;
}

.flashcard .term {
  font-family: var(--ff-poppins), "Poppins", sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  margin-bottom: 15px;
  line-height: 1.3;
}

.flashcard .card-icon {
  font-size: 36px !important;
  margin-bottom: 15px;
}

.flashcard .click-hint {
  font-family: var(--ff-poppins), "Poppins", sans-serif !important;
  font-size: 18px !important;
  font-style: italic;
  opacity: 0.8;
  display: block;
  margin-top: 20px;
}

/* Fullscreen Overlay */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1000;
}

.fullscreen-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Active State */
.fullscreen-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Buy Button Container */
.buy-button-container {
  text-align: center;
  margin-top: 30px;
}

/* Buy Button */
.buy-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #28a745;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.buy-button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.buy-button:active {
  transform: scale(0.95);
}

.buy-button-container {
  text-align: center;
  margin-top: 30px;
}

/* Click Button */
.click-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: black;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.click-button:hover {
  background-color: grey;
  transform: scale(1.05);
}

.click-button:active {
  transform: scale(0.95);
}

/* Mobile styles for buttons */
@media (max-width: 480px) {
  .buy-button, .click-button {
    padding: 10px 20px;
    font-size: 15px;
    width: auto;
    display: inline-block;
  }
}

.click-button-container {
  text-align: center;
  margin-top: 30px;
}


.notice-box {
  margin-top: 20px;
  display: inline-flex; /* Makes the icon and text align horizontally */
  align-items: center; /* Vertically centers the icon with the text */
  padding: 10px 15px;
  border: 1px solid #898989;
  border-radius: 0px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 14px;
}

.notice-box ion-icon {
  margin-right: 8px; /* Adds some space between the icon and the text */
  font-size: 16px; /* Adjust icon size to match text */
}

/* Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Delay classes */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Specific section animations */
.timeline-item {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.5s cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

.timeline-item.active {
  opacity: 1;
  transform: translateX(0);
}

.pricing-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

.pricing-card.active {
  opacity: 1;
  transform: translateY(0);
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
}

.original-price {
  font-size: 1.8rem;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 2px;
  position: relative;
}

.discount-price {
  color: #e74c3c !important;
  font-weight: 800 !important;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.discount-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: #e74c3c;
  color: white;
  padding: 6px 10px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  transform: rotate(12deg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 5;
}

.countdown-container {
  width: 100%;
  margin: 5px 0;
  padding: 6px;
  background-color: rgba(0,0,0,0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-text {
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e74c3c;
  background-color: rgba(255,255,255,0.8);
  border-radius: 4px;
  padding: 2px 4px;
  min-width: 30px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.countdown-label {
  font-size: 0.7rem;
  color: #777;
  margin-top: 1px;
}

.pricing-card:nth-child(3) {
  position: relative;
  overflow: visible;
}

.pricing-card:nth-child(3) button {
  background-color: #e74c3c;
}

.pricing-card:nth-child(3) button:hover {
  background-color: #d44333;
}

.pricing-card:nth-child(3) a {
  gap: 8px;
}

.pricing-card:nth-child(3) .pricing-feature {
  padding: 8px 5px;
}

/* Reviews Section */
.reviews {
  background-color: var(--cultured);
  padding-block: 60px;
  overflow: hidden;
  position: relative;
}

.reviews .container {
  position: relative;
}

.reviews-slider {
  position: relative;
  margin-top: 40px;
  padding: 20px 0;
  overflow: hidden;
}

/* Add masking for fading effect at edges */
.reviews-slider::before,
.reviews-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.reviews-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--cultured) 0%, rgba(246, 246, 248, 0) 100%);
}

.reviews-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--cultured) 0%, rgba(246, 246, 248, 0) 100%);
}

.reviews-track {
  display: flex;
  transition: transform 0.3s ease;
  padding: 10px 0;
  gap: 15px;
}

.review-slide {
  flex: 0 0 100%;
  padding: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  height: 300px; /* Fixed height to match card */
  box-sizing: border-box;
  max-width: 100%;
}

.review-slide.active {
  opacity: 1;
  transform: scale(1);
}

.review-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  height: 280px; /* Fixed height for rectangular shape */
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--theme-color), rgba(255, 73, 36, 0.7));
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-content {
  flex-grow: 1;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-height: 150px; /* Control the height of the content area */
}

.review-content::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 60px;
  font-family: Georgia, serif;
  color: rgba(255, 73, 36, 0.1);
  line-height: 1;
}

.review-content p {
  font-style: italic;
  line-height: 1.5;
  color: var(--black);
  opacity: 0.8;
  text-align: left;
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.reviewer-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 15px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
  border: 2px solid var(--theme-color);
  flex-shrink: 0;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-details {
  flex-grow: 1;
  overflow: hidden;
}

.reviewer-details h4 {
  font-size: 0.95rem;
  margin: 0 0 3px 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviewer-details p {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-rating {
  color: #f5b805;
  font-size: 1.1rem;
  letter-spacing: 2px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.prev-btn, .next-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--theme-color);
  transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--theme-color);
  color: var(--white);
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .reviews-slider {
    padding: 0 30px;
    overflow: hidden;
  }
  
  .review-slide {
    flex: 0 0 calc(50% - 20px);
    height: 300px;
    max-width: calc(50% - 20px);
  }
  
  .review-card {
    height: 280px;
  }
}

@media (min-width: 992px) {
  .reviews-slider {
    padding: 0 50px;
    max-width: 95%;
    margin: 0 auto;
  }
  
  .review-slide {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
  
  .reviews-track {
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .review-slide {
    flex: 0 0 calc(33.333% - 30px);
    max-width: calc(33.333% - 30px);
  }
  
  .review-card {
    height: 280px;
  }
}

/* Skills Banner */
.skills-banner { display: none; }

/* Money Back Guarantee Section */
.money-back {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.money-back::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ff3c1a' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.7;
  z-index: 0;
}

.money-back .container {
  position: relative;
  z-index: 1;
}

.money-back-header {
  text-align: center;
  margin-bottom: 50px;
}

.money-back .section-title {
  color: #1a1a3f;
  position: relative;
  display: inline-block;
  font-size: 3rem;
}

.money-back .section-subtitle {
  font-size: 1.4rem;
}

.money-back .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: hsl(10, 100%, 57%);
  border-radius: 3px;
}

.money-back-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.guarantee-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 60, 26, 0.15);
}

.guarantee-icon {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: hsl(10, 100%, 57%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-icon ion-icon {
  font-size: 45px;
  color: white;
}

.guarantee-text p {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 18px;
}

.guarantee-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 60, 26, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(10, 100%, 57%);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h4 {
  font-size: 1.5rem;
  color: #1a1a3f;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 1.3rem;
  color: #4a4a6a;
  line-height: 1.5;
}

.rules-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: hsl(10, 100%, 57%);
  color: white;
  padding: 18px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(255, 60, 26, 0.25);
  transition: all 0.3s ease;
  border: none;
}

.rules-button ion-icon {
  font-size: 24px;
}

.rules-button:hover {
  background-color: hsl(15, 100%, 60%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 60, 26, 0.35);
}

@media (max-width: 768px) {
  .money-back {
    padding: 60px 0;
  }
  
  .money-back .section-title {
    font-size: 2.5rem;
  }
  
  .guarantee-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .guarantee-text p {
    font-size: 1.3rem;
  }
  
  .step-content h4 {
    font-size: 1.3rem;
  }
  
  .step-content p {
    font-size: 1.2rem;
  }
  
  .rules-button {
    font-size: 1.2rem;
    padding: 16px 28px;
  }
}

/* Loading Screen */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

.loader-wrapper.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.loader-text {
  display: inline-block;
  margin: 0 5px;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-color);
}

.loader-text span {
  display: inline-block;
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
  animation: popIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.loader-text:nth-child(1) span:nth-child(1) { animation-delay: 0.05s; }
.loader-text:nth-child(1) span:nth-child(2) { animation-delay: 0.1s; }
.loader-text:nth-child(1) span:nth-child(3) { animation-delay: 0.15s; }
.loader-text:nth-child(1) span:nth-child(4) { animation-delay: 0.2s; }
.loader-text:nth-child(1) span:nth-child(5) { animation-delay: 0.25s; }
.loader-text:nth-child(1) span:nth-child(6) { animation-delay: 0.3s; }

.loader-text:nth-child(2) span:nth-child(1) { animation-delay: 0.35s; }
.loader-text:nth-child(2) span:nth-child(2) { animation-delay: 0.4s; }

.loader-text:nth-child(3) span:nth-child(1) { animation-delay: 0.45s; }
.loader-text:nth-child(3) span:nth-child(2) { animation-delay: 0.5s; }

.loader-text:nth-child(4) span:nth-child(1) { animation-delay: 0.55s; }
.loader-text:nth-child(4) span:nth-child(2) { animation-delay: 0.6s; }
.loader-text:nth-child(4) span:nth-child(3) { animation-delay: 0.65s; }
.loader-text:nth-child(4) span:nth-child(4) { animation-delay: 0.7s; }
.loader-text:nth-child(4) span:nth-child(5) { animation-delay: 0.75s; }

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  70% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 768px) {
  .loader-text {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }
}

/*-----------------------------------*\
  #REVIEWS
\*-----------------------------------*/

.section.reviews {
  background-color: var(--cultured);
}

.reviews .reviews-header {
  text-align: center;
  margin-bottom: 40px;
}

.reviews .reviews-header h2 {
  font-size: var(--fs-24);
  text-transform: uppercase;
  color: var(--theme-color);
  margin-bottom: 1rem;
}

.reviews .section-text {
  font-size: var(--fs-18);
  color: var(--black_70);
}

.reviews-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .reviews-container {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

/* Reviews Display */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-8);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--theme-color), rgba(255, 76, 41, 0.7));
  border-radius: var(--radius-8) var(--radius-8) 0 0;
}

.review-rating {
  color: #f5b805;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.review-rating i {
  margin-right: 2px;
}

.review-text {
  font-size: var(--fs-18);
  line-height: 1.5;
  color: var(--black_70);
  margin-bottom: 15px;
  font-style: italic;
}

.review-author {
  font-size: var(--fs-17);
  font-weight: var(--fw-600);
  color: var(--black);
  text-align: right;
}

/* Review Form */
.review-form-container {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-8);
  box-shadow: var(--shadow);
}

.review-form-container h3 {
  font-size: var(--fs-20);
  color: var(--theme-color);
  margin-bottom: 20px;
  text-align: center;
}

.review-form .form-group {
  margin-bottom: 20px;
}

.review-form label {
  display: block;
  font-size: var(--fs-17);
  font-weight: var(--fw-500);
  margin-bottom: 8px;
  color: var(--black);
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: var(--fs-17);
  transition: border-color 0.3s ease;
  background-color: #f9f9f9;
}

.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--theme-color);
  outline: none;
}

.star-rating {
  display: flex;
  gap: 8px;
  font-size: 1.5rem;
  cursor: pointer;
}

.rating-star {
  color: #ccc;
  transition: color 0.2s ease;
}

.rating-star.active,
.rating-star:hover,
.rating-star:hover ~ .rating-star {
  color: #f5b805;
}

.submit-review {
  width: 100%;
  padding: 12px;
  background-color: var(--theme-color);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: var(--fs-17);
  font-weight: var(--fw-600);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-review:hover {
  background-color: #e04429;
  transform: translateY(-2px);
}

/* Skeleton Loading */
.skeleton {
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-rating {
  height: 20px;
  width: 120px;
  background-color: #eee;
  margin-bottom: 15px;
  border-radius: 4px;
}

.skeleton-text {
  height: 100px;
  background-color: #eee;
  margin-bottom: 15px;
  border-radius: 4px;
}

.skeleton-author {
  height: 20px;
  width: 150px;
  background-color: #eee;
  margin-left: auto;
  border-radius: 4px;
}

/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog {
  padding: 80px 0;
  background-color: var(--white);
  margin-top: 100px; /* Add margin to account for fixed header */
}

.blog-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
  padding: 0 15px;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 240px; /* Reduced from original height */
  width: 100%;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .blog-image {
    height: 200px; /* Smaller height for mobile */
  }
}

@media (min-width: 768px) {
  .blog-image {
    height: 220px; /* Medium height for tablets */
  }
}

@media (min-width: 992px) {
  .blog-image {
    height: 240px; /* Larger height for desktop */
  }
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-title {
  color: var(--black);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.blog-text {
  color: var(--dim-gray);
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Tablet View */
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0;
  }

  .blog-image {
    height: 220px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 2rem;
  }

  .blog-text {
    font-size: 1.5rem;
  }
}

/* Desktop View */
@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .blog-image {
    height: 240px;
  }

  .blog-content {
    padding: 25px;
  }
}

/* Mobile View */
@media (max-width: 767px) {
  .blog {
    padding: 40px 0;
    margin-top: 80px; /* Slightly smaller margin for mobile */
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .blog-image {
    height: 200px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .blog-text {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .blog-cta {
    margin-top: 30px;
    padding: 20px 15px;
  }

  .blog-cta p {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 1.4rem;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* Blog Post Page Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  margin-top: 80px; /* Add margin to account for fixed header */
}

.blog-post-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-post-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.blog-post-meta {
  font-size: 1.4rem;
  color: var(--dim-gray);
  margin-bottom: 30px;
}

.blog-post-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-post-content {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--black);
}

.blog-post-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 40px 0 20px;
}

.blog-post-content p {
  margin-bottom: 20px;
}

/* Blog Post Mobile Styles */
@media (max-width: 767px) {
  .blog-post {
    padding: 20px 15px;
    margin-top: 60px; /* Adjust margin for mobile */
  }

  .blog-post-header {
    padding-top: 40px; /* Additional padding at the top for mobile */
  }

  .blog-post-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
    padding-top: 20px; /* Extra padding for the title */
  }

  .blog-post-meta {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .blog-post-image {
    margin-bottom: 20px;
  }

  .blog-post-content {
    font-size: 1.4rem;
  }

  .blog-post-content h2 {
    font-size: 2rem;
    margin: 30px 0 15px;
  }

  .blog-post-content p {
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .header {
    padding-block: 10px;
  }

  .blog-post {
    margin-top: 80px;
    padding-top: 40px;
  }

  main {
    padding-top: 60px; /* Add padding to main content area */
  }

  .blog-post-header {
    margin-top: 20px;
    padding-top: 20px;
  }
}
/* Discount Popup */

/* Discount Popup */
.discount-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.discount-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.discount-popup-content {
  text-align: center;
  position: relative;
}

.discount-popup h3 {
  color: #232836;
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

.discount-popup p {
  color: #666;
  margin-bottom: 20px;
  font-size: 16px;
}

.discount-code {
  background: #f5f5f5;
  padding: 15px 25px;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px dashed #232836;
}

.discount-code span {
  font-size: 24px;
  font-weight: 700;
  color: #232836;
  letter-spacing: 2px;
}

.close-popup {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #232836;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-popup:hover {
  background: #1a202c;
  transform: scale(1.1);
}

.discount-description {
  font-size: 14px;
  color: #888;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .discount-popup {
    width: 90%;
    padding: 20px;
  }
  
  .discount-popup h3 {
    font-size: 20px;
  }
  
  .discount-code span {
    font-size: 20px;
  }
}

/* Fix for reviews slider on mobile */
@media (max-width: 767px) {
  .reviews {
    overflow-x: hidden;
  }
  
  .reviews-slider {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .reviews-track {
    width: 100%;
    box-sizing: border-box;
  }
  
  .review-slide {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure all scrollable elements stay within viewport */
  .has-scrollbar {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix for portfolio and other sections */
  .section {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Ensure images don't exceed container width */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Media query for flashcards on smaller screens */
@media (max-width: 768px) {
  .flashcard {
    width: 300px;
    padding: 20px;
  }
  
  .flashcard h3 {
    font-size: 26px;
  }
  
  .flashcard .term {
    font-size: 20px;
  }
  
  .flashcard .card-icon {
    font-size: 32px;
  }
  
  .flashcard .click-hint {
    font-size: 16px;
  }
}

/* Mobile styles for buttons */
@media (max-width: 480px) {
  .buy-button, .click-button {
    padding: 10px 20px;
    font-size: 15px;
    width: auto;
    display: inline-block;
  }
}

/* Flashcard inner container */
.flashcard-inner {
  font-family: var(--ff-poppins), "Poppins", sans-serif !important;
  font-size: 27px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}