:root {
      --accent: #2563eb;
      --accent-dark: #1d4ed8;
      --bg: #f8fafc;
      --text: #1e293b;
      --muted: #64748b;
      --card-bg: #ffffff;
      --border: #e2e8f0;
}

* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
}

body {
      font-family: system-ui, sans-serif;
      line-height: 1.6;
      background: var(--bg);
      color: var(--text);
}
.container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
}

/* Navbar */
header {
      background: #fff;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      padding: 14px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
}
nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(90deg, #38bdf8, #2563eb, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.nav-center {
      flex: 1;
      display: flex;
      justify-content: center;
}

nav ul {
      list-style: none;
      display: flex;
      gap: 2.5em;
}
nav a {
      text-decoration: none;
      color: var(--text);
      font-weight: 500;
      transition: color 0.3s ease;
}

nav a:hover {
      color: var(--accent-dark);
}

/* CTA button */
.cta-btn {
      background: var(--accent);
      color: #fff;
      padding: 10px 18px;
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
      background: var(--accent-dark);
      transform: translateY(-2px);
}
    /* Hide mobile CTA by default */
.mobile-cta {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-cta {
    display: block;
    text-align: center;
  }

  /* Hide desktop CTA button on mobile */
  .nav-right {
    display: none;
  }
}


 /* Mobile menu toggle */
nav .menu-toggle {
      display: none;
      font-size: 26px;
      cursor: pointer;
      color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-center {
        display: none; /* hide links initially */
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 1em 0;
      }
.nav-center ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
      }
.nav-center.show {
        display: flex;
      }
.nav-right {
        display: none; /* hide CTA button in desktop style */
      }

nav .menu-toggle {
        display: block;
      }
}


/* Hero */
.hero {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 100px 0;
  margin-top: -20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text .tagline {
  font-size: 18px;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-text .desc {
  font-size: 17px;
  margin-bottom: 24px;
  color: #e0e7ff;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero .cta {
  background: white;
  color: var(--accent);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.hero .cta:hover {
  background: #f1f5f9;
}

.hero .cta.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero .cta.secondary:hover {
  background: white;
  color: var(--accent);
}


.hero-image {
  position: relative;
  perspective: 1000px;
  display: inline-block;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Floating Window (Code Panels) */
.floating-window {
  position: absolute;
  width: 180px;
  background: #0a192f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25),
              0 0 15px rgba(37, 99, 235, 0.6);
  transform-style: preserve-3d;
  font-family: monospace;
  color: #e5e7eb;
  font-size: 13px;
  animation: float-up 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Header bar */
.window-header {
  display: flex;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(255,255,255,0.08);
  align-items: center;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.red { 
  background: #ff5f56; 
}
.yellow { 
  background: #ffbd2e; 
}
.green {
   background: #27c93f; 
}

.window-body {
  padding: 10px 12px;
  background-color: #2742A8;
  white-space: nowrap;
  color: #cbd5e1;
}

/* Laptop perspective tilt */
.code1 {
  top: 18%;
  left: 68%;
  transform: rotateY(-35deg) rotateX(35deg) translateZ(40px);
  animation-delay: 0s;
}
.code2 {
  top: 38%;
  left: 73%;
  transform: rotateY(-35deg) rotateX(35deg) translateZ(60px);
  animation-delay: 1s;
}
.code3 {
  top: 58%;
  left: 62%;
  transform: rotateY(-15deg) rotateX(35deg) translateZ(80px);
  animation-delay: 2s;
}

/* Floating animation */
@keyframes float-up {
  0%   {
     transform: translateY(0) rotateY(-25deg) rotateX(15deg); 
     opacity: 0.9;
     }
  50%  {
     transform: translateY(-15px) rotateY(-25deg) rotateX(15deg) scale(1.05);
      opacity: 1;
     }
  100% { 
    transform: translateY(0) rotateY(-25deg) rotateX(15deg); 
    opacity: 0.9;
   }
}


/* Floating Window (Code Panels) */
.floating-window {
  position: absolute;
  width: 180px;
  background: #0a192f;
  border-radius: 10px;
  overflow: hidden;
  transform-style: preserve-3d;
  font-family: monospace;
  color: #e5e7eb;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.1);
  animation: float-up 6s ease-in-out infinite;
}

/* Glow variations */
.code1 {
  top: 18%;
  left: 68%;
  transform: rotateY(-25deg) rotateX(15deg) translateZ(40px);
  animation-delay: 0s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25),
              0 0 20px rgba(37, 99, 235, 0.7); /* Blue glow */
}
.code2 {
  top: 38%;
  left: 73%;
  transform: rotateY(-25deg) rotateX(15deg) translateZ(60px);
  animation-delay: 1s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25),
              0 0 20px rgba(249, 115, 22, 0.7); /* Orange glow */
}
.code3 {
  top: 58%;
  left: 62%;
  transform: rotateY(-25deg) rotateX(15deg) translateZ(80px);
  animation-delay: 2s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25),
              0 0 20px rgba(168, 85, 247, 0.7); /* Purple glow */
}

/* Floating animation */
@keyframes float-up {
  0%   {
     transform: translateY(0) rotateY(-25deg) rotateX(15deg);
      opacity: 0.9;
     }
  50%  {
     transform: translateY(-15px) rotateY(-25deg) rotateX(15deg) scale(1.05);
      opacity: 1; 
    }
  100% { 
    transform: translateY(0) rotateY(-25deg) rotateX(15deg);
     opacity: 0.9;
     }
}
/* Default (desktop/tablet) already fine */

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-window {
    width: 120px;       /* shrink panel */
    font-size: 11px;    /* smaller text */
  }

  .window-body {
    padding: 6px 8px;   /* tighter padding */
    white-space: normal; /* allow wrapping */
    word-break: break-word; /* break long code lines */
  }
  .cta-window{
    display:  none;
  }

  .code1 {
    top: 10%;
    left: 65%;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(20px);
  }
  .code2 {
    top: 30%;
    left: 70%;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(30px);
  }
  .code3 {
    top: 50%;
    left: 60%;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(40px);
  }
}


/* Sections */
section {
      margin-block: 80px;
}
section h2 {
      font-size: 28px;
      margin-bottom: 30px;
      color: var(--text);
      text-align: center;
}

/* Grids */
.services, .portfolio, .pricing, .testimonials {
      display: grid;
      gap: 20px;
}
.services {
       grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}
.portfolio {
       grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); 
}
.pricing {
       grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
}
.testimonials { 
      grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
}


/* Cards */
.service, .plan, .testimonial {
      background: var(--card-bg);
      border: 1px solid var(--border);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.05);
      transition: transform .2s, box-shadow .2s;
      text-align: center;
}
.service:hover, .plan:hover, .testimonial:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.service h3, .plan h4 {
      margin-bottom: 10px;
      color: var(--accent);
}
.muted {
      color: var(--muted);
      font-size: 14px;
}

