/* ===== ROOT COLORS ===== */
:root {
  --primary: #fac241;
  --dark: #0f172a;
  --light: #ffffff;
  --gray: #94a3b8;
  --overlay: rgba(15, 23, 42, 0.65);
  --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: var(--light);
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* ===== LOGO ===== */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

/* COOL HOVER EFFECT */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* BUTTON */
.btn {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 2px solid var(--primary);
  color: var(--light);
  text-decoration: none;
  transition: var(--transition);
}

.btn.primary {
  background: var(--primary);
  color: var(--dark);
}

.btn.primary:hover {
  background: transparent;
  color: var(--primary);
}

.btn.outline:hover {
  background: var(--primary);
  color: var(--dark);
}

/* ===== MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== HOME SECTION ===== */
.home {
  height: 100vh;
  background: url("business.avif") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.home-content {
  position: relative;
  max-width: 600px;
}

.home-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.home-content p {
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.home-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    width: 100%;
    padding: 2rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .home-content h1 {
    font-size: 2.2rem;
  } 
   .home-buttons{
    font-size: 12px;
   }
}

/* ================================
   NAV CONTACT BUTTON – REAL HOVER
================================ */

.nav-btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.3s ease, 
              color 0.3s ease,
              transform 0.25s ease,
              box-shadow 0.25s ease;
}

/* REMOVE ALL LINK HOVER EFFECTS */
.nav-btn::after {
  display: none !important;
}

.nav-btn:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Prevent nav underline on hover */
.nav-links a.nav-btn:hover::after {
  display: none !important;
}  



/* ================================
   ABOUT SECTION
================================ */

.about {
  padding: 6rem 0;
  background: #0b1220;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.about-content .subtitle {
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: 2;
  }

  .about-content {
    order: 1;
  }
}
 

.about-img img {
  transition: transform 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.03);
}



/* ================================
   SERVICES SECTION
================================ */

.services {
  padding: 6rem 0;
  background: #0f172a;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--gray);
  line-height: 1.6;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* CARD */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ICON */
.service-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(250, 194, 65, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.service-card .icon i {
  font-size: 2rem;
  color: var(--primary);
}

/* TEXT */
.service-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* FEATURED CARD */
.service-card.featured {
  background: linear-gradient(
    180deg,
    rgba(250, 194, 65, 0.15),
    rgba(250, 194, 65, 0.05)
  );
  border-color: rgba(250, 194, 65, 0.4);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}



/* ================================
   TESTIMONIALS
================================ */

.testimonials {
  padding: 6rem 0;
  background: #0b1220;
  text-align: center;
}

.testimonial-wrapper {
  position: relative;
  max-width: 700px;
  margin: auto;
}

.testimonial {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  border-radius: 20px;
}

.testimonial.active {
  display: block;
}

.testimonial img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--primary);
}

.testimonial p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.testimonial span {
  color: var(--primary);
  font-size: 0.9rem;
}

/* CONTROLS */
.testimonial-controls {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.testimonial-controls button {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-controls button:hover {
  background: var(--primary);
  color: var(--dark);
}




/* ================================
   CONTACT SECTION
================================ */

.contact {
  padding: 6rem 0;
  background: #0f172a;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* INFO */
.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.contact-info i {
  font-size: 1.2rem;
  color: var(--primary);
}

/* FORM */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
  margin-bottom: 1.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--light);
  font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form .error {
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}



/* ================================
   FOOTER
================================ */

.footer {
  background: #0b1220;
  padding: 4rem 0 0;
  color: var(--light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

/* BRAND */
.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--gray);
  line-height: 1.7;
}

/* LINKS */
.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* CONTACT */
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--gray);
}

.footer-contact i {
  color: var(--primary);
}

/* SOCIAL */
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--light);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

/* COPYRIGHT */
.footer-bottom {
  margin-top: 3rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================
   SCROLL ANIMATIONS
================================ */

/* Hidden state */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Left & Right variations */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

/* Visible state */
.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger animation for service cards */
.services-grid .service-card {
  transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
  transition-delay: 0.25s;
}

.services-grid .service-card:nth-child(3) {
  transition-delay: 0.4s;
}
