:root {
  --primary: #003965;
  --accent: #ff8b00;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: #f4f6f9; }
.container { width: min(1180px, 100%); margin: 0 auto; padding: 0 16px; }
header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.92); border-bottom: 1px solid #dde2ea; backdrop-filter: blur(8px); }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.brand h1 { margin: 0; font-size: 1.25rem; color: var(--primary); }
.nav a { color: var(--text); text-decoration: none; margin-left: 20px; font-weight: 600; }
.nav .assistant-nav-link {
  background: linear-gradient(135deg, #2f6df6 0%, #6a5df6 30%, #00a7ff 58%, #14c7b7 80%, #58d26f 100%);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(48, 88, 200, 0.28);
}
.nav .assistant-nav-link:hover {
  color: #fff;
  filter: saturate(1.08);
}
.hero { position: relative; height: clamp(420px, 60vh, 720px); overflow: hidden; background:#000; }
.hero video, .hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.72)); }
.hero-content { position: absolute; inset: 0; display:flex; align-items:center; justify-content:center; text-align:center; color:#fff; padding: 20px; }
.hero-content .box { max-width: 910px; }
.hero-content h2 { font-size: clamp(1.8rem, 5vw, 3.3rem); margin:0; letter-spacing:0.03em; }
.hero-content p { margin: 16px 0 24px; font-size:clamp(1rem, 2.1vw, 1.25rem); color:#eee; }
.hero-content .btn { background: var(--accent); color:#fff; border:none; border-radius:8px; padding:14px 24px; font-weight:700; cursor:pointer; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
.hero-content .mobile-assistant-btn {
  display: none;
  text-decoration: none;
  background: linear-gradient(135deg, #2f6df6 0%, #6a5df6 28%, #00a7ff 56%, #14c7b7 78%, #58d26f 100%);
  margin-top: 12px;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 24px rgba(48, 88, 200, 0.34);
}

.mobile-assistant-btn .ai-btn-icon {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-assistant-btn .cute-robot-icon {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.14));
}
section { padding: 70px 0; }
.section-title { display:flex; align-items:center; gap:12px; margin-bottom:32px; }
.section-title h3 { margin:0; font-size: clamp(1.32rem, 2.1vw, 2rem); color: var(--primary);}    
.card-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap:16px; }
.card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 12px 28px rgba(0,0,0,.14);width: 90vw;}
.card img { width:100%; height:180px; object-fit:cover; }
.card-content { padding:16px; }
.card-content h4 { margin:0 0 8px; }
.card-content p { margin:0; color:var(--muted); font-size:0.95rem; }
.card-link { display:block; text-decoration:none; color:inherit; }
.card-link:hover .card { transform: translateY(-4px); box-shadow:0 16px 32px rgba(0,0,0,.18); transition:all .25s ease; }
.carousel-wrap{position:relative; overflow:hidden !important; }
.carousel-track{display:flex; transition:transform .5s ease; gap:16px; padding-bottom:8px;}
.carousel-item{min-width:calc(100%/1.03); flex:0 0 auto;width: 90vw;}
.carousel-item-inner{background:#fff;border-radius:var(--radius);padding:18px;box-shadow:0 10px 20px rgba(0,0,0,.13);}
.carousel-item-inner p{color:#444;line-height:1.5;margin:0 0 10px;font-size:0.96rem;}
.carousel-item-inner .person{font-weight:700;color:var(--primary);}
.carousel-controls{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;}
.control-btn{border:none;background:var(--primary);color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1rem;}
.stats { display:grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap:14px; }
.stat { background:#fff; border-radius:var(--radius); padding:20px; box-shadow:0 10px 20px rgba(0,0,0,.08); text-align:center; }
.stat h4 { margin:0; font-size:2.1rem; color:var(--accent); }
.stat span { color:#666; font-weight:600; }
.about-content-grid { margin-top:22px; display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:18px; align-items:center; background:#fff; border-radius:var(--radius); padding:20px; box-shadow:0 10px 20px rgba(0,0,0,.08); }
.about-content-grid img { width:100%; border-radius:8px; object-fit:cover; }
.section-link { text-decoration:none; color:inherit; display:block; }
.section-link:hover { opacity:.96; }
.project-detail { background:#fff; border-radius:var(--radius); padding:28px; margin:36px auto; box-shadow:0 12px 28px rgba(0,0,0,.14); }
.project-detail h2 { margin:0 0 16px; color:var(--primary); }
.project-detail img { width:100%; max-height:360px; object-fit:cover; border-radius:8px; margin-bottom:18px; }
.project-detail p { color:#444; line-height:1.7; }
.project-detail .back-link { color:var(--accent); text-decoration:none; font-weight:700; }
.project-detail .back-link:hover { text-decoration:underline; }
.about-content { max-width:1000px; margin:0 auto; }
.about-content p { margin:0 0 20px; color:#444; line-height:1.75; }
.about-content h3 { margin:34px 0 16px; color:var(--primary); }
.leadership-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.leader-card { background:#fff; border-radius:var(--radius); padding:20px; box-shadow:0 8px 24px rgba(0,0,0,.12); text-align:center; }
.leader-card img { width:110px; height:110px; border-radius:50%; object-fit:cover; border:3px solid var(--accent); margin-bottom:12px; }
.leader-card h4 { margin:0 0 6px; color:var(--primary); }
.leader-card p { margin:0; color:var(--muted); }
.testimonial .quote{font-size:1.08rem;margin:0 0 12px;line-height:1.5;color:#222;}
footer { background:#182538; color:#e7ebf7; padding:32px 16px; }
footer .footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;}
footer h5{margin:0 0 12px; color:#f7f9ff;}
footer p,a{color:#c7d1ec;text-decoration:none;font-size:0.94rem;}
footer a:hover{color:#fff;}
.footer-bottom{margin-top:22px;border-top:1px solid rgba(255,255,255,.15);padding-top:14px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.75rem;}
@media (max-width: 880px) {
  .carousel-item { min-width: 90%; }
  .card img { height: 160px; }
  .topbar { height: auto; padding: 8px 0; }
  .nav { display: none; }
  .hero-content .box .btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
  }
  .hero-content .mobile-assistant-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .section-title { flex-direction: column; align-items:flex-start; }
  .hero-content { justify-content: flex-end; text-align:left; }
  .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .hero-content .btn { width: 100%; }
  #projectCarousel { overflow: visible; }
  #projectCarousel .carousel-item { min-width: 70%; }
  .about-content-grid { grid-template-columns: 1fr; padding:16px; }
  .project-detail { padding:18px; }
  .project-detail img { max-height:260px; }
  .leadership-grid { display:flex; overflow-x:auto; gap:14px; padding-bottom:6px; scroll-snap-type:x mandatory; }
  .leader-card { min-width:220px; flex-shrink:0; scroll-snap-align:start; }
}

/* For WhatsApp Floating Button to show only on Phones and Tablets */
/* Hide by default (Desktop) */
.whatsapp-float {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-icon {
    width: 35px; /* Adjust size */
    margin-top: 12px;
  cursor: pointer;
}

  .whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
  }

  @keyframes whatsapp-pulse {
    0% {
      opacity: 0.55;
      transform: scale(0.98);
    }
    70% {
      opacity: 0;
      transform: scale(1.18);
    }
    100% {
      opacity: 0;
      transform: scale(1.18);
    }
  }

/* Show only on Phones and Tablets (Screens < 1024px) */
@media screen and (max-width: 1024px) {
    .whatsapp-float {
        display: block;
      animation: whatsapp-bob 2.8s ease-in-out infinite;
    }

    .whatsapp-float::before {
      opacity: 1;
      animation: whatsapp-pulse 2.4s ease-out infinite;
    }
    
    .whatsapp-float:active {
      transform: scale(1.08);
      box-shadow: 0 10px 24px rgba(0,0,0,0.28);
    }

    .whatsapp-float:focus-visible {
      outline: 3px solid rgba(255, 255, 255, 0.9);
      outline-offset: 3px;
    }
}

  @keyframes whatsapp-bob {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-2px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float::before {
      animation: none !important;
    }
  }
