/* =========================
   ROOT
========================= */
:root {
  --black: #000;
  --white: #fff;
  --accent: #fe8d14;

  --border: rgba(255, 255, 255, 0.1);
  --muted: rgba(255, 255, 255, 0.72);

  --radius: 5px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 50px;
}
html,
body {
  overflow-x: hidden;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

/* =========================
     GLOBAL
  ========================= */
img {
  width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

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

.section-tag {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

/* =========================
     BUTTONS
  ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;

  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: clamp(0.7rem, 1.2vw, 0.9rem) clamp(1rem, 2vw, 1.6rem);
  transition: var(--transition);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--accent);
  background: var(--black);
  border: 1px solid var(--accent) !important;
  padding: 7px 1.2rem !important;
}

.btn-secondary:hover {
  background: rgba(243, 119, 4, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 136, 41, 0.221);
}

.project-btn {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.413);
}

/* =========================
     HEADER
  ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;
  z-index: 1000;

  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.5);

  border-bottom: 1px solid var(--border);
}

.navbar {
  height: 80px;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: white;
}

.navlogo {
  width: clamp(40px, 3.5vw, 60px);
  height: auto;
  border-radius: 50%;
}

.brand-name {
  font-weight: 800;
  font-size: clamp(20px, 4vw, 18px);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
}

.nav-links {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  background: #222;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 100px 1.5rem 5%;
  gap: 3rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition), transform 0.3s ease-in;
  transform: translateX(100%);
}
.btn .btn-secondary {
  margin: 0 auto !important;
}

.nav-links.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-links.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-links a {
  color: var(--muted);
  transition: var(--transition);
  margin-left: 1rem;
  padding: 0.6rem 1.3rem;
  border-bottom: 1px solid #fe8d1482;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.burger {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s ease;
  z-index: 999;
}

/* BURGER ANIMATION */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* =========================
   HERO BASE (CLEAN SAAS)
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 1rem 60px;
  background: #000;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-text {
  max-width: 600px;
  margin-inline: auto;
}

/* TAG */
.hero-tag {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* typing animation */
.hero-tag.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  opacity: 0;
  animation: smoothType 5s ease-in-out infinite;
}

@keyframes smoothType {
  0% {
    width: 0;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    width: 100%;
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}

/* TITLE */
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin: 1rem 0;
}

/* DESCRIPTION */
.hero-description {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: justify;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.2rem);
}

.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* =========================
   DESKTOP SPLIT
========================= */

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1.35fr 0.9fr;
    text-align: left;
  }

  .hero-text {
    margin-inline: 0;
    text-align: left;
  }

  .hero-description {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-image {
    justify-content: flex-end;
  }
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 767px) {
  .hero {
    padding: 90px 1rem 50px;
  }

  .hero-image img {
    max-width: 320px;
  }
}
/* =========================
   ANIMATIONS (lightweight)
========================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
/* =========================
   ANIMATION ENHANCEMENT
========================= */

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
/* =========================
    Premium Sliding Section
  ========================= */

.slider-section {
  padding: 25px 0;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(300px * 12);
  animation: scroll 60s linear infinite;
  gap: 1rem;
}

.slide {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.5px;
  padding: 1rem;

  box-shadow: 0 3px 30px rgba(255, 166, 0, 0.142);
}

.slide i {
  font-size: 20px;
  color: var(--accent);
}

/* Smooth infinite animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.slide-track:hover {
  animation-play-state: paused;
}
/* =========================
     SERVICES
  ========================= */
.services {
  padding: 60px 0.75rem;
  background: var(--secondary);
  text-align: center;
}

/* TITLES */
.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #111;
}

.section-subtitle {
  color: #666;
  margin-bottom: 50px;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
  padding: 1rem;
}

/* CARD BASE */
.service-card {
  background: #111;
  border-radius: var(--radius);

  padding: 1.5rem;

  width: 100%;
  max-width: 100%;
  margin: 0;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  transition: all 0.35s ease;

  position: relative;
  overflow: visible;

  display: flex;
  flex-direction: column;

  min-height: 100%;
}

