/* -------------------- GLOBAL STYLES -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-weight: 600;
}

section {
  padding: 4rem 2rem;
}

.section {
  position: relative;
}

/* -------------------- NAVIGATION -------------------- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #0a0a23;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 50px;
  transition: transform 0.3s ease;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
  color: #00bfff;
  transform: translateY(-2px);
}

.btn {
  background: #00bfff;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #0099cc;
  transform: translateY(-2px);
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

/* -------------------- Hamburger Menu -------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Hamburger open → X animation */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* -------------------- Mobile Nav -------------------- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #0a0a23;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.5s ease;
    opacity: 0;
    visibility: hidden;
  }

  /* When active → slide in with fade */
  .nav-links.active {
    right: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-links li a {
    font-size: 1.3rem;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .nav-links li a:hover {
    color: #00bfff;
    transform: translateX(5px);
  }

  .menu-toggle {
    display: flex;
  }

  .btn {
    display: none;
  }

  /* Animate menu items individually */
  .nav-links li {
    opacity: 0;
    transform: translateX(30px);
    animation: menuFade 0.5s forwards;
  }

  .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
  .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
  .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }

  @keyframes menuFade {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
  }
}

/* -------------------- HERO SECTION -------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #e9f5ff, #ffffff);
}

.hero-content {
  flex: 1;
  animation: slideInLeft 1s ease forwards;
}

.hero h1 {
  font-size: 2.5rem;
  color: #0a0a23;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #0078ff;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #005fcc;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #0078ff;
  color: #0078ff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #0078ff;
  color: #fff;
  transform: translateY(-2px);
}

.hero-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 15px;
  animation: slideInRight 1s ease forwards;
}

/* -------------------- DEMO SECTION -------------------- */
.demo {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f9fafb, #eef2f7);
  font-family: 'Poppins', sans-serif;
}

.demo h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #0a0a23;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}

.demo h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #0078ff;
  margin: 0.5rem auto 0;
  border-radius: 5px;
}

.demo-box {
  display: inline-block;
  padding: 2rem 2.5rem;
  margin: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease-in-out;
  max-width: 300px;
}

.demo-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: #0078ff;
}

.demo-box img {
  border-radius: 50%;
  width: 140px;
  height: 140px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  border: 3px solid #0078ff1a;
}

.demo-box:hover img {
  transform: scale(1.05);
  border-color: #0078ff;
}

.demo-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0.5rem;
}


/* -------------------- SERVICES SECTION -------------------- */
.services {
  text-align: center;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 2rem;
  width: 300px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.card h3 {
  color: #0078ff;
  margin-bottom: 0.5rem;
}

/* -------------------- HOW IT WORKS -------------------- */
.how-it-works {
  background: #f4f7fc;
  text-align: center;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.step {
  background: #fff;
  border-radius: 10px;
  width: 250px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.step h3 {
  color: #0078ff;
  margin-bottom: 0.5rem;
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonials {
  text-align: center;
  background: #fff;
}

.testimonials h2 {
  color: #0a0a23;
  margin-bottom: 2rem;
}

.testimonials blockquote {
  font-style: italic;
  max-width: 700px;
  margin: 1rem auto;
  color: #555;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.testimonials blockquote:hover {
  transform: translateY(-3px);
}

/* -------------------- ABOUT US -------------------- */
.about {
  text-align: center;
  background: #f8f9fb;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 700px;
  margin: 0.5rem auto;
  color: #555;
  line-height: 1.6;
}

.founder {
  margin-top: 2rem;
}

.contact-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp, .btn-call {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 2px solid #0078ff;
  color: #0078ff;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover, .btn-call:hover {
  background: #0078ff;
  color: #fff;
  transform: translateY(-2px);
}

/* -------------------- CTA -------------------- */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #0078ff, #00bfff);
  color: #fff;
}

.cta a {
  display: inline-block;
  background: #fff;
  color: #0078ff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.cta a:hover {
  background: #e9f5ff;
  transform: translateY(-2px);
}

/* -------------------- FOOTER -------------------- */
footer {
  text-align: center;
  background: #0a0a23;
  color: #ccc;
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

footer .social-icons a {
  color: #ccc;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #00bfff;
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px);}
  100% { opacity: 1; transform: translateX(0);}
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px);}
  100% { opacity: 1; transform: translateX(0);}
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 60%;
    background: #0a0a23;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: 0.3s;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .btn {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }
}

/* ===================== SERVICES PAGE STYLES ===================== */

/* ===== Refined Services Hero & Image Layout ===== */
.services-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4.5rem 2rem;               /* slightly reduced padding */
  gap: 2rem;                          /* spacing between columns */
  background: linear-gradient(135deg, #e9f5ff, #ffffff);
}

/* control width so text & image share space predictably */
.services-hero .hero-content {
  flex: 1 1 48%;                      /* allow two-column layout with equal-ish split */
  max-width: 720px;
  min-width: 260px;
  animation: fadeInLeft 1s ease forwards;
}

