/*
Theme Name: FinderWebs
Theme URI: https://finderwebs.com
Author: FinderWebs Team
Author URI: https://finderwebs.com
Description: High-performance, customizable Cloud Hosting & Domain WordPress Theme built for FinderWebs. Compatible with Free Elementor Flexbox Containers.
Version: 1.0.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: finderwebs
*/

:root {
  --fw-primary: #5E3BEE;
  --fw-primary-dark: #4524D1;
  --fw-primary-light: #7758FF;
  --fw-primary-soft: #F0EDFE;
  --fw-dark: #0F0C20;
  --fw-dark-card: #181432;
  --fw-text-main: #1D1D2B;
  --fw-text-muted: #6C6A84;
  --fw-border: #E5E1F8;
  --fw-white: #FFFFFF;
  --fw-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fw-font);
  color: var(--fw-text-main);
  background-color: #FAFAFD;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--fw-primary);
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}
a:hover {
  color: var(--fw-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.fw-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.fw-topbar {
  background: var(--fw-dark);
  color: #D3CEF5;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fw-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.fw-topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.fw-topbar-badge {
  background: var(--fw-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fw-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fw-topbar-link {
  color: #B8B3E6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fw-topbar-link:hover {
  color: #ffffff;
}

/* Main Header */
.fw-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(94, 59, 238, 0.06);
  border-bottom: 1px solid var(--fw-border);
}
.fw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.fw-brand img {
  display: block;
  width: 175px;
  max-width: 200px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}
.fw-brand-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--fw-dark);
  letter-spacing: -0.5px;
}
.fw-brand-text span {
  color: var(--fw-primary);
}

/* Navigation Menu */
.fw-nav {
  display: flex;
  align-items: center;
}
.fw-nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}
.fw-nav-menu li {
  position: relative;
}
.fw-nav-menu > li > a {
  color: var(--fw-text-main);
  font-weight: 600;
  font-size: 15px;
  padding: 28px 0;
  display: inline-block;
}
.fw-nav-menu > li > a:hover,
.fw-nav-menu > li.current-menu-item > a {
  color: var(--fw-primary);
}

/* Submenu dropdown */
.fw-nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(22, 19, 47, 0.12);
  border: 1px solid var(--fw-border);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in-out;
  list-style: none;
  z-index: 1000;
}
.fw-nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fw-nav-menu .sub-menu li a {
  padding: 8px 20px;
  display: block;
  font-size: 14px;
  color: var(--fw-text-main);
  font-weight: 500;
}
.fw-nav-menu .sub-menu li a:hover {
  background: var(--fw-primary-soft);
  color: var(--fw-primary);
}

/* Header Action CTA */
.fw-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease-in-out;
}
.fw-btn-primary {
  background: var(--fw-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(94, 59, 238, 0.35);
}
.fw-btn-primary:hover {
  background: var(--fw-primary-dark);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(94, 59, 238, 0.45);
  transform: translateY(-2px);
}
.fw-btn-outline {
  background: transparent;
  color: var(--fw-primary);
  border: 1.5px solid var(--fw-primary);
}
.fw-btn-outline:hover {
  background: var(--fw-primary-soft);
  color: var(--fw-primary-dark);
}

/* Mobile Toggle */
.fw-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--fw-dark);
  cursor: pointer;
}

/* ==========================================
   FOOTER STYLING
   ========================================== */
.fw-footer {
  background: var(--fw-footer-bg, #39124b);
  color: #D6D2E8;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.fw-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(246, 127, 33, 0.08) 0%, rgba(57, 18, 75, 0) 70%);
  pointer-events: none;
}
.fw-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 60px;
}
.fw-footer-col h1,
.fw-footer-col h2,
.fw-footer-col h3,
.fw-footer-col h4,
.fw-footer-col h5,
.fw-footer-col h6,
.fw-footer-col .fw-footer-title {
  color: #FFFFFF !important;
  font-size: 20px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.fw-footer-col h1::after,
.fw-footer-col h2::after,
.fw-footer-col h3::after,
.fw-footer-col h4::after,
.fw-footer-col h5::after,
.fw-footer-col h6::after,
.fw-footer-col .fw-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: var(--fw-footer-accent, #F67F21);
  border-radius: 2px;
}
.fw-footer-col p {
  color: #D6D2E8;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.fw-footer-col a {
  color: #D6D2E8;
  text-decoration: none;
  transition: all 0.2s ease;
}
.fw-footer-col a:hover {
  color: #FFFFFF;
}
.fw-footer-col .widget {
  margin-bottom: 25px;
}
.fw-footer-col .widget ul,
.fw-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fw-footer-col .widget ul li,
.fw-footer-links li {
  margin-bottom: 13px;
  line-height: 1.5;
}
.fw-footer-col .widget ul li a,
.fw-footer-links li a {
  color: #D6D2E8;
  font-size: 14.5px;
  display: inline-block;
  transition: all 0.2s ease;
  text-decoration: none;
}
.fw-footer-col .widget ul li a:hover,
.fw-footer-links li a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

/* Footer Bottom Bar */
.fw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  font-size: 14px;
  color: #9D98C7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Official Social Icons Corner */
.fw-footer-social-corner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fw-corner-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fw-corner-social-btn.fw-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}
.fw-corner-social-btn.fw-insta:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(214, 36, 159, 0.4);
}
.fw-corner-social-btn.fw-x:hover {
  background: #000000;
  border-color: #333333;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
  .fw-menu-toggle {
    display: block;
  }
  .fw-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .fw-nav.is-open {
    display: block;
  }
  .fw-nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .fw-nav-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  .fw-nav-menu > li > a {
    padding: 12px 0;
    width: 100%;
  }
  .fw-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .fw-footer-grid {
    grid-template-columns: 1fr;
  }
  .fw-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