/* Icons */
.service i, .plan i {
      font-size: 32px;
      color: var(--accent);
      margin-bottom: 12px;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.port-btn button{
  margin: 0 auto;
  display: block;
  border: none;
  margin-top: 2em;
      background: var(--accent);
      color: #fff;
      padding: 10px 18px;
      border-radius: 8px;
      font-weight: 600;
      transition: background 0.3s, transform 0.2s;
}

.port-btn button:hover {
      background: var(--accent-dark);
      transform: translateY(-2px);
      cursor: pointer;
      background-color: #a1e4ec;
      color: #0f172a;
}


/* Portfolio Card */
.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

/* Overlay */
.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 78, 216, 0.85); /* blue overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
}
.overlay button{
      padding:6px 10px;
      background:linear-gradient(90deg,#6c5ce7,#00bcd4);
      border-radius:999px;
      font-weight:600;
      font-size:13px;
      border: none;
      color: white;
}
.overlay button:hover{
  background-color: #79dcea;
  color: #0f172a;
  cursor: pointer;

}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.portfolio-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.portfolio-card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  opacity: 0.9;
}


/* Pricing */
.plan .price {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text);
}
.plan .cta {
      display: inline-block;
      margin-top: 12px;
      padding: 10px 20px;
      background: var(--accent);
      color: white;
      border-radius: 8px;
      text-decoration: none;
      transition: background .2s;
}
.plan .cta:hover {
      background: var(--accent-dark);
}
.plan.featured {
      border: 2px solid var(--accent);
      transform: scale(1.05);
}


/* About Section */
#about {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #475569;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 30px;
  margin: 24px 0;
}

