/* ==========================================
   FIXPRO AC PREMIUM CSS
   PART 1
========================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #06b6d4;

  --dark: #081120;
  --dark-light: #0f172a;

  --white: #ffffff;
  --light: #f8fafc;
  --gray: #64748b;
  --border: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.18);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --transition: all 0.35s ease;
}

/* ==========================================
   DARK MODE
========================================== */

body.dark-mode {
  --light: #0b1220;
  --white: #111827;
  --dark: #f8fafc;
  --gray: #cbd5e1;
  --border: rgba(255, 255, 255, 0.08);
}

/* ==========================================
   RESET
========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

section {
  position: relative;
}

.section {
  padding: 100px 0;
}

/* ==========================================
   CUSTOM SCROLLBAR
========================================== */

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 100px;
}

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

/* ==========================================
   CONTAINER
========================================== */

.container {
  width: min(1200px, 92%);
  margin: auto;
}

/* ==========================================
   SCROLL PROGRESS
========================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;

  width: 0%;
  height: 4px;

  background: linear-gradient(90deg, var(--primary), var(--secondary));

  z-index: 99999;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  display: inline-block;

  padding: 8px 16px;

  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
}

.section-title h2 {
  font-size: 42px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 650px;
  margin: auto;
}

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

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

  z-index: 999;

  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.8);

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

  transition: var(--transition);
}

.dark-mode .navbar {
  background: rgba(15, 23, 42, 0.85);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

  height: 85px;
}

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

  font-weight: 700;
  font-size: 22px;

  color: var(--dark);
}

.logo img {
  height: 48px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-btn {
  width: 45px;
  height: 45px;

  border: none;
  cursor: pointer;

  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);

  color: var(--primary);

  font-size: 18px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;

  display: block;

  margin: 5px 0;

  border-radius: 50px;

  background: var(--dark);
}

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

.btn-primary,
.btn-secondary,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: #fff;

  padding: 15px 30px;

  border-radius: 14px;

  font-weight: 600;

  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-secondary {
  padding: 15px 30px;

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

  color: var(--primary);

  border-radius: 14px;
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-nav {
  background: var(--primary);
  color: #fff !important;

  padding: 12px 22px;

  border-radius: 12px;
}

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

.hero {
  padding-top: 150px;
  padding-bottom: 100px;

  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(6, 182, 212, 0.15),
      transparent 40%
    );
}

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

.hero-badge {
  display: inline-block;

  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(37, 99, 235, 0.1);

  color: var(--primary);

  font-weight: 600;
}

.hero-content h1 {
  font-size: 62px;
  line-height: 1.15;

  margin-top: 25px;
  margin-bottom: 25px;
}

.hero-content p {
  color: var(--gray);

  font-size: 18px;

  margin-bottom: 30px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 15px;

  margin-bottom: 35px;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 500;
}

.hero-benefits i {
  color: #22c55e;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;

  animation: floatHero 4s ease-in-out infinite;

  filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.25));
}

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

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

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

/* ==========================================
   STATS
========================================== */

.stats {
  padding: 40px 0 90px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-card {
  text-align: center;

  padding: 35px;

  border-radius: var(--radius-md);

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

  backdrop-filter: blur(12px);

  box-shadow: var(--shadow-sm);

  transition: var(--transition);
}

.dark-mode .stat-card {
  background: rgba(255, 255, 255, 0.05);
}

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

.stat-card h3 {
  font-size: 42px;
  color: var(--primary);
}

.stat-card p {
  color: var(--gray);
}

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

.services {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);

  border-radius: 24px;

  padding: 35px 30px;

  text-align: center;

  box-shadow: var(--shadow-sm);

  transition: var(--transition);

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

.dark-mode .service-card {
  background: rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 75px;
  height: 75px;

  margin: 0 auto 20px;

  border-radius: 20px;

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

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: #fff;
  font-size: 30px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  color: var(--gray);
}

/* ==========================================
   GOOGLE REVIEW SECTION
========================================== */

.google-review {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.03), transparent);
}

