/*
Theme Name: Digital Maheshwari
Theme URI: https://digitalmaheshwari.com
Description: Custom WordPress theme for Digital Maheshwari
Version: 1.0
Author: Digital Maheshwari Team
Text Domain: digital-maheshwari
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --primary-orange: #f97316;
    --dark-gray: #1f2937;
    --light-gray: #f8fafc;
    --text-gray: #6b7280;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
 /* Navigation Styles */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 70px;
    }

    .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
    }

    .logo-text {
      font-size: 1.8rem;
      font-weight: 700;
      background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      font-size: 1rem;
      padding: 8px 0;
      position: relative;
      transition: color 0.3s ease;
    }

    .nav-link:hover {
      color: #f97316;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
      transition: width 0.3s ease;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .cta-button {
      display: inline-block;
      padding: 12px 28px;
      background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
    }

    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
      color: white;
    }

    /* Mobile Menu Button */
    .hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 30px;
      height: 30px;
      position: relative;
      z-index: 1001;
    }

    .hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      background: #333;
      margin: 5px 0;
      transition: all 0.3s ease;
      border-radius: 3px;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Responsive Styles */
    @media (max-width: 992px) {
      .hamburger {
        display: block;
      }

      .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
      }

      .nav-menu.active {
        left: 0;
      }

      .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }

      .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
      }

      .cta-button {
        margin-top: 20px;
        width: 200px;
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .nav-container {
        padding: 0 15px;
      }

      .logo-text {
        font-size: 1.5rem;
      }

      .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
      }
    }

    @media (max-width: 480px) {
      .nav-container {
        height: 60px;
      }

      .logo-text {
        font-size: 1.3rem;
      }

      .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
      }
    }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 600;
	text-transform: uppercase;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.cta-button {
    background: var(--primary-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.cta-secondary {
    border: 2px solid white;
    color: white;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: start;
    flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

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

/* Services Grid */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-blue);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-gray);
}

.testimonial-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Service Categories */
.service-category {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.service-category h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-item h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.price {
    background: var(--primary-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-orange);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.newsletter-input {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    margin-right: 0.5rem;
    flex: 1;
    min-width: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Footer Responsive Styles */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  @media (max-width: 992px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
    }
  }

  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .footer {
      padding: 60px 0 20px;
    }
    
    .footer-bottom-links {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  }

  /* Hover Effects */
  .social-icon:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    transform: translateY(-3px);
  }

  .footer-links a:hover {
    color: #f97316 !important;
    transform: translateX(5px);
  }

  .contact-item a:hover {
    color: #f97316 !important;
  }

  .footer-bottom-links a:hover {
    color: #f97316 !important;
  }

  .newsletter-form input:focus {
    outline: none;
    border-color: #f97316 !important;
  }

  .newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
  }

  /* Animation for links */
  .footer-links a {
    transition: all 0.3s ease;
  }