/*
Theme Name: الصرح الشامخ
Theme URI: https://alsareeh.com
Author: Al-Sareh Al-Shamikh
Author URI: https://alsareeh.com
Description: قالب ووردبريس مخصص لشركة الصرح الشامخ للتجارة والمقاولات - حلول العزل المتكاملة
Version: 1.0.0
Text Domain: alsareeh
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl, arabic, construction, business, custom-logo, custom-menu
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ==========================================================================
   Al-Sareeh Theme - Global Styles & Design System
   Professional Engineering Company Template
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* CSS Custom Properties - Design Tokens */
:root {
  /* Primary Brand Colors */
  --primary-50: #e6f0f8;
  --primary-100: #cce1f1;
  --primary-200: #99c3e3;
  --primary-300: #66a5d5;
  --primary-400: #3387c7;
  --primary-500: #0F5EA8;
  --primary-600: #0c4b86;
  --primary-700: #093864;
  --primary-800: #062542;
  --primary-900: #031221;

  /* Secondary Colors */
  --secondary-50: #e8e9ec;
  --secondary-100: #d1d3d9;
  --secondary-200: #a3a7b3;
  --secondary-300: #757b8d;
  --secondary-400: #484f67;
  --secondary-500: #2F3447;
  --secondary-600: #262a39;
  --secondary-700: #1c1f2b;
  --secondary-800: #13151d;
  --secondary-900: #090a0e;

  /* Accent Colors */
  --accent-gold: #D4A437;
  --accent-gold-light: #E8C56C;
  --accent-gold-dark: #B08A2B;

  /* Success/Warning/Error States */
  --success-500: #10b981;
  --success-600: #059669;
  --warning-500: #f59e0b;
  --warning-600: #d97706;
  --danger-500: #ef4444;
  --danger-600: #dc2626;
  --info-500: #3b82f6;
  --info-600: #2563eb;

  /* Neutral Colors */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-darker: #020617;

  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  /* Typography */
  --font-primary: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Tajawal', 'Cairo', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  /* Background Pattern */
  --pattern-grid:
    linear-gradient(rgba(15, 94, 168, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 94, 168, 0.03) 1px, transparent 1px);
  --pattern-diamond:
    linear-gradient(135deg, rgba(15, 94, 168, 0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(15, 94, 168, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, rgba(15, 94, 168, 0.02) 25%, transparent 25%),
    linear-gradient(315deg, rgba(15, 94, 168, 0.02) 25%, transparent 25%);
}

/* Background Pattern Classes */
.bg-pattern {
  position: relative;
}

.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--pattern-grid);
  background-size: 50px 50px;
  pointer-events: none;
}

.bg-pattern--diamond::before {
  background-image: var(--pattern-diamond);
  background-size: 20px 20px;
}

.bg-pattern--subtle::before {
  opacity: 0.5;
}

.bg-pattern--dark::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* Utility Classes */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-20) 0;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--text-inverse);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-500);
}

/* Page Hero (Global) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-700), var(--secondary-600));
  padding: var(--space-20) 0;
  text-align: center;
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: var(--pattern-grid);
  pointer-events: none;
}

.page-hero h1,
.page-hero h2 {
  color: var(--text-inverse);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xl);
  max-width: 700px;
  margin: 0 auto;
}

.page-hero .breadcrumbs {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero .breadcrumbs a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(15, 94, 168, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(15, 94, 168, 0.45);
}

.btn--secondary {
  background: linear-gradient(135deg, var(--secondary-500), var(--secondary-600));
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(47, 52, 71, 0.35);
}

.btn--secondary:hover {
  background: linear-gradient(135deg, var(--secondary-600), var(--secondary-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(47, 52, 71, 0.45);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--primary-500);
  color: var(--primary-500);
}

.btn--outline:hover {
  background: var(--primary-500);
  color: var(--text-inverse);
}

.btn--outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn--outline-white:hover {
  background: #fff;
  color: var(--primary-500);
}

.btn--white {
  background: white;
  color: var(--primary-500);
}

.btn--white:hover {
  background: var(--neutral-100);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
}

.btn--whatsapp:hover {
  background: #1da851;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4cols {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid--4cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid--4cols,
  .grid--3cols,
  .grid--2cols {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header__subtitle {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  color: var(--primary-600);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.section-header__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Clickable Section Title Link */
.section-header__title-link {
  color: inherit;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-base);
  position: relative;
}

.section-header__title-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.section-header__title-link:hover::after {
  transform: scaleX(1);
}

/* Animations (Replaced by AOS) */
/* Old reveal classes removed */

/* Stagger Delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

/* Existing Keyframes (Kept for specific uses if needed, but primary system is transitions) */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility wrappers */
.overflow-hidden {
  overflow: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-400);
}

/* Selection */
::selection {
  background-color: var(--primary-500);
  color: white;
}

/* Icons */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: var(--transition-base);
  direction: rtl;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(15, 94, 168, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* WordPress Specific Styles */
.alignleft {
  float: right;
  /* RTL */
  margin-left: var(--space-4);
  margin-bottom: var(--space-4);
}

.alignright {
  float: left;
  /* RTL */
  margin-right: var(--space-4);
  margin-bottom: var(--space-4);
}

.aligncenter {
  display: block;
  margin: var(--space-4) auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  padding: var(--space-2);
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--neutral-200);
}