.stat h3 {
  font-size: 1.8rem;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.stat p {
  font-size: 0.95rem;
  color: #64748b;
}
.counter {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.plus {
  opacity: 0;
  display: inline-block;
  margin-left: 2px;
  transform: translateY(-10px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.counter.animated .plus {
  opacity: 1;
  transform: translateY(0);
}
a{
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }
}

#testimonials {
  padding: 80px 20px;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  text-align: center;
}

.testimonial-slider {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.testimonial-card {
  flex: 0 0 300px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.testimonial-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--accent);
}

.testimonial-text {
  font-style: italic;
  color: #475569;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonial-name {
  font-weight: 600;
  color: var(--accent-dark);
}

/* Hide scrollbar nicely */
.testimonial-slider::-webkit-scrollbar {
  height: 6px;
}
.testimonial-slider::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* Responsive */
@media(max-width: 768px) {
  .testimonial-slider {
    gap: 20px;
  }
  .testimonial-card {
    flex: 0 0 260px;
    padding: 20px;
  }
}



/* SUBSCRIPTION SECTION */
.subscription {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  padding: 80px 20px;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  color: #fff;
}

.subscription-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.subscription-illustration img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.subscription-illustration img:hover {
  transform: scale(1.05);
}

.subscription-form h3 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.subscription-form .muted {
  font-size: 16px;
  margin-bottom: 24px;
  color: #e0e7ff;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  outline: none;
}

.newsletter-form button.cta {
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button.cta:hover {
  background: #e0e7ff;
  transform: translateY(-3px);
}

.trust-note {
  font-size: 14px;
  margin-top: 12px;
  color: #dbeafe;
}

/* Mobile Responsive */
@media(max-width: 768px) {
  .subscription-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .subscription-illustration img {
    margin-bottom: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}
/* Success/Failure Overlay */
.subscription-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #1e293b;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 2000;
  display: none;
  text-align: center;
}

.subscription-message p {
  font-size: 18px;
  margin-bottom: 20px;
}

.subscription-message button {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.subscription-message button:hover {
  background: #1e40af;
}


.subscription {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  padding: 80px 20px;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  color: #fff;
  position: relative;
  overflow: hidden; /* important for floating shapes */
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  font-size: 24px;
  color: rgba(255,255,255,0.3);
  animation: floatShape 8s ease-in-out infinite;
}

.shape1 { top: 10%; left: 5%; animation-delay: 0s; }
.shape2 { top: 60%; left: 15%; animation-delay: 2s; }
.shape3 { top: 30%; left: 80%; animation-delay: 4s; }
.shape4 { top: 70%; left: 60%; animation-delay: 6s; }

@keyframes floatShape {
  0% { transform: translateY(0px) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.7; }
  100% { transform: translateY(0px) rotate(360deg); opacity: 0.4; }
}

/* Other subscription styles remain same... */

/* Responsive */
@media(max-width: 768px) {
  .subscription-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .subscription-illustration img {
    margin-bottom: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.contact {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  background: #f8fafc;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  position: relative;
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #1e293b;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

.contact-form,
.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form:hover,
.contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.form-grid select {
  appearance: none;
  cursor: pointer;
}

.form-grid button.cta {
  padding: 16px;
  border-radius: 12px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s, transform 0.2s;
}

.form-grid button.cta:hover {
  background: #1e40af;
  transform: translateY(-2px);
}
/* Success/Failure Overlay */
.contact-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  color: #1e293b;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  z-index: 2000;
  display: none;
  text-align: center;
}

.contact-message p {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-message button {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-message button:hover {
  background: #1e40af;
}

/* Contact Info */
.contact-info h4 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #1e293b;
}

.contact-info p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.contact-info .map {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Responsive */
@media(max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .contact-info {
    margin-top: 30px;
  }
}


/*footer section*/
.footer {
  background: #0f172a; /* dark navy */
  color: #e2e8f0;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.footer-brand h2 {
  font-size: 24px;
  color: #60a5fa; /* accent blue */
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #60a5fa;
}

/* Footer Newsletter Form Fix */
.footer-form {
  display: block; /* container for inner flex */
  margin-top: 12px;
}

.footer-form-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* allow wrapping on mobile */
}

.footer-form-inner input {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

.footer-form-inner button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.footer-form-inner button:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.newsletter-msg {
  margin-top: 8px;
  font-size: 14px;
  color: #60a5fa;
  text-align: left;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #334155;
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
}

.footer-bottom p {
  font-size: 14px;
  color: #94a3b8;
}


/* Mobile Footer Layout */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;  /* stack sections vertically */
    gap: 30px;
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-newsletter {
    text-align: center;          /* center each section */
  }

  .footer-links ul {
    display: inline-block;       /* stack links nicely */
    text-align: left;            /* optional: keep left alignment for links */
  }

  .footer-form-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-form-inner button {
    width: 100%;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 10000; /* very high so it’s above everything */
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp icon inside button */
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Hover effect */
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}

/* Desktop adjustments */
@media (min-width: 769px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
  }
  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }
}

