/* ========== Reset & Root ========== */
:root{
  --bg: #ffffff;
  --surface: #f9f9f9;
  --muted: #6b7280;
  --accent: #0d6efd;
  --accent-600: #0056b3;
  --card: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.09);
  --container: 1100px;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html,body { height:100%; margin:0; background:var(--surface); color:#333; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
.container { max-width:var(--container); margin:0 auto;  }

/* ========== Header ========== */
header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  
}

/* header inner */
.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 20px;
  max-width:var(--container);
  margin:0 auto;
}
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.brand img { width:44px; height:44px; object-fit:contain; border-radius:8px; }
.brand-text { font-weight:600; font-size:1rem; }

/* nav */
.nav { display:flex; align-items:center; gap:12px; }
.nav-list { display:flex; gap:18px; list-style:none; padding:0; margin:0; align-items:center; }
.nav-list a { color:var(--muted); text-decoration:none; padding:8px 10px; border-radius:8px; font-weight:500; }
.nav-list a:hover, .nav-list a:focus { color:var(--accent); outline: none; }
.nav-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; }

/* small hamburger */
.hamburger { width:22px; height:2px; background:var(--muted); position:relative; display:block; }
.hamburger::before, .hamburger::after { content:""; position:absolute; left:0; right:0; height:2px; background:var(--muted); }
.hamburger::before { top:-7px; } .hamburger::after { bottom:-7px; }

/* ========== Page entry animation ========== */
body { opacity:0; animation: fadeInWebsite 0.6s ease-in forwards; }
@keyframes fadeInWebsite { to { opacity:1; } }

/* ========== Hero ========== */
.hero-banner {
  background-image: url('../img/bg.jpg');
  background-size: cover;           /* use cover for hero */
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  display:flex;
  align-items:center;
  color:#fff;
  position:relative;
  overflow:hidden;
  padding:60px 0;
  
}

