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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8f5ff;
  color: #222;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/*=========================================
COLORS
=========================================*/

:root {
  --primary: #6a0dad;
  --secondary: #8e44ad;
  --light: #f8f5ff;
  --dark: #25003d;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  --gradient: linear-gradient(135deg, #6a0dad, #9b59b6);
}

/*=========================================
NAVBAR
=========================================*/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: 18px 8%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);

  z-index: 9999;

  transition: 0.4s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--primary);

  font-size: 22px;

  font-weight: 700;
}

.navbar .logo img {
  width: 46px !important;
  height: 46px !important;
}

.logo i {
  font-size: 30px;
}

.nav-links {
  display: flex;

  gap: 35px;

  align-items: center;
}

.nav-links a {
  color: #222;

  font-weight: 500;

  transition: 0.4s;

  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';

  position: absolute;

  bottom: -6px;

  left: 0;

  width: 0;

  height: 2px;

  background: var(--primary);

  transition: 0.4s;
}

.nav-links a:hover::after {
  width: 100%;
}

#cart-count {
  background: var(--primary);

  color: #fff;

  padding: 2px 8px;

  border-radius: 50%;

  font-size: 12px;

  margin-left: 5px;
}

.menu-btn {
  display: none;

  font-size: 25px;

  cursor: pointer;

  color: var(--primary);
}

/*=========================================
HERO SECTION
=========================================*/

.hero {
  min-height: 100vh;

  padding: 150px 8% 70px;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  align-items: center;

  gap: 60px;

  background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url('https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1800&q=80');

  background-size: cover;

  background-position: center;
}

.hero-content h4 {
  color: var(--primary);

  font-size: 22px;

  margin-bottom: 15px;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.hero-content h1 {
  font-size: 65px;

  font-weight: 800;

  line-height: 1.2;

  margin-bottom: 20px;

  color: var(--dark);
}

.hero-content h1 span {
  color: var(--primary);

  display: block;
}

.hero-content p {
  font-size: 18px;

  line-height: 1.9;

  margin-bottom: 40px;

  color: #555;

  max-width: 620px;
}

.hero-buttons {
  display: flex;

  gap: 20px;

  flex-wrap: wrap;
}

/*=========================================
BUTTONS
=========================================*/

.btn {
  padding: 16px 38px;

  background: var(--gradient);

  color: #fff;

  border-radius: 50px;

  font-weight: 600;

  transition: 0.4s;

  box-shadow: 0 15px 35px rgba(106, 13, 173, 0.35);
}

.btn:hover {
  transform: translateY(-5px);

  box-shadow: 0 25px 45px rgba(106, 13, 173, 0.45);
}

.btn2 {
  padding: 16px 38px;

  border-radius: 50px;

  border: 2px solid var(--primary);

  color: var(--primary);

  font-weight: 600;

  transition: 0.4s;

  background: #fff;
}

.btn2:hover {
  background: var(--primary);

  color: #fff;
}

/*=========================================
HERO IMAGE
=========================================*/

.hero-image {
  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;
}

.hero-image img {
  width: 520px;

  border-radius: 40px;

  box-shadow: var(--shadow);

  animation: floatImage 4s ease-in-out infinite;
}

.hero-image::before {
  content: '';

  position: absolute;

  width: 520px;

  height: 520px;

  background: radial-gradient(circle, #9b59b633, transparent);

  border-radius: 50%;

  z-index: -1;

  animation: pulse 4s infinite;
}

/*=========================================
SECTION TITLE
=========================================*/

.title {
  text-align: center;

  margin-bottom: 60px;
}

.title h2 {
  font-size: 42px;

  color: var(--primary);

  margin-bottom: 15px;
}

.title p {
  color: #666;

  font-size: 18px;
}

/*=========================================
COMMON CARDS
=========================================*/

.card {
  background: #fff;

  padding: 40px;

  border-radius: 20px;

  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);

  transition: 0.4s;

  text-align: center;
}

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

.card i {
  font-size: 55px;

  color: var(--primary);

  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;

  font-size: 24px;
}

.card p {
  line-height: 1.8;

  color: #666;
}

/*=========================================
ANIMATIONS
=========================================*/

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);

    opacity: 0.4;
  }

  50% {
    transform: scale(1.1);

    opacity: 0.2;
  }

  100% {
    transform: scale(1);

    opacity: 0.4;
  }
}

