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

:root {
  --primary: #3B7DD8;
  --primary-dark: #2C5FA8;
  --primary-light: #E8F0FE;
  --dark: #1a1a2e;
  --gray-900: #2d2d44;
  --gray-700: #4a4a68;
  --gray-500: #7a7a96;
  --gray-300: #b8b8cc;
  --gray-100: #f0f0f5;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 48px;
  font-weight: 300;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  border-radius: 6px;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-light {
  background: var(--primary-light);
  color: var(--gray-700);
  border-color: var(--primary-light);
}
.btn-light:hover {
  background: #d4e4fc;
  border-color: #d4e4fc;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  border-radius: 10px;
  height: 44px;
  width: auto;
}

.nav.scrolled .logo-img {
  border-radius: 10px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav.scrolled .nav-links a {
  color: var(--gray-700);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.nav.scrolled .nav-toggle span {
  background: var(--dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Expertise ===== */
.expertise {
  padding: 100px 0 80px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.expertise-img {
  overflow: hidden;
  margin-bottom: 24px;
  height: 280px;
}

.expertise-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.expertise-card:hover .expertise-img img {
  transform: scale(1.03);
}

.expertise-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 16px;
}

.expertise-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Services ===== */
.services {
  padding: 100px 0;
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== Issues ===== */
.issues {
  padding: 100px 0;
}

.issues-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.issue-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.issue-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(59, 125, 216, 0.08);
}

.issue-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  color: var(--primary);
  margin-top: 2px;
}

.issue-check svg {
  width: 100%;
  height: 100%;
}

.issue-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.issue-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ===== Clients ===== */
.clients {
  padding: 100px 0;
  background: var(--gray-100);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.client-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.client-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin: 0 auto 16px;
}

.client-icon svg {
  width: 100%;
  height: 100%;
}

.client-card h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  text-align: center;
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  font-weight: 300;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-person h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-role {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  border-color: var(--primary-light);
  background: var(--primary-light);
}

.contact-method-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  min-width: 24px;
}

.contact-method-icon svg {
  width: 100%;
  height: 100%;
}

.contact-method-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-method-value {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border: 1px solid #e0e0e8;
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

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

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7a96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 300px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    align-items: center;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--dark) !important;
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    width: auto;
    display: inline-block;
  }

  .nav-toggle {
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .section-title {
    font-size: 1.75rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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