body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0f;
  color: #e0e0e0;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
}
.navbar-brand span {
color: #e0e0e0;
}
.navbar-brand {
  color: #00AEEF !important;
  font-weight: 600;
  letter-spacing: 1px;
}
.nav-link {
  color: #e0e0e0 !important;
  margin-right: 15px;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #00AEEF !important;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #00AEEF;
  text-shadow: 0 0 20px rgba(0,174,239,0.6);
}
.hero p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #cfd8dc;
}
.btn-glow {
  background: #00AEEF;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 4px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,174,239,0.5);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 35px rgba(0,174,239,0.9);
  transform: scale(1.05);
}

/* Section styling */
section {
  padding: 80px 0;
}
h2.section-title {
  color: #00AEEF;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: center;
}

/* Contact */
.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid #333;
  color: #fff;
}
footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #888;
}

/* Logo Glow Animation */
.navbar-brand {
  position: relative;
  color: #00AEEF !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 174, 239, 0.5);
  animation: pulseGlow 3.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0,174,239,0.6),
                 0 0 20px rgba(0,174,239,0.4),
                 0 0 30px rgba(0,174,239,0.2);
    color: #00AEEF;
  }
  50% {
    text-shadow: 0 0 20px rgba(0,174,239,1),
                 0 0 35px rgba(0,174,239,0.8),
                 0 0 45px rgba(0,174,239,0.6);
    color: #66d4ff;
  }
}

/* Scroll-Triggered Fade Animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 50px;
  height: 50px;
  background: rgba(0, 174, 239, 0.85);
  color: #fff;
  text-align: center;
  line-height: 50px;
  font-size: 1.8rem;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.5);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
  z-index: 99;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  transform: scale(1);
}

.back-to-top:hover {
  box-shadow: 0 0 30px rgba(0, 174, 239, 0.9);
  background: #00AEEF;
  transform: scale(1.1);
}


/* Section Dividers */
.section-divider {
  position: relative;
  height: 100px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,174,239,0.05) 0%, rgba(0,174,239,0.15) 50%, rgba(0,174,239,0.05) 100%);
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,174,239,0.4), transparent);
  animation: flow 6s linear infinite;
}

@keyframes flow {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.section-divider {
  position: relative;
  height: 250px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,174,239,0.05) 0%, rgba(0,174,239,0.15) 50%, rgba(0,174,239,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,174,239,0.4), transparent);
  animation: flow 6s linear infinite;
}

.section-divider p {
  position: relative;
  color: #8cd5f0;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(0,174,239,0.6);
  letter-spacing: 1px;
  z-index: 2;
  opacity: 0.9;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 15px rgba(0,174,239,0.6), 0 0 30px rgba(0,174,239,0.3);
  }
  50% {
    text-shadow: 0 0 25px rgba(0,174,239,1), 0 0 40px rgba(0,174,239,0.7);
  }
}


/* Services Section Enhancements */
.section-subtitle {
  color: #cfd8dc;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 40px;
}

.service-card {
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid rgba(0, 174, 239, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.4s ease;
  height: 100%;
  box-shadow: 0 0 15px rgba(0, 174, 239, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 174, 239, 0.4);
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #00AEEF;
}

.service-card h5 {
  color: #00AEEF;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  color: #ddd;
  min-height: 70px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  color: #aaa;
  font-size: 0.9rem;
}

.service-card ul li::before {
  content: "▹ ";
  color: #00AEEF;
  font-weight: bold;
}


/* About Section */
.about-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #0d1116 100%);
}

.about-intro {
  font-size: 1.05rem;
  color: #cfd8dc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-mission {
  font-size: 1rem;
  color: #a8c7da;
  border-left: 3px solid #00AEEF;
  padding-left: 15px;
}

.about-image {
  height: 300px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,174,239,0.3);
  animation: softFloat 6s ease-in-out infinite;
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Values */
.subheading {
  color: #00AEEF;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 600;
}

.value-card {
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: 10px;
  padding: 25px;
  height: 100%;
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0,174,239,0.3);
}

.value-card h5 {
  color: #00AEEF;
  margin-bottom: 10px;
}

.value-card p {
  color: #cfd8dc;
  font-size: 0.95rem;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.process-steps .step {
  background: rgba(15, 20, 25, 0.85);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: 8px;
  padding: 20px 25px;
  width: 220px;
  color: #cfd8dc;
  position: relative;
  transition: all 0.4s ease;
}

.process-steps .step span {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #00AEEF;
  margin-bottom: 10px;
}

.process-steps .step:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(0,174,239,0.4);
}

/* About CTA */
.about-cta {
  margin-top: 60px;
}

.about-cta p {
  color: #cfd8dc;
  font-size: 1.2rem;
  margin-bottom: 20px;
}