/* tighten typography for better flow */
.services-hero .hero-content h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: #0a0a23;
  margin-bottom: 0.9rem;
}

.services-hero .hero-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: #555;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

/* nicer list spacing */
.services-list {
  list-style: disc inside;
  color: #0a0a23;
  font-weight: 500;
  margin-top: 1rem;
  line-height: 1.6;
}

/* Image container: fixed visual weight, centered content */
.services-hero .hero-image {
  flex: 0 0 44%;                      /* give image a stable width (prevents overflow) */
  max-width: 480px;                   /* cap how wide image gets */
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease forwards;
}

/* wrapper to control aspect & cropping consistently */
.services-hero .hero-image .img-wrap {
  width: 100%;
  height: 0;
  padding-bottom: 62.5%;              /* 16:10 aspect ratio (100/1.6 = 62.5%) */
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* image: always cover area, stays centered, never stretches layout */
.services-hero .hero-image img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;                  /* cover the img-wrap while keeping proportions */
  object-position: center center;
  display: block;
  border-radius: 15px;
}

/* Reduce visual dominance on medium screens */
@media (max-width: 1024px) {
  .services-hero {
    padding: 3.5rem 1.5rem;
  }

  .services-hero .hero-content {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
  }

  .services-hero .hero-image {
    flex: 1 1 100%;
    max-width: 520px;
    margin-bottom: 1rem;
  }

  .services-hero .hero-image .img-wrap {
    padding-bottom: 60%;               /* slightly taller on medium screens */
  }
}

/* Mobile: stack, keep image compact and center it */
@media (max-width: 768px) {
  .services-hero {
    flex-direction: column-reverse;
    padding: 2rem 1rem;
    gap: 1.25rem;
  }

  .services-hero .hero-content {
    order: 2;
    text-align: center;
    padding: 0 0.25rem;
  }

  .services-hero .hero-image {
    order: 1;
    width: 100%;
    max-width: 360px;                 /* ensure image doesn't become huge vertically */
    margin: 0 auto;
  }

  .services-hero .hero-image .img-wrap {
    padding-bottom: 56%;              /* slightly wider crop on phones */
    max-height: 240px;                /* limit physical height on small phones */
  }

  .services-hero .hero-image img.hero-img {
    object-position: center top;      /* show top part (faces/subjects often sit top) */
  }

  .services-list {
    margin-top: 0.75rem;
    text-align: left;
  }
}


/* ---- Core Services Section ---- */
.services h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #0a0a23;
  margin-bottom: 0.5rem;
}

.services .section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-cards .card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-cards .card img {
  max-width: 100px;
  margin-bottom: 1rem;
}

.service-cards .card h3 {
  font-size: 1.3rem;
  color: #0078ff;
  margin-bottom: 0.5rem;
}

.service-cards .card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.service-cards .card .btn-primary {
  display: inline-block;
  background: #0078ff;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.service-cards .card .btn-primary:hover {
  background: #005fcc;
}

/* ---- Why Choose Us Section ---- */
.why-us {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  background: #f4f7fc; /* same background */
}

.why-us h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0a0a23;
}

.why-us-content {
  width: 100%;
  display: flex;
  justify-content: center;
}

.why-image {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.why-image img {
  max-width: 100%;
  height: auto; /* maintains aspect ratio */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}




/* ---- Call to Action Section ---- */
.cta.section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #0078ff, #00bfff);
  color: #fff;
}

.cta.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta.section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta.section .btn-primary {
  background: #fff;
  color: #0078ff;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta.section .btn-primary:hover {
  background: #e9f5ff;
}

/* ---- Animations ---- */
@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .services-hero .hero-content,
  .services-hero .hero-image {
    max-width: 100%;
  }

  .why-us-content {
    flex-direction: column-reverse;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-cards .card {
    width: 90%;
  }

  .why-text ul li {
    font-size: 0.95rem;
  }

  .cta.section h2 {
    font-size: 1.6rem;
  }
}

/* -------------------- contact page -------------------- */
 /* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Fix horizontal scroll */
  line-height: 1.6;
  background: #f9f9f9;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Navigation Bar ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #0a0a23;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ff4081;
}

.btn {
  padding: 0.5rem 1.2rem;
  background: #ff4081;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e62e6b;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
}

@media(max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ===== Hero Section ===== */
.hero-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 350px;
  background: url('../images/hero-placeholder.jpg') center/cover no-repeat;
  border-radius: 12px;
  margin: 1rem auto;
  max-width: 1200px;
}

.hero-contact div {
  background: rgba(0,0,0,0.4);
  padding: 2rem;
  border-radius: 12px;
  color: #fff;
  max-width: 700px;
}

.hero-contact h1 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.hero-contact p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ===== Contact Section ===== */
.container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  background: #f8f4ef; /* warm vintage tone */
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Georgia', serif;
  overflow: hidden;
}

.contact-left, 
.contact-right {
  flex: 1;
  min-width: 320px;
}