.review-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  margin-bottom: 50px;

  padding: 35px;

  border-radius: 24px;

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

  backdrop-filter: blur(12px);

  box-shadow: var(--shadow-sm);
}

.dark-mode .review-summary {
  background: rgba(255, 255, 255, 0.05);
}

.rating-big {
  font-size: 72px;
  font-weight: 800;

  line-height: 1;

  background: linear-gradient(135deg, #f59e0b, #fbbf24);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stars {
  font-size: 26px;
  margin-bottom: 10px;
}

.review-summary p {
  color: var(--gray);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 25px;
}

.review-card {
  position: relative;

  padding: 30px;

  border-radius: 24px;

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

  backdrop-filter: blur(15px);

  box-shadow: var(--shadow-sm);

  transition: var(--transition);
}

.dark-mode .review-card {
  background: rgba(255, 255, 255, 0.05);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.review-card::before {
  content: "\201C";

  position: absolute;

  top: 15px;
  right: 25px;

  font-size: 70px;

  color: rgba(37, 99, 235, 0.15);

  font-family: serif;
}

.review-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.review-card h4 {
  color: var(--primary);
  font-size: 16px;
}

/* ==========================================
   PRICING TABLE
========================================== */

.pricing {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.04));
}

.pricing-grid {
  display: grid;

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

  gap: 30px;
}

.pricing-card {
  position: relative;

  padding: 40px 30px;

  text-align: center;

  border-radius: 28px;

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

  backdrop-filter: blur(18px);

  box-shadow: var(--shadow-sm);

  transition: var(--transition);

  overflow: hidden;
}

.dark-mode .pricing-card {
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.price {
  font-size: 42px;
  font-weight: 800;

  color: var(--primary);

  margin-bottom: 25px;
}

.pricing-card ul {
  margin-bottom: 30px;
}

.pricing-card ul li {
  padding: 10px 0;

  color: var(--gray);

  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card .btn-primary {
  width: 100%;
}

/* ==========================================
   FEATURED PLAN
========================================== */

.pricing-card.featured {
  transform: scale(1.05);

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

  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.25);
}

.pricing-card.featured::before {
  content: "TERPOPULER";

  position: absolute;

  top: 18px;
  right: -35px;

  width: 160px;

  padding: 8px 0;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: #fff;

  font-size: 12px;
  font-weight: 700;

  transform: rotate(45deg);

  letter-spacing: 1px;
}

.pricing-card.featured .price {
  color: #2563eb;
}

/* ==========================================
   ICON CHECK PRICING
========================================== */

.pricing-card ul li::before {
  content: "✓";

  color: #22c55e;

  font-weight: 700;

  margin-right: 8px;
}

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

@media (max-width: 768px) {
  .review-summary {
    flex-direction: column;
    text-align: center;
  }

  .rating-big {
    font-size: 56px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .price {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .review-card,
  .pricing-card {
    padding: 25px;
  }

  .rating-big {
    font-size: 48px;
  }
}
/* ==========================================
   GALLERY
========================================== */

.gallery {
  overflow: hidden;
}

.gallery-grid {
  display: grid;

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

  gap: 25px;
}

.gallery-item {
  overflow: hidden;

  border-radius: 24px;

  position: relative;

  cursor: pointer;

  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 320px;

  object-fit: cover;

  transition: 0.7s;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);

  opacity: 0;
  transition: 0.4s;

  z-index: 2;
}

.gallery-item:hover::before {
  opacity: 1;
}

/* ==========================================
   TESTIMONIAL
========================================== */

.testimonial {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), transparent);
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 25px;
}

.testimonial-card {
  min-width: 350px;

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

  backdrop-filter: blur(16px);

  padding: 35px;

  border-radius: 24px;

  box-shadow: var(--shadow-sm);

  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-mode .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.testimonial-card span {
  color: var(--primary);
  font-size: 14px;
}

/* ==========================================
   FAQ
========================================== */

.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  margin-bottom: 18px;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: var(--shadow-sm);

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

.dark-mode .faq-item {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  width: 100%;

  border: none;
  background: transparent;

  cursor: pointer;

  padding: 24px;

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

  font-size: 17px;
  font-weight: 600;

  color: var(--dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition: 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--gray);
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

.faq-item.active i {
  transform: rotate(45deg);
}

/* ==========================================
   ARTICLES
========================================== */

.articles {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03));
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 30px;
}