/* Contact Section */
.contact-section {
  background: linear-gradient(180deg, #0d1116 0%, #0a0a0f 100%);
  padding: 100px 0;
}

.contact-intro {
  color: #cfd8dc;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  line-height: 1.6;
}


/* Form Enhancements */
.contact-form-wrapper {
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid rgba(0,174,239,0.15);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0,174,239,0.1);
  max-width: 100%;
}

.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00AEEF;
  box-shadow: 0 0 10px rgba(0,174,239,0.3);
}

.contact-cta p {
  color: #cfd8dc;
  margin-bottom: 15px;
}

.contact-cta .btn-outline-light {
  border: 1px solid #00AEEF;
  color: #00AEEF;
  padding: 10px 25px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.contact-cta .btn-outline-light:hover {
  background: #00AEEF;
  color: #fff;
  box-shadow: 0 0 25px rgba(0,174,239,0.6);
}

.contact-form .btn {
  display: block;
  margin: 30px auto 0 auto; /* centers horizontally */
  width: 100%;
}

/* === Form Message Styles === */
.form-message {
  text-align: center;
  margin-top: 20px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.form-message.sending {
  color: #00AEEF;
  opacity: 1;
}

.form-message.success {
  color: #00FF99;
  text-shadow: 0 0 10px rgba(0,255,153,0.6);
  opacity: 1;
}

.form-message.error {
  color: #ff4d4d;
  text-shadow: 0 0 10px rgba(255,77,77,0.4);
  opacity: 1;
}



/* === CONTACT CARDS === */
.contact-card {
  position: relative;
  background: rgba(25, 30, 40, 0.95);
  border: 1.5px solid #00AEEF;
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(0,174,239,0.25);
  margin-bottom: 30px;
  z-index: 1;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0,174,239,0.6);
  border-color: #00CFFF;
}

.contact-card .icon {
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 12px;
  display: inline-block;
  text-shadow: 0 0 8px rgba(0,174,239,0.5);
}

.contact-card h5 {
  color: #00AEEF;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  color: #cfd8dc;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-card a:hover {
  color: #00AEEF;
}

@media (max-width: 767px) {
  .contact-card {
    margin-bottom: 20px;
    padding: 25px 20px;
  }
}


/* === FOOTER === */
.smartflow-footer {
  background: linear-gradient(180deg, #0a0a0f 0%, #050608 100%);
  padding: 80px 20px 40px;
  border-top: 1px solid rgba(0,174,239,0.25);
  box-shadow: 0 -10px 30px rgba(0,174,239,0.1);
  color: #cfd8dc;
  position: relative;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00AEEF;
  text-shadow: 0 0 15px rgba(0,174,239,0.6);
}

.footer-logo span {
  color: #fff;
  font-weight: 400;
}

.footer-tagline {
  font-size: 1rem;
  max-width: 600px;
  margin: 15px auto 25px;
  color: #a8c7da;
}

.footer-links a {
  color: #cfd8dc;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00AEEF;
  text-shadow: 0 0 10px rgba(0,174,239,0.6);
}

.footer-social a {
  color: #00AEEF;
  font-size: 1.4rem;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  color: #66d4ff;
  transform: scale(1.2);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(0,174,239,0.25);
  width: 70%;
  margin: 40px auto 20px;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px; /* Adjusts vertical space */
  margin-top: 30px;
  letter-spacing: 0.5px;
}

.footer-bottom span {
  color: #00AEEF;
  font-weight: 600;
}


/* Footer Navigation Links */
.footer-links a {
  color: #e0e0e0;
  margin: 0 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: #00AEEF;
  text-shadow: 0 0 10px rgba(0,174,239,0.6);
  text-decoration: none;
}

/* Footer Social Links */
.footer-social a {
  color: #e0e0e0;
  font-size: 1.4rem;
  margin: 0 12px;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: #00AEEF;
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(0,174,239,0.6);
  text-decoration: none;
}


.footer-bottom {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* allows text to wrap nicely on mobile */
  gap: 5px;
  min-height: 60px;
  margin-top: 30px;
  padding: 0 10px;
  letter-spacing: 0.5px;
}

.footer-bottom #ai{
  color: #cfd8dc;
}


.footer-bottom span #ai {
  color: #00AEEF;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-bottom {
    font-size: 0.8rem;
    flex-direction: column;
    line-height: 1.6;
  }
}

/* Center navbar links on mobile dropdown */
@media (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 0;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

  .navbar-nav .nav-link {
    display: inline-block;
    font-size: 1.1rem;
  }
}


@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(0,174,239,0.2);
    box-shadow: 0 4px 20px rgba(0,174,239,0.15);
  }
}


.navbar-collapse.collapse {
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.navbar-collapse.show {
  opacity: 1;
  transform: translateY(0);
}