/* HOVER EFFECT */
.service-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 🔥 FEATURED CARD */
.service-card.featured {
  border: 1px solid var(--accent);

  box-shadow: 0 0 25px rgba(255, 122, 0, 0.15);

  transform: none;

  transition: all 0.35s ease;
}

/* FEATURED HOVER */
.service-card.featured:hover {
  transform: translateY(-6px);

  box-shadow: 0 10px 30px rgba(233, 147, 67, 0.25);
}

/* BADGE */
.service-card.featured::before {
  content: "Launch Sale";

  position: absolute;

  top: -12px;
  left: 50%;

  transform: translateX(-50%);

  background: var(--accent);
  color: var(--black);

  font-size: 14px;

  padding: 4px 10px;

  border-radius: var(--radius);

  font-weight: 500;

  box-shadow: 0 4px 12px rgba(214, 170, 75, 0.078);

  animation: badgePulse 2.5s infinite;
}

/* BADGE ANIMATION */
@keyframes badgePulse {
  0% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.05);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* OLD PRICE */
.old-price {
  text-decoration: line-through;
  color: var(--muted);
  margin-left: 8px;
  font-size: 18px;
}

/* TEXT */
.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.desc {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

/* LIST */
.service-card ul {
  text-align: left;
  padding-left: 18px;
  margin: 20px 0;
}

.service-card li {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* PRICE */
.price {
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 700;
  color: var(--muted);
}

/* DELIVERY */
.delivery {
  font-size: 12px;
  color: var(--muted);
}

/* ADDONS */
.service-card.addons {
  border-left: 2px solid var(--accent);
}

/* ADDONS TEXT */
.service-card.addons p {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
}

/* CTA */
.cta-text {
  margin-top: 40px;
  color: #555;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .services {
    padding: 90px 40px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    padding: 0;
  }

  .service-card {
    padding: 30px;
  }

  .service-card.featured {
    transform: scale(1.03);
  }

  .service-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
  }
}
/* =========================
     PROJECTS
  ========================= */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  background: #222;
  border: 1px solid var(--border);

  border-radius: var(--radius);

  overflow: hidden;

  transition: var(--transition);

  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  height: 220px;
  padding: 10px 10px 0;
}
.project-image img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;

  display: flex;
  flex-direction: column;

  flex: 1;
}

.project-content h3 {
  margin-bottom: 1rem;
}

.project-content p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.project-content .btn {
  margin-top: auto;
}

.work-together {
  display: flex;
  justify-content: center;
}

/* =========================
    HOW IT WORKS
  ========================= */

/* SECTION */
.how-it-works {
  padding: 50px 16px;
}

/* SCOPED CONTAINER (IMPORTANT FIX) */
.how-it-works-container {
  max-width: 1000px;
  margin: auto;
}

/* TITLES (SCOPED) */
.how-it-works-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.how-it-works-subtitle {
  text-align: center;
  color: #b5b5b5;
  margin-bottom: 35px;
  font-size: 0.95rem;
}

/* TIMELINE */
.how-it-works-timeline {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  margin-bottom: 50px;
}