.article-card {
  overflow: hidden;

  border-radius: 24px;

  background: #fff;

  box-shadow: var(--shadow-sm);

  transition: var(--transition);

  color: inherit;
}

.dark-mode .article-card {
  background: rgba(255, 255, 255, 0.05);
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.article-card img {
  width: 100%;
  height: 240px;

  object-fit: cover;
}

.article-content {
  padding: 25px;
}

.article-content h3 {
  margin-bottom: 15px;

  font-size: 22px;

  line-height: 1.4;
}

.article-content p {
  color: var(--gray);
}

/* ==========================================
   CONTACT
========================================== */

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

.contact-info h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 25px;
}

.contact-info ul li {
  display: flex;
  gap: 12px;
  align-items: center;

  margin-bottom: 15px;
}

.contact-info i {
  color: var(--primary);
}

.contact-form {
  background: rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(15px);

  padding: 35px;

  border-radius: 24px;

  box-shadow: var(--shadow-md);
}

.dark-mode .contact-form {
  background: rgba(255, 255, 255, 0.05);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  padding: 16px 18px;

  border-radius: 14px;

  border: 1px solid #dbeafe;

  margin-bottom: 18px;

  font-family: inherit;

  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* ==========================================
   CTA
========================================== */

.cta {
  padding: 90px 0;

  text-align: center;

  background: linear-gradient(135deg, var(--primary), var(--secondary));

  color: #fff;
}

.cta h2 {
  font-size: 48px;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
}

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

footer {
  background: var(--dark-light);
  color: #fff;

  padding-top: 70px;
}

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

  gap: 40px;
}

.footer-grid img {
  height: 55px;
  margin-bottom: 15px;
}

.footer-grid p,
.footer-grid li {
  color: #cbd5e1;
}

.footer-grid h4 {
  margin-bottom: 18px;
}

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

.copyright {
  text-align: center;

  margin-top: 50px;

  padding: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #94a3b8;
}
/* ==========================================
   LIGHT BOX
========================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox.show {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 45px;
  color: #fff;
  cursor: pointer;
}

/* ==========================================
   FLOATING WHATSAPP
========================================== */

.wa-float {
  position: fixed;

  right: 25px;
  bottom: 25px;

  width: 65px;
  height: 65px;

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

  border-radius: 50%;

  background: #25d366;

  color: #fff;

  font-size: 30px;

  box-shadow: var(--shadow-lg);

  z-index: 999;
}

/* ==========================================
   BACK TO TOP
========================================== */

#backToTop {
  position: fixed;

  bottom: 100px;
  right: 25px;

  width: 50px;
  height: 50px;

  border: none;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;

  z-index: 998;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}
/* ==========================================
   Skeleton Loading
========================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.loader {
  width: 70px;
  height: 70px;

  border: 5px solid #e5e7eb;
  border-top: 5px solid #2563eb;

  border-radius: 50%;

  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/* ==========================================
   DARK MODE
========================================== */

.dark-mode {
  background: #0b1220;
  color: #f8fafc;
}

.dark-mode .section-title h2,
.dark-mode .hero-content h1,
.dark-mode .contact-info h2 {
  color: #fff;
}

.dark-mode .article-card,
.dark-mode .service-card,
.dark-mode .stat-card,
.dark-mode .testimonial-card,
.dark-mode .contact-form {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

/* ==========================================
   MOBILE
========================================== */

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;

    top: 85px;
    left: -100%;
    align-items: center;
    width: 50%;
    height: calc(100vh - 85px);

    background: #fff;

    flex-direction: column;

    justify-content: flex-start;

    padding-top: 50px;

    transition: 0.4s;
  }

  .dark-mode .nav-menu {
    background: #0f172a;
  }

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

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

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 100%;
  }

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

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 130px;
  }

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

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .contact-form {
    padding: 25px;
  }

  .wa-float {
    width: 58px;
    height: 58px;
  }
}
