/* ===============================
   GLOBAL RESET & FONT SETTINGS
=================================*/

* {
  margin: 0;              /* Removes default spacing */
  padding: 0;             /* Removes default padding */
  box-sizing: border-box; /* Keeps width calculations correct */
  font-family: 'Poppins', sans-serif; /* Main website font */
}

body {
  background: #f8fafc;   /* Main background color */
  color: #0f172a;        /* Default text color */
}



/* ===============================
   NAVBAR STYLING
=================================*/

/* ===============================
   NAVBAR IMPROVEMENT
=================================*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: 0.3s ease;
  background: transparent;
}

/* Navbar active after scroll */
.navbar.scrolled {
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}



.logo {
  font-weight: 700;
  font-size: 20px;
  color: white;
}

.btn-primary {
  background: #2563eb;
  color: white;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1e40af;
}


/* ===============================
   HERO SECTION (Top Section)
=================================*/

/* ===============================
   HERO SECTION - ANIMATED GRADIENT
=================================*/

.hero {
  min-height: 100vh;              /* Prevents layout breaking */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 120px 10% 80px;        /* Top padding for fixed navbar */

  /* Gradient Colors */
  background: linear-gradient(-45deg, #2563eb, #7c3aed, #0ea5e9, #1e3a8a);
  background-size: 300% 300%;

  /* Animation */
  animation: gradientShift 10s ease infinite;
}

/* Smooth moving gradient */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===============================
   HERO CONTENT STRUCTURE
=================================*/

.hero-content {
  max-width: 750px;
  margin: auto;
}

/* Heading */
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Paragraph */
.hero p {
  font-size: 18px;
  margin-bottom: 35px;   /* 👈 Prevents button overlap */
  line-height: 1.6;
  opacity: 0.95;
}

/* Hero Button */
.btn-hero {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 140px 8% 60px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 25px;
  }
}


/* ===============================
   PRIMARY BUTTON STYLE
=================================*/

.btn-primary {
  background: #2563eb;  /* Button color */
  color: white;
  padding: 12px 25px;   /* Button size */
  text-decoration: none;
  border-radius: 30px;  /* Rounded shape */
  transition: 0.3s;     /* Smooth hover effect */
}

.btn-primary:hover {
  background: #1e40af;  /* Darker on hover */
}



/* ===============================
   GENERAL SECTION STYLING
=================================*/

.section {
  padding: 80px 10%;  /* Top/bottom and side spacing */
  text-align: center;
}

.section h2 {
  margin-bottom: 50px;
  font-size: 32px;
}



/* ===============================
   CARD LAYOUT (Services & Pricing)
=================================*/

.card-container {
  display: flex;
  gap: 30px;               /* Space between cards */
  justify-content: center;
  flex-wrap: wrap;         /* Makes responsive */
}

.card {
  background: white;
  padding: 30px;
  width: 280px;
  border-radius: 15px;     /* Rounded corners */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s;        /* Smooth hover animation */
}

.card:hover {
  transform: translateY(-10px); /* Lift effect */
}

.highlight {
  border: 2px solid #2563eb; /* Highlighted pricing card */
}



/* ===============================
   FOOTER SECTION
=================================*/

footer {
  background: #0f172a;  /* Dark footer */
  color: white;
  text-align: center;
  padding: 20px;
}

/* ===============================
   MOBILE RESPONSIVE STYLES
   (For screens below 768px)
=================================*/

@media (max-width: 768px) {

  /* Navbar spacing adjustment */
  .navbar {
    padding: 15px 5%;
  }

  .logo {
    font-size: 18px;
  }

  /* HERO SECTION MOBILE */
  .hero {
    height: auto;          /* Remove fixed height */
    padding: 80px 20px;    /* Better mobile spacing */
  }

  .hero h1 {
    font-size: 26px;       /* Smaller heading for phone */
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
  }

  /* SECTION SPACING */
  .section {
    padding: 60px 5%;
  }

  .section h2 {
    font-size: 24px;
  }

  /* CARDS STACK VERTICALLY */
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;          /* Full width on mobile */
    max-width: 350px;
  }

  /* BUTTON FULL WIDTH OPTION */
  .btn-primary {
    display: inline-block;
    font-size: 14px;
    padding: 10px 20px;
  }

  /* FOOTER */
  footer {
    font-size: 14px;
  }
}

/* ===============================
   CONTACT SECTION
=================================*/

.contact {
  padding: 80px 10%;
  text-align: center;
  background: #111827;   /* Dark professional background */
  color: white;
}

