/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

/* ===== NAV ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  color: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: #fff;
  color: #000;
  font-family: "Montserrat";
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.logo-text-main {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
}

/* ============================
   MOBILE NAV
============================ */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* MOBILE: up to 900px */
@media (max-width: 900px) {

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #020617;
    display: none;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a {
    color: #fff;
    font-size: 1.1rem;
    text-align: right;
  }

  .nav-toggle {
    display: flex;
  }

  /* When nav is open */
  .nav.open .nav-links {
    display: flex;
  }
}

/* MOBILE: up to 768px (optional refinements) */
@media (max-width: 768px) {

  .nav-links {
    padding: 1.5rem 1.2rem;
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* ============================
   HERO SECTION
============================ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: white;
}



/* Spotlight behind text */
.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 70%;
  background: radial-gradient(
    circle at 25% 40%,
    rgba(30,144,255,0.22) 0%,
    rgba(30,144,255,0.10) 35%,
    rgba(30,144,255,0) 75%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* Layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 3;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: black;
}

.hero-title {
  font-family: "Montserrat";
  font-weight: 800;
  Color: black;
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.4rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 1rem 0;
}

.hero-title span {
  color: #1e90ff;
}

.hero-subtitle {
  max-width: 540px;
  color: black;
  margin-bottom: 2rem;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: #1e90ff;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: "Montserrat";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  box-shadow: 0 12px 28px rgba(30,144,255,0.4);
  transition: 0.2s ease;
}

.btn-secondary {
  background: #1e90ff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: "Montserrat";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: 0.2s ease;
  color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ============================
   HERO MOCKUP + GLOW
============================ */

.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glow behind mockup */
.mockup-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(30,144,255,0.35) 0%,
    rgba(30,144,255,0.15) 40%,
    rgba(30,144,255,0) 70%
  );
  filter: blur(45px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Mockup image */
.hero-mockup img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  animation: float 6s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(10px); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(10px); }
}

/* ============================
   MOBILE
============================ */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mockup img {
    max-width: 420px;
    margin: 2rem auto 0;
  }

  .mockup-glow {
    width: 90%;
    height: 90%;
    filter: blur(55px);
  }
}


/* ===== SERVICES ===== */

/* SECTION WRAPPER */
.services {
  background: #0a0f1c; /* deep navy-black */
  padding: 6rem 0;
}


/* TWO-COLUMN LAYOUT */
.services-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

/* LEFT COLUMN */
.services-content {
  position: relative;
  color: white;
}

.services-lead {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 420px;
  margin-top: 1rem;
}

/* RIGHT COLUMN GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* SERVICE CARD */
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid black;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.service-card p {
  color: black;
  font-size: 0.95rem;
}

/* MOBILE */
@media (max-width: 900px) {
  .services-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}



/* ============================
   PORTFOLIO SECTION
============================ */

.portfolio {
  padding: 6rem 0;
  position: relative;
  background: #020617;
}

/* Soft fade from previous section */
.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(2,6,23,0.6), rgba(2,6,23,0));
  pointer-events: none;
}

/* Two-column layout */
.portfolio-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1280px;
  color: white;
  margin: 0 auto;
}

/* Left column */
.portfolio-content {
  position: relative;
}

.portfolio-lead {
  color: rgba(209,213,219,0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 420px;
  margin-top: 1rem;
}

/* Right column grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

/* Glow behind grid */
.portfolio-grid::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(30,144,255,0.25),
    rgba(30,144,255,0)
  );
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Portfolio cards */
.portfolio-item {
  background: rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
  display: block;
}


