/* ===== ROOT & GLOBAL ===== */
:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #0f172a;
  --accent: #059669;
  --light: #f8fafc;
  --lighter: #f1f5f9;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-light: #475569;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ===== HEADER/NAVIGATION ===== */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.7rem 0;
}

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

.logo-wrapper {
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  max-height: 50px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-text .brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.logo-text .brand-tagline {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: capitalize;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.logo {
  flex-shrink: 0;
}

.logo h1 {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.tagline-small {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin: 0.2rem 0 0 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.nav-menu a i {
  font-size: 1rem;
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

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

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--lighter);
  border-color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e3a8a 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-reverse 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

/* ===== SERVICES SECTION ===== */
.services {
  padding: 6rem 0;
  background: #ffffff;
}

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

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(29, 78, 216, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ===== WHY US SECTION ===== */
.why-us {
  padding: 6rem 0;
  background: var(--light);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-us-content h2 {
  color: var(--secondary);
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

.benefits-list strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.3rem;
}

.benefits-list p {
  margin: 0;
  font-size: 0.95rem;
}

.why-us-stats {
  display: grid;
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
  color: var(--primary);
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.stat-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 6rem 0;
  background: white;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.mission-box {
  background: linear-gradient(135deg, var(--light) 0%, var(--lighter) 100%);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.mission-box h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(29, 78, 216, 0.1);
}

.value-card h4 {
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== APPROACH SECTION ===== */
.approach {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #1e3a8a 100%);
  color: white;
}

.approach .section-label {
  color: var(--primary-light);
}

.approach .section-header h2,
.approach .section-header p {
  color: white;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.step:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-light);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.step h3 {
  color: white;
  margin-bottom: 1rem;
}

.step p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ===== CTA VISIT SECTION ===== */
.cta-visit {
  padding: 4rem 0;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.cta-visit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 40px rgba(31, 41, 55, 0.08);
}

.cta-visit-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.cta-visit-card a {
  color: var(--primary);
  font-weight: 700;
}

.cta-visit-card a:hover {
  color: var(--primary-dark);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 6rem 0;
  background: var(--light);
}

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

.contact-info h2 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

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

.contact-details {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.detail-item h4 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.detail-item p {
  margin: 0;
  font-size: 0.95rem;
}

.detail-item a {
  color: var(--primary);
  font-weight: 600;
}

.detail-item a:hover {
  color: var(--primary-dark);
}

.consultation-note {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.consultation-note p {
  margin-bottom: 0.8rem;
}

.consultation-note p:last-child {
  margin: 0;
}

/* ===== FORM ===== */
.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-form > p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  color: white;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-logo {
  max-width: 130px;
  margin-bottom: 1rem;
  display: block;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-col p:last-child {
  margin: 0;
}

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

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner {
    gap: 1rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover {
    background: var(--light);
    padding-left: 1.5rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .logo-image {
    max-height: 50px;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .services {
    padding: 3rem 0;
  }

  .why-us-grid,
  .mission-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }

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

  .why-us-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }

  .logo-image {
    max-height: 40px;
  }

  .header {
    padding: 0.8rem 0;
  }

  .header-inner {
    gap: 1rem;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .nav-menu a i {
    font-size: 0.9rem;
  }

  .logo h1 {
    font-size: 1.15rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .services,
  .why-us,
  .about,
  .approach,
  .contact {
    padding: 2.5rem 0;
  }

  .why-us-stats {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 1.75rem;
  }

  .service-card,
  .mission-box,
  .contact-form {
    padding: 1.5rem;
  }

  .contact-form h3 {
    font-size: 1.25rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .step {
    padding: 1.5rem;
  }

  .step-number {
    font-size: 2rem;
  }
}
