/*
Theme Name: OptimaClean
Description: A modern, professional WordPress theme for cleaning services with responsive design, testimonials, and contact forms.
Author: OptimaClean Theme
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: optimaclean
Tags: business, professional, cleaning, services, responsive, modern
*/

:root {
  --primary-color: #0056b3;
  --accent-color: #00bfff;
  --bg-color: #f7f9fc;
  --text-color: #333;
  --font-family: 'Manrope', sans-serif;
  
  /* Navbar customization variables with defaults */
  --navbar-height: 70px;
  --navbar-bg-opacity: 0.95;
  --navbar-blur: blur(10px);
  --navbar-border: 1px solid rgba(0, 0, 0, 0.1);
  --navbar-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Video Background Styles - PRODUCTION FIXED */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Subtle overlay for better text readability */
.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 3;
  pointer-events: none;
}

/* Fallback background */
.fallback-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: none;
}

/* Show fallback when video fails to load */
.video-background.video-error .fallback-background {
  display: block;
  z-index: 1;
}

.video-background.video-error #hero-video {
  display: none;
}

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content > * {
  position: relative;
  z-index: 5;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.5);
  color: white;
}

.hero-content p {
  font-size: 1.5rem;
  margin: 2rem 0 3rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  max-width: 600px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

/* Maintain backward compatibility for headers without video */
header:not(:has(.video-background)) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%), url('https://source.unsplash.com/1600x900/?cleaning') no-repeat center center/cover;
  background-blend-mode: overlay;
}

/* Ensure video background headers don't have background images */
header:has(.video-background) {
  background: none !important;
}

/* Mobile responsiveness for hero content */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin: 1.5rem 0 2rem;
  }
}