.hero-inner { display:flex; align-items:center; gap:28px; width:100%; max-width:var(--container); margin:0 auto; padding:100px 0px; }
.hero-content { animation: fadeInUp 0.9s ease both; max-width: 720px; color:#fff; }
.hero-content h1 { margin:0 0 10px; font-size:2rem; color: #fff; }
.hero-content p { margin:0 0 18px; color: #f3f4f6; }

/* Call-to-action */
.cta-btn, .join-now-btn {
  display:inline-block;
  padding:0.7rem 1.6rem;
  border-radius:25px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  border:0;
}
.cta-btn { background:var(--accent); color:#fff; }
.cta-btn:hover { background:var(--accent-600); }
.join-now-btn { background:var(--accent); color:#fff; font-size:1.05rem; }
.join-now-btn:hover { background:var(--accent-600); }

/* ========== Sections ========== */
.section { padding:56px 0; }
.section-title { font-size:1.6rem; margin:0 0 18px; color:#111827; display:inline-block; position:relative; }
.section-title::after { content:""; display:block; width:48px; height:3px; background:var(--accent); margin-top:8px; border-radius:3px; }

/* ========== Live Projects ========== */
.live-projects-section { background:var(--bg); padding:48px 0; color:#222; }
.live-projects-section .container { margin:0 auto; padding:0 20px; }

/* ============================
   PROJECTS GRID (UPDATED)
   ============================ */

/* Default: 1 card per row (mobile) */
.projects-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, 1fr);
  align-items: start;
}

/* 2 cards on tablets */
@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 cards on medium screens */
@media (min-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 4 cards on desktop */
@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================
   PROJECT CARD (UPDATED)
   ============================ */

.project-card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%; /* ensures equal height layout */
  min-height: 380px;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-card img {
  width: 100%;
 
  object-fit: cover;
  border-radius: 8px;
}

.project-card h3 {
  margin-top: 1rem;
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: #111827;
}

.project-card p {
  margin: 0 0 12px;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  flex-grow: 1; /* ensures text pushes buttons to bottom for perfect alignment */
}

.project-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn-apply {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blink-apply {
  background: #ff3b30;
  color: #fff;
  padding: 0 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  animation: blink 1.2s linear infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* ========== Partners slider (BIGGER VERSION) ========== */
/* ========== Partners Slider (FINAL FIXED VERSION) ========== */

.partners-section {
  padding: 56px 0;
  background: var(--surface);
  margin: 0; /* aligns with other sections */
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Track */
.slider-track {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: scroll 26s linear infinite;
  will-change: transform;
  padding: 6px 0;
}

/* Partner logo container */
.partner {
  flex: 0 0 auto;
  width: 250px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo image */
.partner img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter .22s ease, transform .22s ease;
}

/* Hover effects */
.partner img:hover,
.partner img:focus {
  filter: grayscale(0);
  transform: scale(1.07);
}

/* Animation (continuous scroll) */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .slider-track { animation: none; }
}

/* Pause animation when hovered */
.partners-slider:hover .slider-track,
.partners-slider:focus-within .slider-track {
  animation-play-state: paused;
}

/* Tablet */
@media (max-width: 992px) {
  .partner {
    width: 145px;
    height: 72px;
  }
  .partner img {
    width: 112px;
    height: 55px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .slider-track {
    gap: 20px;
  }

  .partner {
    width: 120px;
    height: 60px;
  }

  .partner img {
    width: 90px;
    height: 45px;
  }
}

/* ========== Upcoming Projects Slider ========== */
.upcoming-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 12px 28px;
  box-sizing: border-box;
}

/* slides container */
.slides {
  position: relative;
  height: 360px; /* reserve height to avoid layout jump */
  display: block;
  overflow: visible;
}

/* individual slide */
.slide {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  gap: 18px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 18px;
  box-sizing: border-box;

  /* starting state (hidden) */
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  transition: opacity .55s cubic-bezier(.2,.9,.25,1), transform .55s cubic-bezier(.2,.9,.25,1);
  pointer-events: none;
}

/* active slide */
.slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* image and content layout */
.slide img {
  width: 44%;
  max-width: 520px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16,24,40,0.08);
  flex-shrink: 0;
}

.slide .slide-content {
  width: 56%;
  padding-left: 22px;
}

.slide .slide-content h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #111827;
}

.slide .slide-content p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

/* controls (prev/next) */
.slider-controls {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 30;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(16,24,40,0.08);
  cursor: pointer;
  font-size: 20px;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.slider-controls button:focus { outline: 3px solid rgba(13,110,253,0.12); }

/* indicators (dots) */
.slider-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  display:flex;
  gap:8px;
  z-index: 30;
}
.slider-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(0,0,0,0.16);
  border:0;
  padding:0;
  cursor:pointer;
}
.slider-indicators button[aria-current="true"] {
  width: 32px;
  border-radius: 999px;
  background: var(--accent);
}

/* subtle progress bar above indicators */
.slider-progress {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 28px;
  height: 3px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  overflow: hidden;
  z-index: 25;
}
.slider-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width linear;
}

/* responsive: stack content on small screens */
@media (max-width: 880px) {
  .slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
  }
  .slide img { width: 84%; max-width: 520px; height: 220px; }
  .slide .slide-content { width: 100%; padding-left: 0; padding-top: 12px; }
  .slider-controls { right: 10px; top: auto; bottom: 12px; flex-direction: row; transform: none; }
  .slider-controls button { width:36px; height:36px; }
  .slider-progress { left: 6%; right: 6%; bottom: 64px; }
}

/* ========== Services section (kept) ========== */
.services-section { padding:48px 20px; background:var(--surface); text-align:center; }
.services-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:1.5rem; }
/* ========== Modern Modal UI ========== */
.modal[hidden] { display: none; }

/* backdrop with subtle blur */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.48);
  backdrop-filter: blur(6px) saturate(120%);
  z-index: 9998;
  opacity: 0;
  transition: opacity .22s ease;
}

/* panel */
.modal-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(.98);
  width: 420px;
  max-width: calc(100% - 36px);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(8,18,40,0.12);
  z-index: 9999;
  opacity: 0;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.9,.25,1);
  overflow: hidden;
}

