:root{
  --green: #A8E6CF;
  --blue:  #2196F3;
  --bg: #ffffff;
  --muted: #6b7280;
  --max: 1200px;
  --radius: 12px;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10005;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background-color: #fff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  transform: translateY(-1px);
}

.lang-flag {
  font-size: 18px;
  display: inline-block;
  margin-right: 4px;
}

.lang-code {
  font-weight: 700;
  letter-spacing: 1px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background-color: #fff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(33, 150, 243, 0.15);
  min-width: 220px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 10006;
}

.lang-dropdown[aria-hidden="false"] {
  display: flex;
}

.lang-option {
  padding: 14px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.lang-option::before {
  content: attr(data-flag);
  font-size: 22px;
  display: inline-block;
  min-width: 28px;
  text-align: center;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background-color: var(--blue);
  color: #fff;
  padding-left: 22px;
}

@media (max-width: 768px) {
  .language-switcher {
    top: 10px;
    right: 10px;
    z-index: 10005;
  }

  .lang-toggle {
    padding: 8px 12px;
    font-size: 12px;
    border: 2px solid var(--blue);
  }

  .lang-flag {
    font-size: 16px;
    margin-right: 3px;
  }

  .lang-dropdown {
    min-width: 180px;
    top: calc(100% + 10px);
  }

  .lang-option {
    padding: 12px 14px;
    font-size: 13px;
    gap: 10px;
  }

  .lang-option::before {
    font-size: 20px;
    min-width: 26px;
  }

  .lang-option:hover {
    background-color: var(--blue);
    color: #fff;
    padding-left: 18px;
  }
}

@media (max-width: 600px) {
  .language-switcher {
    top: 8px;
    right: 8px;
    z-index: 10005;
  }

  .lang-toggle {
    padding: 5px 8px;
    font-size: 10px;
    border: 1.5px solid var(--blue);
  }

  .lang-flag {
    font-size: 12px;
    margin-right: 2px;
  }

  .lang-code {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .lang-dropdown {
    min-width: 140px;
    top: calc(100% + 6px);
  }

  .lang-option {
    padding: 8px 10px;
    font-size: 11px;
    gap: 6px;
  }

  .lang-option::before {
    font-size: 16px;
    min-width: 20px;
  }

  .lang-option:hover {
    background-color: var(--blue);
    color: #fff;
    padding-left: 12px;
  }
}

/* Floating call button (top-right) */
.floating-call {
  position: fixed;
  top: 60px;
  right: 15px; 
  z-index: 10000;
}

.floating-call a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #000000; /* black icon */
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.floating-call a svg { width: 20px; height: 20px; fill: #000000; }

.floating-call a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  /* on smaller screens translate moves to right:10px; keep call below it */
  .floating-call { right: 10px; top: 54px; }
}

/* Basic reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  color:#0f172a;
  background:linear-gradient(180deg,#fff,#f7f9fb);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Remove default margin/padding from body and header */
body, header, .container {
  margin: 0;
  padding: 0;
}

/* layout helpers */
.container{max-width:var(--max);margin:0 auto;padding:0 22px}
.mt-8{margin-top:2rem}
.mt-16{margin-top:4rem}
.mt-20{margin-top:5rem}
.mt-24{margin-top:6rem}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}

@media (max-width: 900px) {
  .container { max-width: 100%; padding: 0 16px; }
  .mt-8 { margin-top: 1rem; }
  .mt-16 { margin-top: 2rem; }
  .mt-20 { margin-top: 2.5rem; }
  .mt-24 { margin-top: 3rem; }
  .grid-3 { gap: 16px; }
}

/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border: none;
}

.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand-icon{width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,var(--green),var(--blue));display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700}
.brand-name{font-weight:700}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  min-height: 56px; /* match your logo height */
}

