:root {
  --primary-light: #4ade80;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --secondary-light: #f0fdf4;
  --secondary: #86efac;
  --secondary-dark: #15803d;
  --accent: #84cc16;
  --accent-dark: #65a30d;
  --neutral-light: #f8fafc;
  --neutral: #e2e8f0;
  --neutral-dark: #1e293b;
  --white: #FFFFFF;
  --black: #000000;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 1rem;
  --container-padding: clamp(1.5rem, 5vw, 2.5rem);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2.25rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 0.875rem;
  letter-spacing: 0.025em;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(0);
  text-transform: uppercase;
}

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

.btn:active {
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300%;
  height: 300%;
}

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

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

.btn-secondary {
  background-color: var(--white);
  color: var(--neutral-dark);
  border: 2px solid var(--neutral);
}

.btn-secondary:hover {
  background-color: var(--neutral-light);
  border-color: var(--primary);
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid var(--neutral);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-image: linear-gradient(135deg, var(--white) 0%, var(--secondary-light) 100%);
}

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

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.card:hover,
.service-card:hover,
.why-us-card:hover {
  animation: float 3s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* Responsive design */
@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .grid {
    gap: 1rem;
  }
}


/* --------------------
   Navigation
-------------------- */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.sticky-nav.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.sticky-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

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

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

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.company-name {
  color: var(--neutral-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .company-name {
    font-size: 0.9rem;
  }
  .logo a {
    gap: 8px;
  }
  .logo-img {
    height: 28px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

.desktop-nav ul {
  display: flex;
}

.desktop-nav ul li {
  margin-left: 20px;
}

.desktop-nav ul li a {
  color: var(--neutral-dark);
  font-weight: 600;
  padding: 8px 0;
  position: relative;
}

.desktop-nav ul li a:hover {
  color: var(--primary);
}

.desktop-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.desktop-nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--neutral-dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
  touch-action: manipulation;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  display: block;
}

.mobile-menu nav ul {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.mobile-menu nav ul li {
  padding: 0;
  margin: 0;
}

.mobile-menu nav ul li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--neutral-dark);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-menu nav ul li a:hover {
  background: var(--neutral-light);
  color: var(--primary);
}

.mobile-menu nav ul li a.mobile-cta {
  color: var(--primary);
  font-weight: 600;
}

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

  .desktop-nav,
  .cta-button.desktop {
    display: none;
  }
}

@media (hover: none) {
  .btn:hover::before {
    width: 0;
    height: 0;
  }

  .service-card:hover,
  .why-us-card:hover,
  .link-card:hover {
    transform: none;
  }
}


/* Bottom Navigation for Mobile */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
}

.bottom-nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.bottom-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--neutral-dark);
  text-decoration: none;
  font-size: 0.75rem;
  padding: 5px;
}

.bottom-nav ul li a i {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.bottom-nav ul li a.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: none;
  }

  .desktop-nav,
  .mobile-menu-button,
  .cta-button.desktop {
    display: none;
  }

  .container {
    padding-bottom: 20px;
  }

  .sticky-nav {
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .sticky-nav.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
  }
}

/* --------------------
   Quick Links Section
-------------------- */
.quick-links {
  padding: 40px 0;
  background-color: var(--white);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.link-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  color: var(--neutral-dark);
}

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

.link-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.link-card h3 {
  margin-bottom: 10px;
}

.link-card p {
  font-size: 0.9rem;
  color: var(--neutral-dark);
  opacity: 0.8;
}

