/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #F7F7F7;
  color: #1B1B1B;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}


/* =========================
   COLOR VARIABLES
========================= */

:root {
  --blue: #1E4F8A;
  --pink: #FF00B8;
  --yellow: #FFD500;
  --white: #F7F7F7;
  --dark: #1B1B1B;
  --gray: #666666;
}


/* =========================
   TOP ACCENT
========================= */

.top-accent {
  display: flex;
  width: 100%;
  height: 8px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
}

.accent-pink {
  width: 75%;
  background: var(--pink);
}

.accent-yellow {
  width: 25%;
  background: var(--yellow);
}


/* =========================
   NAVBAR
========================= */

.navbar {
  width: 100%;
  position: fixed;
  top: 8px;
  left: 0;
  z-index: 1000;

  background: rgba(247,247,247,0.96);
  backdrop-filter: blur(10px);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 70px;

  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo img {
  height: 90px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
  z-index: 2;
}

.nav-menu a:hover {
  color: var(--pink);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: var(--yellow);
  transition: 0.3s;
  z-index: 2;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-button {
  background: var(--blue);
  color: white !important;

  padding: 12px 22px;
  border-radius: 6px;
}

.nav-button:hover {
  background: var(--pink);
}

.nav-button::after {
  display: none;
}


/* =========================
   DROPDOWN
========================= */

.dropdown {
  position: relative;
  padding-bottom: relative;
}

.dropdown-content::before {
  content: '';

  position: absolute;

  top: -15px;
  left: 0;

  width: 100%;
  height: 15px;
}

.dropdown-content {

  position: absolute;

  top: calc(100% - 0px);
  left: 0;

  min-width: 180px;

  background: white;

  border-radius: 8px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  overflow: hidden;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: all 0.3s ease;

  z-index: 999;

  z-index: 1;
}

.dropdown-content a {

  position: relative;

  padding: 14px 18px;

  color: var(--blue);

  font-size: 14px;

  background: white;

  transition: 0.3s;
}

.dropdown-content a::after {

  content: '';

  position: absolute;

  left: 18px;
  bottom: 8px;

  width: 0%;

  height: 2px;

  background: var(--yellow);

  transition: 0.3s;
}

.dropdown-content a:hover {

  background: #f5f5f5;

  color: var(--pink);
}

.dropdown-content a:hover::after {

  width: 35%;
}

.dropdown:hover .dropdown-content {

  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}


/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
  display: none;
  font-size: 28px;
  color: var(--blue);
  cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  display: grid;
  grid-template-columns: 1.2fr 1fr;

  align-items: center;

  padding: 170px 70px 100px;

  position: relative;
}

.hero::before {
  content: '';

  position: absolute;

  top: 120px;
  right: -150px;

  width: 400px;
  height: 400px;

  border-radius: 50%;

  background: rgba(255, 213, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  color: var(--pink);

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 3px;

  margin-bottom: 25px;
}

.hero h1 {
  font-size: 82px;
  line-height: 1;

  color: var(--blue);

  margin-bottom: 30px;
}

.hero-description {
  max-width: 600px;

  color: var(--gray);

  line-height: 1.9;
  font-size: 17px;

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 15px 28px;
  border-radius: 6px;

  font-weight: 700;
  transition: 0.3s;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: var(--pink);
}

.btn-secondary {
  border: 2px solid var(--yellow);
  color: var(--blue);
}

.btn-secondary:hover {
  background: var(--yellow);
}

.hero-visual {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  overflow: hidden;
  background: white;

  border-radius: 18px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--blue);
  font-weight: 800;
  letter-spacing: 2px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card::before {
  content: '';

  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.15);

  z-index: 1;
}

.visual-card img {
  position: relative;
  z-index: 0;
}

.main-card {
  width: 420px;
  height: 420px;

  border-top: 6px solid var(--pink);
}

.secondary-card {
  position: absolute;

  width: 200px;
  height: 200px;

  right: -40px;
  bottom: -40px;

  border-top: 6px solid var(--yellow);
}


/* =========================
   STATS
========================= */

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

  padding: 0 70px 100px;
}

.stat-box {
  background: white;

  padding: 40px 30px;

  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  border-top: 5px solid var(--yellow);
}

.stat-box h2 {
  color: var(--blue);

  font-size: 42px;

  margin-bottom: 10px;
}

.stat-box p {
  color: var(--gray);
}


/* =========================
   GLOBAL SECTION
========================= */

.section {
  padding: 120px 70px;
}

.section-title {
  margin-bottom: 60px;
}

.section-title.center {
  text-align: center;
}

.section-title p {
  color: var(--pink);

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 15px;
}

.section-title h2 {
  color: var(--blue);

  font-size: 52px;
  line-height: 1.2;

  max-width: 700px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 60px;
}

