/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1a1a2e;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: #0f172a;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: #334155;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ===== HEADER ===== */
header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  position: relative;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.logo span {
  color: #1e40af;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #1e40af;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 7rem 0 6rem;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  background: #1e40af;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #1e3a8a;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== CARDS / SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-card h3 {
  color: #1e40af;
}

/* ===== ABOUT ===== */
.about-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.contact-info strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.contact-form {
  background: white;
  padding: 2.25rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #334155;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e40af;
}

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

/* ===== FOOTER ===== */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.footer-links a {
  color: #94a3b8;
  margin-left: 1.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #1e40af;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  text-decoration: none;
}

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

.back-to-top:hover {
  background: #1e3a8a;
  transform: translateY(-3px);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #ffffff;
  padding: 5.5rem 0;
}

.testimonial-slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2.75rem 2.5rem;
  text-align: center;
}

.testimonial-card .quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #1e293b;
  margin-bottom: 2rem;
  font-style: italic;
}

.client-info strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.client-info span {
  font-size: 0.9rem;
  color: #64748b;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 1px solid #e2e8f0;
  color: #1e40af;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.slider-btn:hover {
  background: #1e40af;
  color: white;
  border-color: #1e40af;
}

.slider-btn.prev {
  left: -10px;
}

.slider-btn.next {
  right: -10px;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dots button.active {
  background: #1e40af;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }

  .hamburger {
    display: flex;
  }

  nav ul {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  nav ul.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  nav ul li {
    text-align: center;
  }

  nav ul a {
    display: block;
    padding: 0.9rem 1.5rem;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
    display: inline-block;
  }

  .slider-btn.prev {
    left: 0;
  }
  .slider-btn.next {
    right: 0;
  }
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}