/*=========================================
UTILITY
=========================================*/

section {
  padding: 100px 8%;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #eee;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4f0a86;
}

/*==================================================
FEATURES SECTION
==================================================*/

.features {
  background: #ffffff;
}

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

.feature-grid .card {
  border-top: 5px solid var(--primary);
  transition: 0.4s ease;
}

.feature-grid .card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-12px);
}

.feature-grid .card:hover p {
  color: #f3f3f3;
}

.feature-grid .card:hover i {
  color: #fff;
}

.feature-grid .card:hover h3 {
  color: #fff;
}

/*==================================================
STATISTICS
==================================================*/

.stats {
  background: linear-gradient(135deg, #6a0dad, #8e44ad, #a569bd);

  color: #fff;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 30px;

  text-align: center;
}

.stats .box {
  padding: 40px 20px;
}

.stats .box h2 {
  font-size: 55px;

  font-weight: 700;

  margin-bottom: 10px;
}

.stats .box p {
  font-size: 18px;

  letter-spacing: 1px;

  opacity: 0.9;
}

/*==================================================
SERVICES
==================================================*/

.services {
  background: #f8f5ff;
}

.service-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 30px;
}

.service {
  background: #fff;

  padding: 40px;

  border-radius: 20px;

  text-align: center;

  transition: 0.4s;

  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service:hover {
  transform: translateY(-15px);

  box-shadow: 0 30px 45px rgba(106, 13, 173, 0.2);
}

.service i {
  font-size: 60px;

  color: var(--primary);

  margin-bottom: 25px;

  transition: 0.4s;
}

.service:hover i {
  transform: rotate(12deg) scale(1.15);
}

.service h3 {
  font-size: 24px;

  margin-bottom: 15px;

  color: #333;
}

.service p {
  color: #666;

  line-height: 1.8;
}

/*==================================================
CARD ANIMATION
==================================================*/

.card,
.service {
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  0% {
    opacity: 0;

    transform: translateY(40px);
  }

  100% {
    opacity: 1;

    transform: translateY(0);
  }
}

/*==================================================
HOVER GLOW
==================================================*/

.card:hover,
.service:hover {
  position: relative;
}

.card:hover::before,
.service:hover::before {
  content: '';

  position: absolute;

  inset: 0;

  border-radius: 20px;

  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );

  animation: shine 1.2s;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/*==================================================
BACKGROUND DECORATION
==================================================*/

.features,
.services {
  position: relative;

  overflow: hidden;
}

.features::before {
  content: '';

  position: absolute;

  width: 350px;

  height: 350px;

  background: #d7b6ff;

  border-radius: 50%;

  top: -150px;

  left: -120px;

  opacity: 0.2;
}

.services::after {
  content: '';

  position: absolute;

  width: 400px;

  height: 400px;

  background: #bb8cff;

  border-radius: 50%;

  bottom: -220px;

  right: -150px;

  opacity: 0.15;
}

/*==================================================
ICON ANIMATION
==================================================*/

.card i,
.service i {
  animation: floatIcon 4s infinite ease-in-out;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/*=========================================
FREE CONSULTATION
=========================================*/

.consultation {
  padding: 100px 8%;

  background: #f8f5ff;
}

.consultation-content {
  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 50px;

  align-items: center;
}

.consultation-tag {
  display: inline-block;

  background: #ead7ff;

  color: #6a0dad;

  padding: 10px 20px;

  border-radius: 50px;

  font-weight: 600;

  margin-bottom: 20px;
}

.consultation-tag i {
  margin-right: 8px;
}

.consultation-text h2 {
  font-size: 46px;

  color: #2e0854;

  margin-bottom: 25px;

  line-height: 1.3;
}

.consultation-text p {
  font-size: 18px;

  color: #666;

  line-height: 1.9;

  margin-bottom: 35px;
}

.consultation-points {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.point {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 17px;

  font-weight: 500;
}

.point i {
  color: #6a0dad;

  font-size: 22px;
}

.consultation-card {
  background: #fff;

  padding: 40px;

  border-radius: 25px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

  text-align: center;
}

.consultation-card h3 {
  font-size: 30px;

  color: #6a0dad;

  margin-bottom: 15px;
}

.consultation-card p {
  margin-bottom: 30px;

  color: #666;
}

.consult-btn {
  display: block;

  padding: 16px;

  margin-bottom: 18px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;
}

.consult-btn i {
  margin-right: 10px;
}

.whatsapp {
  background: #25d366;

  color: #fff;
}

.whatsapp:hover {
  background: #1fa855;

  transform: translateY(-4px);
}

.email {
  background: #6a0dad;

  color: #fff;
}

.email:hover {
  background: #8e44ad;

  transform: translateY(-4px);
}

.consult-note {
  margin-top: 20px;

  color: #666;

  font-size: 15px;
}

.consult-note i {
  color: #6a0dad;

  margin-right: 8px;
}

@media (max-width: 992px) {
  .consultation-content {
    grid-template-columns: 1fr;
  }

  .consultation-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .consultation {
    padding: 70px 5%;
  }

  .consultation-text h2 {
    font-size: 34px;
  }

  .consultation-text p {
    font-size: 16px;
  }
}

/*=========================================
CALL TO ACTION (CTA)
=========================================*/

.cta {
  background: linear-gradient(135deg, #6a0dad, #8e44ad, #b266ff);
  color: #fff;
  text-align: center;
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -120px;
  left: -120px;
}

.cta::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -150px;
  right: -120px;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.cta p {
  font-size: 22px;
  margin-bottom: 35px;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

.cta .btn {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 2;
}

.cta .btn:hover {
  background: #f2e7ff;
  transform: translateY(-6px);
}

/*=========================================
FOOTER
=========================================*/

footer {
  background: #22003a;
  color: #fff;
  padding: 70px 8% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 20px;
}

.footer-grid p {
  color: #ddd;
  line-height: 1.8;
}

.footer-grid ul li {
  margin-bottom: 12px;
}

.footer-grid ul li a {
  color: #ddd;
  transition: 0.3s;
}

.footer-grid ul li a:hover {
  color: #c084fc;
  padding-left: 8px;
}

.social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social i {
  width: 45px;
  height: 45px;
  background: #6a0dad;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 18px;
}

.social i:hover {
  background: #c084fc;
  color: #22003a;
  transform: translateY(-6px) rotate(360deg);
}

footer hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 45px 0 25px;
}

.copyright {
  text-align: center;
  color: #ccc;
  font-size: 15px;
}

/*=========================================
PROFESSIONAL FOOTER
=========================================*/

footer {
  background: #2e0854;

  color: #fff;

  padding: 70px 8% 30px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1.3fr 1.2fr 1fr;

  gap: 40px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 20px;

  color: #fff;
}

.footer-grid p {
  line-height: 1.8;

  color: #ddd;
}

.footer-grid ul {
  list-style: none;

  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 14px;

  display: flex;

  align-items: center;

  gap: 10px;

  color: #ddd;
}

.footer-grid ul li i {
  color: #c084fc;

  width: 20px;
}

.footer-grid ul li a {
  color: #ddd;

  text-decoration: none;

  transition: 0.3s;
}

.footer-grid ul li a:hover {
  color: #fff;

  padding-left: 6px;
}

.social {
  display: flex;

  gap: 12px;

  margin-bottom: 20px;
}

.social a {
  width: 42px;

  height: 42px;

  display: flex;

  justify-content: center;

  align-items: center;

  background: #6a0dad;

  border-radius: 50%;

  color: #fff;

  text-decoration: none;

  transition: 0.3s;
}

.social a:hover {
  background: #c084fc;

  color: #2e0854;

  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 25px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 15px;

  color: #ddd;
}

footer hr {
  margin: 35px 0 25px;

  border: none;

  height: 1px;

  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }
}

/*=========================================
TESTIMONIALS
=========================================*/

.testimonials {
  padding: 100px 8%;

  background: #ffffff;
}

.testimonial-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));

  gap: 30px;

  margin-top: 50px;
}