/* Left Side */
.contact-left h1 {
  font-size: 2.2rem;
  color: #2c1810;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 0 #fff;
}

.contact-left p {
  margin-bottom: 2rem;
  color: #4a3f35;
  line-height: 1.6;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid #cbbda5;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  background: #fffdf9;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 6px rgba(170, 130, 80, 0.4);
  transform: scale(1.01);
}

/* Button */
.contact-form button.contact-btn {
  background: linear-gradient(135deg, #a67b5b, #d4a373);
  color: #fff;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: 'Georgia', serif;
}

.contact-form button.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(166, 123, 91, 0.3);
}

/* Right Side */

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f4ef;
  border-radius: 12px;
  min-height: 400px; /* existing minimum height */
  position: relative;
  overflow: hidden;
}

.contact-right .contact-image {
  width: 100%;        /* full width */
  height: 300px;      /* adjust this height as needed */
  object-fit: cover;  /* keeps image covering area without distortion */
  border-radius: 12px;
}


/* ===== Footer ===== */
footer {
  background: #0a0a23;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer p {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  color: #fff;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ff4081;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 1024px) {
  .hero-contact {
    height: 300px;
    margin: 1rem;
  }

  .hero-contact h1 {
    font-size: 1.8rem;
  }

  .hero-contact p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 1.5rem;
  }

  .contact-right {
    min-height: 250px;
    margin-top: 1rem;
  }

  form#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 80px;
  }

  .contact-form button.contact-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }
}/* ===== Chatbot Container ===== */
#chatbot-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

/* ===== Chatbot Icon ===== */
#chatbot-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #111111, #ff5e00);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
  backdrop-filter: blur(8px);
}

#chatbot-icon:hover {
  transform: scale(1.12) rotate(3deg);
  background: linear-gradient(135deg, #ff6a00, #ff1a75);
  box-shadow: 0 10px 35px rgba(255, 81, 0, 0.75);
}

.chatbot-icon-emoji {
  font-size: 1.2rem;
}

.chatbot-icon-text {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ===== Chat Body ===== */
#chatbot-body {
  width: 360px;
  max-height: 0;
  background: rgba(18, 18, 18, 0.85);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 65px;
  right: 0;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#chatbot-body.show {
  max-height: 440px;
  opacity: 1;
  pointer-events: auto;
  animation: slideUp 0.4s ease;
}

/* ===== Chat Header ===== */
#chatbot-header {
  background: linear-gradient(135deg, #0d0d26, #20204a);
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

#chatbot-close {
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}

#chatbot-close:hover {
  color: #ff4f81;
  transform: rotate(180deg);
}

/* ===== Chat Output ===== */
#chat-output {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: linear-gradient(180deg, #101010, #181828);
  scrollbar-width: thin;
  scrollbar-color: #ff4f81 #1a1a1a;
}

#chat-output::-webkit-scrollbar {
  width: 6px;
}

#chat-output::-webkit-scrollbar-thumb {
  background: #ff4f81;
  border-radius: 8px;
}

/* ===== Messages ===== */
#chat-output p {
  margin: 0;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  max-width: 85%;
  word-wrap: break-word;
  position: relative;
  animation: fadeInUp 0.4s ease both;
}

/* User Message */
.user-message {
  background: linear-gradient(135deg, #ff4f81, #ff7b00);
  color: #fff;
  align-self: flex-end;
  text-align: right;
  border-bottom-right-radius: 0;
  box-shadow: 0 3px 10px rgba(255, 77, 77, 0.4);
}

/* Bot Message */
.bot-message {
  background: rgba(255, 255, 255, 0.12);
  color: #e5e5e5;
  align-self: flex-start;
  text-align: left;
  border-bottom-left-radius: 0;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

/* Typing indicator */
.bot-message.typing::after {
  content: "...";
  display: inline-block;
  animation: typingDots 1.2s infinite;
}

/* ===== Chat Input Area ===== */
#chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

#chat-input {
  flex: 1;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background 0.3s ease;
  min-width: 0;
}

#chat-input::placeholder {
  color: #aaa;
}

#chat-input:focus {
  background: rgba(255, 255, 255, 0.25);
}

#send-btn {
  background: linear-gradient(135deg, #ff4f81, #ff7b00);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

#send-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ff7b00, #ff4f81);
  box-shadow: 0 5px 20px rgba(255, 79, 129, 0.4);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typingDots {
  0%, 20% { content: "."; }
  40% { content: ".."; }
  60% { content: "..."; }
  100% { content: "."; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  #chatbot-container {
    bottom: 15px;
    right: 15px;
  }

  #chatbot-body {
    width: 92vw;
    bottom: 70px;
    right: 4vw;
  }

  #chat-input-area {
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
  }

  #chat-input {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }

  #send-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  #chatbot-icon {
    padding: 0.5rem 0.9rem;
    gap: 6px;
  }

  .chatbot-icon-text {
    display: none;
  }
}
