/*
Theme Name: Merigage IMC Theme
Theme URI: https://merigage.com/
Author: Merigage Development Team
Author URI: https://merigage.com/
Description: A premium WordPress theme for Merigage Integrated Marketing Communications agency. Features homepage slider, services showcase, portfolio grid, testimonials, consultation forms, and full CMS integration with ACF support.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: merigage
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, e-commerce, portfolio, blog
*/

/* ============================================
   MERIGAGE WORDPRESS THEME - MAIN STYLES
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
  --primary-purple: #5B2C6F;
  --primary-red: #E31E24;
  --dark: #1A1A2E;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --gray: #6C757D;
  --accent-orange: #FF6B35;
  --border-color: #E0E0E0;
  --gradient-start: #2D1B4E;
  --gradient-end: #5B2C6F;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 18px; }

a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red);
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }
.py-6 { padding-top: 80px; padding-bottom: 80px; }

.section-padding { padding: 80px 0; }

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--primary-red);
  margin: 16px auto 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: #c41920;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary-purple);
  color: var(--white);
}

.btn-secondary:hover {
  background: #4a235d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 16px 0;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}

.site-header .nav-link {
  color: var(--white);
}

.site-header.scrolled .nav-link {
  color: var(--dark);
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary-purple);
}

/* Logo switching: white logo visible by default, dark logo when scrolled */
.site-header .logo-dark { display: none !important; }
.site-header .logo-white { display: block !important; }
.site-header.scrolled .logo-dark { display: block !important; }
.site-header.scrolled .logo-white { display: none !important; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .site-logo img {
  height: 38px;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
}

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

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

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--dark);
}

.sub-menu a:hover {
  background: var(--light);
  color: var(--primary-purple);
}

/* Consultation CTA Button */
.nav-cta {
  background: var(--primary-red);
  color: var(--white) !important;
  padding: 12px 24px;
  font-size: 13px;
}

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

.nav-cta::after {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
}

.site-header.scrolled .mobile-menu-toggle span {
  background: var(--dark);
}

/* Sub-menu styling */
.sub-menu .nav-link {
  color: var(--dark) !important;
}

.sub-menu .nav-link:hover {
  color: var(--primary-purple) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(91,44,111,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

/* Hero Slider Controls */
.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary-red);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 0;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-purple);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach-section {
  background: var(--light);
}

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

.approach-card {
  background: var(--white);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.approach-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary-red);
}

.approach-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.approach-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.approach-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  background: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-purple);
}

.read-more:hover {
  color: var(--primary-red);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: var(--white);
}

.why-section .section-header h2,
.why-section .section-header p {
  color: var(--white);
}

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

.why-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
  background: var(--light);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-purple);
  color: var(--white);
  border-color: var(--primary-purple);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(91,44,111,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 8px;
}

.portfolio-overlay span {
  color: var(--accent-orange);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
  background: var(--white);
}

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

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   CLIENTS LOGO STRIP
   ============================================ */
.clients-section {
  background: var(--light);
  padding: 40px 0;
  overflow: hidden;
}

.clients-scroll {
  display: flex;
  gap: 60px;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  height: 50px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
  flex-shrink: 0;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--white);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  text-align: center;
  padding: 40px;
}

.testimonial-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray);
}

.star-rating {
  color: #FFB800;
  font-size: 16px;
  margin-top: 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: var(--white);
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-widget h3 {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-widget p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-widget ul li a:hover {
  color: var(--white);
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.social-links svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #c41920;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ============================================
   PAGE HEADER / BANNER
   ============================================ */
.page-banner {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  text-align: center;
  padding-top: calc(80px + 60px);
}

.page-banner h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-detail-section {
  background: var(--white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.service-detail-content h2 {
  margin-bottom: 20px;
}

.service-detail-content p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sub-services-list {
  list-style: none;
  margin: 24px 0;
}

.sub-services-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.sub-services-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-purple);
  flex-shrink: 0;
}

/* Service Sidebar */
.service-sidebar {
  background: var(--light);
  padding: 32px;
}

.service-sidebar h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 4px;
}

.sidebar-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: var(--primary-purple);
  color: var(--white);
}

/* ============================================
   CONSULTATION PAGE
   ============================================ */
.consult-section {
  background: var(--light);
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.consult-benefits h2 {
  margin-bottom: 24px;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.benefits-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 16px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Consultation Form */
.consult-form {
  background: var(--white);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.consult-form h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-purple);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-info-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--gray);
}

.contact-map {
  margin-top: 40px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
  background: var(--white);
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.faq-category-btn {
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.faq-category-btn:hover,
.faq-category-btn.active {
  background: var(--primary-purple);
  color: var(--white);
  border-color: var(--primary-purple);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--primary-purple);
  transition: var(--transition);
}

.accordion-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-body {
  max-height: 300px;
}

.accordion-body p {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1199px) {
  .container {
    padding: 0 30px;
  }
  
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  
  .main-navigation.open {
    right: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-link {
    color: var(--dark);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    display: block;
  }
  
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    display: none;
  }
  
  .menu-item-has-children.open .sub-menu {
    display: block;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .about-grid,
  .consult-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .page-banner h1 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-section {
    min-height: 600px;
  }
  
  .approach-grid,
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .cta-section h2 {
    font-size: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WORDPRESS DEFAULTS
   ============================================ */
.alignleft {
  float: left;
  margin-right: 24px;
}

.alignright {
  float: right;
  margin-left: 24px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.wp-caption {
  max-width: 100%;
}

.gallery-item {
  display: inline-block;
  margin: 8px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sticky {
  position: relative;
}

.bypostauthor {
  font-weight: 600;
}
