/* KM Hardware - Custom Professional Styling */

/* ===== TOP HEADER BAR ===== */
.header-top .top-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-top .phone-box {
  text-align: center;
  width: 100%;
}
.header-top .right-column {
  display: none;
}

/* ===== PROFESSIONAL CARD STYLING ===== */
.service-block-one .inner-box,
.feature-block .inner-box,
.chooseus-block .inner-box,
.project-block .inner-box,
.news-block-one .inner-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}
.service-block-one .inner-box:hover,
.feature-block .inner-box:hover,
.chooseus-block .inner-box:hover,
.project-block .inner-box:hover,
.news-block-one .inner-box:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(-5px);
  border-color: #1a237e;
}

/* ===== SECTION HEADINGS ===== */
.sec-title h2,
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a237e;
  position: relative;
  margin-bottom: 20px;
}
.sec-title .text,
.section-title p {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

/* ===== PRODUCT CATEGORY CARDS ===== */
.category-section .category-block,
.service-section .service-block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}
.category-section .category-block:hover,
.service-section .service-block:hover {
  box-shadow: 0 8px 25px rgba(26,35,126,0.2);
  transform: translateY(-3px);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-block .inner-box,
.testimonial-section .testimonial-block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 35px 30px;
  margin: 15px 10px;
  border-left: 4px solid #1a237e;
  transition: all 0.3s ease;
}
.testimonial-block .inner-box:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.testimonial-block .author-name,
.testimonial-block h4 {
  color: #1a237e;
  font-weight: 600;
}

/* ===== WHY CHOOSE US / PROCESS CARDS ===== */
.work-section .work-block .inner-box,
.process-section .process-block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}
.work-section .work-block .inner-box:hover,
.process-section .process-block:hover {
  border-bottom-color: #1a237e;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* ===== TEAM / EXPERT CARDS ===== */
.team-block .inner-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}
.team-block .inner-box:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

/* ===== CTA SECTION ===== */
.cta-section,
.call-to-action {
  border-radius: 0;
  position: relative;
}
.cta-section .cta-text h3,
.call-to-action h3 {
  font-weight: 700;
}

/* ===== FOOTER IMPROVEMENTS ===== */
.main-footer {
  background: #1a1a2e;
}
.main-footer .widget-title h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.main-footer .widget-title h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
}
.main-footer .footer-widget {
  margin-bottom: 30px;
}
.main-footer .contact-widget li {
  margin-bottom: 12px;
  color: #ccc;
}
.main-footer .links-list li a {
  color: #ccc;
  transition: color 0.3s ease;
}
.main-footer .links-list li a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

/* ===== BUTTON STYLING ===== */
.btn-style-one,
.theme-btn {
  border-radius: 6px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-style-one:hover,
.theme-btn:hover {
  box-shadow: 0 4px 15px rgba(26,35,126,0.3);
  transform: translateY(-2px);
}

/* ===== WHATSAPP FLOATING BUTTON FIX ===== */
.whatsapp-btn,
a[href*="wa.me"] {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
}
a[href*="wa.me"]:hover {
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
  transform: scale(1.1);
}
a[href*="wa.me"] img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  .service-block-one .inner-box,
  .feature-block .inner-box,
  .work-section .work-block .inner-box {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  .sec-title h2 {
    font-size: 24px;
  }
}

/* ===== GENERAL IMPROVEMENTS ===== */
body {
  font-family: 'Barlow', sans-serif;
  color: #333;
}
section {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  transition: all 0.3s ease;
}


/* ===== FOOTER QUICK LINKS & POLICIES FIX ===== */
.main-footer .footer-links ul li,
.main-footer .widget-content ul li,
.footer-section .footer-links li,
.footer-widget ul li,
.links-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  list-style: none;
}
.main-footer .footer-links ul li:last-child,
.main-footer .widget-content ul li:last-child,
.links-list li:last-child {
  border-bottom: none;
}
.main-footer .footer-links ul li a,
.main-footer .widget-content ul li a,
.footer-widget ul li a,
.links-list li a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 15px;
}
.main-footer .footer-links ul li a::before,
.main-footer .widget-content ul li a::before,
.links-list li a::before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #e63946;
  font-size: 13px;
}
.main-footer .footer-links ul li a:hover,
.main-footer .widget-content ul li a:hover,
.links-list li a:hover {
  color: #ffffff;
  padding-left: 20px;
}

/* Footer Contact Info */
.main-footer .contact-widget li,
.main-footer .widget-content li {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.main-footer .contact-widget li a,
.main-footer .widget-content li a {
  color: #ffffff;
}
.main-footer .contact-widget li a:hover {
  color: #ffffff;
}

/* Footer Copyright */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  margin-top: 40px;
}
.footer-bottom p {
  color: #888;
  font-size: 14px;
}


/* ===== FORCE WHITE TEXT IN FOOTER ===== */
.main-footer a,
.main-footer li,
.main-footer li a,
.main-footer p,
.main-footer .widget-content,
.main-footer .widget-content a,
.main-footer .widget-content li,
.main-footer .widget-content li a,
.main-footer .links-list a,
.main-footer .links-list li a,
.main-footer .contact-widget li,
.main-footer .contact-widget li a,
footer a,
footer li,
footer li a,
footer p {
  color: #fff !important;
  opacity: 1 !important;
}
.main-footer .footer-bottom p,
.footer-bottom p {
  color: #ccc !important;
}
