/* GLOBAL HOVER IMPROVEMENTS */
.card:hover,
.price:hover,
.case-card:hover,
.testimonial:hover {
  box-shadow: 0 10px 30px rgba(34,197,94,0.15);
}

/* BUTTON HOVER */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* IMAGE HOVER SMOOTH */
img {
  transition: 0.4s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  background: #020617;
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  margin: auto;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

nav {
  display: flex;
  gap: 25px;
}

/* NAV LINKS PREMIUM */
.nav-link {
  position: relative;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

/* HOVER COLOR */
.nav-link:hover {
  color: #fff;
}

/* UNDERLINE ANIMATION */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #22c55e;
  transition: 0.3s ease;
}

/* HOVER EFFECT */
.nav-link:hover::after {
  width: 100%;
}

/* ACTIVE LINK */
.nav-link.active {
  color: #22c55e;
  text-shadow: 0 0 8px rgba(34,197,94,0.6);
}

/* ACTIVE UNDERLINE */
.nav-link.active::after {
  width: 100%;
}

/* MOBILE */
#menu-toggle {
  display: none;
}

@media(max-width:768px){
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: #020617;
    padding: 15px;
    border-radius: 10px;
  }

  nav.active {
    display: flex;
  }

  #menu-toggle {
    display: block;
    font-size: 24px;
  }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: url('https://www.slideteam.net/media/catalog/product/cache/1280x720/d/i/digital_marketing_kpi_dashboard_with_engagement_rate_slide01.jpg') center/cover no-repeat;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* ================= SECTIONS ================= */
.section {
  position: relative;
  padding: 100px 20px 50px 20px;
  text-align: center;
  z-index: 1;
}

/* DARK SECTION */
.dark {
  background: #020617;
}

/* ================= SERVICES BG ================= */
.services-bg {
  position: relative;
  background: url('https://www.vecteezy.com/photo/70680647-business-analytics-dashboard-on-laptop-display-showing-data-charts-graphs-and-global-map-for-strategic-planning') center/cover no-repeat;
}

.services-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.9);
  z-index: 0;
}

.services-bg > * {
  position: relative;
  z-index: 1;
}

/* ================= CONTACT BG ================= */
.contact-bg {
  position: relative;
  background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRffxPaBj6ZSSFk7W0KiGMqOjBpxLoPDjYQpg&s') center/cover no-repeat;
}

.contact-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.9);
  z-index: 0;
}

.contact-bg > * {
  position: relative;
  z-index: 1;
}



/* ================= GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
  margin-top: 40px;
}

/* ================= CARDS ================= */
.card, .price {
  background: #020617;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #22c55e;
}

.highlight {
  border: 2px solid #22c55e;
}

/* ================= BUTTON ================= */
.btn {
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.primary {
  background: #22c55e;
  color: #000;
}

.secondary {
  border: 1px solid #fff;
  color: #fff;
}

/* ================= CTA ================= */
.cta-section {
  padding: 60px 20px;
  text-align: center;
  background: #22c55e;
  color: #000;
}

/* ================= FORM ================= */

/* GRID FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  max-width: 800px;
  margin: 5% auto;
}

/* LEFT & RIGHT */
.form-left,
.form-right {
  display: flex;
  flex-direction: column;
}

/* INPUTS + SELECT */
.form-grid input,
.form-grid select {
  margin: 10px 0;
  padding: 12px;
  border-radius: 6px;
  border: none;
  width: 100%;
}

/* BUTTON FULL WIDTH */
.form-right .btn {
  margin-top: 10px;
  width: 100%;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= MAP ================= */
iframe {
  width: 100%;
  height: 300px;
  margin-top: 30px;
  border-radius: 10px;
  border: none;
}

/* ================= FOOTER ================= */
.footer {
  padding: 60px 20px;
  background: radial-gradient(circle at top, rgba(34,197,94,0.2), #020617);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #94a3b8;
}

/* ================= FLOATING ================= */

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  z-index: 999;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* Chatbot */

.chatbot input {
  width: 100%;
  padding: 10px;
  border: none;
  outline: none;
  margin-top: 10px;
  border-radius: 6px;
}

/* CONTAINER */
.chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
}

/* MINI ICON */
.chatbot-icon {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #000;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: 0.3s;
}

/* HOVER EFFECT */
.chatbot-icon:hover {
  transform: scale(1.1);
}

/* FULL CHAT (HIDDEN BY DEFAULT) */
.chatbot {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 260px;
  background: #020617;
  border-radius: 12px;
  padding: 10px;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: 0.3s ease;
}

/* Active State */

.chatbot.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* SHOW ON HOVER */
/* .chatbot-container:hover .chatbot {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
} */

/* HEADER */

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #22c55e;
  color: #000;
  padding: 10px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
}

.chat-header i {
  font-size: 18px;
}

#chatClose {
  cursor: pointer;
  font-size: 18px;
}

/* CHAT BODY */
#chatBody {
  max-height: 200px;
  overflow-y: auto;
  font-size: 14px;
  margin-bottom: 10px;
}

