/* RESET */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'Poppins';
}

/* FONT */
@font-face {
  font-family: 'Berthusen';
  src: url('./fonts/berthusen/Berthusen Demo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

section {
  scroll-margin-top: 80px; /* adjust based on navbar height */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO WRAPPER */
.hero-wrapper {
  position: relative;
  background: #ffcc00; /* base yellow */
  overflow: hidden;
}

/* .......NAVBAR....... */
.navbar {
  position: fixed;   /* 🔥 makes it stick */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 12px 30px;
  z-index: 9999;
  background: rgba(31, 31, 31, 0.589);   /* semi transparent */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);      /* 🔥 blur effect */
  -webkit-backdrop-filter: blur(10px);
}

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

.nav-links a {
  position: relative;
  text-decoration: none;
  letter-spacing: 0.5px;
  color: #ffcc00;
  font-size: 12px;
  transition: 0.3s ease;
}

.nav-links a:not(:last-child)::after {
  content: "|";
  margin: 0 22px;
  opacity: 0.6;
  color: #ffcc00;
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-links a.active {
  color: #ffffff;
  font-weight: 600;
}

/* .......HERO....... */
.hero {
  background: radial-gradient(circle at center, #292929, #000);
  padding: 50px 0 28px;
  position: relative;
  z-index: 2;
}

/* CONTAINER ALIGN */
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-left: 60px;
}

/* LEFT TEXT */
.hero-left {
  max-width: 650px;
}

.hero-logo {
  width: 500px;
  position: relative;
} 

.hero-right {
  align-items: flex-end;
}
.lappy {
  position: relative;
  width: 700px;
  top: 35px;
  right: -40px;
}
/* TEXT */
.hero-left p {
  margin-top: 20px;
  color: #ffcc00;
  font-size: 19px;
  max-width: 400px;
  margin-bottom: 25px;
}

/* BUTTON */
.hero-btn {
  display: inline-block;
  background: #ffd000;
  color: rgb(0, 0, 0);
  padding: 6px 9px;
  text-decoration: none;
  border-radius: 2px;
  font-family: 'Poppins';
  font-size: 10px;
  font-weight: bold;
  transition: 0.1s ease;
}
.hero-btn:hover {
    background: #25D366;
  color: white;
  box-shadow: 0 4px 5px rgba(43, 255, 0, 0.192);
    
}

/* .......BUSINESS-NEED-SECTION....... */
.services-section {
  padding-top: 10px;
  padding-inline: 40px;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* CONTAINER */
.services-container {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* IMAGE (LEFT SIDE) */
.services-right {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  position: relative;
  left: 42px;
  top: 32px; /* 👈 pushes image DOWN into black strip */
  z-index: 3;
  transform: rotate(-0.5deg);
}

.services-right img {
  height: 220px;
  object-fit: contain;
}

/* TEXT WRAPPER (RIGHT SIDE) */
.services-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* HEADING */
.services-left {
    margin-top: -70px;
}

.services-middle {
  flex: 1;
  margin-left: 105px;
  margin-right: 125px;
}

.services-left h2 {
  text-align: center;
  font-size: 36px;
  color: #111;
  font-weight: 700;
  line-height: 1.3;
}

/* LIST */
.services-middle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* LIST ITEMS */
.services-middle li {
  font-size: 18px;
  margin: 10px 0;
  color: #111;
  font-weight: 500;
  position: relative;
  padding-left: 28px;
}

/* BULLET */
.services-middle li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 14px;
  color: #111;
  transform: rotate(20deg);
}

/* .......Black-CTA....... */
.cta-strip {
  background: url("ALL_IMGs/2nd Patch.png") no-repeat center/cover;
  padding: 35px 0;
}

.cta-strip .container {
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* LEFT */
.cta-left {
  max-width: 550px;
}

.cta-left p {
  color: #ffcc00;
  font-size: 20px;
  margin-bottom: 6px;
  font-style: italic;
}

.cta-left h3 {
  color: #ffd000;
  font-size: 20px;
}

/* RIGHT */
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 👈 FIX */
  gap: 8px;
}

/* BUTTON */
.cta-btn {
  background: #ffcc00;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 550;
  transition: 0.2s ease;
}
.cta-btn:hover {
  box-shadow: 0 1px 10px #ffcc0098;
}

/* CONTACT */
.cta-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-contact span {
  font-size: 26px;
  color: #ffd000;
  font-weight: 600;
}

.call-icon {

    width: 25px;
}

/* ........WHY SECTION......... */
.why-section {
  background: #ffcc00;
  padding: 30px 0 50px;
  text-align: left;
}

.why-title {
  text-align: center;
  max-width: 1200px;
  font-size: 30px;
  margin: 0 auto 5px;
}

.why-sub {
  text-align: center;
  font-size: 18px;
  max-width: 1200px;
  line-height: 1.3;

  margin: 0 auto 35px;   /* 👈 center container */
  opacity: 0.8;
}
/* GRID LOOK (cleaner than flex) */
.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 👈 FIX */
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.why-card {
  background: #111;
  color: #ffcc00;

  padding: 20px 16px;
  border-radius: 14px;
  text-align: left;

  transition: transform 0.05s ease, box-shadow 0.2s ease; 
}
/* HOVER EFFECT (premium feel) */
.why-card.reveal.active:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.26);
}
/* ICON */
.why-icon {
  font-size: 26px;
  margin-bottom: 12px;
}
/* TEXT */
.why-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
}
.why-card:nth-child(2) {
  transform: translateY(50px);
}

.why-card:nth-child(3) {
  transform: translateY(70px);
}

.why-card:nth-child(4) {
  transform: translateY(90px);
}
/* INITIAL STATE */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* .......Our Works....... */
.work-section {
  background: radial-gradient(circle at center, #292929, #000);
  padding: 40px 0;
}

.work-title {
  text-align: center;
  color: #ffcc00;
  font-size: 30px;
  max-width: 1200px;
  margin: 0 auto 2px;
}

.work-sub {
  text-align: center;
  color: #ffcc00;
  font-size: 18px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* SLIDER */
.work-slider {
  overflow: hidden;
  width: 100%;
}

.work-track {
  display: flex;
  gap: 20px;
  width: max-content;

  animation: scroll 80s linear infinite;
}

.work-track:hover {
  animation-play-state: paused;
}

/* SLIDES */
.work-slide {
  flex: 0 0 auto;
}

/* IMAGE */
.work-slide img {
  height: 350px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  padding: 5px;

  transition: transform 0.3s ease;
}

.work-slide img:hover {
  transform: scale(1.05);
}

/* ANIMATION */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* .......PACKAGES START....... */
.packages {
  background: radial-gradient(circle at center, #292929, #000);
  padding: 30px 0 40px; /* 👈 pushes section slightly down */
  text-align: left;
}

.packages-title {
  text-align: center;
  color: #ffcc00;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 auto 30px;
  max-width: 1200px;
  padding-left: 55px
}

.packages-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding-top: 5px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto; /* 👈 THIS centers everything */
}

/* CONTROL SIZE WITHOUT DISTORTION */
.packages-container img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  transition: 0.2s ease;
}

/* HOVER EFFECT */
.packages-container img:hover {
  transform: translateY(-10px);
}

.packages-note {
  max-width: 1200px;
  margin: -42px auto 0;   /* 👈 bring closer */
  padding-left: 55px;

  opacity: 0.6;         /* 👈 less attention */
}

.packages-note p {
  color: #ffcc00;
  font-size: 12px;
  margin: 2px 0;
  line-height: 1.2 ;
  letter-spacing: 0.3px;
}
.packages-note p::before {
  content: "• ";
  font-size: 12px;
}

/* YELLOW_CTA_STRIP */
.contact-strip {
  background: #ffcc00;
  padding: 30px 20px ; /* slightly balanced height */
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* TEXT */
.contact-text {
  padding-left: 55px;
}

.contact-text p {
  margin: 0;
  font-size: 20px;
  font-style: italic;
  line-height: 1.2;
}

.contact-text h3 {
  margin: 3px 0 0;
  font-size: 22px; /* slightly stronger */
  font-weight: 700;
  line-height: 1.2;
}

/* IMAGE */
.contact-image img {
  padding-right: 50px;
  max-width: 450px; /* slightly tighter */
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.contact-image img:hover {
  transform: scale(1.05);
}

/* .......Footer....... */
.footer {
  background: linear-gradient(to right, #000000, #1a1a1a);
  padding: 60px 20px 20px;
  color: #fff;
}

/* CONTAINER */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 100px; /* slightly tighter */
  padding-left: 60px;
}

/* LOGO */
.footer-logo img {
  max-width: 350px;
  margin-right: 60px;
}

.footer-logo {
  flex: 1.3;
}

.footer-contact {
  flex: 1.5; /* 👈 pushes this more right naturally */
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  color: #ffcc00;
  margin-bottom: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 8px 0;
  color: #ffcc00;
  position: relative;
  padding-left: 20px;
}

/* yellow bullet */
.footer-links li::before {
  content: "◆";
  font-size: 15px;
  color: #ffcc00;
  position: absolute;
  left: 0;
  transform: rotate(20deg);
}

.footer-links li:hover {
  color: #ffffff;
  cursor: pointer;
}

/* CONTACT */
.footer-contact p {
  font-size: 12px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-contact input {
  font-family: 'poppins medium';
  width: 65%;
  padding: 5px;
  margin-bottom: 10px;
  border: none;
  border-radius: 2px;
}

.footer-contact button {
  margin-top: -8px;
  display: block;
  background: #ffcc00;
  border: none;
  padding: 6px 9px;
  text-decoration: none;
  border-radius: 2px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.1s ease;
}
.footer-contact button:hover {
  box-shadow: 0 1px 10px #ffcc00cc;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
}

.footer-bottom .line {
  height: 1px;
  background: #ffcc00;
  max-width: 100%;
  margin: 0 auto 10px;
}

.footer-bottom p {
  font-size: 12px;
  color: #ffcc00;
}

textarea {
  font-family: 'poppins medium';
  width: 65%;
  padding: 5px;
  margin-bottom: 10px;
  border: none;
  border-radius: 2px;
  min-height: 65px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #555;
  font-size: 10px;
}

/* REMOVE LEFT PUSH */
.why-title,
.why-sub,
.work-title,
.work-sub,
.packages-title,
.packages-note {
  padding-left: 0 !important;
}

/* For Mobile */
@media (max-width: 768px) {

  * {
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
  }

  /* 🔥 NAVBAR FIX */
  .navbar {
    padding: 8px 10px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav-links a {
    margin: 0;
    font-size: 11px;
  }

  .nav-links a::after {
    display: none;
  }

  /* HERO */
  .hero,
  .hero-wrapper {
    width: 100%;
  }

  .hero-wrapper {
    position: relative;
  }

  .hero-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: #111;
    z-index: 1;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
  }

  /* 🔥 REMOVE LAPTOP */
  .hero-right {
    display: none;
  }

  /* 🔥 CENTER LOGO */
  .hero-left {
    max-width: 100%;
    text-align: center;
  }

  .hero-logo {
    width: 280px;
    margin: 0 auto;
    display: block;
  }

  /* 🔥 CENTER TEXT */
  .hero-left p {
    margin: 15px auto;
    font-size: 15px;
    max-width: 280px;
    text-align: center;
  }

  /* 🔥 CENTER BUTTON */
  .hero-btn {
    display: block;
    margin: 15px auto;
    text-align: center;
  }

  /* SERVICES */
  .services-section {
    padding: 40px 20px;
  }

  .services-section::before {
    content: "";
    display: block;
    width: 100%;
    height: 180px;
    background: url("ALL_IMGs/Pravex CEO 2.png") no-repeat center;
    background-size: contain;
    margin-top: -20px;
  }

  .services-container {
    flex-direction: column;
    text-align: center;
  }

  .services-right img {
    display: none;
  }

  .services-text {
    flex-direction: column;
    gap: 20px;
  }

  .services-middle {
    margin: 0;
    text-align: left;
  }

  /* CTA STRIP */
  .cta-strip {
    padding: 40px 20px;
    text-align: center;
  }

  .cta-strip .container {
    flex-direction: column;
    align-items: center;
  }

  .cta-left,
  .cta-right {
    width: 100%;
    text-align: center;
  }

  .cta-left p {
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .cta-right {
    align-items: center;
    gap: 15px;
    margin-top: 15px;
  }

  .cta-btn {
    max-width: 260px;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 14px;
  }

  .cta-contact {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .cta-contact span {
    font-size: 16px;
  }

  /* WHY SECTION */
  .why-cards {
    grid-template-columns: 1fr;
  }

  /* PACKAGES */
  .packages-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .packages-container img {
    max-width: 260px;
  }

  /* 🔥 FIX TEXT OVERLAP */
  .packages-note {
    margin-top: 15px;
    padding: 0 20px;
    text-align: center;
  }

  /* CONTACT STRIP */
  .contact-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .contact-text {
    padding-left: 0;
  }

  .contact-image img {
    padding-right: 0;
    max-width: 280px;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    gap: 40px;
    padding-left: 20px;
  }

  .footer-logo img {
    max-width: 200px;
    margin: 0 auto;
  }

}