/* ============================================
   SOLAR ENERGY BUSINESS WEBSITE - MAIN STYLES
   ============================================ */

/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
  /* Color Palette */
  --primary-color: #facc15;
  /* Solar Yellow */
  --primary-dark: #eab308;
  --secondary-color: #1e293b;
  /* Dark Blue */
  --secondary-light: #334155;
  --text-color: #333333;
  /* Dark Gray */
  --text-light: #64748b;
  --background-white: #ffffff;
  --background-light: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #22c55e;
  --error-color: #ef4444;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

/* Fix for anchor scroll positioning */
section[id] {
  scroll-margin-top: 100px;
}

/* Fix for service sections anchor scrolling */
div[id="residential"],
div[id="commercial"],
div[id="industrial"],
div[id="maintenance"],
div[id="battery"],
div[id="consulting"] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background-white);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 70px;
  max-width: 100vw;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 55px;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-primary);
}

input,
textarea,
select {
  font-family: var(--font-primary);
  outline: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
}

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

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 20px auto 0;
}

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

.text-primary {
  color: var(--primary-color);
}

.bg-light {
  background-color: var(--background-light);
}

.bg-white {
  background-color: var(--background-white);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--background-white);
  border-color: var(--background-white);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--background-white);
}

.btn-dark {
  background-color: var(--secondary-color);
  color: var(--background-white);
}

.btn-dark:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--background-white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: all var(--transition-normal);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

/* Navbar height consistency */
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  min-height: 55px;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 992px) {
  .navbar-container {
    padding: 10px 30px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 8px 20px;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 6px 15px;
    min-height: 48px;
  }
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-decoration: none;
  flex-shrink: 0;
  max-width: 350px;
  white-space: nowrap;
  overflow: visible;
}

@media (max-width: 992px) {
  .navbar-logo {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .navbar-logo {
    font-size: 0.9rem;
    gap: 10px;
    max-width: 280px;
  }

  .navbar-logo-img {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    font-size: 0.8rem;
    gap: 8px;
    max-width: 220px;
  }

  .navbar-logo-img {
    width: 40px;
    height: 40px;
  }
}

.navbar-logo-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-logo-text {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .navbar-logo-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .navbar-logo-text {
    font-size: 0.75rem;
  }
}

.navbar-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 992px) {
  .navbar-menu {
    gap: 15px;
  }
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    background-color: var(--background-white);
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
    gap: 5px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - 55px);
    overflow-y: auto;
    z-index: 999;
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-link {
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
    padding: 12px 10px;
    display: block;
    border-radius: var(--radius-md);
  }

  .navbar-link:hover {
    background-color: rgba(250, 204, 21, 0.1);
  }

  .navbar-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .navbar-btn .btn {
    width: 100%;
    display: block;
  }
}

@media (max-width: 480px) {
  .navbar-menu {
    top: 65px;
    padding: 15px;
  }

  .navbar-link {
    font-size: 1rem;
    padding: 12px 8px;
  }
}

.navbar-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary-color);
  position: relative;
  padding: 5px 0;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-link:hover {
  color: var(--primary-dark);
}

.navbar-btn {
  margin-left: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
  z-index: 1001;
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
    padding: 8px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media (max-width: 480px) {
  .hamburger span {
    width: 22px;
    height: 2.5px;
  }
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .hamburger span {
    width: 22px;
    height: 2.5px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 70px;
  overflow: hidden;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.6));
}

/* Slider Navigation Buttons */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(250, 204, 21, 0.9);
  border-color: rgba(250, 204, 21, 0.9);
  color: #1e293b;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
  left: 30px;
}

.hero-slider-next {
  right: 30px;
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dots .dot.active {
  background: #facc15;
  border-color: #ffffff;
  width: 35px;
  border-radius: 6px;
}

/* Mobile Responsive for Slider */
@media (max-width: 768px) {

  .hero-slider-prev,
  .hero-slider-next {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .hero-slider-prev {
    left: 10px;
  }

  .hero-slider-next {
    right: 10px;
  }

  .hero-slider-dots {
    bottom: 20px;
    gap: 8px;
  }

  .hero-slider-dots .dot {
    width: 10px;
    height: 10px;
  }

  .hero-slider-dots .dot.active {
    width: 25px;
  }
}

@media (max-width: 480px) {

  .hero-slider-prev,
  .hero-slider-next {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--background-white), transparent);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: -10px 20px 5px;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-container {
    padding: 10px 15px 5px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 5px 12px 0;
  }
}

.hero-content {
  max-width: 650px;
  color: var(--background-white);
  text-align: left;
  margin-left: 0;
  padding-top: 0;
}

@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    padding-top: 0;
  }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .hero-stat-number {
    font-size: 2rem;
    margin-bottom: 0;
  }
}