.testimonial-card {
  background: #fff;

  padding: 35px;

  border-radius: 20px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  position: relative;

  overflow: hidden;

  border-top: 5px solid #6a0dad;
}

.testimonial-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 45px rgba(106, 13, 173, 0.15);
}

.quote {
  font-size: 45px;

  color: #c084fc;

  margin-bottom: 20px;
}

.testimonial-card p {
  color: #666;

  line-height: 1.8;

  margin-bottom: 25px;

  font-size: 16px;
}

.testimonial-user {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 20px;
}

.testimonial-user img {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  object-fit: cover;

  border: 4px solid #e9d5ff;
}

.testimonial-user h4 {
  margin-bottom: 5px;

  font-size: 18px;

  color: #222;
}

.testimonial-user span {
  color: #777;

  font-size: 14px;
}

.stars {
  color: #ffd700;

  font-size: 18px;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 70px 5%;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/*=========================================
REVEAL ANIMATION
=========================================*/

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

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

/*=========================================
RESPONSIVE
=========================================*/

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-image img {
    width: 420px;
    margin: auto;
  }

  .hero-image::before {
    width: 420px;
    height: 420px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 85px;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 30px 0;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image img {
    width: 320px;
  }

  .hero-image::before {
    width: 320px;
    height: 320px;
  }

  .title h2 {
    font-size: 34px;
  }

  .cta h2 {
    font-size: 36px;
  }

  .cta p {
    font-size: 18px;
  }

  .stats .box h2 {
    font-size: 42px;
  }
}

/* @media (max-width: 480px) {
  .navbar {
    padding: 15px 5%;
  }

  section {
    padding: 70px 5%;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content h4 {
    font-size: 18px;
  }

  .btn,
  .btn2 {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-image img {
    width: 260px;
  }

  .title h2 {
    font-size: 28px;
  }

  .card,
  .service {
    padding: 25px;
  }

  .stats {
    gap: 10px;
  }

  .stats .box {
    padding: 20px;
  }

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

  .social {
    justify-content: center;
  }
} */

@media (max-width: 480px) {
  .navbar {
    width: 100%;
    max-width: 100%;
    padding: 15px 5% !important;
    box-sizing: border-box;
  }

  .navbar .logo {
    min-width: 0;
    max-width: calc(100% - 50px);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 1;
  }

  .navbar .logo img {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0;
  }

  .navbar .logo h2 {
    font-size: 24px;
    line-height: 1;
    white-space: nowrap;
    margin: 0;
  }

  .menu-btn {
    display: block;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    font-size: 25px;
  }

  section {
    padding: 70px 5%;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content h4 {
    font-size: 18px;
  }

  .btn,
  .btn2 {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-image img {
    width: 100% !important;
  }

  .hero-image::before {
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 320px;
    aspect-ratio: 1 / 1;
  }

  .title h2 {
    font-size: 28px;
  }

  .card,
  .service {
    padding: 25px;
  }

  .stats {
    gap: 10px;
  }

  .stats .box {
    padding: 20px;
  }

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

  .social {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .navbar {
    padding: 12px 4% !important;
  }

  .navbar .logo {
    gap: 6px;
  }

  .navbar .logo img {
    width: 38px !important;
    height: 38px !important;
  }

  .navbar .logo h2 {
    font-size: 20px;
  }

  .menu-btn {
    font-size: 23px;
    width: 28px;
  }
}

/*=========================================
SCROLL TO TOP BUTTON
=========================================*/

#scrollTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 15px 30px rgba(106, 13, 173, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999;
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  transform: translateY(-5px);
  background: #8e44ad;
}
