/*
Theme Name: Firman Solutions Blog
Theme URI: https://firman-solutions.com/blog/
Author: Firman Solutions
Author URI: https://firman-solutions.com/
Description: A custom WordPress theme for the Firman Solutions blog, matching the main site's aesthetic.
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firman-blog
*/

/* ----------------------------------------------------------
   ROOT VARIABLES (Extracted from main site)
   ---------------------------------------------------------- */
:root {
  --primary: #102753;
  --secondary: #ff760b;
  --light: #ffffff;
  --dark: #000000;
  --surface: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --gold: #FFD700;
  --nav-height: 80px;
  --gradient-start: #102753;
  --gradient-end: #1a3a7a;
}

/* ----------------------------------------------------------
   BASE STYLES
   ---------------------------------------------------------- */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

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

/* WordPress Core Alignment Classes */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* ----------------------------------------------------------
   UTILITY CLASSES (Tailwind replacements)
   ---------------------------------------------------------- */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

.text-white {
  color: var(--light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

/* ----------------------------------------------------------
   CUSTOM THEME COMPONENTS
   ---------------------------------------------------------- */
.blog-hero,
.archive-header {
  background-color: var(--primary);
  color: var(--light);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.blog-hero h1,
.archive-header h1 {
  color: var(--light) !important;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.blog-hero h1 span,
.archive-header h1 span {
  color: var(--secondary) !important;
}

.blog-hero p,
.archive-header .text-xl {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 39, 83, 0.08);
}

.blog-card-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  display: block;
}

.blog-card-content {
  padding: 2rem;
}

.blog-card h2 a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h2 a:hover {
  color: var(--primary);
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}



.post-content {
  max-width: 850px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-primary);
}

/* ===== COOKIE CONSENT STYLES ===== */
:root {
  --primary: #102753;
  --secondary: #ff760b;
  --light: #ffffff;
  --gradient-start: #102753;
  --gradient-end: #1a3a7a;
  --surface-container: #f8fafc;
}

/* ===== COOKIE CONSENT SLIDER ===== */
#cookie-consent-slider {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 15, 51, 0.2);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#cookie-consent-slider.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.cookie-slider-content {
  flex: 1;
  min-width: 300px;
}

.cookie-slider-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-slider-title::before {
  content: '🍪';
  font-size: 1.2rem;
}

.cookie-slider-description {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.cookie-slider-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 110px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cookie-btn-primary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 118, 11, 0.3);
}

.cookie-btn-primary:hover {
  background: #e56a0a;
  transform: translateY(-1px);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-width: 90px;
}

.cookie-btn-tertiary:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== PREFERENCES MODAL ===== */
#cmp-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

#cmp-modal.show {
  opacity: 1;
  pointer-events: all;
}

.cmp-modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cmp-header {
  background: linear-gradient(135deg, var(--primary), var(--gradient-end));
  color: white;
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
}

.cmp-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cmp-description {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cmp-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.cmp-body {
  padding: 1.5rem;
}

.consent-categories {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.consent-category {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.consent-category:hover {
  border-color: var(--secondary);
  transform: translateX(2px);
}

.consent-category h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.consent-category p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consent-toggle input {
  width: 40px;
  height: 22px;
  position: relative;
  appearance: none;
  background: #f1f5f9;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
}

.consent-toggle input:checked {
  background: var(--secondary);
}

.consent-toggle input::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  left: 2px;
  top: 2px;
  transition: transform 0.3s;
}

.consent-toggle input:checked::before {
  transform: translateX(18px);
}

.consent-recommended {
  font-size: 0.85rem;
  background: #dbeafe;
  color: #1e40af;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.cmp-footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-counter {
  font-size: 0.85rem;
  color: #64748b;
  padding: 0.5rem 0;
}

.cookie-counter span {
  font-weight: 600;
  color: var(--primary);
}

/* ===== TRACKING STATUS PANEL ===== */
#tracking-status-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  z-index: 1000;
  max-width: 300px;
  transform: translateX(120%);
  transition: transform 0.4s ease;
}

#tracking-status-panel.show {
  transform: translateX(0);
}

.status-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.status-panel-header h3 {
  font-size: 1rem;
  color: var(--primary);
}

.status-panel-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.status-item:last-child {
  border-bottom: none;
}

.status-item-name {
  font-size: 0.9rem;
  color: var(--primary);
}

