/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #F4F9FC, #E8F3F8);
  color: #1A2E35;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===== MOTION BACKGROUND ===== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ===== HEADER ===== */
.header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  width: 140px;
}

/* ===== NAVIGATION ===== */
nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  color: #1A2E35;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: #00B4B4;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 110px 20px 90px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 600;
  color: #1A2E35;
}

.hero h2 {
  font-size: 22px;
  color: #00B4B4;
  margin: 10px 0;
}

.hero p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 16px;
}

/* ===== BUTTONS ===== */
.hero-buttons {
  margin-top: 30px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  margin: 5px;
  display: inline-block;
  transition: 0.3s;
}

.primary {
  background: #00B4B4;
  color: #fff;
}

.primary:hover {
  background: #009999;
}

.outline {
  border: 2px solid #00B4B4;
  color: #00B4B4;
}

.outline:hover {
  background: #00B4B4;
  color: #fff;
}

/* ===== SECTIONS ===== */
section {
  padding: 70px 0;
}

section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 10px;
}

section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #F5C842;
  display: block;
  margin: 10px auto;
}

/* ===== ABOUT SHORT ===== */
.about-short p {
  text-align: center;
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 16px;
}

/* ===== SERVICES ===== */
.services {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.card {
  background: #ffffff;
  padding: 25px 20px;
  text-align: center;
  border-radius: 12px;
  font-weight: 500;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

/* ===== CENTER BUTTON ===== */
.center {
  text-align: center;
  margin-top: 40px;
}

/* ===== CLIENTS ===== */
.clients {
  background: #F9FCFE;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  margin-top: 35px;
  align-items: center;
}

.client-logos img {
  width: 100%;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #ffffff;
}

.quote {
  max-width: 800px;
  margin: 30px auto 0;
  text-align: center;
  font-style: italic;
  font-size: 17px;
}

/* ===== CONTACT CTA ===== */
..contact-section {
  padding: 80px 0;
  background: #f9fcfe;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info,
.contact-form {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.contact-info h3 {
  margin-bottom: 20px;
  color: #00B4B4;
}

.contact-info p {
  margin: 10px 0;
  font-size: 15px;
}

.contact-info .note {
  margin-top: 20px;
  color: #555;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  margin-bottom: 15px;
}

.full-btn {
  width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
footer {
  background: rgba(26, 46, 53, 0.85);
  color: #ffffff;
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
  backdrop-filter: blur(6px);
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #00B4B4;
}

/* ===== FINAL MOBILE MENU (STABLE) ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #00B4B4;
}

/* Desktop */
.nav-links {
  display: flex;
  gap: 20px;
}

/* Mobile */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    background: #ffffff;
    flex-direction: column;
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    display: none;
    z-index: 9999;
  }

  .nav-links a {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    color: #1A2E35;
    text-decoration: none;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links.show {
    display: flex;
  }
}



/* ===== GLOBAL MOTION BACKGROUND ===== */
.bg-motion {
  position: fixed;
  inset: 0;
  /* background-image: url("../img/Backgruond.jpg");*/
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: -2;
  transition: transform 0.1s linear;
}

/* Service card animation */
.card {
  transition: all 0.35s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 180, 180, 0.25);
}

.card:hover h3 {
  color: #00B4B4;
}

.client-logos img {
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.client-logos img:hover {
  transform: scale(1.15);
  filter: grayscale(0%);
}

.card:hover {
  border-top: 4px solid #00B4B4;
}

.services .card:hover {
  background: linear-gradient(135deg, #ffffff, #E6F7F7);
}

input, select, textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #00B4B4;
  box-shadow: 0 0 0 2px rgba(0,180,180,0.2);
}

/* ===== SCROLL ANIMATION BASE ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Left & Right variations */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Scale animation (logos) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}


/* ===== HERO SUBTLE MOTION ===== */

/* Floating animation */
@keyframes floatSlow {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Fade-in animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero text animation */
.hero h1 {
  animation: fadeUp 1s ease forwards, floatSlow 6s ease-in-out infinite;
}

.hero h2 {
  animation: fadeUp 1.3s ease forwards;
}

.hero p {
  animation: fadeUp 1.6s ease forwards;
}

/* Button subtle pulse */
@keyframes pulseSoft {
  0% { box-shadow: 0 0 0 0 rgba(0,180,180,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0,180,180,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,180,180,0); }
}

.hero .btn.primary {
  animation: pulseSoft 3s infinite;
}

/* Button hover motion */
.hero .btn:hover {
  transform: translateY(-3px);
}

.hero:not(.hero-home) h1 {
  animation: fadeUp 1s ease forwards;
}

body {
  transform: none !important;
}

/* =====================================
   IT FLUID MOUSE-MOVE BACKGROUND
===================================== */

#it-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at top left, #eef8fb, #e6f4f7);
}

/* Floating blobs */
#it-bg .blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  transition: transform 0.2s linear;
}

/* Blob colors (IT style) */
#it-bg .b1 {
  background: #00b4b4;
  top: -200px;
  left: -200px;
}

#it-bg .b2 {
  background: #6fd3f5;
  top: 30%;
  right: -250px;
}

