html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

:root {
  --primary: #1447e6;
  --primary-dark: #0f35b0;
  --primary-light: #eff3ff;
  --accent: #059669;
  --accent-light: #ecfdf5;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
}

body {
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
a {
  text-decoration: none;
  color: inherit;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 64px;
  backdrop-filter: blur(10px);
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  margin-left: 15px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s;
}
.nav-btn:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
}

/*---------------------------------HERO--------------------------------------------------------- */
#hero {
  position: relative;
  overflow: hidden;
}
.hero-slides {
    height: 500px;
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  padding: 80px 5%;
  gap: 60px;
  min-height: 500px;
  position: relative;
}
.hero-image {
  position: relative;
  animation: floatHero 4s ease-in-out infinite;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
}
@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hs-1 {
  background: linear-gradient(135deg, #eff3ff 0%, #dbeafe 100%);
  position: relative;
}
.hs-1::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #3b82f6;
  filter: blur(120px);
  opacity: 0.2;
  right: 0;
  bottom: 0;
}
.hs-2 {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  position: relative;
}
.hs-2::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #10b981;
  filter: blur(120px);
  opacity: 0.2;
  right: 0;
  bottom: 0;
}
.hs-3 {
  background: linear-gradient(135deg, #fff7ed, #fde68a);
  position: relative;
}
.hs-3::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #facc15;
  filter: blur(120px);
  opacity: 0.25;
  right: 0;
  bottom: 0;
}
.hs-4 {
  background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
  position: relative;
}
.hs-4::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: #a855f7;
  filter: blur(120px);
  opacity: 0.2;
  right: 0;
  bottom: 0;
}

.hero-text {
  flex: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.tag-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-text h1 {
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.13;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-text h1 em {
  color: var(--primary);
  font-style: normal;
}
.hero-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 460px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-fill {
  background: var(--primary);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-fill:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.h-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(20, 71, 230, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.h-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ----------------------------------------------- WHY SECTION (slider) ---------------------------------------- */
.why-section {
  padding: 60px 15%;
  background: var(--white);
}
.why-section h2 {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.why-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}
.why-slides {
  display: flex;
  transition: transform 0.5s ease;
}
.why-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.why-slide:hover {
  transform: translateY(-5px);
}
.why-slide::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background: #10b981;
  filter: blur(100px);
  opacity: 0.15;
  right: -50px;
  bottom: -50px;
}
.ws-1 {
  background: linear-gradient(135deg, #eff3ff, #dbeafe);
}
.ws-2 {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}
.ws-3 {
  background: linear-gradient(135deg, #fff7ed, #fde68a);
}
.ws-4 {
  background: linear-gradient(135deg, #fdf4ff, #fae8ff);
}

.why-icon {
  width: 140px;
  height: 140px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
}
.why-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: floatWhy 5s ease-in-out infinite;
}

@keyframes floatWhy {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.why-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}
.why-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.w-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.w-dot.active {
  background: var(--primary);
  width: 26px;
  height: 8px;
  border-radius: 10px;
}

/* ----------------------------------------- SERVICES --------------------------------------------------*/
#services {
  padding: 72px 5%;
  background: var(--bg);
}

.sec-header {
  text-align: center;
  margin-bottom: 44px;
}
.sec-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.sec-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.sec-header p {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

.srv-wrap {
  overflow: hidden;
}
.srv-track {
  display: flex;

  transition: transform 0.5s ease;
}
.srv-item {
  flex: 0 0 calc(100% / 3);
  padding: 8px;
  flex-shrink: 0;
}

.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.srv-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px) scale(1.01);
}
.srv-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.08);

  font-size: 24px;
  color: #2563eb;

  transition: 0.3s;
}

.srv-card:hover .srv-icon {
  transform: scale(1.1);
  background: rgba(37, 99, 235, 0.15);
}

.srv-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.srv-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

.srv-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.s-arr {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text);
}
.s-arr:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.s-dots {
  display: flex;
  gap: 7px;
}
.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.s-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* ---------------------------------- ABOUT------------------------------------------------- */
#about {
  padding: 72px 5%;
  display: flex;
  align-items: stretch;
  gap: 64px;
  background: var(--white);
}

.about-left {
  flex: 1;
}
.about-left h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.about-left p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.chk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ----------------------------------------- FAQ --------------------------------------------- */
#faq {
  padding: 72px 5%;
  background: var(--bg);
}
#faq h2 {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
}

.faq-list {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 950px;
  margin: 0 auto 10px;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.faq-q:hover {
  background: var(--bg);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  font-weight: 400;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-ans {
  max-height: 220px;
}
.faq-body {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ──---------------------------- FOOTER ------------------------------------------------── */
footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: rgba(255,255,255,0.7);
  padding: 52px 5% 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.f-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 250px;
}
.f-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 14px;
}
.f-col ul {
  list-style: none;
}
.f-col li {
  margin-bottom: 9px;
}
.f-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.f-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.f-badges {
  display: flex;
  gap: 8px;
}
.f-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  #about {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .nav-links {
    display: none;
  }
  .hero-slide {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 48px 5%;
    gap: 24px;
  }
  .hero-btns {
    justify-content: center;
  }
  .why-slide {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }
  .why-icon {
    font-size: 48px;
  }
  .srv-item {
    min-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-image img {
    display: none;
  }
  .footer-logo img {
    height: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .faq-contact {
    padding: 24px 20px;
  }
  .fc-row {
    grid-template-columns: 1fr;
  }
}

/* ── CONTACT FORM ── */
.faq-contact {
  max-width: 600px;
  width: 100%;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 50px;
}
.faq-contact h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.faq-contact > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.fc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.fc-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.fc-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.fc-group input,
.fc-group select,
.fc-group textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.fc-group input:focus,
.fc-group select:focus,
.fc-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.fc-group textarea {
  resize: vertical;
  min-height: 96px;
}
.fc-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: background 0.2s;
  margin-top: 4px;
}
.fc-submit:hover {
  background: var(--primary-dark);
}

/* ---------------------------------Login Page CSS----------------------------------------- */

.login-page {
  display: flex;
  height: 100vh;
  width: 100%;
}
.login-left {
  flex: 1;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: #fff;
  padding: 40px 36px;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.login-logo {
  width: 140px;
  margin-bottom: 16px;
}

.login-card h2 {
  font-size: 22px;
  margin-bottom: 20px;
}
.input-group {
  text-align: left;
  margin-bottom: 16px;
}

.input-group label {
  font-size: 13px;
  font-weight: 600;
}

.input-group input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 6px;
  font-size: 14px;
}
.login-links {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 16px;
}

.login-links a {
  color: #2563eb;
  text-decoration: none;
}
.btn-primary {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
}

.btn-outline {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #2563eb;
  color: #2563eb;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.login-right {
  flex: 1;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-right img {
  width: 100%;
  animation: floatlogin 5s ease-in-out infinite;
}

@keyframes floatlogin {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .login-page {
    flex-direction: column;
  }

  .login-right {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-image {
    right: 10px;
  }

  .hero-image img {
    max-width: 450px;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 10px;

    background: #ffffff;
    flex-direction: column;
    width: 220px;
    padding: 14px;
    gap: 10px;

    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }

  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    transition: 0.2s;
  }

  .nav-links a:hover {
    background: #f1f5f9;
  }
  .nav-links .nav-btn {
    width: 100%;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-weight: 600;
  }

  .nav-links .nav-btn + .nav-btn {
    margin-top: 4px;
  }
}
