/* # fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* # variables */
:root{
  --hue: 200;
  --saturation: 70%;
  --lightness: 55%;
  --main-color: hsl(var(--hue), var(--saturation), var(--lightness));

  /* text colors */
  --text-white: hsl(0, 0%, 100%);
  --text-light-gray: hsl(0, 0% , 96%);
  --text-x-dark-gray: hsl(0, 0%, 10%);
  --text-dark-gray: hsl(0, 0%, 20%);

  /* bg colors */
  --body-bg-color: hsl(var(--hue), 60%, 94%);
  --bg-color: hsl(var(--hue), 60%, 96%);
  --bg-white: hsl(0, 0%, 100%);

  /* border color */
  --border-color: hsl(var(--hue), 48%, 80%);

  /* shadow */
  --shadow: 0 0 10px hsla(var(--hue), 57%, 63%, 0.3);
  --focus-shadow: 0 0 10px hsla(var(--hue), 57%, 63%, 0.6);

  /* font size */
  --fs-4xl: 50px;
  --fs-3xl: 35px;
  --fs-2xl: 26px;
  --fs-xl: 20px;
  --fs-lg: 18px;
  --fs-md: 16px;
  --fs-sm: 14px;
}

/* override variables for dark theme */
body.t-dark{
  /* text colors */
  --text-x-dark-gray: hsl(0, 0%, 94%);
  --text-dark-gray: hsl(0, 0%, 84%);

  /* bg colors */
  --body-bg-color: hsl(var(--hue), 20%, 10%);
  --bg-color: hsl(var(--hue), 13%, 17%);

  /* border color */
  --border-color: hsl(var(--hue), 15%, 30%);

  /* shadow */
  --shadow: 0 0 10px hsla(var(--hue), 19%, 7%, 0.9);
}

/* # base */
html{
  scroll-behavior: smooth;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::before,
::after{
  box-sizing: border-box;
}
body{
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--text-dark-gray);
  background-color: var(--body-bg-color);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
a{
  color: var(--main-color);
  text-decoration: none;
}
ul{
  list-style: none;
}
h1,h2,h3,h4,h5,h6{
  color: var(--text-x-dark-gray);
  line-height: 1.3;
}
p{
  margin-bottom: 15px;
}
img{
  max-width: 100%;
  vertical-align: middle;
}
::selection{
  color: var(--text-white);
  background-color: var(--main-color);
}
::-webkit-scrollbar{
  width: 5px;
}
::-webkit-scrollbar-track{
  background-color: var(--body-bg-color);
}
::-webkit-scrollbar-thumb{
  background-color: var(--main-color);
}

/* # page wrapper */
.page-wrapper{
  overflow: hidden;
}

/* # container */
.container{
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
}

/* # grid */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

/* # section */
.section-padding{
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 45px;
}
.section-title .title{
  display: inline-block;
  font-size: var(--fs-lg);
  font-weight: 400;
  text-transform: capitalize;
  color: var(--main-color);
  margin: 0 0 12px;
  padding: 0 40px;
  position: relative;
}
.section-title .title::before,
.section-title .title::after{
  content: '';
  position: absolute;
  height: 1px;
  width: 34px;
  background-color: var(--main-color);
  top: 50%;
  transform: translateY(-50%);
}
.section-title .title::before{
  left: 0;
}
.section-title .title::after{
  right: 0;
}
.section-title .sub-title{
  font-size: var(--fs-3xl);
  text-transform: capitalize;
}

/* # buttons */
button{
  cursor: pointer;
}
.btn{
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--main-color);
  color: var(--text-white);
  font-weight: 500;
  font-size: var(--fs-md);
  text-transform: capitalize;
  line-height: 1.5;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: 30px;
  vertical-align: middle;
  user-select: none;
  transition: all 0.3s ease;
}
.btn:hover{
  background-color: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

/* # forms */
.input-box{
  margin-bottom: 20px;
}
::placeholder{
  color: var(--text-dark-gray);
  opacity: 1; /* override firefox's default opacity */
}
.input-control{
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: var(--text-x-dark-gray);
  padding: 0 20px;
}
.input-control:focus{
  outline: 1px solid var(--border-color);
}
textarea.input-control{
  display: block;
  height: 150px;
  padding-top: 15px;
  resize: none;
}

/* # preloader */
.preloader{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader.fade-out{
  opacity: 0;
  transition: opacity 0.6s ease;
}
.preloader div{
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border-left: 4px solid var(--main-color);
  border-right: 4px solid var(--main-color);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  animation: preloader 1s linear infinite;
}
@keyframes preloader {
  0%{
    transform: rotate(0);
  }
  100%{
    transform: rotate(360deg);
  }
}

/* # header */
.header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 2;
  padding: 10px 0;
}
.header::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  z-index: -1;
  transform: translateY(calc(-100% - 10px));
  transition: transform 0.5s ease;
}
.header.bg-reveal::before{
  transform: translateY(0);
}
.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo a{
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
  display: block;
  transform: scaleY(0.9);
  letter-spacing: 2px;
}
.header .logo span{
  font-size: 12px;
  display: block;
  font-weight: 400;
  color: var(--text-x-dark-gray);
  letter-spacing: 1px;
}
.nav li{
  display: inline-block;
  margin-left: 35px;
}
.nav a{
  text-transform: capitalize;
  font-size: var(--fs-md);
  color: var(--text-x-dark-gray);
  font-weight: 400;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}