/* --------------------
   Hero Section
-------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('assets/Nft Fly GIF by Mental Barf.gif') center center / cover no-repeat, linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2322c55e" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.badge i {
  color: var(--secondary);
}

.badge span {
  font-weight: 500;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* --------------------
   Services Section
-------------------- */
.services {
  background-color: var(--white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--neutral);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-features {
  margin-top: 20px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.service-features li i {
  color: var(--primary);
  margin-right: 10px;
  margin-top: 4px;
}

/* --------------------
   About Section
-------------------- */
.about {
  background-color: var(--neutral-light);
}

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

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

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

.feature {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.feature-text h4 {
  font-size: 1.125rem;
  margin-bottom: 5px;
}

.about-image {
  position: relative;
}

.image-container {
  position: relative;
  height: 100%;
  min-height: 350px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  background-color: var(--white);
  padding: 20px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 20px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: none;
}

.experience-badge .years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .experience-badge {
    display: block;
  }
}

/* --------------------
   Why Choose Us Section
-------------------- */
.why-us {
  background-color: var(--white);
}

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

.why-us-card {
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-us-card:hover {
  box-shadow: var(--shadow-lg);
}

.why-us-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  color: var(--white);
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.why-us-cta {
  text-align: center;
  margin-top: 40px;
}

/* --------------------
   Gallery Section
-------------------- */
.gallery {
  background-color: var(--neutral-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.gallery-image {
  position: relative;
  height: 250px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: brightness(0.9);
}

.gallery-image:hover img {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 10px;
}

.gallery-caption h4 {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

#lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
}

/* --------------------
   Testimonials Section
-------------------- */
.testimonials {
  background-color: var(--white);
}

.testimonial-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-slider {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 20px;
  padding: 20px 0 30px;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.testimonial-slide:hover {
  transform: translateY(-5px);
}

.rating {
  margin-bottom: 15px;
  color: var(--primary);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--secondary-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

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

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  margin: 0 5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary);
}

@media (min-width: 768px) and (max-width: 991px) {
  .testimonial-slide {
    width: calc(50% - 10px);
  }
}

@media (min-width: 992px) {
  .testimonial-slide {
    width: calc(33.333% - 14px);
  }
}

/* --------------------
   Contact Section
-------------------- */
.contact {
  background-color: var(--neutral-light);
}

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

.contact-form-container {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

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

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--neutral);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

.error {
  border-color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

.error-message.active {
  display: block;
}

.contact-info {
  margin-top: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-icon {
  color: var(--primary);
  font-size: 1.25rem;
  margin-right: 15px;
  margin-top: 5px;
}

.info-content h4 {
  font-size: 1.125rem;
  margin-bottom: 5px;
}

.whatsapp-btn {
  margin-top: 20px;
}

.map-container {
  height: 100%;
}

.map-placeholder {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--neutral-light);
}

.map-content {
  max-width: 500px;
  padding: 30px;
}

.map-content i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.map-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.map-note {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-top: 20px;
}

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------
   Reviews Section
-------------------- */
.reviews {
  background-color: var(--white);
  padding: 60px 0;
}

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

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

.review-form-container {
  background-color: var(--neutral-light);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.5rem;
  font-size: 1.5rem;
}

.rating-input input {
  display: none;
}

.rating-input label {
  color: var(--neutral);
  cursor: pointer;
  transition: var(--transition);
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: var(--primary);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-rating {
  color: var(--primary);
}

.review-content {
  margin-top: 10px;
  font-style: italic;
}

.review-date {
  font-size: 0.875rem;
  color: var(--neutral-dark);
  opacity: 0.7;
}

/* --------------------
   Quote Section
-------------------- */
.quote {
  background-color: var(--primary);
  color: var(--white);
}

.quote-form-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.quote-form {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  color: var(--neutral-dark);
  border: 1px solid #e8ecf1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background-color: #ffffff;
  border: 2px solid #e0e6ed;
  color: var(--neutral-dark);
  padding: 12px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #999;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
  border-color: #c0c8d4;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.quote-form label {
  color: var(--neutral-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.quote-form label i {
  color: var(--primary);
  width: 20px;
}

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

.quote-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.quote-form .btn-large {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.form-note {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-top: 15px;
  font-style: italic;
}

/* --------------------
   Footer
-------------------- */
.footer {
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-logo h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.footer-logo span:first-child {
  color: var(--primary-light);
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.footer h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact ul li i {
  color: var(--primary-light);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-contact ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
  color: var(--primary);
}

.footer-contact ul li span {
  margin-left: 10px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------
   Back to Top Button
-------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  text-decoration: none;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1100;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  margin: auto;
  display: block;
  box-shadow: var(--shadow-lg);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

/* Success message styling */
.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  margin-top: 20px;
  border-radius: var(--border-radius);
  border-left: 4px solid #28a745;
}

/* Spinner for form submission */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

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

/* Logo fallback */
.text-logo {
  margin: 0;
  font-size: 1.75rem;
}
.text-logo span {
  color: var(--primary);
  font-weight: 700;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  left: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: var(--shadow);
  z-index: 99;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: var(--white);
  transform: translateY(-3px);
}

.whatsapp-float i {
  font-size: 24px;
}

.whatsapp-float .whatsapp-text {
  margin-left: 8px;
  font-weight: 600;
  display: block;
}

@media (max-width: 576px) {
  .whatsapp-float {
    left: 20px;
    bottom: 80px;
    padding: 10px;
  }

  .whatsapp-float .whatsapp-text {
    display: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 15px;
  }

  .hero {
    min-height: calc(100vh - 60px);
    padding-top: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .services-grid,
  .why-us-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card,
  .why-us-card {
    padding: 1.5rem;
  }

  .contact-form,
  .quote-form {
    padding: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.875rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 0.875rem;
  }

  .quick-links .links-grid {
    gap: 1rem;
    margin-top: -30px;
  }

  .link-card {
    padding: 1rem;
  }

  .service-card,
  .why-us-card {
    padding: 1.25rem;
    margin: 0;
  }

  .services-grid,
  .why-us-grid {
    gap: 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .gallery-item {
    aspect-ratio: 16/9;
  }

  .testimonial-slider {
    padding: 0;
  }

  .testimonial-slide {
    padding: 1.25rem;
    margin: 0;
    width: 100%;
  }

  .contact-form-container,
  .quote-form {
    padding: 1.25rem;
    margin: 0;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  input,
  textarea,
  select {
    padding: 0.75rem;
    font-size: 16px;
    border-radius: 0.5rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .mobile-menu {
    height: 100vh;
    overflow-y: auto;
    padding: 1rem;
  }

  .mobile-menu ul li a {
    padding: 0.75rem;
    font-size: 1rem;
  }

  .sticky-nav .container {
    padding: 0.75rem 1rem;
  }

  .logo-img {
    height: 32px;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .whatsapp-float {
    left: 1rem;
    bottom: 4rem;
    padding: 0.75rem;
  }

  .whatsapp-float i {
    font-size: 1.5rem;
  }
}