/* Heading */
.contact h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Paragraph */
.contact p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Contact Button */
.contact .btn-primary {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact .btn-primary:hover {
  background: #1e40af;
  transform: scale(1.05);
}

/* ===============================
   SMOOTH SCROLL
=================================*/
html {
  scroll-behavior: smooth;
}

/* ===============================
   NAV LINKS
=================================*/

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* ===============================
   MOBILE NAV
=================================*/

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0f172a;
    flex-direction: column;
    width: 200px;
    padding: 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }
}

/* ===============================
   FLOATING CONTACT BUTTONS
=================================*/

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

/* Individual Button */
.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.float-btn img {
  width: 28px;
  height: 28px;
}

/* Platform Colors */
.whatsapp {
  background: #25D366;
}

.call {
  background: #2563eb;
}

.email {
  background: #ea4335;
}

/* Hover effect */
.float-btn:hover {
  transform: scale(1.1);
}

/* ===============================
   COUNTERS SECTION
=================================*/

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 80px 10%;
  background: #f8fafc;   /* Light background */
  text-align: center;
}

/* Individual Counter Box */
.counter-box {
  background: white;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

/* Hover effect */
.counter-box:hover {
  transform: translateY(-8px);
}

/* Counter Number */
.counter {
  font-size: 40px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

/* Counter Text */
.counter-box p {
  font-size: 16px;
  color: #555;
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media (max-width: 992px) {
  .counters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .counters {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   PREMIUM GRADIENT SECTION
=================================*/

.premium-section {
  padding: 100px 10%;
  text-align: center;
  color: white;

  /* Gradient Background */
  background: linear-gradient(-45deg, #2563eb, #7c3aed, #0ea5e9, #1e3a8a);
  background-size: 300% 300%;

  /* Animation */
  animation: gradientMove 8s ease infinite;
}

/* Animate gradient movement */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Inner content */
.premium-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.premium-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Premium Button */
.btn-premium {
  background: white;
  color: #2563eb;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Button hover effect */
.btn-premium:hover {
  background: #f1f5f9;
  transform: scale(1.05);
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media (max-width: 768px) {
  .premium-section {
    padding: 70px 8%;
  }

  .premium-content h2 {
    font-size: 26px;
  }

  .premium-content p {
    font-size: 16px;
  }
}

/* ===============================
   PRICING SECTION
=================================*/

.pricing {
  padding: 80px 10%;
  text-align: center;
  background: #f8fafc;
}

.pricing h2 {
  font-size: 32px;
  margin-bottom: 60px;
}

/* Grid Layout */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Individual Card */
.price-card {
  position: relative;
  background: white;
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  text-align: left;
}

/* Hover Effect */
.price-card:hover {
  transform: translateY(-10px);
}

/* Plan Title */
.price-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* Price */
.price-card h4 {
  font-size: 30px;
  margin-bottom: 25px;
}

/* Feature List */
.price-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.price-card ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #555;
}

/* Button */
.btn-plan {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

/* BASIC COLOR */
.basic {
  border-top: 5px solid #2563eb;
}
.basic h4 {
  color: #2563eb;
}
.basic .btn-plan {
  background: #2563eb;
  color: white;
}
.basic .btn-plan:hover {
  background: #1e40af;
}

/* STANDARD COLOR */
.standard {
  border-top: 5px solid #7c3aed;
}
.standard h4 {
  color: #7c3aed;
}
.standard .btn-plan {
  background: #7c3aed;
  color: white;
}
.standard .btn-plan:hover {
  background: #5b21b6;
}

/* PREMIUM COLOR */
.premium {
  border-top: 5px solid #0ea5e9;
}
.premium h4 {
  color: #0ea5e9;
}
.premium .btn-plan {
  background: #0ea5e9;
  color: white;
}
.premium .btn-plan:hover {
  background: #0369a1;
}

/* MOST POPULAR BADGE */
.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: #111827;
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .pricing-container {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CONTACT ICONS
=================================*/

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-icon img {
  width: 26px;
  height: 26px;
}

/* Hover effect */
.contact-icon:hover {
  transform: translateY(-5px);
}

/* ===============================
   LOGO STYLING
=================================*/

.logo {
  text-decoration: none;   /* Removes underline */
  color: white;            /* Keep text white */
  font-size: 20px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Optional hover effect */
.logo:hover {
  opacity: 0.8;
}

/* ===============================
   LOGO TAGLINE
=================================*/

.tagline {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

/* ===============================
   HERO SLIDER
=================================*/

.hero-content {
  position: relative;
  max-width: 750px;
  margin: auto;
}

/* Each slide */
.hero-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Active slide */
.hero-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}