.nav a:hover{
  color: var(--main-color);
}
.nav-toggler{
  display: none;
}


/* # home  */
.home{
  padding: 100px 0 60px;
}
.home-text,
.home-img{
  grid-column: span 6;
  align-self: center;
}
.home-text h1{
  font-size: var(--fs-4xl);
  margin: 0 0 20px;
  text-transform: capitalize;
}
.home-text p{
  margin: 0 0 30px;
}
.home-img{
  position: relative;
}
.home-img .circle-wrap{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
}
.home-img .circle{
  height: 350px;
  width: 350px;
  background-color: var(--main-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.home-img img{
  max-width: 270px;
  display: block;
  margin: auto;
}

/* # about  */
.about .section-title{
  text-align: left;
  margin: 0 0 15px;
}
.about-img,
.about-text{
  grid-column: span 6;
  align-self: center;
}
.about-img .img-box{
  max-width: 400px;
  margin: auto;
  padding: 15px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  position: relative;
}
.about-img .img-box img{
  border-radius: 50%;
}
.about-img .box{
  height: 125px;
  width: 125px;
  background-color: var(--main-color);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 0 40px;
  padding: 15px;
}
.about-img .box-1{
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}
.about-img .box span{
  color: var(--text-white);
  font-weight: bold;
  font-size: var(--fs-3xl);
  margin: 0 0 5px;
  line-height: 1;
}
.about-img .box p{
  font-size: var(--fs-sm);
  text-transform: uppercase;
  color: var(--text-light-gray);
  margin: 0;
}

/* # services  */
.services-item{
  grid-column: span 3;
  text-align: center;
}
.services-item .img-box{
  height: 140px;
  width: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
  background-color: var(--bg-color);
  padding: 8px;
  overflow: hidden;
}
.services-item .img-box img{
  border-radius: 50%;
  transition: transform 0.5s ease;
}
.services-item:hover .img-box img{
  transform: scale(1.5);
}
.services-item h3{
  text-transform: capitalize;
  font-size: var(--fs-xl);
  font-weight: 500;
}

/* # pricing  */
.pricing-item{
  grid-column: span 4;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.pricing-header h3{
  text-transform: capitalize;
  margin: 0 0 20px;
  font-size: var(--fs-2xl);
  font-weight: 600;
}
.pricing-header .price{
  height: 140px;
  width: 140px;
  box-shadow: inset var(--shadow);
  margin: auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  text-transform: capitalize;
}
.pricing-header .price span{
  font-size: var(--fs-3xl);
  color: var(--main-color);
  font-weight: bold;
  line-height: 1.3;
}
.pricing-body{
  padding: 30px 0;
  text-align: left;
}
.pricing-body li{
  text-transform: capitalize;
  position: relative;
  padding-left: 27px;
}
.pricing-body li+li{
  margin-top: 10px;
}
.pricing-body li i{
  position: absolute;
  left: 0;
  top: 5px;
  font-size: var(--fs-sm);
}

/* # team  */
.team-item{
  grid-column: span 4;
}
.team-item .img-box{
  max-width: 350px;
  box-shadow: var(--shadow);
  background-color: var(--bg-color);
  margin: auto;
  border-radius: 50%;
  padding: 15px;
}
.team-item img{
  border-radius: 50%;
  transition: filter 0.5s ease;
}
.team-item:hover img{
  filter: grayscale(50%);
}
.team-item .detail{
  background-color: var(--main-color);
  width: 85%;
  max-width: 260px;
  padding: 15px;
  margin: -42px auto 0;
  text-align: center;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
  border-radius: 0 40px;
  transition: border-radius 0.5s ease;
}
.team-item:hover .detail{
  border-radius: 40px 0;
}
.team-item h3{
  margin: 0 0 5px;
  color: var(--text-white);
  font-size: var(--fs-xl);
  font-weight: 500;
}
.team-item p{
  margin: 0;
  color: var(--text-light-gray);
}

/* # contact */
.contact-grid{
  max-width: 1000px;
  margin: auto;
}
.contact-info{
  grid-column: span 5;
}
.contact-form{
 grid-column: span 7;
}
.contact-info-item{
  position: relative;
  padding: 20px 0 20px 70px;
}
.contact-info-item + .contact-info-item{
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
}
.contact-info-item i{
  height: 50px;
  width: 50px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  color: var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 20px;
}
.contact-info-item h3{
  margin: 0 0 10px;
  font-size: var(--fs-xl);
  font-weight: 500;
  text-transform: capitalize;
}
.contact-info-item p:last-child{
  margin: 0;
}

/* # footer */
.footer{
  padding: 50px 0;
  background-color: var(--main-color);
  text-align: center;
}
.footer h3{
  color: var(--text-white);
  font-size: var(--fs-2xl);
  margin: 0 0 15px;
  font-weight: 500;
  text-transform: capitalize;
}
.footer .social-links a {
  height: 35px;
  width: 35px;
  display: inline-flex;
  background-color: var(--bg-white);
  color: var(--main-color); /* Dark icon color for contrast */
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  border: 1px solid transparent;
  transition: all 0.5s ease;
}

.footer .social-links a:hover {
  background-color: transparent;
  color: var(--text-white); /* White icon on hover */
  border-color: var(--text-white);
}


/* Multi-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: left; /* so links align neatly under headings */
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  color: var(--text-white);
  text-decoration: none;
  font-size: var(--fs-md, 14px);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--bg-white);
}

/* Keep your existing social links styling */
.footer .social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* # responsive */

@media(max-width: 1199px){
  .about-img .box-1{
    top: 100%;
    left: 50%;
  }
}

@media(max-width: 991px){
  /* # variables */
  :root{
    --fs-4xl: 42px;
    --fs-3xl: 31px;
    --fs-2xl: 24px;
  }
  /* # home */
  .home-img img{
    max-width: 250px;
  }
  .home-img .circle{
    height: 290px;
    width: 290px;
  }
  /* # services */
  .services-item .img-box{
    height: 120px;
    width: 120px;
  }
  /* # pricing */
  .pricing-item{
    grid-column: span 6;
  }
  .pricing-header .price {
    height: 130px;
    width: 130px;
  }
  /* # team */
  .team-item {
    grid-column: span 6;
  }
}

@media(max-width: 767px){
   /* # variables */
  :root{
    --fs-4xl: 35px;
    --fs-3xl: 26px;
    --fs-2xl: 22px;
    --fs-xl: 18px;
  }  
  /* # header */
  .nav-toggler{
    display: block;
    height: 34px;
    width: 40px;
    border: none;
    z-index: 1;
    background-color: transparent;
  }
  .nav-toggler span{
    display: block;
    height: 2px;
    width: 24px;
    background-color: var(--main-color);
    margin: auto;
    position: relative;
    transition: background-color 0.3s ease;
  }
  .nav-toggler.active span{
    background-color: transparent;
  }
  .nav-toggler span::after,
  .nav-toggler span::before{
    content: '';
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transition: transform 0.3s ease;
  }
  .nav-toggler span::before{
    transform: translateY(-7px);
  }
  .nav-toggler.active span::before{
    transform: rotate(45deg);
  }
  .nav-toggler span::after{
    transform: translateY(7px);
  }
  .nav-toggler.active span::after{
    transform: rotate(-45deg);
  }
  .nav{
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 260px;
    background-color: var(--bg-color);
    padding: 60px 30px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: all 0.3s ease;
  }
  .nav.open{
    transform: translateX(0);
    box-shadow: var(--shadow);
  }
  .nav li{
    display: block;
    margin: 0;
  }
  .nav a{
    font-size: var(--fs-lg);
  }
  .nav li + li{
    border-top: 1px solid var(--border-color);
  }
  /* # home */
  .home-text, 
  .home-img {
    grid-column: span 12;
  }
  .home-img {
    order: -1;
    margin-bottom: 20px;
  }
  /* # about */
  .about-img, 
  .about-text {
    grid-column: span 12;
  }
  .about-text{
    order: -1;
  }
  .about-img .box{
    height: 115px;
    width: 115px;
  }
  /* # services */
  .services-item{
    grid-column: span 6;
  }
  /* # pricing */
  .pricing-header .price{
    height: 120px;
    width: 120px;
  }
  /* # contact */
  .contact-info,
  .contact-form{
    grid-column: span 12;
  }
  .contact-info{
    margin-bottom: 30px;
  }
}

@media(max-width: 575px){
    /* # grid  */
    .grid{
      gap: 30px 15px;
    }
    /* # home */
    .home-img img{
      max-width: 200px;
    }
    .home-img .circle {
      height: 250px;
      width: 250px;
    }
    /* # pricing */
    .pricing-item {
      grid-column: span 12;
    }
    /* # team */
    .team-item {
      grid-column: span 12;
    }
}








/* custom css  */
/* Dropdown base */
.nav ul li {
  position: relative;
}

.nav ul li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--body-bg, #fff);
  padding: 0; /* remove extra padding */
  margin: 0;  /* remove default margin */
  list-style: none;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

/* Ensure no gap from parent li */
.nav ul li .dropdown-menu li {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* List item links */
.nav ul li .dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--text-color, #333);
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%; /* makes it touch full width */
  box-sizing: border-box;
}

/* Icon bullet */
.nav ul li .dropdown-menu li a::before {
  content: "›";
  font-size: 14px;
  color: var(--main-color, #3498db);
  transition: transform 0.2s ease;
}

/* Hover effects */
.nav ul li .dropdown-menu li a:hover {
  background: var(--main-color, #3498db);
  color: #fff;
}

.nav ul li .dropdown-menu li a:hover::before {
  color: #fff;
  transform: translateX(3px);
}

/* Show on hover */
.nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}
/* Add bigger arrow icon to dropdown link */
.nav ul li.dropdown > a {
  position: relative;
  padding-right: 22px; /* more space for bigger arrow */
}

.nav ul li.dropdown > a::after {
  content: "▾"; /* Down arrow symbol */
  font-size: 18px; /* bigger arrow */
  font-weight: bold; /* thicker look */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color, #333);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Rotate arrow on hover */
.nav ul li.dropdown:hover > a::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--main-color, #3498db); /* highlight on hover */
}

/* Center services grid and items */
.services .grid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem; /* optional spacing */
}
.services-item {
  text-align: center;
}




/* layout */
  .service-main{ grid-column: span 8; }
  .service-side{ grid-column: span 4; }

  /* cards */
  .card{
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 24px;
  }
  .mb-12{ margin-bottom:12px; }
  .mb-16{ margin-bottom:16px; }

  /* header */
  .service-header h2{ font-size: var(--fs-2xl); margin:0 0 10px; }
  .service-rating{ display:flex; align-items:center; gap:10px; }
  .service-rating .stars{ color: var(--main-color); letter-spacing:2px; }
  .service-meta{ margin-top:8px; }
  .service-meta li{ text-transform:capitalize; }
  .service-meta li + li{ margin-top:4px; }

  /* tabs */
  .service-tabs{ display:flex; gap:10px; margin:20px 0; flex-wrap:wrap; }
  .service-tabs .tab-btn{
    border:1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-x-dark-gray);
    border-radius: 6px;
    padding: 6px 12px;
    transition: .25s;
  }
  .service-tabs .tab-btn.active{
    background: var(--main-color);
    color: var(--text-white);
    border-color: transparent;
  }
  .tab-pane{ display:none; }
  .tab-pane.active{ display:block; }

  /* accordion (using <details>) */
  .accordion{ display:block; }
  .acc-item{ border:1px solid var(--border-color); border-radius:8px; background:transparent; }
  .acc-item + .acc-item{ margin-top:10px; }
  .acc-head{
    list-style:none;
    cursor:pointer;
    padding:14px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-weight:500;
  }
  .acc-head::marker{ content:''; }
  .acc-head small{ font-size: var(--fs-sm); color: var(--text-dark-gray); }
  .acc-body{ padding: 0 16px 14px; }
  .bullet-list li{
    position:relative; padding-left:20px; text-transform: none;
  }
  .bullet-list li::before{
    content:''; position:absolute; left:0; top:10px; height:6px; width:6px; border-radius:50%; background:var(--main-color);
  }
  .bullet-list li + li{ margin-top:8px; }

  /* team block */
  .team-lead{ display:flex; gap:18px; align-items:center; flex-wrap:wrap; margin-bottom:10px; }
  .lead-photo img{ max-width: 128px; border-radius:50%; box-shadow: var(--shadow); background: var(--bg-white); }
  .lead-text h4{ margin:0 0 6px; font-size: var(--fs-xl); }
  .lead-text h4 span{ font-weight:300; }
  .lead-stats{ display:flex; gap:12px; flex-wrap:wrap; }

  /* reviews */
  .rating-summary{ display:grid; grid-template-columns: 220px 1fr; gap:20px; align-items:center; margin-bottom:18px; }
  .rating-box{ text-align:center; }
  .rating-number{ font-size: 40px; font-weight:700; color: var(--text-x-dark-gray); line-height:1; }
  .rating-stars{ color: var(--main-color); margin:6px 0; }
  .rating-count{ font-size: var(--fs-sm); }
  .rating-bars .bar{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
  .rating-bars .track{ flex:1; height:8px; background: var(--border-color); border-radius: 4px; overflow:hidden; }
  .rating-bars .track i{ display:block; height:100%; background: var(--main-color); }
  .reviews-list .review{ display:flex; gap:12px; margin-bottom:14px; }
  .reviews-list .avatar img{ width:50px; height:50px; border-radius:50%; object-fit:cover; background: var(--bg-white); box-shadow: var(--shadow); }
  .reviews-list h4{ margin:0 0 4px; font-size: var(--fs-md); }
  .reviews-list .row-1{ font-size: var(--fs-sm); color: var(--main-color); }

  /* sidebar */
  .preview-media{ position:relative; border-radius:10px; overflow:hidden; }
  .preview-media img{ display:block; width:100%; }
  .play-btn{
    position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    height:50px; width:50px; border-radius:50%; border:none;
    background: var(--main-color); color: var(--text-white); font-size:18px;
    box-shadow: var(--shadow);
  }
  .center{ text-align:center; margin-top:10px; }
  .price-row{ display:flex; align-items:center; gap:10px; margin:14px 0; }
  .price-row .old{ text-decoration: line-through; opacity:.7; }
  .price-row .new{ font-size: 28px; font-weight:700; color: var(--text-x-dark-gray); }
  .price-row .off{ color: var(--main-color); font-weight:600; }
  .feature-list li{ position:relative; padding-left:20px; }
  .feature-list li::before{
    content:''; position:absolute; left:0; top:11px; height:6px; width:6px; background:var(--main-color); border-radius:50%;
  }
  .feature-list li + li{ margin-top:8px; }

  /* responsive columns */
  @media (max-width: 991px){
    .service-main{ grid-column: span 7; }
    .service-side{ grid-column: span 5; }
  }
  @media (max-width: 767px){
    .service-main, .service-side{ grid-column: span 12; }
    .service-side{ order: -1; margin-bottom: 20px; }
    .rating-summary{ grid-template-columns: 1fr; }
  }






  .card{
    background: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 24px;
  }
  .mb-12{ margin-bottom:12px; }

  /* grid columns */
  .order-side{ grid-column: span 4; }
  .order-main{ grid-column: span 8; }

  /* sidebar price */
  .price-row{
    display:flex; align-items:center; gap:10px; margin-bottom:14px;
  }
  .price-row .old{ text-decoration: line-through; opacity:.7; }
  .price-row .new{ font-size: 28px; font-weight:700; color: var(--text-x-dark-gray); }
  .price-row .off{ color: var(--main-color); font-weight:600; }
  .feature-list li{ position:relative; padding-left:18px; }
  .feature-list li + li{ margin-top:8px; }
  .feature-list li::before{
    content:''; position:absolute; left:0; top:10px; height:6px; width:6px; background: var(--main-color); border-radius:50%;
  }

  /* form */
  .order-form label{ display:block; margin:0 0 6px; font-weight:500; }
  .order-form .agree{
    display:flex; align-items:flex-start; gap:10px; margin:6px 0 16px;
    font-size: var(--fs-sm);
  }
  .order-form .agree input[type="checkbox"]{
    margin-top: 4px;
    accent-color: hsl(var(--hue), var(--saturation), var(--lightness));
    width: 16px; height: 16px;
  }
  .order-details h3{text-transform: capitalize;}
  .order-details .note{ margin-bottom: 14px; }

  /* responsive */
  @media (max-width: 991px){
    .order-side{ grid-column: span 5; }
    .order-main{ grid-column: span 7; }
  }
  @media (max-width: 767px){
    .order-side, .order-main{ grid-column: span 12; }
    .order-side{ order: -1; margin-bottom: 20px; }
  }





  .testimonials .section-title .title{ text-transform: lowercase; }

  /* grid: 3-up on desktop */
  .testimonials-grid .testimonial-item{ grid-column: span 4; }

  /* card */
  .t-card{
    background: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 22px;
    height: 100%;
  }
  .t-head{
    display:flex; align-items:center; gap:12px; margin-bottom:10px;
  }
  .t-avatar{
    width:56px; height:56px; border-radius:50%; overflow:hidden;
    background: var(--bg-white); box-shadow: var(--shadow);
    flex: 0 0 56px;
  }
  .t-avatar img{ width:100%; height:100%; object-fit:cover; }
  .t-id h3{
    margin:0; font-size: var(--fs-xl); font-weight: 600; line-height:1.2;
  }
  .t-id p{
    margin:3px 0 0; font-size: var(--fs-sm); color: var(--text-dark-gray);
  }

  .t-stars{
    color: var(--main-color);
    letter-spacing: 2px;
    margin: 6px 0 10px;
    font-size: 18px;
  }

  /* Keep the quotes inline with the text */
  .t-quote{
    margin: 0 0 12px;
    font-style: italic;
    display: inline-block;        /* keeps before/text/after together */
    white-space: normal !important; /* critical: prevent newline from Blade becoming <br> */
  }

  .t-quote::before,
  .t-quote::after{
    display: inline;
    color: var(--main-color);
  }

  .t-quote::before{ content: "\201C"; margin-right: 2px; } /* “ */
  .t-quote::after { content: "\201D"; margin-left:  2px; } /* ” */

  /* Preserve author-entered line breaks INSIDE the content only */
  .t-quote .text-content{
    white-space: pre-line;
    display: inline;
  }

  .t-meta{
    font-size: var(--fs-sm);
    color: var(--text-dark-gray);
  }

  .t-cta{
    margin-top: 24px;
    text-align: center;
  }

  /* responsive */
  @media (max-width: 991px){
    .testimonials-grid .testimonial-item{ grid-column: span 6; }
  }
  @media (max-width: 767px){
    .testimonials-grid .testimonial-item{ grid-column: span 12; }
  }




  .auth-grid { align-items: center; }
  .auth-aside{ grid-column: span 6; }
  .auth-main { grid-column: span 6; }

  .auth-card{
    background: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 28px;
  }
  .auth-title{ font-size: var(--fs-3xl); margin: 0 0 8px; }
  .auth-text{ margin: 0 0 12px; }
  .auth-points li{
    position: relative; padding-left: 18px;
  }
  .auth-points li + li{ margin-top: 8px; }
  .auth-points li::before{
    content:''; position:absolute; left:0; top:10px; height:6px; width:6px;
    background: var(--main-color); border-radius:50%;
  }
  .auth-subtitle{ font-size: var(--fs-2xl); margin: 0 0 14px; }

  /* form */
  .auth-form label{ display:block; margin:0 0 6px; font-weight:500; }
  .password-wrap{ position: relative; }
  .pw-toggle{
    position:absolute; right:10px; top:50%; transform: translateY(-50%);
    border:none; background: transparent; color: var(--main-color);
    font-size: var(--fs-sm); padding: 4px 6px; cursor: pointer;
  }
  .auth-row{
    display:flex; align-items:center; justify-content: space-between;
    margin: 6px 0 16px;
  }
  .remember{ display:flex; align-items:center; gap:10px; font-size: var(--fs-sm); }
  .remember input{ width:16px; height:16px; accent-color: var(--main-color); }

  .auth-link{ color: var(--main-color); font-weight: 500; }
  .auth-or{
    text-align:center; margin: 14px 0; position: relative;
  }
  .auth-or::before, .auth-or::after{
    content:''; position:absolute; top:50%; width:40%; height:1px; background: var(--border-color);
  }
  .auth-or::before{ left:0; } .auth-or::after{ right:0; }
  .auth-or span{ padding: 0 10px; color: var(--text-dark-gray); }

  .social-row{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
  .btn-light{
    background: var(--bg-white); color: var(--text-x-dark-gray);
    border: 1px solid var(--border-color);
  }
  .btn-light:hover{
    background: transparent; color: var(--main-color); border-color: var(--main-color);
  }
  .w-100{ width:100%; }
  .auth-alt{ text-align:center; margin:12px 0 0; }

  /* responsive */
  @media (max-width: 991px){
    .auth-aside{ grid-column: span 5; }
    .auth-main { grid-column: span 7; }
  }
  @media (max-width: 767px){
    .auth-aside, .auth-main{ grid-column: span 12; }
    .auth-aside{ order: 2; margin-top: 18px; }
    .social-row{ grid-template-columns: 1fr; }
  }




  .auth-grid { align-items: center; }
  .auth-aside{ grid-column: span 6; }
  .auth-main { grid-column: span 6; }

  .auth-card{
    background: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 28px;
  }
  .auth-title{ font-size: var(--fs-3xl); margin: 0 0 8px; }
  .auth-text{ margin: 0 0 12px; }
  .auth-points li{ position:relative; padding-left:18px; }
  .auth-points li + li{ margin-top:8px; }
  .auth-points li::before{
    content:''; position:absolute; left:0; top:10px; height:6px; width:6px; background:var(--main-color); border-radius:50%;
  }
  .auth-subtitle{ font-size: var(--fs-2xl); margin: 0 0 14px; }

  /* form */
  .auth-form label{ display:block; margin:0 0 6px; font-weight:500; }
  .password-wrap{ position: relative; }
  .pw-toggle{
    position:absolute; right:10px; top:50%; transform: translateY(-50%);
    border:none; background: transparent; color: var(--main-color);
    font-size: var(--fs-sm); padding: 4px 6px; cursor: pointer;
  }
  .auth-row{ margin: 6px 0 16px; }
  .remember{ display:flex; gap:10px; align-items:flex-start; font-size: var(--fs-sm); }
  .remember input{ width:16px; height:16px; accent-color: var(--main-color); margin-top: 3px; }

  .auth-link{ color: var(--main-color); font-weight: 500; }
  .auth-or{ text-align:center; margin: 14px 0; position: relative; }
  .auth-or::before, .auth-or::after{
    content:''; position:absolute; top:50%; width:40%; height:1px; background: var(--border-color);
  }
  .auth-or::before{ left:0; } .auth-or::after{ right:0; }
  .auth-or span{ padding: 0 10px; color: var(--text-dark-gray); }

  .social-row{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
  .btn-light{
    background: var(--bg-white); color: var(--text-x-dark-gray);
    border: 1px solid var(--border-color);
  }
  .btn-light:hover{ background: transparent; color: var(--main-color); border-color: var(--main-color); }
  .w-100{ width:100%; }
  .auth-alt{ text-align:center; margin:12px 0 0; }

  /* strength meter */
  .pw-strength{ display:flex; align-items:center; gap:6px; margin-top:8px; }
  .pw-strength .bar{
    height:6px; width:24px; border-radius:4px; background: var(--border-color); display:inline-block;
  }
  .pw-strength .bar.on{ background: var(--main-color); }
  .pw-strength .label{ font-size: var(--fs-sm); color: var(--text-dark-gray); margin-left:6px; }

  .match-hint{ color: var(--text-dark-gray); font-size: var(--fs-sm); }

  /* responsive */
  @media (max-width: 991px){
    .auth-aside{ grid-column: span 5; }
    .auth-main { grid-column: span 7; }
  }
  @media (max-width: 767px){
    .auth-aside, .auth-main{ grid-column: span 12; }
    .auth-aside{ order: 2; margin-top: 18px; }
    .social-row{ grid-template-columns: 1fr; }
  }







  .card{ background: var(--bg-color); box-shadow: var(--shadow); border-radius: 12px; padding: 24px; }
  .account-grid{ align-items: start; }
  .account-aside{ grid-column: span 4; }
  .account-main{ grid-column: span 8; }
  .account-user{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
  .avatar{ width:58px; height:58px; border-radius:50%; overflow:hidden; background: var(--bg-white); box-shadow: var(--shadow); flex:0 0 58px; }
  .avatar img{ width:100%; height:100%; object-fit:cover; }
  .u-name{ margin:0 0 4px; font-size: var(--fs-xl); }
  .u-email{ margin:0; font-size: var(--fs-sm); color: var(--text-dark-gray); }

  /* sidebar nav */
  .account-nav{ display:flex; flex-direction: column; gap:8px; margin-top: 8px; }
  .anav{
    width:100%; text-align:left; padding:10px 12px; border:1px solid var(--border-color);
    background: var(--bg-color); color: var(--text-x-dark-gray); border-radius:8px; transition:.25s;
  }
  .anav:hover{ border-color: var(--main-color); color: var(--main-color); }
  .anav.active{ background: var(--main-color); color: var(--text-white); border-color: transparent; }
  .anav.link{ display:block; text-align:left; }
  .anav.danger{ color: crimson; border-color: rgba(220,20,60,.25); }
  .anav.danger:hover{ color:#fff; background: crimson; border-color: crimson; }

  /* panes */
  .apane{ display:none; }
  .apane.active{ display:block; }
  .pane-title{ font-size: var(--fs-2xl); margin: 0 0 12px; }
  .divider{ height:1px; background: var(--border-color); margin: 16px 0; }

  /* KPI */
  .kpi-grid{ grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .kpi{ grid-column: span 4; background: var(--bg-white); border:1px solid var(--border-color); border-radius: 10px; padding:14px; }
  .kpi-label{ color: var(--text-dark-gray); font-size: var(--fs-sm); }
  .kpi-value{ display:block; font-size: 22px; margin-top:4px; }

  /* table */
  .table-wrap{ overflow:auto; border:1px solid var(--border-color); border-radius:10px; }
  .table{ width:100%; border-collapse: collapse; }
  .table th, .table td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--border-color); white-space: nowrap; }
  .table thead th{ background: var(--bg-white); }
  .table tr:last-child td{ border-bottom: none; }
  .table-link{ color: var(--main-color); font-weight: 500; }
  .badge{ padding:4px 8px; border-radius: 999px; font-size: var(--fs-sm); }
  .badge.success{ background: rgba(46, 204, 113, .15); color: #2ecc71; }
  .badge.warning{ background: rgba(241, 196, 15, .15); color: #f1c40f; }
  .badge.danger{ background: rgba(231, 76, 60, .15); color: #e74c3c; }

  /* profile */
  .prof-grid{ grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .prof-grid .col{ grid-column: span 6; }
  .prof-grid .col-full{ grid-column: span 12; }
  .mt-10{ margin-top:10px; }

  /* billing */
  .billing-grid .col{ grid-column: span 6; }
  .mini-grid{ grid-template-columns: repeat(12,1fr); gap: 14px; }
  .mini-grid .input-box{ grid-column: span 6; }
  .pay-card{ border:1px solid var(--border-color); border-radius:10px; padding:14px; background: var(--bg-white); }
  .pay-actions{ display:flex; gap:8px; margin-top:10px; }
  .btn-light{ background: var(--bg-white); color: var(--text-x-dark-gray); border: 1px solid var(--border-color); }
  .btn-light:hover{ background: transparent; color: var(--main-color); border-color: var(--main-color); }
  .muted{ color: var(--text-dark-gray); font-size: var(--fs-sm); margin-top:8px; }

  /* toggles */
  .toggle{ display:flex; align-items:center; gap:10px; margin: 8px 0; }
  .toggle input[type="checkbox"]{ width:18px; height:18px; accent-color: var(--main-color); }

  /* responsive */
  @media (max-width: 991px){
    .account-aside{ grid-column: span 5; }
    .account-main{ grid-column: span 7; }
    .kpi{ grid-column: span 6; }
    .billing-grid .col{ grid-column: span 12; }
  }
  @media (max-width: 767px){
    .account-aside, .account-main{ grid-column: span 12; }
    .account-aside{ order: 2; margin-top: 18px; }
    .kpi{ grid-column: span 12; }
    .prof-grid .col{ grid-column: span 12; }
  }







.t-quote { white-space: pre-line; margin-bottom: 0.5rem; }
.see-more {
    display: inline-block;
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
}
.see-more:hover {
    text-decoration: underline;
}



.invalid-feedback {
  color: red;
  font-size: 14px;
  margin-top: 4px;
}





/* MOBILE dropdowns inside side drawer */
@media (max-width: 767px){
  /* override desktop hover behavior on mobile */
  .nav ul li.dropdown:hover .dropdown-menu { display: none; }

  .nav ul li .dropdown-menu{
    position: static !important;
    display: none;
    box-shadow: none;
    background: var(--bg-color);
    border-radius: 0;
    min-width: 0;
    padding: 0;
    z-index: auto;
  }
  .nav ul li.dropdown.open > .dropdown-menu{
    display: block !important;
  }
  .nav ul li .dropdown-menu li a{
    padding: 10px 18px 10px 28px;  /* indent subitems */
    color: var(--text-x-dark-gray);
  }
  /* rotate caret when open (mobile) */
  .nav ul li.dropdown > a::after{
    transition: transform .25s ease, color .25s ease;
  }
  .nav ul li.dropdown.open > a::after{
    transform: translateY(-50%) rotate(180deg);
    color: var(--main-color);
  }
}



/* Only show reviews the JS paints */
#reviewsList .review { display: none; }

/* Reviews filter — compact row (no wrapper needed) */
.rf-row{
  display: inline-flex !important;   /* shrink-to-fit instead of 100% width */
  align-items: center;
  gap: 12px;
  width: max-content;                /* size to content */
  max-width: 100%;                   /* don't overflow parent */
  margin-bottom: 5vh;
}

.rf-row .pane-title{
  margin: 0;
  text-transform: capitalize;
  white-space: nowrap;               /* keep "reviews" on one line */
}

/* Keep the form compact */
.rf-row .rf-form{
  display: flex;                     /* avoid block-width behavior */
  margin: 0;
}

/* Compact select */
.rf-row .select-wrap{
  position: relative;
  width: 160px;                      /* dropdown width */
  min-width: 140px;
}
.rf-row .input-control{
  width: 100%;
  height: 50px;                      /* matches your theme inputs */
  padding-right: 44px;               /* space for chevron */
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.rf-row .input-control:focus{
  box-shadow: var(--focus-shadow);
}

/* Chevron icon */
.rf-row .chev{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 16px;
  color: var(--text-x-dark-gray);
}
.rf-row .chev::before{ content: "▾"; }

/* Mobile: let it stretch nicely */
@media (max-width: 575px){
  .rf-row{
    display: grid !important;
    width: 100%;
  }
  .rf-row .select-wrap{
    width: 100%;
    min-width: 0;
  }
}




/* About Us layout */
.aboutus-grid { grid-template-columns: repeat(12, 1fr); gap: 30px; align-items: start; }
.aboutus-content { grid-column: span 8; }
.aboutus-media   { grid-column: span 4; }

.aboutus-media .img-wrap{
  background: var(--bg-color);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 12px;
}
.aboutus-media img{ display:block; width:100%; border-radius:10px; }

/* Alternate rows (even items = image left, text right) */
.aboutus-grid.is-reverse { /* swap order by DOM order change on small screens only if needed */ }
@media (min-width: 768px){
  .aboutus-grid.is-reverse .aboutus-content{ order: 2; }
  .aboutus-grid.is-reverse .aboutus-media{ order: 1; }
}

/* Rich content typography */
.rich h2, .rich h3{ margin: 0 0 10px; }
.rich p{ margin: 0 0 12px; }
.rich ul{ list-style: disc; margin: 0 0 12px 20px; }
.rich ol{ margin: 0 0 12px 20px; }
.rich a{ color: var(--main-color); text-decoration: underline; }

/* Responsive */
@media (max-width: 767px){
  .aboutus-content, .aboutus-media{ grid-column: span 12; }
  .aboutus-media{ order: -1; margin-bottom: 12px; } /* image on top for mobile */
}



@media (max-width: 767px){
  .account-aside{ order: -1; margin-top: 0; }  /* aside first */
  .account-main{ order: 0; }
}



/* existing light-mode styles (unchanged) */
.pay-card{
  border:1px solid var(--border-color);
  border-left:4px solid var(--main-color);
  background: var(--bg-white);      /* light surface */
  border-radius:12px;
  padding:12px 14px;
  box-shadow: var(--shadow);
  margin:10px 0;
}
.pay-row{ display:flex; gap:12px; align-items:flex-start; }
.pay-ico{ font-size:18px; line-height:1; margin-top:2px; }
.pay-title{ margin:0 0 4px; font-weight:600; color: var(--text-x-dark-gray); }
.pay-text{ margin:0; color: var(--text-x-dark-gray); }
.pay-amount{ color: var(--main-color); }
.pay-kbd{
  display:inline-block; padding:0 6px; border-radius:6px;
  border:1px solid var(--border-color); background: var(--bg-color);
  font-weight:600;
}

/* DARK MODE FIXES */
body.t-dark .pay-card{
  background: var(--bg-color);      /* use dark surface in dark mode */
}

body.t-dark .pay-title,
body.t-dark .pay-text{
  color: var(--text-x-dark-gray);   /* this is light-on-dark, now readable */
}

body.t-dark .pay-kbd{
  background: hsl(var(--hue), 13%, 22%);  /* slightly lighter chip on dark */
  border-color: var(--border-color);
}


.t-avatar{
  width:56px; height:56px; border-radius:50%; overflow:hidden;
  background: var(--bg-white); box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:center;
}
.t-avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.avatar-initial{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  background: var(--bg-color); color: var(--main-color);
  font-weight:700; font-size:20px; text-transform: uppercase;
}




/* Mobile view: center everything */
@media (max-width: 767px) {
  .footer .footer-grid {
    grid-template-columns: 1fr;   /* stack columns */
    text-align: center;
  }

  .footer .footer-col h3 {
    text-align: center;
  }

  .footer .footer-col ul {
    display: inline-block;   /* keeps list compact */
    text-align: center;      /* center list items */
    padding: 0;
    margin: 0 auto;
  }

  .footer .footer-col ul li {
    display: block;
    margin: 4px 0;
  }

  .footer .social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
  }

  .footer-bottom {
    text-align: center;
  }
}
