/* ============================================
   HK Drywall Services Inc. - Premium Styles
   ============================================ */

/* CSS Variables */
:root {
  --primary-blue: #2563eb;
  --secondary-yellow: #f5ee23;
  --white: #ffffff;
  --light-gray: #f3f4f6;
  --dark-gray: #1f2937;
  --text-gray: #4b5563;
  --border-gray: #e5e7eb;
  --shadow: 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);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-gray);
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--secondary-yellow);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.2), 
    inset 0 4px 8px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  display: block;
  transition: var(--transition);
  image-rendering: -webkit-optimize-contrast; /* Help with clarity */
}

.header.scrolled .logo img {
  width: 60px;
  height: 60px;
}

.footer .logo img {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  border-color: var(--secondary-yellow); /* Branding touch for footer */
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.header.scrolled .nav-link {
  color: var(--dark-gray);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-yellow);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.nav-link:hover {
  color: var(--secondary-yellow);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.header.scrolled .btn-outline {
  color: var(--dark-gray);
  border-color: var(--dark-gray);
}

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

.header.scrolled .btn-outline:hover {
  background: var(--dark-gray);
  color: var(--white);
}

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

.btn-blue:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.header.scrolled .menu-toggle span {
  background: var(--dark-gray);
}

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

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

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

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

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-text h1 span {
  color: var(--secondary-yellow);
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  justify-items: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.hero-feature i {
  width: 40px;
  height: 40px;
  background: var(--secondary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-feature span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

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

.hero-dot.active {
  background: var(--secondary-yellow);
  border-color: var(--white);
  transform: scale(1.2);
}

.hero-dot:hover {
  background: var(--white);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary-yellow);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 1.5rem auto 0;
}

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

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

.service-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.service-card.featured {
  border: 3px solid var(--secondary-yellow);
}

.service-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--secondary-yellow);
  color: var(--dark-gray);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
  z-index: 2;
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.service-content {
  padding: 1.5rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--secondary-yellow);
  transform: rotateY(360deg);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--dark-gray);
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark-gray);
}

.service-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link:hover {
  color: var(--secondary-yellow);
  gap: 0.75rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--secondary-yellow);
  border-radius: 1rem;
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--secondary-yellow);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge .number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1;
}

.about-badge .text {
  font-size: 0.875rem;
  color: var(--dark-gray);
  font-weight: 600;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-content h2 span {
  color: var(--primary-blue);
}

.about-content > p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature i {
  color: var(--secondary-yellow);
  font-size: 1.25rem;
}

.about-feature span {
  font-weight: 500;
  color: var(--dark-gray);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-gray);
}

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

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
}

.stat-number span {
  color: var(--secondary-yellow);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-top: 0.5rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  background: var(--dark-gray);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 50px 50px;
}

.process .section-header h2 {
  color: var(--white);
}

.process .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.process-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.5rem;
  width: 3rem;
  height: 2px;
  background: var(--secondary-yellow);
}

.process-card:last-child::after {
  display: none;
}

.process-number {
  width: 80px;
  height: 80px;
  background: var(--secondary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin: 0 auto 1.5rem;
  position: relative;
}

.process-number::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dashed var(--secondary-yellow);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

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

.process-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.process-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.why-us-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.9);
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

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

.why-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.why-icon i {
  font-size: 1.75rem;
  color: var(--dark-gray);
}

.why-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

.testimonials-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.33rem);
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: var(--secondary-yellow);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-info h4 {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-gray);
  font-size: 0.85rem;
  color: var(--text-gray);
}

.testimonial-source i {
  color: #4285f4;
}

/* Testimonial Controls */
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  background: var(--white);
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}

/* Uniform size - spans removed */

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form-wrapper {
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: 1rem;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-gray);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

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

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

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

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--secondary-yellow);
}

.contact-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.contact-info-item div a,
.contact-info-item div span {
  font-size: 0.95rem;
  color: var(--text-gray);
}

.contact-info-item div a:hover {
  color: var(--primary-blue);
}

.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ============================================
   SERVICE AREAS SECTION
   ============================================ */
.service-areas {
  background: var(--light-gray);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-yellow);
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.area-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.area-card:hover .area-icon {
  background: var(--secondary-yellow);
}

.area-icon i {
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.area-card:hover .area-icon i {
  color: var(--dark-gray);
}

.area-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.area-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

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

.footer-social a:hover {
  background: var(--secondary-yellow);
  transform: translateY(-3px);
}

.footer-social a:hover i {
  color: var(--dark-gray);
}

.footer-social i {
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-column h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-yellow);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '›';
  color: var(--secondary-yellow);
  font-size: 1.25rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--secondary-yellow);
  padding-left: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--secondary-yellow);
  margin-top: 0.25rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--secondary-yellow);
}

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

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

.footer-bottom a {
  color: var(--secondary-yellow);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--primary-blue);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="0" width="50" height="50" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 50px 50px;
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--secondary-yellow);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page .service-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}

.services-page .service-image {
  height: 100%;
}

.services-page .service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

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

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

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-card::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .services-page .service-card {
    grid-template-columns: 1fr;
  }
  
  .services-page .service-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  
  .nav-link {
    color: var(--dark-gray);
    font-size: 1.1rem;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .menu-toggle.active span {
    background: var(--dark-gray);
  }
  
  .header .btn {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Removed nth-child spans for mobile */
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Removed nth-child spans for mobile */
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Google Review Badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.google-badge img {
  width: 24px;
  height: 24px;
}

.google-badge .rating {
  font-weight: 700;
  color: var(--dark-gray);
}

.google-badge .stars {
  color: var(--secondary-yellow);
}

.google-badge .count {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--secondary-yellow);
  color: var(--dark-gray);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.cta-banner .btn-primary:hover {
  background: #F8DE22;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--secondary-yellow);
  color: var(--dark-gray);
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  overflow: hidden;
  max-width: 60px;
}

.chat-widget:hover {
  max-width: 250px;
  background: #F8DE22;
}

.chat-widget .chat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.chat-widget .chat-text {
  white-space: nowrap;
  padding: 0 1rem 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.2s;
}

.chat-widget:hover .chat-text {
  opacity: 1;
}

.chat-widget .chat-text span {
  font-size: 0.8rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
    max-width: 250px;
  }
  .chat-widget .chat-text {
    opacity: 1;
  }
}