.timeline-item {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-icon {
  min-width: 40px;
  height: 40px;
  background: #171717;
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.timeline-content h3 {
  margin: 0;
  font-size: 1rem;
}

.timeline-content p {
  margin: 4px 0 0;
  color: #b5b5b5;
  font-size: 0.9rem;
}
/* =========================
   FAQ (FIXED + CLEAN)
========================= */

.faq-item {
  background: #171717;
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border 0.3s ease;
  font-family: sans-serif;
}

.faq-item.active {
  border: 1px solid var(--accent);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  padding: 14px;

  font-size: 0.95rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;
  text-align: left;
  line-height: 1.6;
}

.faq-toggle {
  color: var(--accent);
  font-size: 1.2rem;
  display: inline-block;
  flex-shrink: 0;

  transition: transform var(--transition);
  transform-origin: center;
}

/* rotate arrow */
.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 0 14px;

  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;

  transition: max-height 0.35s ease, padding 0.3s ease;
}
/* DESKTOP */
@media (min-width: 768px) {
  .how-it-works {
    padding: 80px 20px;
  }

  .how-it-works-title {
    font-size: 2.3rem;
  }

  .how-it-works-subtitle {
    font-size: 1rem;
  }

  .how-it-works-timeline {
    padding-left: 30px;
  }

  .timeline-icon {
    min-width: 45px;
    height: 45px;
  }

  .faq-question {
    padding: 18px;
  }
}
/* ===== CONTACT SECTION ===== */

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-form,
.info-card {
  background: #111;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea {
  width: 100%;

  background: #fafafa;
  color: #111;

  border: 1px solid rgba(255, 166, 0, 0.155);

  border-radius: var(--radius);

  padding: 1rem;

  outline: none;

  transition: var(--transition);
}

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

.responseMsg {
  display: block;
  text-align: center;
  margin-top: 1rem;
}
/*-------contact details---------*/
.info-card h3 {
  margin-bottom: 2rem;
  text-align: center;
}
.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  margin-bottom: 1rem;
}

.info-card li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-card li i {
  color: var(--accent);
  font-size: 1rem;
  transition: 0.3s ease;
}

.info-card li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.info-card li a:hover i {
  transform: scale(1.1);
}
/* =========================
     FOOTER
  ========================= */
.footer {
  background: #222;
  border-radius: 20px;
  color: #fff;
  padding: 1rem 1rem 0px;
  margin-top: 80px;
  margin: 0 1rem;
}

/* layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* BRAND */
.footer-brand h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #aaa;
  max-width: 320px;
  line-height: 1.6;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #aaa;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* CONTACT */
.footer-contact p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #aaa;
  margin-bottom: 15px;
}

.footer-btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255, 166, 0, 0.354);
  color: var(--black);
  text-decoration: none;
  background: var(--accent);
  border-radius: var(--radius);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  transition: transform 0.3s ease;
}

.footer-btn:hover {
  transform: translateY(-2px);
  opacity: 0.8;
  color: #0f0f0f;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 166, 0, 0.336);
  color: #fefefe93;
  font-size: clamp(0.75rem, 1vw, 0.85rem);
}
@media (max-width: 768px) {
  .calendly-overlay {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .calendly-overlay iframe {
    margin: 0 1rem;
    position: relative !important;
    width: calc(100% - 2rem) !important;
    max-width: 600px !important;
    height: 90vh !important;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}
/* =========================
     DESKTOP
  ========================= */

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    position: static;
    width: auto;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    margin-left: 0;
    padding: 0;
    border-bottom: none;
  }

  .burger {
    display: none;
  }

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

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-form {
    max-width: 600px;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    padding: 0 2rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    text-align: left;
  }
}

/* ================= ANIMATIONS ================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.6s ease;
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ================= BACK TO TOP ================= */

.back-top-wrapper {
  position: fixed;
  bottom: 65px;
  left: 15px;

  display: flex;
  align-items: center;
  gap: 10px;
}

.back-top-text {
  color: white;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
}

#back-to-top {
  position: fixed;
  bottom: 15px;
  left: 15px;
  width: clamp(38px, 5vw, 48px);
  height: clamp(38px, 5vw, 48px);
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(249, 244, 238, 0.15);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease,
    box-shadow 0.2s ease;
  pointer-events: none;
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#back-to-top:hover {
  background: #fefefe;
  box-shadow: 0 6px 28px rgba(249, 244, 238, 0.25);
  transform: translateY(-2px) scale(1.05);
}

#back-to-top:active {
  transform: scale(0.96);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.2s ease;
}

#back-to-top:hover svg {
  transform: translateY(-2px);
}