.portfolio-item {
  background: rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.portfolio-grid {
  align-items: stretch;
}





/* Flip card styles stay the same */

.flip-card {
  perspective: 1000px;
  height: 100%;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .8s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: relative;
  width: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 1rem;
}

.flip-front img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.flip-front h3 {
  margin-top: 0.8rem;
  font-size: 1rem;
  text-align: center;
}

.flip-back {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: rotateY(180deg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .portfolio-item {
    padding: 1.2rem;
  }

  /* Scale flip-card text for mobile */
  .flip-front h3,
  .flip-back h3 {
    font-size: 0.95rem;
  }

  .flip-back p {
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
}
 }

/* ===== TESTIMONIALS ===== */

.testimonials {
  background: #fff;
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.4rem;
}

.testimonial {
  border: 1px solid #e5e7eb;
  padding: 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== HOW IT WORKS ===== */

.how {
  background: #f5f7fa;
  padding: 4rem 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

.how-step {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1.8rem 1.6rem;
  border-radius: 8px;
}

.how-step h3 {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.how-step p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PRICING ===== */

.pricing {
  background: #ffffff;
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.pricing-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.8rem 1.6rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pricing-card.featured {
  border-color: #1e90ff;
  background: #e8f3ff;
}

.pricing-card h3 {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 1.1rem;
}

.price {
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 1.4rem;
  color: #111827;
}

.pricing-card ul {
  list-style: none;
  margin-top: 0.4rem;
}

.pricing-card ul li {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card:hover,
.how-step:hover,
.services-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}


/* ===== CONTACT ===== */

.contact {
  background: #020617;
  color: #ffffff;
  padding: 4rem 0;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #0f172a;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 0 2px rgba(30,144,255,0.4);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-primary {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}

/* ===== FOOTER ===== */

.footer {
  background: #020617;
  color: rgba(148, 163, 184, 0.9);
  padding: 1.8rem 0;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(148, 163, 184, 0.9);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* MINI LOGO IN WHITE BOX */
.footer-logo-box {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #000000;
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px; /* matches nav logo */
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ===== FOOTER BRAND ROW ===== */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Mini logo box */
.footer-logo-box {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #000000;
  font-family: "Montserrat";
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Signature text next to logo */
.footer-signature-inline {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(148,163,184,0.9);
}

.footer-signature-inline strong {
  color: #ffffff;
}

/* Footer layout */
.footer {
  background: #020617;
  color: rgba(148,163,184,0.9);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(55,65,81,0.9);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}

.footer-links a {
  color: rgba(148,163,184,0.9);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Mobile */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}

.cta-bar {
  background: #1e90ff;
  color: #ffffff;
  padding: 2.5rem 0;
  text-align: center;
}

.cta-inner h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}



@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@keyframes float {
  0% { transform: translateY(10px); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(10px); }
}

.hero-mockup img {
  animation: float 6s ease-in-out infinite;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.pricing-card:hover,
.how-step:hover,
.services-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Vertical accent line beside section headings */
.section-heading {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 3px;
  height: 1.4em;
  background: #1e90ff;
  border-radius: 2px;
}

/* ============================
   PACKAGE POPUP MODAL
============================ */

/* Dark blurred background overlay */
.package-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal box */
.package-modal-content {
  background: #0b1120;
  padding: 2rem;
  border-radius: 14px;
  width: 90%;
  max-width: 420px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  text-align: center;
  position: relative;
  animation: popIn 0.25s ease;
}

/* Pop-in animation */
@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Close button (X) */
.modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: 0.2s ease;
}

.modal-close:hover {
  opacity: 1;
}

/* Modal title */
#modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
}

/* Modal description */
#modal-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* CTA button inside modal */
.modal-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.4rem;
  background: #1e90ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.modal-cta:hover {
  background: #3aa0ff;
}

/* ============================
   SELECT PACKAGE BUTTONS
============================ */

.select-package {
  margin-top: 1.2rem;
  padding: 0.6rem 1.2rem;
  background: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: 0.25s ease;
}

.select-package:hover {
  background: #3aa0ff;
}

.package-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 999999;
}




/* ============================
   MOBILE TWEAKS
============================ */

@media (max-width: 480px) {
  .package-modal-content {
    padding: 1.6rem;
  }

  #modal-title {
    font-size: 1.25rem;
  }

  #modal-description {
    font-size: 0.95rem;
  }
}