/* show state */
.modal.show [id="modalBackdrop"] { opacity: 1; }
.modal.show .modal-panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* header */
.modal-header { margin-bottom: 8px; }
.modal-header h3 { margin:0; font-size:1.125rem; color:#0f1724; }
.modal-sub { margin:4px 0 0; font-size:0.95rem; color:#475569; }

/* form layout */
.modal-form { display:block; gap:12px; }
.form-row {
  position: relative;
  margin-top: 12px;
}
.form-input {
  width:100%;
  padding:14px 12px 14px 12px;
  border-radius:10px;
  border:1px solid #e6e9ee;
  background: #fff;
  font-size:1rem;
  color:#111827;
  transition: box-shadow .12s ease, border-color .12s ease, transform .08s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: rgba(13,110,253,0.9);
  box-shadow: 0 6px 18px rgba(13,110,253,0.08);
}

/* floating label (simple) */
.form-label {
  position: absolute;
  left: 12px;
  top: 14px;
  font-size:0.95rem;
  color:#6b7280;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .14s ease, top .14s ease, font-size .14s ease;
}

/* when input has value or focus, shrink label */
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  transform: translateY(-10px) scale(.86);
  top: 6px;
  font-size:0.78rem;
  color:#0d6efd;
}

/* actions row */
.modal-actions {
  margin-top: 16px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
}

/* buttons */
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  border:0;
}
.btn-primary {
  background: linear-gradient(180deg,var(--accent),var(--accent-600));
  color:#fff;
  box-shadow: 0 8px 20px rgba(13,110,253,0.12);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid #e6e9ee;
  color: #0f1724;
}

/* close button */
.modal-close {
  position:absolute;
  right:12px;
  top:10px;
  background:transparent;
  border:0;
  font-size:20px;
  color:#64748b;
  cursor:pointer;
}

/* success card */
.modal-success {
  display:none;
  margin-top:16px;
  background: linear-gradient(180deg,#10b981,#059669);
  color:#fff;
  border-radius:10px;
  padding:12px;
  text-align:center;
  align-items:center;
  gap:10px;
  box-shadow: 0 10px 30px rgba(4,120,87,0.12);
}
.modal-success svg { margin-bottom:6px; }

/* when showing success */
.modal-success[aria-hidden="false"] { display:flex; flex-direction:column; }

/* accessibility focus */
.modal-panel :focus { outline: 3px solid rgba(13,110,253,0.12); outline-offset:3px; }

/* responsive */
@media (max-width: 520px) {
  .modal-panel { width: calc(100% - 28px); padding:16px; border-radius:12px; }
  .form-input { padding:12px; }
  .btn { padding:10px 12px; font-size:0.95rem; }
}

/* ========== Misc UI ========== */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:8px; padding:8px 12px; font-weight:600; text-decoration:none; }
.btn-primary { background:var(--accent); color:#fff; border:0; }
.btn-outline { background:transparent; border:1px solid #e6e6e6; color:var(--muted); }

/* focus ring for accessibility */
a:focus, button:focus, input:focus { outline: 3px solid rgba(13,110,253,0.16); outline-offset:3px; }

/* ========== Animations ========== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
.animate { opacity:0; transform:translateY(12px); animation: fadeInUp 0.6s forwards; }
.animate.delay-1 { animation-delay:0.25s; } .animate.delay-2 { animation-delay:0.5s; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size:1.75rem; }
  .project-card { min-height: 340px; }
}
@media (max-width: 768px) {
  .nav-list { display:none; position:absolute; right:20px; top:64px; flex-direction:column; background:var(--bg); padding:12px; border-radius:8px; box-shadow:var(--shadow-md); }
  .nav-list.show { display:flex; }
  .nav-toggle { display:inline-flex; }
  .hero-inner { flex-direction:column; align-items:center; text-align:center; gap:18px; }
  .hero-banner { padding:40px 0; min-height:60vh; background-size:cover; }
  .projects-grid { display:flex; overflow-x:auto; gap:12px; padding-bottom:8px; scroll-snap-type:x mandatory; }
  .project-card { flex:0 0 80%; scroll-snap-align:start; min-height: 300px; }
  .project-card img { height:180px; }
  .partner-logo { width:160px; height:80px; }
  .partner-logo img { width:140px; height:70px; }
  .section-title { font-size:1.25rem; }
}

/* small mobile tweaks */
@media (max-width: 420px) {
  .project-card { flex:0 0 92%; padding:12px; }
  .join-now-btn { font-size:0.95rem; padding:8px 14px; }
}













.blink-red {
  color: red;
  animation: blinkText 1s infinite;
}

@keyframes blinkText {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}






/* ---------- Floating social column (left) ---------- */
.social-fixed {
  position: fixed;
  right: 5px;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9998;
  align-items: center;
}

.social-fixed a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .14s ease;
}
.social-fixed a:hover { transform: translateX(4px) scale(1.03); }

/* Optional small labels (hidden by default, shown on hover) */
.social-fixed a .label {
  display: none;
  margin-left: 8px;
  white-space: nowrap;
  font-size: 13px;
  color: #222;
  background: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: absolute;
  left: 56px;
}

/* show label on larger screens when hovering */
@media (min-width: 900px) {
  .social-fixed a:hover .label { display: inline-block; }
}

/* ---------- WhatsApp floating (bottom-left) ---------- */
.whatsapp-fixed {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.15);
  cursor: pointer;
  background: linear-gradient(180deg,#25D366,#128C7E);
  color: #fff;
  border: none;
}
.whatsapp-btn:focus { outline: 3px solid rgba(37,211,102,0.18); }

/* optional small text next to WhatsApp (on wide screens) */
.whatsapp-fixed .wa-text {
  display: none;
  font-weight: 600;
  font-size: 14px;
  color: #111;
}
@media (min-width: 900px) {
  .whatsapp-fixed .wa-text { display: inline-block; }
}

/* ---------- Chatbot (right) ---------- */
.chatbot-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 10001;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0b6cff;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(11,108,255,0.18);
  cursor: pointer;
  border: none;
}
.chatbot-toggle:focus { outline: 3px solid rgba(11,108,255,0.18); }