.post-navigation a {
  color: var(--primary-500);
  font-weight: 600;
}

.post-navigation a:hover {
  color: var(--primary-600);
}

/* Comments */
.comments-area {
  margin-top: var(--space-12);
}

.comment-list {
  list-style: none;
}

.comment {
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.comment-author {
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.comment-content {
  color: var(--text-secondary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition-base);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary-500);
  color: var(--text-inverse);
}

/* Service Cards */
.service-card {
  background: var(--bg-primary);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: #fff;
}

.service-card__image {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-50);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: var(--space-3);
}

.service-card h3 a {
  color: var(--text-primary);
}

.service-card h3 a:hover {
  color: var(--primary-500);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  align-items: flex-start;
}

.contact-card__icon {
  font-size: 24px;
  background: var(--primary-50);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
}

@media(max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Quote Page Styles */
.quote-container {
  max-width: 800px;
  margin: 0 auto;
}

.quote-form-wrapper {
  background: var(--bg-secondary);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .quote-form-wrapper {
    padding: var(--space-6);
  }
}

/* Single Project Styles */
.project-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-8);
}

.project-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.project-image img {
  width: 100%;
  height: auto;
}

.project-content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.project-gallery {
  margin-top: var(--space-8);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.project-sidebar {
  position: sticky;
  top: 100px;
}

.project-details,
.project-cta {
  background: var(--bg-secondary);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
}

.project-details h3 {
  margin-bottom: var(--space-4);
  color: var(--primary-600);
}

.project-details ul {
  list-style: none;
  padding: 0;
}

.project-details li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--neutral-200);
}

.project-cta {
  text-align: center;
}

.project-cta h4 {
  margin-bottom: var(--space-4);
}

.project-cta .btn {
  width: 100%;
  margin-bottom: var(--space-2);
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: white;
}

@media(max-width: 1024px) {
  .project-layout {
    grid-template-columns: 1fr;
  }
}


/* About Page Styles */
.page-hero--about {
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  padding: var(--space-20) 0;
  position: relative;
  text-align: center;
}

.page-hero--about .page-hero__content h1 {
  color: white;
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.page-hero--about .page-hero__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

.about-main__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about-main__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-main__lead {
  font-size: var(--text-xl);
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.about-main__text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-main__image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.vision-mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.vision-mission__item {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-base);
}

.vision-mission__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.vision-mission__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: white;
}

.vision-mission__item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--primary-600);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.value-card {
  background: var(--bg-secondary);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-base);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: white;
}

.value-card h4 {
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

@media (max-width: 1024px) {
  .vision-mission__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .about-main__grid,
  .vision-mission__grid {
    grid-template-columns: 1fr;
  }

  .about-main__image {
    order: -1;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .page-hero--about .page-hero__content h1 {
    font-size: var(--text-3xl);
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================
   PROBLEMS PAGE STYLES
   ============================================ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  justify-items: center;
  padding: 2rem 0;
}

@media (max-width: 992px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

.problem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.problem-card:hover {
  transform: translateY(-5px);
}

.problem-icon {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-500);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card:hover .problem-icon {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border-color: var(--secondary-500);
  transform: scale(1.02);
}

.problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.3s ease;
  margin-top: 0.5rem;
}

.problem-card:hover .problem-title {
  color: var(--primary-500);
}

.placeholder-icon {
  font-size: 4rem;
  color: var(--neutral-400);
  font-weight: 700;
}

/* Testimonials Page */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.testimonial-entity {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  font-weight: 500;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

/* Header Logo Size */
.header__logo img {
  max-height: 80px;
  width: auto;
}

/* Problem Page Styles */
.problem-hero {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.problem-badge {
  background: var(--secondary-500);
  color: var(--primary-900);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
}

.problem-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}

.problem-section {
  padding: 60px 0;
}

.problem-layout {
  max-width: 900px;
  margin: 0 auto;
}

.problem-main {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.problem-featured-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.problem-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.problem-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Galleries */
.problem-gallery-section,
.solutions-section,
.related-products-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--neutral-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 1.5rem;
}

.gallery-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  height: 150px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Solutions */
.solutions-header {
  text-align: center;
  margin-bottom: 2rem;
}

.solutions-header h3 {
  color: var(--primary-600);
  margin-bottom: 0.5rem;
}

/* CTA */
.problem-cta {
  background: var(--primary-50);
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  border: 1px solid var(--primary-100);
  flex-wrap: wrap;
  gap: 1rem;
}

.problem-cta__content h4 {
  margin: 0 0 0.5rem;
  color: var(--primary-700);
}

.problem-cta__content p {
  margin: 0;
  color: var(--text-secondary);
}

/* Related Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.product-card {
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card__image {
  height: 200px;
  display: block;
  background: var(--neutral-50);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__content {
  padding: 1rem;
  text-align: center;
}

.product-card__content h4 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.product-card__content h4 a {
  color: var(--text-primary);
  text-decoration: none;
}

.btn-link {
  font-size: 0.9rem;
  color: var(--primary-500);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .problem-cta {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   GLOBAL CTA SECTION - Consistent across all pages
   ============================================ */
.cta-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-content .btn--white {
  background: white;
  color: var(--primary-600);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.cta-content .btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: var(--neutral-50);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-content .btn--white {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
  }
}