.about-text p {
  color: var(--gray);

  line-height: 2;
  margin-bottom: 25px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.point-card {
  background: white;

  padding: 30px;

  border-radius: 16px;

  border-left: 5px solid var(--pink);

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.point-card span {
  color: var(--yellow);

  font-size: 30px;
  font-weight: 800;
}

.point-card h3 {
  color: var(--blue);

  margin: 12px 0;
}

.point-card p {
  color: var(--gray);
}


/* =========================
   SERVICES
========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.service-card {
  background: white;

  padding: 35px;

  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);

  border-top: 5px solid var(--yellow);
}

.service-card h3 {
  color: var(--blue);

  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);

  line-height: 1.8;
}


/* =========================
   PROJECTS
========================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.project-card {
  background: white;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;

  background: linear-gradient(
    135deg,
    var(--blue),
    #3f6ea7
  );
}

.project-content {
  padding: 30px;
}

.project-content h3 {
  color: var(--blue);

  margin-bottom: 10px;
}

.project-content p {
  color: var(--gray);
}


/* =========================
   WORKFLOW
========================= */

.workflow-section {
  padding: 120px 70px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.workflow-card {
  background: white;

  padding: 50px 30px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.workflow-card span {
  color: var(--yellow);

  font-size: 42px;
  font-weight: 800;
}

.workflow-card h3 {
  color: var(--blue);

  margin-top: 18px;
}


/* =========================
   CTA
========================= */

.cta-section {
  margin: 120px 70px;

  background: var(--blue);

  border-radius: 24px;

  padding: 90px 60px;

  text-align: center;

  position: relative;

  overflow: hidden;
}

.cta-section::before {
  content: '';

  position: absolute;

  width: 300px;
  height: 300px;

  border-radius: 50%;

  background: rgba(255,255,255,0.08);

  top: -100px;
  right: -100px;
}

.cta-section h2 {
  color: white;

  font-size: 48px;

  margin-bottom: 35px;

  position: relative;
  z-index: 2;
}

.cta-section .btn-primary {
  background: var(--yellow);
  color: var(--blue);
}


/* =========================
   CONTACT
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.contact-card {
  background: white;

  padding: 35px;

  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  border-top: 5px solid var(--pink);
}

.contact-card h3 {
  color: var(--blue);

  margin-bottom: 15px;
}

.contact-card p {
  color: var(--gray);
}


/* =========================
   FOOTER
========================= */

.footer {
  background: white;

  padding: 80px 70px 30px;

  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 40px;
}

.footer h3,
.footer h4 {
  color: var(--blue);

  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: var(--gray);

  margin-bottom: 12px;

  display: block;
}

.footer a:hover {
  color: var(--pink);
}

.footer-bottom {
  margin-top: 50px;

  padding-top: 20px;

  border-top: 1px solid rgba(0,0,0,0.06);

  text-align: center;
}


/* =========================
   FLOATING WA
========================= */

.floating-wa {

  position: fixed;

  right: 25px;
  bottom: 25px;

  z-index: 999;

  transition: 0.3s;
}

.floating-wa img {

  width: 75px;
  height: 75px;

  transition: 0.3s;
}

.floating-wa:hover img {

  transform: scale(1.12);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

  .hero,
  .about-grid,
  .services-grid,
  .projects-grid,
  .workflow-grid,
  .contact-grid,
  .stats-section,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 60px;
  }

  .hero h1 {
    font-size: 62px;
  }

}


@media (max-width: 768px) {

  .navbar {
    padding: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background: white;

    flex-direction: column;

    padding: 30px;

    display: none;

    align-items: flex-start;
  }

  .nav-menu.active {
    display: flex;
  }

  .dropdown-content {

  position: absolute;

  top: 100%;
  left: 0;

  min-width: 150px;

  background: white;

  border-radius: 10px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  overflow: hidden;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition: all 0.3s ease;

  z-index: 999;
}

.dropdown-content a {

  position: relative;

  padding: 8px 12px;

  color: var(--blue);

  font-size: 14px;

  background: white;

  transition: 0.3s;
}

.dropdown-content a::after {

  content: '';

  position: absolute;

  left: 18px;
  bottom: 8px;

  width: 0%;

  height: 2px;

  background: var(--yellow);

  transition: 0.3s;
}

  .hero,
  .about-grid,
  .services-grid,
  .projects-grid,
  .workflow-grid,
  .contact-grid,
  .stats-section,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 150px 20px 80px;
  }

  .section,
  .workflow-section {
    padding: 100px 20px;
  }

  .stats-section {
    padding: 0 20px 100px;
  }

  .footer {
    padding: 80px 20px 30px;
  }

  .cta-section {
    margin: 100px 20px;

    padding: 70px 25px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section-title h2,
  .cta-section h2 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .main-card {
    width: 100%;
    height: 300px;
  }

  .secondary-card {
    width: 140px;
    height: 140px;

    right: 0;
    bottom: -20px;
  }

}