/* nav */
.nav{display:flex;gap:18px;align-items:center}
.nav a{color:inherit;text-decoration:none;padding:6px 8px;font-weight:600}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:8px;text-decoration:none}
.btn-sm{padding:8px 12px}
.btn-primary{background:var(--blue);color:#fff}
.btn-outline{background:transparent;border:1px solid rgba(36, 77, 173, 0.877);padding:10px 14px;border-radius:8px}
.btn-ghost{background:transparent;border:1px solid transparent;padding:8px 12px}

/* hamburger */
.hamburger {
  padding: 0;
  margin-left: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  height: 40px;
  margin-top: 30px; 
}
.hamburger span{display:block;height:2px;width:20px;background:#3e47c4;border-radius:1px;margin:2px 0;transition:all .25s}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #80a6d1;
  border-radius: 2px;
}
@media (max-width: 900px){
  .nav{display:none}
  .hamburger{display:block}
}

/* mobile nav */
.mobile-nav{display:none}
.mobile-nav a{display:block;padding:12px;border-bottom:1px solid #f0f0f0;text-decoration:none;color:inherit}
@media (max-width:900px){
  .mobile-nav{display:none;position:absolute;top:66px;right:16px;background:#fff;border-radius:10px;box-shadow:0 8px 30px rgba(10,15,25,0.08);overflow:hidden}
  .mobile-nav.open{display:block}
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}

.hero-bg-slider .swiper-slide img {
  width: 100vw;
  height: 100vh;
  min-height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6); /* darken for readability */
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
}

@media (max-width: 900px) {
  .hero-content {
    min-height: 70vh;
    padding: 40px 20px;
  }
}
.hero h1{font-family:Poppins,Inter;font-size:42px;line-height:1.02;margin:0;max-width:780px;text-shadow:0 10px 30px rgba(2,6,23,0.45)}
.lead{opacity:.95;margin-top:16px;font-size:18px}
.hero-cta{margin-top:22px;display:flex;gap:16px;flex-wrap:wrap;justify-content:center;align-items:center}
.hero-cred{display:flex;gap:18px;margin-top:18px;list-style:none;padding:0;color:rgba(255,255,255,0.9);flex-wrap:wrap;justify-content:center}

@media (max-width: 900px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .hero-cred { flex-direction: column; gap: 8px; }
  .hero-cred li { width: 100%; }
}

/* sections */
.section{padding:88px 0}
.bg-soft{background:linear-gradient(180deg,#fbfeff,#f7fbfa)}
.section-title{font-size:28px;font-weight:700}
.section-sub{color:var(--muted);margin-top:8px}

@media (max-width: 900px) {
  .section { padding: 40px 0; }
}

/* cards and projects */
.card{padding:20px;border-radius:12px;background:#fff;box-shadow:0 6px 22px rgba(8,15,30,0.04)}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.project-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px rgba(9,18,35,0.04);display:flex;flex-direction:column}
.project-card img{width:100%;height:170px;object-fit:cover}
.project-info{padding:14px;flex:1;display:flex;flex-direction:column;justify-content:space-between}
.project-actions{margin-top:12px}
.btn-sm{background:var(--green);color:#063;display:inline-block;padding:8px 12px;border-radius:8px;text-decoration:none;color:#fff}

@media (max-width: 900px) {
  .projects-grid { gap: 12px; }
  .card { padding: 14px; }
}

/* testimonials / swiper */
.swiper-container{width:100%;padding:20px 0}
.testimonial{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px}
.testimonial img{width:84px;height:84px;border-radius:50%;object-fit:cover;box-shadow:0 6px 20px rgba(10,20,40,0.06)}
.testimonial blockquote{font-style:italic;color:#0f172a;max-width:760px;text-align:center;margin:6px 0}

/* Testimonials — responsive rows/grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 1rem;
}

.testimonial {
  background: var(--card-bg, #ffffff);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(18,24,40,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 180px;
}

/* avatar */
.testimonial img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

/* quote + author */
.testimonial blockquote {
  margin: 0 0 12px;
  font-style: italic;
  color: var(--muted, #4b5563);
  line-height: 1.45;
}
.testimonial strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}
.testimonial small {
  color: var(--muted, #6b7280);
}

/* breakpoints for explicit column counts */
@media (min-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; }
}
/* mobile falls back to single column via auto-fit */

/* about */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.about-media img{width:100%;border-radius:12px;box-shadow:0 10px 30px rgba(9,18,35,0.06)}

@media (max-width: 900px) {
  .about-grid { gap: 20px; }
}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 360px;gap:28px}
.contact-form input,.contact-form textarea{border:1px solid #e6e9ef;padding:12px;border-radius:10px}
.form-actions{display:flex;align-items:center;gap:12px;margin-top:8px}
.whatsapp-quick{display:flex;gap:8px}

/* Contact form: two-column layout — Name (col 1) and Email (col 2).
   The "Tell us about your project" textarea spans from where Name starts to where Email ends. */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Make textarea span both columns (start at Name, end at Email) */
.contact-form textarea,
.contact-form .full-width { 
  grid-column: 1 / -1;
  min-height: 140px;
  resize: vertical;
}

/* Ensure action buttons sit under the textarea */
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile: stack inputs */
@media (max-width: 900px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form textarea,
  .contact-form .full-width,
  .form-actions { grid-column: auto; }
}

/* footer */
.site-footer{padding:28px 0;border-top:1px solid #eef2f7;background:transparent}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:10px}

/* Footer branding (left side) */
.footer-left{display:flex;align-items:center;gap:12px}
.footer-logo{width:48px;height:48px;border-radius:8px;object-fit:cover;display:block}
.footer-brand{display:block}
.footer-brand strong{display:block;font-size:16px}
.footer-tagline{display:block;font-size:13px;color:var(--muted)}

/* Footer right (socials + small text) adjustments */
.footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.footer-socials{display:flex;gap:10px;align-items:center}

@media (max-width: 700px) {
  .footer-inner{flex-direction:column;align-items:flex-start;gap:12px}
  .footer-right{align-items:flex-start}
  .footer-logo{width:40px;height:40px}
  .footer-brand strong{font-size:15px}
  .footer-tagline{font-size:12px}
}

/* Social icons sizing (default + mobile override) */
.footer-socials a svg,
.footer-socials svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 700px) {
  .footer-socials a svg,
  .footer-socials svg {
    width: 18px;
    height: 18px;
  }
  /* ensure tappable area remains comfortable on mobile */
  .footer-socials a { padding: 6px; display:inline-flex; align-items:center; justify-content:center; }
}

/* Video unmute button styling */
.responsive-video { position: relative; }

/* Centered play/unmute overlay (hidden by default, shown by JS) */
.video-overlay {
  position: absolute;
  inset: 0;
  /* hidden by default; shown when JS adds .show */
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
  gap: 10px;
  z-index: 3;
}
.video-overlay.show { display: flex }

.video-overlay .video-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #0b1220;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2,6,23,0.35);
  cursor: pointer;
}
.video-overlay .video-play:focus { outline: 2px solid rgba(79,195,247,0.8); }
.video-overlay .video-overlay-text { color: #fff; font-size: 14px; opacity: 0.95 }

@media (max-width: 700px) {
  .video-overlay .video-play { width:64px; height:64px; font-size:22px }
  .video-overlay .video-overlay-text { font-size:12px }
}

/* Watch on YouTube fallback button (visible above iframe) */
.responsive-video .video-watch-yt {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
}
.responsive-video .video-watch-yt:hover { background: rgba(0,0,0,0.85); }

@media (max-width:700px) {
  .responsive-video .video-watch-yt { left: 8px; bottom: 8px; padding:6px 8px; font-size:12px }
}

/* floating whatsapp */
  .floating-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 220px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-items: flex-start; /* align items to the left when positioned on left */
    gap: 8px;
}

/* ensure enough space on smaller screens too */
@media (max-width: 420px) {
  .floating-whatsapp {
    bottom: 180px; 
    left: 14px; /* small-screen offset adjusted for left side */
  }
}
.floating-whats-link,
.floating-whatsapp button#floatingWhatsBtn {
  padding: 0;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.floating-whats-link svg,
.floating-whats-link i,
.floating-whatsapp button#floatingWhatsBtn svg,
.floating-whatsapp button#floatingWhatsBtn i {
  color: #25D366; /* WhatsApp brand color */
  fill: #25D366;
  font-size: 40px; /* Make the icon slightly larger since we removed the background */
}

/* adjust quick panel position if needed */
.whats-panel {
  position: absolute; /* position relative to the fixed container */
  left: 60px; /* sit to the right of the circular button */
  bottom: 0; /* align vertically with the button */
  background: var(--card-bg, #fff);
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(18,24,40,0.08);
  margin: 0; /* reset margin since we're positioning absolutely */
  min-width: 220px;
  z-index: 100;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

/* little arrow pointing to the button */
.whats-panel::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--card-bg, #fff);
}

/* aria-hidden handled with animated show/hide rules further below */
/* chatbot */
.chatbot{position:fixed;right:18px;bottom:90px;width:280px;background:#fff;border-radius:12px;box-shadow:0 18px 50px rgba(2,12,36,0.12);overflow:hidden;display:none;flex-direction:column;z-index:220}
.chatbot-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #eef2f7}
.chatbot-body{padding:10px 12px;min-height:100px}
.bot-message{background:linear-gradient(90deg,var(--green),var(--blue));color:#fff;padding:8px;border-radius:8px;max-width:90%;font-size:13px}
.chatbot-form{display:flex;gap:6px;padding:10px;border-top:1px solid #f1f5f9}
.chatbot-form input{flex:1;padding:8px;border-radius:6px;border:1px solid #e6e9ef;font-size:12px}

@media (max-width: 900px) {
  .chatbot {
    width: 100%;
    max-width: 260px;
    right: 10px;
    bottom: 80px;
    font-size: 12px;
  }
  
  .chatbot-header {
    padding: 8px 10px;
  }
  
  .chatbot-body {
    padding: 8px 10px;
    min-height: 80px;
  }
  
  .chatbot-form {
    padding: 8px;
    gap: 5px;
  }
  
  .chatbot-form input {
    padding: 6px;
    font-size: 11px;
  }
  
  .bot-message {
    padding: 6px;
    font-size: 11px;
  }
}

/* reveal animations */
.reveal-up{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal-up.show{opacity:1;transform:none}
.reveal-up[style]{transition-delay:var(--delay,0ms)}

/* responsive */
@media (max-width:900px){
  .about-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero h1{font-size:24px;line-height:1.1}
  .lead{font-size:14px}
  .section-title{font-size:22px}
  .hero-swiper .swiper-slide img {
    height: 300px;
  }
  .project-card img{height:150px}
  .mobile-nav{right:12px;left:auto}
  .footer-inner{flex-direction:column;gap:8px}
}

@media (max-width:700px) {
  /* Tighter contact section and chatbot on small phones */
  .contact-section { padding: 24px 0; }
  .contact-grid { gap: 14px; box-shadow: none; }
  .company-info { padding: 12px; }
  .contact-form-wrapper { padding: 10px; }
  .contact-form { gap: 8px; }
  .contact-form input, .contact-form select, .contact-form textarea { padding: 8px; font-size: 14px; }
  .contact-form textarea { min-height: 88px; }

  .chatbot{
    width:220px !important;
    right:10px !important;
    bottom:12px !important;
    border-radius:8px;
    box-shadow:0 4px 12px rgba(2,12,36,0.08);
  }
  .chatbot-header{padding:6px 8px;font-size:12px}
  .chatbot-body{padding:6px 8px;min-height:60px;font-size:11px}
  .chatbot-form{padding:6px;gap:4px}
  .chatbot-form input{padding:6px;font-size:11px;flex:1}
  .chatbot-form button, .chatbot-form .btn, .chatbot-form [type="submit"] {
    width: auto !important;
    flex: 0 0 auto !important;
    min-width: 50px !important;
    max-width: 100px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
  .bot-message{font-size:11px;padding:6px}
}

/* custom styles */
/* Sidebar navigation styles */
.sidebar-nav {
  position: fixed;
  top: 0; left: 0;
  width: 240px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  padding: 32px 18px 18px 18px;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.sidebar-nav[aria-hidden="false"] {
  transform: translateX(0);
}
.close-sidebar {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  margin-bottom: 18px;
}
.sidebar-nav a {
  margin: 12px 0;
  font-size: 1.1rem;
  text-decoration: none;
  color: #222;
  font-weight: 600;
}
.sidebar-nav .btn {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .header-inner {
    display: none;
  }
}
  .whats-panel {
    left: 56px; /* keep panel visible on narrow screens */
    min-width: 180px;
  }

.center-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 18px 0 0 0;
  font-size: 1.4rem;
}

.center-logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.logo-section {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 32px; 
  background: transparent;
}

.logo-header-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem; 
}

.logo-text {
  display: block;
  text-align: center;
  font-size: 2rem;     
  font-weight: 800;
  color: #0074D9;
  margin-top: 8px;
  letter-spacing: 1.5px;
}

.logo-subtext {
  display: block;
  font-size: 1.15rem;  
  font-weight: 400;
  color: #576ea1;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.hero-slider-section {
  margin-top: 32px; 
  margin-bottom: 32px; 
}

.hero-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Hide hero slider pagination dots */
.hero-swiper-pagination {
  display: none !important;
}
.testimonials-swiper-pagination {
  display: none !important;
}
.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  z-index: 2;
  position: relative;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-cta.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-cta a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #1769aa;
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
  transform: translateY(-2px) scale(1.03);
}

.hero-cta a.btn-primary {
  background: var(--blue);
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(33,150,243,0.08);
}
.hero-cta a.btn-primary:hover,
.hero-cta a.btn-primary:focus {
  background: #1769aa;
  box-shadow: 0 4px 16px rgba(33,150,243,0.18);
  transform: translateY(-2px) scale(1.03);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}
.btn-outline:hover,
.btn-outline:focus {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px) scale(1.03);
}

.hero-cta a.btn-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}
.hero-cta a.btn-outline:hover,
.hero-cta a.btn-outline:focus {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px) scale(1.03);
}

/* style floating whats 'Close' button so it is subtle and not a yellow bubble */
#whatsClose {
  background: transparent !important;
  border: none !important;
  color: inherit;
  padding: 6px;
  border-radius: 0;
  box-shadow: none !important;
  cursor: pointer;
}

/* ensure panel hides cleanly when JS sets display:none */
.whats-panel[aria-hidden="true"] {
  opacity: 0;
  transform: translateX(-8px);
  visibility: hidden;
  pointer-events: none;
}

/* Show panel when container is hovered, or when aria-hidden is explicitly false.
   This allows both hover-open and JS-controlled open with smooth animation. */
.floating-whatsapp:hover .whats-panel,
.floating-whatsapp .whats-panel[aria-hidden="false"] {
  opacity: 1 !important;
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ============================================================
   TABLET OPTIMIZATION (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 14px; }
}

/* ============================================================
   COMPREHENSIVE MOBILE OPTIMIZATION FOR SMALL PHONES (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Root and general spacing */
  :root { --radius: 8px; --max: 100%; }
  * { box-sizing: border-box; }

  /* Global body and container */
  html { width: 100% !important; }
  body { 
    font-size: 13px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }
  .container { 
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 12px !important;
    margin: 0 !important;
  }

  /* HEADER */
  .site-header { padding: 6px 0; }
  .header-inner { padding: 8px 0; }
  .brand-icon { width: 32px; height: 32px; font-size: 14px; }
  .brand-name { font-size: 14px; }
  .hamburger { height: 36px; margin-top: 20px; }
  .hamburger span { width: 24px; height: 2px; }

  /* HERO */
  .hero { min-height: 80vh; }
  .hero-content { min-height: 70vh; padding: 20px 12px; }
  .hero h1 { font-size: 16px; line-height: 1.2; font-weight: 700; }
  .lead { font-size: 11px; margin-top: 8px; }
  .hero-cta { margin-top: 12px; flex-direction: column; gap: 8px; }
  .hero-cta .btn { width: 100%; max-width: 100%; padding: 10px 12px; font-size: 12px; }
  .hero-cred { margin-top: 12px; flex-direction: column; gap: 6px; }
  .hero-cred li { font-size: 11px; }

  /* SECTIONS */
  .section { padding: 32px 0; }
  .section-title { font-size: 18px; }
  .section-sub { font-size: 13px; margin-top: 4px; }

  /* LOGO SECTION */
  .logo-section { padding: 12px 0; }
  .center-logo img { width: auto; height: 56px; }
  .logo-text { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
  .logo-subtext { font-size: 8px; letter-spacing: 0.3px; }

  /* CARDS & GRIDS */
  .card { padding: 12px; margin-bottom: 12px; }
  .grid-3 { gap: 12px; }
  .projects-grid { gap: 10px; }
  .project-card img { height: 120px; }
  .project-info { padding: 10px; }

  /* TESTIMONIALS */
  .testimonials-grid { gap: 10px; }
  .testimonial { padding: 12px; min-height: auto; }
  .testimonial img { width: 56px; height: 56px; margin-bottom: 8px; }
  .testimonial blockquote { font-size: 12px; margin: 0 0 8px; }
  .testimonial strong { font-size: 13px; }
  .testimonial small { font-size: 11px; }

  /* ABOUT */
  .about-grid { gap: 16px; }
  .about-copy ul li { font-size: 12px; margin-bottom: 6px; }

  /* CONTACT SECTION */
  .contact-section { padding: 20px 0; }
  .contact-grid { gap: 12px; box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
  .company-info { padding: 12px; }
  .company-info h2 { font-size: 16px; margin-bottom: 12px; }
  .company-info p { font-size: 12px; margin-bottom: 12px; }
  .contact-details { margin-top: 12px; }
  .contact-item { margin-bottom: 10px; }
  .contact-icon { width: 32px; height: 32px; margin-right: 10px; }
  .contact-item h4 { font-size: 13px; }
  .contact-item p { font-size: 11px; }
  .contact-form-wrapper { padding: 10px; }
  .contact-form { gap: 8px; }
  .form-group { margin-bottom: 8px; }
  .contact-form label { font-size: 12px; margin-bottom: 4px; font-weight: 600; }
  .contact-form input, .contact-form select, .contact-form textarea {
    padding: 8px;
    font-size: 13px;
    border-radius: 6px;
  }
  .contact-form textarea { min-height: 80px; }
  .contact-form .btn { padding: 10px 12px; font-size: 13px; width: 100%; }

  /* FLOATING CONTROLS */
  .floating-call { top: 50px; right: 12px; }
  .floating-call a { width: 36px; height: 36px; }
  .floating-call a svg { width: 18px; height: 18px; }
  .floating-whatsapp { right: 12px; bottom: 20px; }
  .floating-whatsapp .floating-whats-link svg { width: 28px; height: 28px; }

  /* GOOGLE TRANSLATE */
  #google_translate_element { top: 8px; right: 8px; }
  #google_translate_element .goog-te-gadget-simple { padding: 4px 8px; }
  #google_translate_element .goog-te-menu-value { font-size: 11px; }
  #google_translate_element .goog-te-gadget-simple img { height: 8px; }

  /* VIDEO OVERLAY */
  .video-overlay { gap: 6px; }
  .video-overlay .video-play { width: 56px; height: 56px; font-size: 18px; }
  .video-overlay .video-overlay-text { font-size: 11px; }
  .responsive-video .video-watch-yt { left: 6px; bottom: 6px; padding: 6px; font-size: 11px; }

  /* CHATBOT */
  .chatbot {
    width: 200px !important;
    right: 10px !important;
    bottom: 12px !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .chatbot-header { padding: 6px 8px; font-size: 11px; }
  .chatbot-body { padding: 6px 8px; min-height: 50px; font-size: 11px; }
  .chatbot-form { padding: 5px; gap: 3px; }
  .chatbot-form input { padding: 5px; font-size: 10px; flex: 1; }
  .chatbot-form button, .chatbot-form .btn, .chatbot-form [type="submit"] {
    width: auto !important;
    flex: 0 0 auto !important;
    min-width: 45px !important;
    max-width: 90px !important;
    padding: 5px 10px !important;
    font-size: 10px !important;
  }
  .bot-message { font-size: 10px; padding: 5px; border-radius: 6px; }

  /* FOOTER */
  .site-footer { padding: 16px 0; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-left { 
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .footer-logo { 
    width: 40px; 
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    object-fit: cover;
  }
  .footer-brand { 
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .footer-brand strong { 
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
  }
  .footer-tagline { 
    font-size: 11px;
    color: #6b7280;
    line-height: 1.3;
  }
  .footer-socials { 
    gap: 8px;
    display: flex;
  }
  .footer-socials a svg { 
    width: 16px; 
    height: 16px;
  }
  .footer-right { 
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .footer-right small { 
    font-size: 10px;
  }

  /* BUTTONS */
  .btn { padding: 8px 12px; font-size: 13px; border-radius: 6px; }
  .btn-sm { padding: 6px 10px; font-size: 12px; }

  /* UTILITY SPACING */
  .mt-8 { margin-top: 8px; }
  .mt-16 { margin-top: 12px; }
  .mt-20 { margin-top: 16px; }
  .mt-24 { margin-top: 18px; }
  .mt-6 { margin-top: 8px; }

  /* FORMS */
  input, textarea, select { font-size: 13px; padding: 8px; }
}

/* ============================================================
   END MOBILE OPTIMIZATION
   ============================================================ */