/* ========================================
   Modern Cleaning Service Theme - CSS Variables
   ======================================== */
:root {
  /* Brand Colors */
  --primary-blue: #005E8C;
  --light-blue-accent: #77BFDB;
  --highlight-yellow: #FFD700;

  /* Gradients */
  --gradient-start: #008FC7;
  --gradient-end: #005E8C;

  /* Neutrals */
  --white: #FFFFFF;
  --bg-page: #F7FAFC;
  --soft-grey: #E0E6EB;
  --text-dark: #1D1D1F;
  --text-gray: #6B6B6B;

  /* Shadows */
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px var(--shadow-color);
  --shadow-md: 0 4px 16px var(--shadow-color);
  --shadow-lg: 0 8px 32px var(--shadow-color);
  --shadow-hover: 0 12px 40px var(--shadow-color);

  /* Border Radius */
  --border-radius: 16px;
  --border-radius-sm: 12px;
  --border-radius-lg: 24px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Global Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--bg-page);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.35rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--soft-grey);
}

.text-center {
  text-align: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--white);
  padding: 18px;
  font-size: 1.1rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--light-blue-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  overflow: hidden;
  padding: 90px 0;
  margin-top: 76px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, rgba(15, 23, 42, 0.9), rgba(59, 130, 246, 0.65)), url('../assets/images/commercial-cleaning.jpg') center/cover no-repeat;
  filter: blur(1px);
  opacity: 0.95;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.35rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge i {
  color: #38bdf8;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  font-weight: 400;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--light-blue-accent);
}

.icon-box {
  width: 80px;
  height: 80px;
  margin: 0 0 16px 0;
  background: var(--soft-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.icon-box i {
  font-size: 2rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.service-card:hover .icon-box i {
  color: var(--white);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-gray);
  line-height: 1.8;
}

.service-summary {
  margin-bottom: 4px;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  margin-top: 8px;
}

.service-toggle i {
  transition: transform var(--transition);
}

.service-card.expanded .service-toggle i {
  transform: rotate(180deg);
}

.service-details {
  display: none;
  text-align: left;
  margin-top: 16px;
  padding: 16px;
  background: var(--soft-grey);
  border-radius: var(--border-radius);
  color: var(--text-gray);
  line-height: 1.7;
}

.service-details p + p {
  margin-top: 12px;
}

.service-card.expanded .service-details {
  display: block;
}

.service-card:focus-visible {
  outline: 3px solid var(--light-blue-accent);
  outline-offset: 4px;
}

.service-media {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.service-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ========================================
   Founder Section
   ======================================== */
.founder-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  background: var(--white);
  padding: 60px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.founder-image {
  position: relative;
}

.founder-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.founder-text {
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--light-blue-accent);
  margin-bottom: 20px;
}

.founder-text h3 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--primary-blue);
}

.founder-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 24px;
  font-style: italic;
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ========================================
   Loyalty Program
   ======================================== */
.loyalty-card {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 60px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: var(--white);
}

.loyalty-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--white);
}

.loyalty-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.stamps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stamp {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px dashed rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.stamp.filled {
  background: var(--white);
  border: 3px solid var(--white);
  color: var(--primary-blue);
}

.stamp.reward {
  background: var(--white);
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 700;
  border: 3px solid var(--white);
}

.loyalty-card .btn {
  margin-top: 20px;
  background: var(--white);
  color: var(--primary-blue);
}

.loyalty-card .btn:hover {
  background: var(--soft-grey);
  transform: translateY(-4px);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--primary-blue);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.stars {
  color: var(--highlight-yellow);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 24px;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.client-info img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-blue-accent);
}

.client-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* ========================================
   Booking Form
   ======================================== */
.booking-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.booking-header {
  margin-bottom: 40px;
}

.booking-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.booking-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--soft-grey);
  border-radius: var(--border-radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-page);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(10, 74, 110, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  min-height: 20px;
  font-weight: 600;
  color: var(--text-gray);
}

.form-status.success {
  color: #10b981;
}

.form-status.error {
  color: #ef4444;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary-blue);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--gradient-start);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition);
}

.contact-card:hover i {
  transform: scale(1.1);
  color: var(--gradient-start);
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.contact-card p {
  color: var(--text-gray);
  line-height: 1.8;
}

.contact-card a {
  color: var(--primary-blue);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--gradient-start);
  text-decoration: underline;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  font-weight: 600;
}

.footer-nav h4,
.footer-social h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--light-blue-accent);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  transform: translateY(-4px);
}

.social-icons i {
  font-size: 1.25rem;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--light-blue-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 0;
    gap: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-blue);
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .founder-content {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
  }

  .section-padding {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .booking-container {
    padding: 30px 24px;
  }

  .features-grid {
    gap: 32px;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Animations & Utilities
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gsap-hero-text,
.gsap-hero-btns {
  opacity: 0;
}

[data-aos] {
  pointer-events: auto;
}