/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary: #ffffff;
  --soft-bg: #fffadb;
  --accent: #69957a;
  --accent-hover: #5f866e;
  --dark-base: #050a30;
  --text-dark: #111;
  --text-soft: #555;

  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-strong: 0 20px 50px rgba(0,0,0,0.08);
}

/* =========================
   RESET
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:linear-gradient(135deg,#ffffff,#fffadb);
  color:var(--text-dark);
  padding-top:100px; /* Adjusted for fixed navbar */
  overflow-x:hidden;
}

/* =========================
   GLOBAL SECTION STYLE
========================= */
section{
  width:90%;
  margin:60px auto;
  padding:80px 40px;
  border-radius:var(--radius);
  background:var(--primary);
  box-shadow:var(--shadow-soft);
  animation:fadeUp 1s ease;
}

.services,
.testimonials{
  background:var(--soft-bg);
}

/* =========================
   LOADER
========================= */
#loader{
  position:fixed;
  width:100%;
  height:100vh;
  background:#050a30;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  transition:opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo{
  width:100px;
  height:100px;
  animation:pulse 1.5s infinite ease-in-out;
}

.loader-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

@keyframes pulse{
  0%{transform:scale(1);opacity:0.7;}
  50%{transform:scale(1.1);opacity:1;}
  100%{transform:scale(1);opacity:0.7;}
}

#loader.hidden{
  opacity:0;
  visibility:hidden;
}


/* =========================
   NAVBAR
========================= */
/* LOGO WRAPPER */

.logo {
  display: flex;
  align-items: center;   /* vertically align image + text */
  gap: 12px;             /* space between image and text */
  text-decoration: none;
}

/* LOGO IMAGE */
.logo img {
  height: 65px;          /* desktop size */
  width: auto;
  display: block;
}

/* LOGO TEXT */
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-base);
  line-height: 1;        /* prevents text drop */
  white-space: nowrap;   /* prevents breaking into 2 lines */
}

@media (max-width: 768px) {

  .logo img {
    height: 42px;
  }

  .logo-text {
    font-size: 16px;
  }
}

.logo:hover img {
  transform: rotate(-5deg);
  transition: 0.3s ease;
}