/* BOT MESSAGE */
.bot-msg {
  background: #1e293b;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 6px 0;
  width: fit-content;
}

/* USER MESSAGE */
.user-msg {
  background: #22c55e;
  color: #000;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 6px 0;
  margin-left: auto;
  width: fit-content;
}

/* TYPING ANIMATION */
.typing {
  display: flex;
  gap: 5px;
}

.typing span {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1s infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* SERVICE IMAGE CARDS */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 12px;
  height: 220px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

/* OVERLAY */
.service-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
}

.service-overlay h3 {
  color: white;
  font-size: 18px;
}

/* HOVER EFFECT */
.service-card:hover img {
  transform: scale(1.1);
}

.service-card:hover .service-overlay {
  background: rgba(2,6,23,0.4);
}

/* PORTFOLIO CARDS */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 250px;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

/* OVERLAY */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: 0.4s;
  text-align: center;
  padding: 20px;
}

.portfolio-overlay h3 {
  font-size: 20px;
}

.portfolio-overlay p {
  font-size: 14px;
  color: #94a3b8;
}

/* BUTTONS */
.portfolio-buttons {
  display: flex;
  gap: 10px;
}

.btn.small {
  padding: 8px 14px;
  font-size: 13px;
}

/* HOVER EFFECT */
.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 40px;
  align-items: center;
}

.about-text {
  text-align: left;
}

.about-text p {
  margin-top: 15px;
  color: #94a3b8;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  transition: 0.4s;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* CASE STUDIES */
.case-card {
  background: #020617;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: #22c55e;
}

/* CASE STUDIES */
.case-wrapper {
  overflow: hidden;
  max-width: 900px;
  margin: 5% auto;
}

.case-track {
  display: flex;
  transition: transform 0.5s ease;
}

.case-card {
  min-width: 100%;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

/* BEFORE AFTER */
.case-split {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

.before span {
  color: #ef4444;
  font-weight: bold;
}

.after span {
  color: #22c55e;
  font-weight: bold;
}

.case-desc {
  margin-bottom: 15px;
  color: #94a3b8;
}

/* CONTROLS */
.case-controls {
  margin-top: 20px;
}

.case-controls button {
  background: #22c55e;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 6px;
}

/* TESTIMONIALS */
.testimonial {
  background: #020617;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

/* TESTIMONIAL CAROUSEL */
.testimonial-wrapper {
  overflow: hidden;
  max-width: 800px;
  margin: 5% auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.stars {
  color: gold;
  margin-bottom: 10px;
}

/* CONTROLS */
.testimonial-controls {
  margin-top: 20px;
}

.testimonial-controls button {
  background: #22c55e;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 6px;
  color: black;
}

/* ================= FIXED CASE STUDIES ONLY ================= */

.case-section .case-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-size: cover !important;
  background-position: center !important;
}

/* LIGHT OVERLAY (PREMIUM, NOT TOO DARK) */
.case-section .case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.45);
  border-radius: 12px;
  z-index: 0;
}

/* TEXT ABOVE IMAGE */
.case-section .case-card * {
  position: relative;
  z-index: 1;
}

/* TEXT READABILITY BOOST */
.case-section .case-card h3 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* SUBTLE HOVER (KEEP YOUR STYLE) */
.case-section .case-card:hover {
  transform: translateY(-6px);
}

/* CSS FOR PRICING UPDATED */

.price ul li {
  margin: 8px 0;
  color: #cbd5f5;
  position: relative;
  padding-left: 18px;
}

.price ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* Pricing Grid */

/* ================= PRICING GRID ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 5%;
}

/* ================= PRICE CARD ================= */
.price {
  background: #020617;
  padding: 30px 25px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HOVER EFFECT */
.price:hover {
  transform: translateY(-10px);
  border-color: #22c55e;
  box-shadow: 0 10px 40px rgba(34,197,94,0.15);
}

/* ================= HEADINGS ================= */
.price h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.price h2 {
  font-size: 32px;
  color: #22c55e;
  margin-bottom: 15px;
}

/* ================= FEATURES ================= */
.price ul {
  list-style: none;
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.price ul li {
  margin: 10px 0;
  color: #cbd5f5;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
}

/* CHECK ICON */
.price ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* ================= BUTTON ================= */
.price .btn {
  margin-top: 20px;
}

/* ================= HIGHLIGHT PLAN ================= */
.highlight {
  border: 2px solid #22c55e;
  transform: scale(1.05);
}

.highlight:hover {
  transform: scale(1.08);
}

/* ================= Wordpress ================= */

.tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: #22c55e;
  color: #000;
  font-size: 12px;
  border-radius: 20px;
}

/* ================= Wordpress-BG ================= */

.website-types {
  background-image: linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* FEATURED PORTFOLIO */
.featured {
  border: 2px solid #22c55e;
  transform: scale(1.03);
  position: relative;
}

.featured:hover {
  transform: scale(1.06);
}

/* PREMIUM TAG */
.tag.premium {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #000;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}