#it-bg .b3 {
  background: #b9f3e4;
  bottom: -200px;
  left: 30%;
}

/* Ensure content stays above */
body > * {
  position: relative;
  z-index: 1;
}

#it-bg .blob {
  animation: floatSlow 12s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  from {
    transform: translateY(-20px);
  }
  to {
    transform: translateY(20px);
  }
}


/* =====================================
   HERO ANIMATED BACKGROUND (SAFE)
===================================== */

.hero-animated {
  position: relative;
  overflow: hidden;
}

/* Animated gradient layer */
.hero-animated .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: linear-gradient(
    120deg,
    #e6f7f7,
    #c8f1f1,
    #eafcff,
    #bfefff
  );
  background-size: 400% 400%;
  animation: heroGradient 18s ease infinite;
}

/* Keep hero content above background */
.hero-animated .container {
  position: relative;
  z-index: 1;
}

/* Smooth gradient animation */
@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* =====================================
   HERO SECTION – VANTA READY (FINAL)
===================================== */

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Vanta background container */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Soft IT glow behind Vanta */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,180,180,0.22),
    transparent 60%
  );
  z-index: 0;
}

/* White overlay for text readability */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 1;
}

/* Hero content always on top */
.hero .container {
  position: relative;
  z-index: 2;
}

/* Text styling */
.hero h1 {
  font-size: 44px;
  font-weight: 600;
  color: #1A2E35;
}

.hero h2 {
  color: #00B4B4;
  margin-top: 10px;
}

.hero p {
  max-width: 720px;
  margin: 12px auto 0;
  color: #1A2E35;
}

/* ===== PREMIUM CONTACT CARD ===== */
.contact-card {
  text-align: left;
  padding: 30px 28px;
}

.contact-card h3 {
  text-align: center;
  margin-bottom: 25px;
}

/* Contact row */
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* Icon circle */
.contact-item .icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #00B4B4, #009999);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Text */
.contact-item strong {
  font-size: 14px;
  color: #1A2E35;
}

.contact-item p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #555;
}

/* Info note */
.contact-note {
  background: #F1FBFB;
  border-left: 4px solid #00B4B4;
  padding: 12px 14px;
  font-size: 13px;
  margin: 18px 0;
  border-radius: 6px;
  color: #1A2E35;
}

/* Call button */
.contact-btn {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* Hover premium effect */
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,180,180,0.18);
}

/* ===== CONTACT CARD – PREMIUM ===== */
.contact-card {
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
}

.contact-item span {
  font-size: 20px;
  line-height: 1;
}

.contact-item a {
  color: #1A2E35;
  text-decoration: none;
}

.contact-item a:hover {
  color: #00B4B4;
}

.contact-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn.whatsapp {
  background: #25D366;
  color: #fff;
}

.btn.whatsapp:hover {
  background: #1ebd5a;
}

/* Mini map block */
.mini-map {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
  font-size: 14px;
}

.mini-map a {
  color: #00B4B4;
  font-weight: 500;
  text-decoration: none;
}

.mini-map a:hover {
  text-decoration: underline;
}

/* ===== SERVICES CTA CENTER ALIGN ===== */
.service-cta {
  background: linear-gradient(135deg, #e6f7f7, #f4fcfc);
  padding: 70px 20px;
  text-align: center;
}

.service-cta h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1A2E35;
}

.service-cta p {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 16px;
  color: #555;
}

.service-cta .btn {
  display: inline-block;
  margin: 0 auto;
}