:root {
    --dark: #0f0f12;
    --dark-2: #1a1a1f;
    --light: #ffffff;
    --gray: #cfcfcf;
    --gray-2: #9e9e9e;
    --accent: #1f3c88;
    --accent-soft: #e7ecff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  min-height: 100vh;
  background: var(--light);
  color: #111;
  line-height: 1.6;
  transition: background-color 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(180deg, rgba(18,18,18,0.55), rgba(27,27,27,0.55)), url('image/picture1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar .logo {
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: #222;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.nav-left {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
  margin: 0 16px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-links .contact {
  border: 1px solid var(--accent);
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  background: var(--accent);
  transition: all 0.2s ease;
  font-weight: 600;
}

.nav-links .contact:hover {
  background: #183b8f;
  box-shadow: 0 4px 12px rgba(31, 60, 136, 0.3);
  transform: translateY(-1px);
}

/* MAIN */
.container {
  width: min(95%, 1200px);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  padding: 0 20px;
}

/* CARD LAYOUT */
.card {
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 24px;
  display: block;
  color: var(--accent);
}

.details h3 {
  color: var(--gray-2);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.details h4 {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.875rem;
  font-weight: 700;
}

.details p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* BUTTON */
.service-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #2a4fa8 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(31, 60, 136, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 60, 136, 0.4);
  background: linear-gradient(135deg, #183b8f 0%, #1f3c88 100%);
}

/* FOOTER */
.footer {
  background: #0d2a57;
  color: #fff;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items: start;
  gap: 24px;
}

.footer-left {
  justify-self: start;
}

.footer-left h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.footer-left span {
  color: #f4c400;
}

.footer-left p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #cfd8ff;
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-self: center;
}

.footer-center a {
  margin: 0;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.footer-center a:hover {
  color: #f4c400;
}

.footer-right {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  justify-self: end;
  align-items: center;
}

.footer-right a {
  margin-left: 0;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-right a svg {
  width: 20px;
  height: 20px;
}

.footer-right a:hover {
  color: #f4c400;
  transform: scale(1.15);
}


/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

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

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

  .navbar {
    padding: 16px 20px;
  }

  .hamburger { display: flex; }
  .nav-left {
      position: fixed !important;
      top: 55px !important;
      left: 0;
      width: 100%;
      background: #fff;
      flex-direction: column;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      border-bottom: 1px solid #eee;
      padding: 0;
      margin-left: 0 !important;
      align-items: flex-start !important;
      gap: 0 !important;
      display: flex !important;
      z-index: 1000 !important;
  }
  .nav-left.active {
      max-height: 500px !important;
      padding: 15px 20px;
      display: flex !important;
  }
  .nav-links {
      flex-direction: column;
      gap: 0;
      width: 100%;
  }
  .nav-links a {
      padding: 8px 0;
      font-size: 14px;
  }
  .nav-links a.contact {
      margin-top: 8px;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }

  .card {
    padding: 32px 24px;
  }

  .service-icon {
    font-size: 3rem;
  }

  .details h4 {
    font-size: 1.5rem;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
  }

  .footer-right {
    justify-content: center;
  }
}

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

  .navbar .logo {
    font-size: 1.5rem;
  }

  .hamburger { display: flex; }
  .nav-left {
      position: fixed !important;
      top: 55px !important;
      left: 0;
      width: 100%;
      background: #fff;
      flex-direction: column;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      border-bottom: 1px solid #eee;
      padding: 0;
      margin-left: 0 !important;
      align-items: flex-start !important;
      gap: 0 !important;
      display: flex !important;
      z-index: 1000 !important;
  }
  .nav-left.active {
      max-height: 500px !important;
      padding: 15px 20px;
      display: flex !important;
  }
  .nav-links {
      flex-direction: column;
      gap: 0;
      width: 100%;
  }
  .nav-links a {
      padding: 8px 0;
      font-size: 14px;
  }
  .nav-links a.contact {
      margin-top: 8px;
  }

  .card {
    padding: 24px 20px;
  }

  .details h4 {
    font-size: 1.25rem;
  }

  .service-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