.btn {
  padding: 1.2rem 2.5rem;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.8rem;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #0099cc);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 191, 255, 0.4);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.features, .services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.testimonials-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 0;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.testimonials-intro {
  max-width: 600px;
  margin: 0 auto 4rem;
  color: #64748b;
  font-size: 1.2rem;
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 25px;
  font-size: 4rem;
  color: var(--accent-color);
  font-family: serif;
  opacity: 0.7;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.testimonial-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-role {
  color: #64748b;
  font-size: 0.9rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.star {
  color: #fbbf24;
  font-size: 1.2rem;
}

.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #e2e8f0;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.footer-section p,
.footer-section li {
  line-height: 1.8;
  color: #cbd5e0;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-section li:hover {
  color: var(--accent-color);
}

.footer-section .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-section .contact-item i {
  color: var(--accent-color);
  width: 20px;
  margin-right: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  background: rgba(255,255,255,0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.3);
}

.cta {
  background: linear-gradient(135deg, var(--accent-color) 0%, #0099cc 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta .btn {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 0;
  margin: 4rem 0 0 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="60" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

#contact .section-title {
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-intro {
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 20px 20px 0 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #4a5568;
  font-size: 0.95rem;
  position: relative;
}

.form-group label {
  margin-top: 0;
}

.contact-form label::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 1px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  background: white;
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-family);
}

.contact-form button {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form button:hover::before {
  left: 100%;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* reCAPTCHA notice styling */
.recaptcha-notice {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.recaptcha-notice a {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.recaptcha-notice a:hover {
  color: #764ba2 !important;
}

/* Form message improvements */
.form-message {
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  animation: slideInDown 0.4s ease !important;
}

.form-message i {
  font-size: 1.1em;
}

.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-icon {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-icon:hover::before {
  opacity: 1;
}

.contact-icon:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.contact-icon:active {
  transform: translateY(-3px) scale(1.05);
}

.contact-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.contact-icon:active::after {
  width: 100%;
  height: 100%;
}

.about-expertise {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 1200px;
  margin: 4rem auto;
  position: relative;
  overflow: hidden;
}

.about-expertise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.expertise-header {
  margin-bottom: 3rem;
}

.expertise-description {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
}

.expertise-features {
  margin: 4rem 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  text-align: left;
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.feature-item p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

.expertise-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  padding: 3rem 2rem;
  border-radius: 15px;
  margin-top: 3rem;
  color: white;
}

.cta-text {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.btn-cta {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* WordPress specific styles */
.wp-block-group {
  max-width: 1200px;
  margin: 0 auto;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.wp-block-image {
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-expertise {
    padding: 2rem 1rem;
    margin: 2rem auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-item {
    padding: 1.5rem;
    text-align: center;
  }

  .expertise-cta {
    padding: 2rem 1rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }

  #contact {
    padding: 3rem 0;
  }

  .contact-container {
    padding: 0 1rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-icons {
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    padding: 1.2rem;
    font-size: 1.4rem;
  }

  .contact-icon:hover {
    transform: translateY(-3px) scale(1.05);
  }

  header h1 {
    font-size: 3rem;
    text-align: center;
  }

  header p {
    font-size: 1.2rem;
    margin: 1.5rem 0 2rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    margin: 0.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1.1rem;
  }

  .testimonials-section {
    padding: 3rem 0;
    margin: 2rem 0;
  }

  .testimonials-container {
    padding: 0 1rem;
  }

  .testimonials-intro {
    font-size: 1.1rem;
    margin: 0 auto 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .testimonial-author {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .author-info {
    text-align: center;
  }

  .testimonials-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .stat-item {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }
} 

/* ==========================================================================
   NAVIGATION STYLES
   ========================================================================== */

/* Navbar Container */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    height: var(--navbar-height, 70px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, var(--navbar-bg-opacity, 0.95));
    backdrop-filter: var(--navbar-blur, blur(10px));
    -webkit-backdrop-filter: var(--navbar-blur, blur(10px));
    border-bottom: var(--navbar-border, 1px solid rgba(0, 0, 0, 0.1));
    box-shadow: var(--navbar-shadow, 0 2px 20px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .brand-link,
.navbar.scrolled .nav-link {
    text-shadow: none;
}

.navbar.scrolled .nav-toggle {
    background: none;
}

.navbar.scrolled .hamburger-line {
    box-shadow: none;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height, 70px);
}

/* Brand/Logo */
.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    color: var(--primary-color, #0056b3);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.brand-link:hover {
    color: var(--accent-color, #00bfff);
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color, #0056b3) 0%, var(--accent-color, #00bfff) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Logo Support */
.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color, #0056b3) 0%, var(--accent-color, #00bfff) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color, #0056b3);
}

.nav-link:hover::before {
    width: 100%;
}

/* Active/Current Menu Item */
.nav-item.current-menu-item .nav-link,
.nav-item.current_page_item .nav-link {
    color: var(--primary-color, #0056b3);
}

.nav-item.current-menu-item .nav-link::before,
.nav-item.current_page_item .nav-link::before {
    width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0.5rem;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Dropdown Menus */
.nav-item.menu-item-has-children {
    position: relative;
}

.nav-item.menu-item-has-children > .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-item.menu-item-has-children:hover > .nav-link::after {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu .nav-link:hover {
    background: #f8f9fa;
    color: var(--primary-color, #0056b3);
}

.sub-menu .nav-link::before {
    display: none;
}

/* Navbar overlays header - no margin needed */
.site-header {
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        height: var(--navbar-height, 60px);
        padding: 0 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--navbar-height, 60px);
        left: 0;
        right: 0;
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        max-height: 100vh;
        padding: 1rem 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1rem;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    /* Mobile Dropdown */
    .nav-item.menu-item-has-children > .nav-link::after {
        float: right;
    }
    
    .sub-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        margin-left: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.menu-item-has-children.active .sub-menu {
        max-height: 300px;
    }
    
    .sub-menu .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .site-header {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .brand-link {
        font-size: 1.25rem;
    }
    
    .nav-container {
        padding: 0 10px;
    }
}

/* Smooth scroll offset for anchor links */
html {
    scroll-padding-top: calc(var(--navbar-height, 70px) + 20px);
}

/* Navigation accessibility improvements */
.nav-toggle:focus {
    outline: 2px solid var(--primary-color, #0056b3);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--primary-color, #0056b3);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--primary-color, #0056b3);
    color: white;
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
} 