/* Chat panel */
.chat-panel {
  position: fixed;
  right: 16px;
  bottom: 88px; /* above toggle */
  width: 360px;
  max-width: calc(100% - 40px);
  height: 460px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.2);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: transform .18s cubic-bezier(.2,.9,.3,1), opacity .12s ease;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
}

/* open state */
.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* chat header */
.chat-panel .chat-header {
  padding: 12px 14px;
  background: linear-gradient(90deg,#0b6cff,#3aa0ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-panel .chat-header h4 { margin:0; font-size:16px; }
.chat-panel .chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* messages area */
.chat-panel .chat-body {
  padding: 12px;
  overflow: auto;
  flex: 1 1 auto;
  background: linear-gradient(180deg,#f7fbff,#fff);
}
.msg { max-width: 78%; padding: 10px 12px; margin: 8px 0; border-radius: 12px; line-height: 1.35; font-size: 14px; display: inline-block; }
.msg.user { background: #0b6cff; color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.msg.bot { background: #f1f4f9; color: #111; border-bottom-left-radius: 4px; }

/* input area */
.chat-panel .chat-footer {
  padding: 10px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #eef2f6;
}
.chat-panel .chat-input {
  flex: 1 1 auto;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6eefb;
  font-size: 14px;
}
.chat-panel .chat-send {
  background: #0b6cff;
  color: #fff;
  border: none;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* responsive tweaks */
@media (max-width: 600px) {
  .social-fixed { display: none; } /* hide left social on tiny screens */
  .chat-panel { right: 10px; left: 10px; width: auto; bottom: 76px; height: 56vh; }
  .whatsapp-fixed .wa-text { display: none; }
}

































/* FAQ */
.faq h2 { margin:0 0 8px 0; color:var(--text); }
.faq-item { background: #fff; border-radius:10px; padding:12px; border:1px solid rgba(16,24,40,0.03); box-shadow: 0 6px 18px rgba(16,24,40,0.03); }
.faq-item summary { cursor:pointer; font-weight:700; color:var(--text); list-style:none; outline:none; }
.faq-item summary::marker { font-size:0; }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item .muted { color:var(--muted); margin-top:8px; }




/* info card */
.hero-card.info { padding:14px; }
.info-row { display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:10px; background:linear-gradient(180deg,#fff,#fcfcff); border:1px solid rgba(16,24,40,0.03); margin-bottom:10px; }
.icon { width:44px; height:44px; border-radius:8px; display:grid; place-items:center; background: linear-gradient(180deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02)); color:var(--accent); font-weight:700; font-size:18px; }
.info-row h3 { margin:0; font-size:1rem; color:var(--text); }
.info-row p { margin:6px 0 0; color:var(--muted); }

/* map */
.map { border-radius:12px; overflow:hidden; box-shadow: var(--shadow-sm); border:1px solid rgba(16,24,40,0.03); background:#fff; margin-top:12px; }
.map .map-inner { height:260px; }
.map iframe { width:100%; height:100%; border:0; display:block; }





/* primary button */
button.primary, .primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  border:0;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
button.primary:hover, .primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }



/* aside forms */
.form-card {
  background: linear-gradient(180deg,#fff,#fcfcff);
  padding:16px;
  border-radius:12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16,24,40,0.04);
}
.form-card strong { font-size:1rem; color:var(--text); }
.small { font-size:0.9rem; color:var(--muted); }

/* quick callback form */
#callbackForm { display:flex; flex-direction:column; gap:10px; margin-top:8px; }
#callbackForm input[type="text"],
#callbackForm input[type="tel"],
#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea,
#contactForm select,
#callbackForm textarea {
  width:100%;
  padding:11px 12px;
  border-radius:10px;
  border:1px solid #e9edf2;
  background:#fff;
  color:var(--text);
  font-size:0.95rem;
  outline:none;
  transition: box-shadow .12s ease, border-color .12s ease;
}
#callbackForm input:focus, #contactForm input:focus, #contactForm textarea:focus, #contactForm select:focus {
  box-shadow: 0 8px 22px rgba(13,110,253,0.06);
  border-color: rgba(13,110,253,0.12);
}

/* primary button */
button.primary, .primary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  border:0;
  background-color: #004d61;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
button.primary:hover, .primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }




/* CTAs */
.chat-btn {
  display:inline-block;
  padding:10px 14px;
  border-radius: 10px;
  background-color: #004d61;
  color: #fff;
  font-weight:700;
  text-decoration:none;
  box-shadow: 0 8px 20px rgba(13,110,253,0.08);
  transition: transform .14s ease, box-shadow .14s ease;
}
.chat-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.chat-btn[style] { /* the mailto variant which used inline style */ background:transparent; color:var(--muted); box-shadow:none; border:1px solid rgba(16,24,40,0.04); }


/* contact form aside */
.form-card h3 { margin:0 0 6px; color:var(--text); }
#contactForm label { display:block; font-size:0.9rem; color:var(--muted); margin-top:10px; margin-bottom:6px; }
#contactForm select { appearance: none; -webkit-appearance:none; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="%236b7280"><path d="M6 8l4 4 4-4"/></svg>') no-repeat right 10px center/12px 12px; padding-right:34px; }

/* muted helper */
.muted { color:var(--muted); }

/* toast */
.toast { position: fixed; left:50%; transform: translateX(-50%); bottom:32px; padding:12px 16px; border-radius:10px; background:#042a1f; color:#d9ffe7; display:none; z-index:9999; box-shadow:0 10px 30px rgba(4,40,30,0.12); }
.toast.show { display:block; }

/* floating chat */
.float-chat { position: fixed; right: 18px; bottom: 18px; z-index: 9999; }
.float-chat .chat-btn { padding:12px 16px; border-radius:999px; background: linear-gradient(90deg,var(--accent),var(--accent-600)); color:#fff; box-shadow: var(--shadow-md); }

/* responsive */
@media (max-width: 980px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .container { padding:18px; }
  .hero-card { padding:18px; }
  .form-card { padding:14px; }
  .map .map-inner { height:220px; }
  .hero { gap:18px; }
}

/* small mobile */
@media (max-width: 480px) {
  .contact-stats { flex-direction:column; }
  .stat { text-align:left; padding:10px; }
  #contactForm select { padding-right:38px; }
  .float-chat { right:12px; bottom:12px; }
}


.social-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(16,24,40,0.06);
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .15s ease;
  box-shadow: 0 4px 12px rgba(16,24,40,0.05);
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(16,24,40,0.12);
  color: var(--accent);
}

.icon-social {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

























/* about.css - AmDoc Consultancy main content styles */
/* Namespaced under .amdoc- to avoid collisions */

.amdoc-main { max-width: 1120px; margin: 32px auto; padding: 20px; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color: #0f1724; }

/* Hero */
.amdoc-hero { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; margin-bottom: 28px; }
.amdoc-kicker { color: #0b7285; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; margin-bottom: 6px; }
.amdoc-hero__title { font-size: 28px; margin: 0 0 10px; line-height: 1.05; color: #041126; }
.amdoc-lead { margin: 0 0 14px; color: #4b5563; font-size: 15px; }

/* Stats */
.amdoc-stats { display: flex; gap: 10px; list-style: none; padding: 0; margin: 8px 0 16px; }
.amdoc-stat { background: rgba(6,182,212,0.06); padding: 10px 12px; border-radius: 10px; min-width: 88px; text-align: center; }
.amdoc-stat strong { display: block; font-size: 18px; color: #062226; }
.amdoc-stat span { font-size: 12px; color: #475569; }

/* Buttons */
.amdoc-btn { display: inline-block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid rgba(3,7,18,0.06); background: #ffffff; color: #062226; }
/*.amdoc-btn--ghost { background: transparent; border-style: dashed; color: #475569; } */
.amdoc-btn--accent { background: #555; color: white; border: none; box-shadow: 0 6px 18px rgba(7,10,20,0.06); }
.amdoc-btn--link { background: transparent; border: none; padding: 6px 8px; font-weight: 600; color: #0b7285; }

/* Hero aside (founder) */
.amdoc-hero__side { background: #f8fafc; border-radius: 12px; padding: 18px; box-shadow: 0 8px 30px rgba(3,7,18,0.03); text-align: center; }
.amdoc-founder-img { width: 140px; height: 140px; object-fit: cover; display: block; margin: 0 auto 12px; }
.amdoc-founder-name { margin: 0 0 4px; font-size: 18px; color: #041126; }
.amdoc-founder-role { font-size: 13px; color: #6b7280; margin-bottom: 10px; }
.amdoc-founder-bio { font-size: 13px; color: #475569; margin: 0 0 12px; }
.amdoc-founder-ctas { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }

/* Section headings */
.amdoc-section { margin-bottom: 26px; }
.amdoc-section__header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.amdoc-section__header h2 { margin:0; font-size:20px; color:#041126; }
.amdoc-small { color:#6b7280; font-size:13px; margin:0; }

/* Card grid (services) */
.amdoc-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amdoc-card { background: #ffffff; border-radius: 12px; padding: 16px; box-shadow: 0 6px 22px rgba(3,7,18,0.03); border: 1px solid rgba(3,7,18,0.03); }
.amdoc-card h3 { margin: 0 0 8px; font-size: 16px; color: #041126; }

/* Certificate grid */
.amdoc-cert-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.amdoc-cert { display:flex; gap: 12px; align-items:center; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(3,7,18,0.03); }
.amdoc-cert__img { width: 100px; height: auto; object-fit: cover; border-radius: 6px; }

/* Timeline */
.amdoc-timeline { list-style:none; padding:0; margin: 8px 0 0; border-left: 2px solid rgba(6,6,7,0.04); padding-left: 18px; }
.amdoc-timeline__event { display:flex; gap:12px; margin-bottom: 18px; align-items:flex-start; }
.amdoc-timeline__meta { min-width:48px; font-weight:700; color:#0b7285; }
.amdoc-timeline__body strong { display:block; color:#041126; }
.amdoc-timeline__body .amdoc-small { margin-top:4px; }

/* CTA block */
.amdoc-cta { display:flex; justify-content:space-between; align-items:center; gap:12px; background: linear-gradient(90deg, rgba(6,182,212,0.04), rgba(124,58,237,0.03)); padding:14px; border-radius:12px; border:1px solid rgba(3,7,18,0.03); }
.amdoc-cta__actions { display:flex; gap:10px; align-items:center; }

/* Contact card */
.amdoc-contact-card { background:#ffffff; padding:14px; border-radius:12px; border:1px solid rgba(3,7,18,0.03); color:#041126; }

/* Utilities */
.amdoc-muted { color:#6b7280; font-weight:600; }

/* Responsive */
@media (max-width: 980px) {
  .amdoc-hero { grid-template-columns: 1fr; }
  .amdoc-cards { grid-template-columns: repeat(2, 1fr); }
  .amdoc-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .amdoc-hero__side { order: -1; } /* show founder above on small screens */
}

@media (max-width: 600px) {
  .amdoc-cards, .amdoc-cert-grid { grid-template-columns: 1fr; }
  .amdoc-stats { flex-direction: column; gap: 8px; }
  .amdoc-cta { flex-direction: column; align-items: stretch; }
}








/* policy.css — styles for AmDoc Consultancy policy pages */
.amdoc-policy-main { max-width: 1100px; margin: 28px auto; padding: 20px; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial; color: #0b1720; }

/* Hero */
.amdoc-policy-hero { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; margin-bottom:16px; }
.amdoc-policy-hero h1 { margin:0; font-size:26px; color:#041126; }
.amdoc-policy-sub { margin:6px 0 0; color:#475569; font-size:14px; }
.amdoc-policy-meta { text-align:right; font-size:13px; color:#6b7280; }

/* Navigation */
.amdoc-policy-nav { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.amdoc-policy-nav a { text-decoration:none; padding:8px 10px; border-radius:8px; background:#f8fafc; color:#041126; border:1px solid rgba(3,7,18,0.03); font-weight:600; font-size:13px; }

/* Sections */
.amdoc-policy-section { margin-bottom:22px; padding:18px; background:#fff; border-radius:12px; box-shadow:0 10px 30px rgba(3,7,18,0.03); border:1px solid rgba(3,7,18,0.03); }
.amdoc-policy-section h2 { margin:0 0 8px; font-size:18px; color:#041126; }
.amdoc-policy-small { color:#6b7280; margin-bottom:12px; }

/* Blocks */
.amdoc-policy-block { margin:12px 0; }
.amdoc-policy-block h3 { margin:0 0 6px; font-size:15px; color:#0b7285; }
.amdoc-policy-block p, .amdoc-policy-block ul { margin:0 0 8px; color:#475569; font-size:14px; line-height:1.45; }

/* Lists */
.amdoc-policy-block ul { padding-left:18px; }
.amdoc-policy-block li { margin-bottom:6px; }

/* Small utilities */
.amdoc-muted { color:#6b7280; font-weight:600; }
.amdoc-policy-tag { background: rgba(6,182,212,0.06); padding:6px 8px; border-radius:8px; display:inline-block; font-weight:600; color:#062226; }

/* Footer contact small */
.amdoc-policy-smaller { color:#94a3b8; font-size:13px; margin-top:12px; }

/* Responsive */
@media (max-width: 900px) {
  .amdoc-policy-hero { flex-direction: column; align-items:stretch; }
  .amdoc-policy-meta { text-align:left; margin-top:8px; }
  .amdoc-policy-nav { gap:8px; }
}



/* ================= SERVICES : HERO ================= */

.services-hero{
  background: #555;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.services-hero .container{
  max-width: var(--container);
  margin: auto;
}

.services-hero h1{
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.services-hero p{
  font-size: 1rem;
  opacity: 0.95;
}

/* ================= SERVICES : SEARCH ================= */
.services-search {
  padding: 20px 0;
}

.search-wrapper {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.search-wrapper input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  outline: none;
  font-size: 15px;
}

.search-wrapper button {
  padding: 14px 20px;
  border: none;
  background: #0d6efd;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-wrapper button:hover {
  background: #0056b3;
}
/* ================= SERVICES : LIST ================= */

.services-list{
  background: var(--bg);
  padding: 45px 20px 80px;
}

.services-list .container{
  max-width: var(--container);
  margin: auto;
}

/* ================= SERVICES : GRID ================= */

.services-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ================= SERVICE CARD ================= */

.service-card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ================= CARD CONTENT ================= */

.service-category{
  display: inline-block;
  align-self: flex-start;
  background: rgba(13,110,253,0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.service-card h3{
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-code{
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ================= CARD BUTTON ================= */

.service-btn{
  margin-top: auto;
  width: 100%;
  border: none;
  background: #004d61;
  color: #fff;
  padding: 11px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.service-btn:hover{
  background: #555;
  transform: translateY(-1px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 480px){
  .services-hero{
    padding: 55px 16px;
  }

  .services-search{
    padding: 22px 16px;
  }

  .services-list{
    padding: 35px 16px 60px;
  }
}




/* ================= Floating Scroll Buttons ================= */
/* ================= Floating Scroll To Top ================= */
/* Floating container */
.floating-scroll {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 999;

  /* Hidden initially */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show on scroll */
.floating-scroll.show {
  opacity: 1;
  pointer-events: auto;
}

/* Button styling */
.floating-scroll button {
  width: 60px;
  height: 60px;              /* fixed height (important) */
  border: none;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon inside button */
.floating-scroll button img {
  width: 90%;
  height: auto;
}

/* Hover animation */
.floating-scroll button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}



/* ================= Floating Filter Button ================= */
/* Floating container */
.floating-filter {
  position: fixed;
  left: 20px;
  bottom: 40px;
  z-index: 999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show on scroll */
.floating-filter.show {
  opacity: 1;
  pointer-events: auto;
}

/* Button */
.floating-filter button {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon */
.floating-filter button img {
  width: 90%;
  height: auto;
  
}

/* Hover effect */
.floating-filter button:hover {
 
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* ================= Filter Panel ================= */
.filter-panel {
  position: fixed;
  left: -260px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border-radius: 12px;
  transition: left 0.3s ease;
  z-index: 998;
}

.filter-panel.active {
  left: 20px;
}

.filter-panel h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.filter-panel select,
.filter-panel button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 6px;
}

.filter-panel button {
  background: #555;
  color: #fff;
  border: none;
  cursor: pointer;
}




/* ================= Floating Call Button ================= */
/* ================= Dispute Call Slider ================= */
.dispute-slider {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  align-items: center;
  background: #fff;
      border: 1px solid rgba(16, 24, 40, 0.06);

  border-radius: 15px;
  padding: 6px 6px 6px 16px;
  text-decoration: none;
  overflow: visible; /* IMPORTANT */
  z-index: 9999;
      box-shadow: 0 4px 12px rgba(16, 24, 40, 0.05);

}

/* Text part */
.dispute-text {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  transition: transform 0.8s ease;
}

/* Call button (circle) */
.dispute-call {
  position: relative;
  width: 30px;

  margin-left: 14px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  animation: callPulse 1.6s infinite;
}

/* Phone image OUTSIDE the box */
.dispute-call img {
  position: absolute;
  right: -20px;   /* push outside */
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 60px;
  height: auto;
 
  pointer-events: none;
}
/* Start hidden (off-screen to the right) */
.dispute-slider {
  transform: translateX(120%);
  transition: transform 0.8s ease;
}

/* Slide INTO view */
.dispute-slider.show {
  transform: translateX(0);
}



/* Mobile tweak */
@media (max-width: 600px) {
  .dispute-text {
    font-size: 14px;
  }

  .dispute-call {
    width: 48px;
    height: 48px;
  }

  .dispute-call img {
    width: 28px;
    right: -14px;
  }
}

.menu-link {
  display: flex;
  align-items: center;
  width: 100%;              /* important for menus */
  text-decoration: none;
}

.menu-icon {
  width: 16px;              /* 50px is too big for menus */
  height: auto;
  margin-left: auto;        /* push icon to right */
  opacity: 0.8;
  flex-shrink: 0;           /* prevent wrapping */
}


