/* Modern CSS Reset & Base */
:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #4ecdc4;
  --accent: #45b7d1;
  --success: #96ceb4;
  --warning: #feca57;
  --danger: #ff6b6b;
  
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.nav__toggle:hover {
  background: var(--gray-100);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav__list a {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}

.nav__list a:hover,
.nav__list a.is-active {
  color: var(--primary);
  background: var(--gray-50);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn--ghost:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero Slider */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero__slide.active {
  opacity: 1;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 2rem 0;
}

.hero__text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero__text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature__icon {
  font-size: 1.25rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn__icon {
  margin-right: 0.5rem;
}

.hero__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.hero__prev,
.hero__next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero__prev:hover,
.hero__next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero__dots {
  display: flex;
  gap: 0.5rem;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__dot.active,
.hero__dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

.hero__trustmarks {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 1.5rem;
  z-index: 3;
  flex-wrap: wrap;
}

.trustmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  color: var(--gray-800);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.trustmark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.trustmark__icon {
  font-size: 1.5rem;
}

.trustmark__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trustmark__text strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.trustmark__text span {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.section__head {
  text-align: center;
  margin-bottom: 3rem;
}

.section__head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section__head p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about__card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.about__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.about__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.about__card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.about__card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.about__card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Stats Section */
.section--stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat {
  padding: 2rem 1rem;
}

.stat__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: block;
}

.stat__label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 600;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service:hover::before {
  transform: scaleX(1);
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.service p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service__features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.service__features li {
  padding: 0.25rem 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.service__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Testimonials */
.section--testimonials {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial__content {
  margin-bottom: 1.5rem;
}

.testimonial__content p {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 1.1rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author__avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.author__info h4 {
  margin: 0;
  color: var(--gray-900);
  font-weight: 600;
}

.author__info span {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.testimonial__rating {
  margin-left: auto;
  font-size: 1.1rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  cursor: pointer;
  background: var(--white);
}

.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery__item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__overlay span {
  font-weight: 600;
  font-size: 1rem;
}

/* Blog */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post__body {
  padding: 1.5rem;
}

.post__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post__body p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.post__link {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

.post__link:hover {
  color: var(--primary-dark);
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form__row {
  margin-bottom: 1.5rem;
}

.form__row label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form__row input,
.form__row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--white);
}

.form__row input:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact__info {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hotline {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-decoration: none;
}

.contact__info p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.map__embed {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map__embed iframe {
  width: 100%;
  height: 200px;
  border: none;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 2rem 0;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-800);
  color: var(--gray-300);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }
  
  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    display: none;
  }
  
  .nav__list.is-open {
    display: flex;
  }
  
  .hero__content {
    text-align: center;
  }
  
  .hero__cta {
    justify-content: center;
  }
  
  .hero__trustmarks {
    position: static;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
}