.navbar{
  height:100px;
  display:flex;
  align-items:center;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT SIDE */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* RIGHT SIDE WRAPPER */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #111;
  position: relative;
  transition: 0.3s;
}
.social-icons a {
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:nth-child(1) { color: #1877F2; } /* Facebook */
.social-icons a:nth-child(2) { color: #E1306C; } /* Instagram */
.social-icons a:nth-child(3) { color: #000000; } /* X */
.social-icons a:nth-child(4) { color: #FF0000; } /* YouTube */
.social-icons a:nth-child(5) { color: #0088cc; } /* Telegram */

.social-icons a:hover {
  transform: translateY(-3px) scale(1.1);
}


/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ACTIVE TEXT COLOR */
.nav-links a.active {
  color: var(--accent);
}


/* =========================
   HERO SECTION
========================= */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;

  background:
    linear-gradient(
      rgba(167, 193, 255, 0.65),
      rgba(245, 248, 255, 0.75)
    ),
    url("../images/hero-banner.png") center/cover no-repeat;

  background-size: 105%;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

/* Slow cinematic background zoom */
@keyframes heroZoom {
  from { background-size: 105%; }
  to { background-size: 115%; }
}


/* =========================
   HERO CONTENT CARD
========================= */

.hero-content {
  max-width: 750px;
  padding: 50px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.15);  /* transparent white */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

  animation: fadeUp 1s ease;
}

.popup-card {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 5s ease;
}

.popup-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .popup-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
   HERO TEXT
========================= */

.hero h1{
  font-size:48px;
  margin-bottom:20px;
  color:var(--dark-base);
}

.hero p{
  font-size:18px;
  margin-bottom:30px;
}


/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-secondary{
  padding:14px 28px;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
  display:inline-block;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 10px 25px rgba(105,149,122,0.3);
}

.btn-primary:hover{
  background:var(--accent-hover);
  transform:translateY(-3px);
}

.btn-secondary{
  border:2px solid var(--accent);
  color:var(--accent);
}

.btn-secondary:hover{
  background:var(--accent);
  color:#fff;
}

/* =========================
   FADE ANIMATION
========================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {

  .hero {
    padding: 20px;
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding: 35px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

}

/* =========================
   SERVICES GRID
========================= */
.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
  margin-top:50px;
}

.service-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  padding:30px;
  transition:.3s;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.service-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow-strong);
}

.service-image img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:20px;
}

.service-features{
  list-style:none;
  margin-top:15px;
  color:var(--text-soft);
}

.service-footer{
  margin-top:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.price{
  font-weight:600;
  color:var(--accent);
}

.quote-btn{
  text-decoration:none;
  color:var(--dark-base);
  font-weight:600;
}

/* =========================
   HOW IT WORKS
========================= */
.hiw-steps{
  display:flex;
  flex-direction:column;
  gap:40px;
  margin-top:40px;
}

.hiw-step{
  display:flex;
  gap:30px;
  align-items:flex-start;
}

.step-no{
  font-size:28px;
  font-weight:700;
  color:var(--accent);
}

/* =========================
   TESTIMONIAL
========================= */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  margin-top:40px;
}

.testimonial-card{
  background:#fff;
  padding:30px;
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  transition:.3s;
}

.testimonial-card:hover{
  transform:translateY(-6px);
}

/* ================= FOOTER ================= */
.footer {
  background: #050b1a;
  color: #fff;
  padding: 60px 5% 20px;
}

/* LOGO BRAND SECTION */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-brand .logo img {
  height: 85px;
  width: auto;
  object-fit: cover;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.footer-brand .logo span {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 600px) {
  .footer-brand .logo {
    justify-content: center;
  }
}

/* ================= CTA BOX ================= */
.footer-cta {
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 50px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0b1225, #060c1f);
  box-shadow: 0 -10px 40px rgba(105,149,122,0.15);
  animation: fadeUp 1s ease;
}

.footer-cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-cta p {
  color: #aaa;
  margin-bottom: 30px;
}

/* ===== CTA BUTTON DESIGN ===== */

.footer-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Base Style */
.footer-cta-buttons .btn-primary,
.footer-cta-buttons .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Purple Gradient Button */
.footer-cta-buttons .btn-primary {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* WhatsApp Green Button */
.footer-cta-buttons .btn-whatsapp {
  background: #16a34a;
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

/* Hover Lift Effect */
.footer-cta-buttons .btn-primary:hover,
.footer-cta-buttons .btn-whatsapp:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Smooth Glow Animation */
.footer-cta-buttons .btn-primary::after,
.footer-cta-buttons .btn-whatsapp::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: rgba(255,255,255,0.15);
  transition: all 0.5s ease;
}

.footer-cta-buttons .btn-primary:hover::after,
.footer-cta-buttons .btn-whatsapp:hover::after {
  left: 100%;
}


/* ================= GRID ================= */
.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p {
  color: #aaa;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #aaa;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: #7c3aed;
  transition: 0.3s;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

/* ================= BOTTOM ================= */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #1a2238;
  padding-top: 20px;
  color: #888;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-cta h2 {
    font-size: 1.5rem;
  }
}


/* =========================
   CHATBOT – CLEAN VERSION
========================= */

.chatbot {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 340px;
  max-height: 500px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  animation: fadeInChat 0.3s ease;
}

/* HEADER */
.chat-header {
  background: linear-gradient(135deg, #4f7d64, #3e6b55);
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header span {
  font-size: 0.9rem;
  opacity: 0.8;
  cursor: pointer;
}

/* BODY */
.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* OPTIONS AREA */
.chat-options {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.chat-options button {
  background: #f1f3f5;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.2s ease;
}

.chat-options button:hover {
  background: #e4e6e8;
}

/* MOBILE FULL WIDTH */
@media (max-width: 600px) {
  .chatbot {
    width: 92%;
    right: 4%;
    bottom: 80px;
  }
}

/* Animation */
@keyframes fadeInChat {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float{
  position:fixed;
  bottom:25px;
  right:25px;
  width:60px;
  height:60px;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
  transition:.3s;
}

.whatsapp-float:hover{
  transform:scale(1.1);
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

  section{
    padding:60px 20px;
  }

  .hero h1{
    font-size:32px;
  }

  .hiw-step{
    flex-direction:column;
  }

  .chatbot{
    width:90%;
    right:5%;
  }

  .nav-links{
    display:none;
  }
}







