/* Base */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  color: #222;
  background: #1e293b;
}
a{
    text-decoration: none;
}
/* Navbar */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.9); /* dark glass */
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.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;
}

/* Links */
#nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-links li a {
  text-decoration: none;
  font-weight: 500;
  color: #e2e8f0;
  transition: color 0.3s ease;
}

#nav-links li a:hover {
  color: #38bdf8;
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white !important;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.6);
}

/* Right CTA visible only on desktop */
.nav-right {
  display: block;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.mobile-cta {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-center {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }

  .nav-center.show {
    transform: translateY(0);
  }

  #nav-links {
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.5rem;
  }

  .nav-right {
    display: none;
  }

  .mobile-cta {
    display: block;
  }
}



/* Hero Section */
.contact-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #0077ff, #00d4ff, #0077ff);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Particles */
.particles span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: float 12s linear infinite;
}
.particles span:nth-child(1) { top: 20%; left: 15%; animation-duration: 10s; }
.particles span:nth-child(2) { top: 40%; left: 70%; animation-duration: 14s; }
.particles span:nth-child(3) { top: 65%; left: 30%; animation-duration: 16s; }
.particles span:nth-child(4) { top: 80%; left: 80%; animation-duration: 20s; }

@keyframes float {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-40px) scale(1.2); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
  animation: fadeInUp 1.5s ease forwards;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0,212,255,0.7);
}
.hero-content h1 span {
  color: #00d4ff;
  text-shadow: 0 0 30px rgba(0,119,255,0.9);
}
.hero-content p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 2rem;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.btn {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}
.btn.primary {
  background: linear-gradient(120deg, #0077ff, #00d4ff);
  color: #fff;
  box-shadow: 0 0 15px rgba(0,212,255,0.6);
}
.btn.primary:hover {
  box-shadow: 0 0 25px rgba(0,212,255,0.9);
  transform: translateY(-3px);
}
.btn.secondary {
  border: 2px solid #00d4ff;
  color: #00d4ff;
  background: transparent;
}
.btn.secondary:hover {
  background: #00d4ff;
  color: #111;
  box-shadow: 0 0 15px rgba(0,212,255,0.6);
}


/* Contact Info Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 4rem auto;
  padding: 0 2rem;
  max-width: 1100px;
}

.info-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Animated Gradient Border */
.info-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(120deg, #0077ff, #00d4ff, #0077ff);
  background-size: 300% 300%;
  animation: gradientBorder 6s ease infinite;
  z-index: -1;
}
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Icon Circle */
.icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0077ff, #00d4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,212,255,0.4);
}
.icon-circle i {
  color: #fff;
  font-size: 1.6rem;
}

/* Text Styling */
.info-card h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: #111;
}
.info-card p {
  font-size: 1rem;
  color: #444;
}

/* Hover Effect */
.info-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0,119,255,0.3);
}


/* Contact Form Section */
.contact-form-section {
  max-width: 700px;
  margin: 4rem auto;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.contact-form {
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 35px rgba(0,0,0,0.7);
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Input Groups */
.input-group {
  position: relative;
  margin-bottom: 2rem;
}
.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00d4ff;
  font-size: 1rem;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 2.8rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  outline: none;
  font-size: 1rem;
  transition: 0.3s;
}
.input-group textarea {
  resize: none;
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 12px rgba(0,212,255,0.5);
}

/* Floating Labels */
.input-group label {
  position: absolute;
  top: 50%;
  left: 2.8rem;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 1rem;
  transition: 0.3s;
  pointer-events: none;
}
.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -10px;
  left: 2.5rem;
  font-size: 0.8rem;
  color: #00d4ff;
  background: #141421;
  padding: 0 0.4rem;
  border-radius: 4px;
}

/* Button */
.contact-form button {
  background: linear-gradient(120deg, #0077ff, #00d4ff);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(0,212,255,0.5);
}
.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0,212,255,0.9);
}

/* Success Message */
.form-message {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 500;
}






/* Map */
.map-section {
  margin-top: 3rem;
  border-top: 3px solid #0077ff;
}

/* Footer */
/*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;
  }
}