.status-indicator {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-active {
  background: #d1fae5;
  color: #065f46;
}

.status-inactive {
  background: #fee2e2;
  color: #991b1b;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  z-index: 1002;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== RESPONSIVE DESIGN FOR COOKIE ===== */
@media (max-width: 768px) {
  .cookie-slider-container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-slider-buttons {
    justify-content: center;
    width: 100%;
  }

  .cmp-modal-content {
    width: 95%;
    max-width: 450px;
  }

  .cmp-footer {
    flex-direction: column;
  }

  .cmp-footer button {
    width: 100%;
  }

  #tracking-status-panel {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* ===== HEADER STYLES ===== */
header {
  background: var(--light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.logo-image {
  height: 42px;
  max-width: 100%;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  display: block;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

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

.dropdown-trigger i {
  font-size: 0.7em;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-links li:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown Styles */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--light);
  min-width: 400px;
  max-width: 90vw;
  width: max-content;
  box-shadow: 0 12px 10px rgba(0, 0, 0, 0.18);
  border-radius: 0 0 10px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 1001;
  overflow: visible;
}

.nav-links li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 1.2fr;
  max-height: 70vh;
  height: auto;
  overflow-y: auto;
  align-items: stretch;
}

/* Ensure dropdown works if images column is missing */
.dropdown-content:not(:has(.dropdown-images-column)) {
  grid-template-columns: 1fr;
}

.dropdown-links-column {
  padding: 2rem 2rem;
  background: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dropdown-category {
  margin-bottom: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.dropdown-category:hover {
  transform: translateX(8px);
}

.dropdown-category-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.category-icon {
  width: 24px;
  height: 24px;
  background: var(--secondary);
  color: var(--light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

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

.dropdown-links li {
  margin-bottom: 0.75rem;
}

.dropdown-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  color: #444;
  transition: all 0.2s;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
  cursor: pointer;
}

.dropdown-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.dropdown-links a:hover {
  color: var(--secondary);
  padding-left: 2rem;
}

.dropdown-links a:hover::before {
  width: 100%;
}

.dropdown-links a i {
  width: 18px;
  color: var(--secondary);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.dropdown-links a:hover i {
  transform: translateX(4px);
}

/* Category Images Section - Updated for more images */
.dropdown-images-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2rem;
  background: var(--surface-container);
  height: auto !important;
  overflow-y: auto !important;
  min-height: 100%;
  max-height: 65vh;
}

.category-image-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  min-height: 120px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--primary); /* Fallback */
  transition: transform 0.5s ease;
}

.category-image-card:hover .category-image {
  transform: scale(1.05);
}

.category-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--light);
  padding: 0.8rem;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.category-image-card:hover .category-image-overlay {
  transform: translateY(0);
  opacity: 1;
}

.category-image-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.category-image-btn {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--secondary);
  color: var(--light);
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.category-image-btn:hover {
  background: #e56a0a;
  transform: translateY(-2px);
}

/* Custom scrollbar for images column */
.dropdown-images-column::-webkit-scrollbar {
  width: 6px;
}

.dropdown-images-column::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.dropdown-images-column::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.dropdown-images-column::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.btn-nav-container {
  display: flex;
  gap: 0.75rem;
}

.btn-nav {
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav-primary {
  background: var(--primary);
  color: var(--light);
}

.btn-nav-secondary {
  background: var(--secondary);
  color: var(--light);
}

.btn-nav:hover {
  transform: translateY(-2px);
}

.btn-nav-primary:hover {
  background: var(--secondary);
}

.btn-nav-secondary:hover {
  background: #e56a0a;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Responsive Navigation */
@media (max-width: 992px) {
  nav {
    padding: 0.8rem 1rem !important;
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: block !important;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light);
    flex-direction: column;
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .nav-links.open {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links a {
    padding: 1rem 1.2rem;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    box-shadow: none !important;
  }

  .dropdown.open {
    max-height: 1000px;
  }

  .dropdown-content {
    grid-template-columns: 1fr !important;
  }

  .dropdown-images-column {
    display: none !important;
  }

  .btn-nav-container {
    display: none !important;
  }
}


/* ===== FOOTER STYLES - OPTIMIZED ===== */
.site-footer {
  background: var(--primary);
  color: var(--light);
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 118, 11, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 118, 11, 0.05) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-contact-info {
  margin: 1rem 0;
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  gap: 0.8rem;
}

.footer-contact-icon {
  font-size: 1.1rem;
  color: var(--secondary);
  min-width: 24px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-details h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-contact-details p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.footer-contact-details a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact-details a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

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

.footer-social-links .social-icon {
  width: 42px;
  height: 42px;
  background: rgba(228, 228, 228, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.footer-social-links .social-icon:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.footer-column-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--light);
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
  padding: 0.2rem 0;
}

.footer-links a:hover {
  color: var(--light);
  padding-left: 0.4rem;
}

.footer-bottom {
  padding: 1.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.contact-info a {
  color: var(--light);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bbb-accreditation {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin: 0.8rem 0;
}

.bbb-accreditation img {
  max-width: 130px;
  height: auto;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.bbb-accreditation img:hover {
  transform: scale(1.05);
}

.copyright p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin: 0.2rem 0;
}

.disclaimer {
  font-size: 0.78rem;
  opacity: 0.65;
  margin-top: 0.4rem;
}

@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-logo-section { align-items: center; }
  .footer-social-links { justify-content: center; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-contact-item { justify-content: center; }
}

@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom { gap: 0.8rem; }
}