.hero-badge {
  display: inline-block;
  background-color: rgba(250, 204, 21, 0.2);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: 0.9;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.hero-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background-color: var(--background-white);
}

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

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about-container {
    gap: 30px;
  }
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 992px) {
  .about-image-main {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .about-image-main {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .about-image-main {
    height: 250px;
  }
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-lg);
  z-index: -1;
}

@media (max-width: 992px) {
  .about-image-accent {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -20px;
  }
}

@media (max-width: 768px) {
  .about-image-accent {
    display: none;
  }
}

.about-content {
  padding: 20px 0;
}

.about-subtitle {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-description {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
  }
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(250, 204, 21, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.about-feature-text {
  font-weight: 500;
  color: var(--secondary-color);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background-color: var(--background-light);
}

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

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

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .services-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    gap: 15px;
  }
}

.service-card {
  background-color: var(--background-white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .service-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 25px 18px;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  position: relative;
  margin-bottom: 25px;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(250, 204, 21, 0.05));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-dark);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.service-icon-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1), transparent);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--secondary-color);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4);
}

.service-card:hover .service-icon-wrapper::after {
  opacity: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast);
  font-size: 0.95rem;
}

.service-card:hover .service-link {
  gap: 12px;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
  background-color: var(--background-white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

@media (max-width: 992px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  border-color: var(--primary-color);
  background-color: rgba(250, 204, 21, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.feature-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   INSTALLATION PROCESS SECTION
   ============================================ */
.process {
  background-color: var(--background-light);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}

@media (max-width: 992px) {
  .process-steps {
    flex-direction: column;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 0;
  }

  .process-step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin: 0;
  }

  .process-step-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .process-step-content {
    text-align: center;
  }

  .process-step-icon {
    position: static;
    transform: none;
  }
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

.process-step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
  transition: all var(--transition-normal);
  border: 4px solid var(--background-white);
}

.process-step:hover .process-step-number {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 6px 25px rgba(250, 204, 21, 0.6);
}

.process-step-icon {
  width: 35px;
  height: 35px;
  background: var(--background-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary-dark);
  position: absolute;
  bottom: -5px;
  right: -5px;
  border: 3px solid var(--primary-color);
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.process-step-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.statistics {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/pattern.svg') repeat;
  opacity: 0.05;
}

.statistics-container {
  position: relative;
  z-index: 2;
}

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

@media (max-width: 1200px) {
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

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

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

  .stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .stat-number {
    font-size: 2rem;
    margin-bottom: 0;
  }
}

.stat-item {
  text-align: center;
  color: var(--background-white);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================================
   PROJECTS GALLERY SECTION
   ============================================ */
.projects {
  background-color: var(--background-white);
}

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

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

@media (max-width: 992px) {
  .projects-grid {
    gap: 20px;
  }
}

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

@media (max-width: 480px) {
  .projects-grid {
    gap: 15px;
  }
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #f1f5f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
  display: block;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 20px;
  }

  .lightbox-nav {
    font-size: 1.8rem;
    padding: 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .lightbox {
    padding: 15px;
  }

  .lightbox-nav {
    font-size: 1.5rem;
  }
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  color: var(--background-white);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--primary-color);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--background-white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 20px;
  transition: color var(--transition-fast);
}

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

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background-color: var(--background-light);
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-author {
    flex-direction: column;
    gap: 10px;
  }

  .testimonial-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 25px 15px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

.testimonial-card {
  background-color: var(--background-white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 25px 15px;
  }
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 25px;
}

.testimonial-rating i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.testimonial-text {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.swiper-pagination-bullet {
  background-color: var(--border-color);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog {
  background-color: var(--background-white);
}

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

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

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    gap: 20px;
  }
}

.blog-card {
  background-color: var(--background-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta i {
  color: var(--primary-color);
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--primary-dark);
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-link {
  color: var(--primary-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition-fast);
}

.blog-link:hover {
  gap: 12px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background-color: var(--background-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }
}

.contact-info {
  padding: 20px 0;
}

.contact-info-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.contact-info-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(250, 204, 21, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.contact-item-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.contact-social-link {
  width: 45px;
  height: 45px;
  background-color: var(--secondary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background-white);
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.contact-social-link:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background-color: var(--background-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 20px;
  }
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-color);
  transition: all var(--transition-fast);
  background-color: var(--background-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .cta {
    padding: 60px 0;
  }

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

  .cta-text {
    font-size: 1rem;
    padding: 0 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 50px 0;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-text {
    font-size: 0.95rem;
  }
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--secondary-color);
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--secondary-color);
  color: var(--background-white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

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

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

  .footer-brand {
    padding-right: 0;
  }
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--background-white);
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--background-white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-link i {
  font-size: 0.7rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--primary-color);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 992px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--primary-color);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(30, 41, 59, 0.8)),
    url('../images/page-header-bg.jpg') center/cover no-repeat;
  padding: 80px 0 50px;
  text-align: center;
  color: var(--background-white);
  min-height: 350px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.page-header-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .page-header {
    padding: 70px 0 45px;
    min-height: 300px;
  }

  .page-header-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0 40px;
    min-height: 280px;
  }

  .page-header-title {
    font-size: 2rem;
  }

  .page-header-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 50px 0 35px;
    min-height: 250px;
  }

  .page-header-title {
    font-size: 1.8rem;
  }

  .page-header-subtitle {
    font-size: 0.95rem;
  }
}

.page-header-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.breadcrumb-link {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--background-white);
}

.breadcrumb-separator {
  opacity: 0.6;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
}

@media (max-width: 768px) {
  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 100px;
    right: 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 100px;
    right: 20px;
    font-size: 1rem;
  }
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   FORM SUCCESS POPUP
   ============================================ */
.form-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-popup.active {
  opacity: 1;
  visibility: visible;
}

.form-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.form-popup-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.form-popup.active .form-popup-content {
  transform: translateY(0);
}

.form-popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ffffff;
  animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-popup-icon.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  animation: errorShake 0.5s ease;
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes errorShake {

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

  25% {
    transform: translateX(-10px);
  }

  75% {
    transform: translateX(10px);
  }
}

.form-popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.form-popup-text {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 30px;
}

.form-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 35px;
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #1e293b;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.form-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.form-popup-btn.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.form-popup-btn.error:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .form-popup-content {
    padding: 40px 25px;
    width: 95%;
  }

  .form-popup-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .form-popup-title {
    font-size: 1.3rem;
  }

  .form-popup-text {
    font-size: 0.95rem;
  }

  .form-popup-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .form-popup-content {
    padding: 35px 20px;
  }

  .form-popup-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .form-popup-title {
    font-size: 1.2rem;
  }

  .form-popup-text {
    font-size: 0.9rem;
  }
}

/* ============================================
   MOBILE HEADER OVERFLOW FIX - CRITICAL
   ============================================ */
@media (max-width: 992px) {

  .navbar,
  .navbar-container,
  .navbar-logo,
  .navbar-menu,
  .hamburger {
    box-sizing: border-box;
  }

  .navbar {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    left: 0 !important;
    right: 0 !important;
  }

  .navbar-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .navbar-logo {
    max-width: 160px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

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

  .hamburger {
    flex-shrink: 0 !important;
    padding: 8px !important;
    z-index: 1001 !important;
  }

  .navbar-menu {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .navbar-logo {
    max-width: 140px !important;
    font-size: 1.1rem !important;
  }

  .navbar-logo-icon {
    width: 35px !important;
    height: 35px !important;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .navbar-logo {
    max-width: 130px !important;
    font-size: 1rem !important;
  }

  .navbar-logo-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .hamburger {
    padding: 6px !important;
  }

  .hamburger span {
    width: 20px !important;
    height: 2px !important;
  }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10000;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
  animation: pulse 2s infinite;
}

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

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}