/* Custom overrides and polish for Technical Force site
   Small, focused stylesheet to layer modern visual tweaks on top of the large Style.css
*/
:root{
  --primary:#042461;
  --accent:#667eea;
  --muted:#6b7280;
  --glass: rgba(255,255,255,0.06);
}

/* Improve hero readability */
.about-hero .hero-container{padding-top:80px;padding-bottom:80px}
.about-hero .hero-title{font-size: clamp(2.2rem,4.5vw,4rem); color:var(--primary)}
.about-hero .hero-subtitle{color:var(--muted);max-width:680px}
.about-hero .hero-buttons .btn{min-width:140px}

/* Button polish */
.btn-primary{background:linear-gradient(135deg, var(--primary), #5AB2FF);border:none}
.btn-secondary{border:2px solid var(--primary);background:transparent}

/* Navbar polish */
.custom-navbar{padding:0.6rem 1rem;background:#fff}
.custom-navbar .logo{width:130px;height:auto}
@media(max-width:768px){
  .custom-navbar .logo{width:110px}
}

/* Services dropdown: open on hover (desktop) */
@media (min-width: 992px){
  .tf-services-dropdown:hover > .dropdown-menu{
    display:block;
  }
  .tf-services-dropdown > .dropdown-toggle::after{
    margin-left:0.35rem;
  }
}

/* Floating WhatsApp button */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,0.18);
  transition:transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.whatsapp-float i{font-size:28px; line-height:1}
.whatsapp-float:hover{
  transform:translateY(-2px);
  filter:brightness(1.02);
  box-shadow:0 16px 34px rgba(0,0,0,0.22);
  color:#fff;
}
.whatsapp-float:focus{color:#fff}

/* Make footer cleaner */
.footer{background:var(--primary);color:#fff;padding:48px 0 0}
.footer .footer-title{font-weight:700;color:#fff;margin-bottom:12px}
.footer .footer-links a{color:rgba(255,255,255,0.92);text-decoration:none}
.footer .footer-links a:hover{color:#fff;text-decoration:underline}
.footer .footer-description{color:rgba(255,255,255,0.9);max-width:360px}
.footer .footer-contact p{color:rgba(255,255,255,0.9)}
.footer-bottom{background:rgba(255,255,255,0.06);text-align:center;padding:16px 0;color:rgba(255,255,255,0.9)}

/* Ensure footer stays visible even if AOS fails to init */
.footer [data-aos]{
  opacity: 1 !important;
  transform: none !important;
}

/* Services grid responsiveness */
@media(max-width:992px){
  .services-grid{grid-template-columns:1fr;}
  .about-content{grid-template-columns:1fr}
  .hero-content{grid-template-columns:1fr}
}

/* Small card tweaks */
.service-card{border-radius:14px}
.project-card{border-radius:12px;overflow:hidden}

/* Improve form look in contact section */
.tf-form-box{background:#fff;border-radius:12px;box-shadow:0 12px 30px rgba(2,6,23,0.06)}
.tf-form-box .form-control{border-radius:8px;border:1px solid #eef2ff}
.tf-btn{background:linear-gradient(135deg,var(--primary),#5ab2ff);color:#fff;border:none;padding:10px 18px;border-radius:10px}

/* Testimonials: subtle cards */
.testimonial-card{background:linear-gradient(180deg,#ffffff,#fbfdff);border-radius:12px;padding:22px;box-shadow:0 10px 30px rgba(2,6,23,0.06);color:#0b2440}
.testimonial-text{color:#334155}

/* Tech slider: reduce height on small screens */
.tech-card{width:150px}

/* Accessibility: focus outlines */
a:focus,button:focus,input:focus,textarea:focus{outline:3px solid rgba(102,126,234,0.18);outline-offset:2px}

/* Utility spacing */
.mt-40{margin-top:40px}
.mb-40{margin-bottom:40px}

/* Small helper for nav on scroll */
.navbar.scrolled{background:#fff!important;border-bottom:1px solid rgba(2,6,23,0.06);box-shadow:0 6px 20px rgba(2,6,23,0.04)}

/* Reduce heavy cursor on mobile */
@media(max-width:768px){
  #customCursor{display:none}
  #mouseFollower{display:none}
}
