/*
Theme Name: Fox Digital Solution
Theme URI: https://foxdigitalsolution.com
Author: Fox Digital Solution
Author URI: https://foxdigitalsolution.com
Description: A professional digital marketing agency theme for Fox Digital Solution, featuring service pages for SEO, Local SEO, Social Media Marketing, PPC Advertising, Web Design, and Content Management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fox-digital
Tags: business, marketing, agency, seo, responsive, custom-menu

This theme, like WordPress, is licensed under the GPL.
*/

/* ================================
   CSS Reset & Base Styles
   ================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212529;
  background-color: #ffffff;
}

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

a {
  color: #1E88E5;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #1565C0;
}

/* ================================
   Typography
   ================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #212529;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ================================
   Utility Classes
   ================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: #1E88E5;
}

.text-muted {
  color: #6c757d;
}

.text-white {
  color: #ffffff;
}

.bg-primary {
  background-color: #1E88E5;
}

.bg-light {
  background-color: #F8F9FA;
}

.bg-white {
  background-color: #ffffff;
}

/* ================================
   Buttons
   ================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.btn-primary {
  background-color: #1E88E5;
  color: #ffffff;
  border-color: #1E88E5;
}

.btn-primary:hover {
  background-color: #1565C0;
  border-color: #1565C0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #1E88E5;
  border-color: #1E88E5;
}

.btn-secondary:hover {
  background-color: #1E88E5;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: #1E88E5;
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: #F8F9FA;
  color: #1565C0;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 18px;
}

/* ================================
   Header & Navigation
   ================================ */

.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: #1E88E5;
  text-decoration: none;
}

.site-logo:hover {
  color: #1565C0;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: #212529;
  font-weight: 500;
  padding: 10px 0;
  display: block;
}

.main-navigation a:hover {
  color: #1E88E5;
}

/* Dropdown Menu */
.main-navigation .menu-item-has-children {
  position: relative;
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
  flex-direction: column;
  gap: 0;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
  display: flex;
}

.main-navigation .sub-menu li {
  width: 100%;
}

.main-navigation .sub-menu a {
  padding: 12px 20px;
  color: #212529;
  white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
  background-color: #F8F9FA;
  color: #1E88E5;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #212529;
  cursor: pointer;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-section.with-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.9) 0%, rgba(21, 101, 192, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 700px;
  opacity: 0.9;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ================================
   Sections
   ================================ */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: #1E88E5;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  color: #212529;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.125rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
}

/* ================================
   Cards & Grid
   ================================ */

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 24px;
}

.card-title {
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 15px;
}

.card-description {
  color: #6c757d;
  margin-bottom: 15px;
}

.card-stat {
  font-size: 2rem;
  font-weight: 700;
  color: #1E88E5;
  margin-top: 10px;
}

/* ================================
   Benefits Section
   ================================ */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #1E88E5;
}

/* ================================
   Process Steps
   ================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.process-step {
  position: relative;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #e9ecef;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.step-title {
  margin-top: 15px;
  font-size: 1.25rem;
  color: #212529;
  margin-bottom: 15px;
}

.step-description {
  color: #6c757d;
}

/* ================================
   Features Section
   ================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature-category h4 {
  font-size: 1.25rem;
  color: #212529;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #1E88E5;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #495057;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1E88E5;
  font-weight: 700;
  font-size: 18px;
}

/* ================================
   Pricing Section
   ================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  border: 2px solid #e9ecef;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #1E88E5;
}

.pricing-card.featured {
  border-color: #1E88E5;
  box-shadow: 0 10px 30px rgba(30, 136, 229, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 10px;
}

.pricing-tagline {
  color: #6c757d;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: #1E88E5;
  margin-bottom: 10px;
}

.pricing-price span {
  font-size: 1.125rem;
  color: #6c757d;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.pricing-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #495057;
  border-bottom: 1px solid #f1f3f5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1E88E5;
  font-weight: 700;
  font-size: 18px;
}

/* ================================
   FAQ Section
   ================================ */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: #ffffff;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #F8F9FA;
  color: #1E88E5;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: #1E88E5;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 25px 20px 25px;
  color: #495057;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-secondary {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.9;
}

/* ================================
   Statistics Section
   ================================ */

.stats-section {
  background-color: #F8F9FA;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: #1E88E5;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-item p {
  color: #495057;
  font-weight: 500;
}

/* ================================
   Footer
   ================================ */

.site-footer {
  background-color: #212529;
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-about p {
  color: #adb5bd;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #1E88E5;
  transform: translateY(-3px);
}

.footer-column h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.125rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: #adb5bd;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #1E88E5;
}

.footer-contact p {
  color: #adb5bd;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #adb5bd;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .main-navigation.active {
    display: flex;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid #e9ecef;
  }

  .main-navigation a {
    padding: 15px 0;
  }

  .main-navigation .sub-menu {
    position: static;
    box-shadow: none;
    padding-left: 20px;
    margin-top: 0;
    display: none;
  }

  .main-navigation .menu-item-has-children.active .sub-menu {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .process-steps,
  .features-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }
}
