@charset "UTF-8";
:root {
  --color-trust: #003a7f; /* الثقة */
  --color-commitment: #cccccc; /* الإلتزام */
  --color-clarity: #f7f6f5; /* الوضوح */
  --primary: var(--color-trust);
  --secondary: rgba(0, 58, 127, 0.85);
  --accent: var(--color-trust);
  --accent-light: rgba(0, 58, 127, 0.18);
  --accent-soft: rgba(0, 58, 127, 0.08);
  --light: var(--color-clarity);
  --dark: rgba(0, 41, 89, 0.95);
  --success: rgba(0, 58, 127, 0.85);
  --text-primary: #10213a;
  --text-secondary: rgba(16, 33, 58, 0.75);
  --border-light: var(--color-commitment);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
}

body {
  background: var(--light);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  text-align: right;
}

p {
  text-align: justify;
}

/* Header Styles - Elegant & Clean */
header {
  background: rgba(0, 58, 127, 0.25) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: white !important;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  min-height: 80px;
  transition: all 0.3s ease;
}

header.is-scrolled {
  background: rgba(0, 58, 127, 0.45) !important;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.2) !important;
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
}

header.is-scrolled .logo-image {
  background: rgba(255, 255, 255, 0.35) !important;
  filter: brightness(1.25) contrast(1.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-image {
  height: clamp(68px, 7.5vw, 92px);
  width: clamp(240px, 26vw, 360px) !important;
  display: block;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.28) !important;
  padding: clamp(0.4rem, 1vw, 0.85rem) clamp(0.8rem, 1.2vw, 1.4rem) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mix-blend-mode: normal;
  filter: brightness(1.15) contrast(1.15);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-image:hover {
  filter: brightness(1.28) contrast(1.2);
  transform: scale(1.015);
}

.logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(247, 246, 245, 0.7));
}

.logo-fallback[hidden] {
  display: none !important;
}

.logo-text h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: white !important;
  margin-bottom: 0.2rem;
}

.logo-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 12px;
  color: white !important;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  line-height: 1;
  position: relative;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: scale(1.05);
}

.mobile-menu-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn .hamburger-lines {
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn .hamburger-lines::before,
.mobile-menu-btn .hamburger-lines::after {
  content: "";
  position: absolute;
  right: 0;
  width: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn .hamburger-lines::before {
  top: -8px;
}

.mobile-menu-btn .hamburger-lines::after {
  top: 8px;
}

.mobile-menu-btn.is-active .hamburger-lines {
  background: transparent;
}

.mobile-menu-btn.is-active .hamburger-lines::before {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-lines::after {
  transform: translateY(-8px) rotate(-45deg);
}

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

nav a {
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

nav a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
  left: 0;
}

/* Hero Section - Sophisticated */
.hero {
  background: linear-gradient(135deg, rgba(0, 58, 127, 0.95) 0%, rgba(0, 58, 127, 0.75) 60%, rgba(247, 246, 245, 0.45) 100%);
  background-color: var(--primary);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 35%, rgba(0, 58, 127, 0.12) 50%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #fff, #f1f5f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 58, 127, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 58, 127, 0.4);
}

.cta-button i {
  font-size: 1.3rem;
}

/* Services Section - Cards Layout */
.services-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--light);
  position: relative;
  z-index: 4;
  margin-bottom: 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3.5rem;
  font-weight: 700;
  position: relative;
  z-index: 12;
  background: transparent;
  padding: 1rem 0;
}

.section-title::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--border-light);
  border-radius: 1px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  perspective: 1400px;
}

@media (max-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
  }
  .service-card {
    scroll-margin-top: 90px;
  }
}
.service-card {
  position: relative;
  border-radius: 22px;
  transform-style: preserve-3d;
  perspective: 1400px;
  height: var(--service-card-height, auto);
  transition: height 0.35s ease;
  will-change: height;
  scroll-margin-top: 120px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: white;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s ease, opacity 0.4s ease;
}

.service-card-back {
  transform: rotateY(180deg);
  padding: 4.5rem 2.5rem 2.5rem;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.service-card-front {
  transform: rotateY(0deg);
}

.service-card.flipped .service-card-front {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.service-card.flipped .service-card-back {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-card:hover .service-card-front,
.service-card:hover .service-card-back {
  box-shadow: var(--shadow-xl);
}

.service-header {
  display: flex;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 58, 127, 0.85), rgba(0, 58, 127, 0.65));
  color: white;
  position: relative;
  overflow: hidden;
}

.service-header::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.service-card:hover .service-header::before {
  transform: scale(1.3);
}

.service-icon {
  font-size: 2.5rem;
  margin-left: 1.5rem;
  color: white;
  opacity: 0.9;
}

.service-content {
  padding: 2rem;
  background: var(--light);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-description,
.service-more-text {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.service-more-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
}

.service-more-content .service-title {
  color: var(--primary);
  font-size: 1.4rem;
}

.service-link,
.service-link-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  width: fit-content;
}

.service-link:hover,
.service-link-back:hover {
  background: var(--primary);
  color: white;
  transform: translateX(-4px);
}

.service-link-back {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.service-link-back:hover {
  transform: translateX(4px);
}

.service-whatsapp-cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.service-whatsapp-cta p {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.service-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-whatsapp-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.service-whatsapp-link i {
  font-size: 1.2rem;
}

/* Lighter gradients for all cards */
.service-card[data-service="1"] .service-header,
.service-card[data-service="3"] .service-header,
.service-card[data-service="5"] .service-header,
.service-card[data-service="7"] .service-header {
  background: linear-gradient(135deg, rgba(0, 58, 127, 0.85), rgba(0, 58, 127, 0.65));
}

.service-card[data-service="2"] .service-header,
.service-card[data-service="4"] .service-header,
.service-card[data-service="6"] .service-header {
  background: linear-gradient(135deg, rgba(0, 58, 127, 0.78), rgba(0, 58, 127, 0.55));
}

@media (min-width: 1200px) {
  .services-container .service-card:last-child {
    grid-column: 2/span 1;
  }
}
/* About Section - Elegant Design */
.detail-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  position: relative;
  z-index: 5;
  margin-bottom: 0;
}

.detail-content {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.detail-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 20px 20px 0 0;
}

.detail-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  position: relative;
}

.detail-section h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 30%;
  height: 2px;
  background: var(--accent-light);
}

.detail-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.detail-section ul {
  padding-right: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.detail-section li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--text-secondary);
  padding-right: 1.5rem;
}

.detail-section li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
}

/* Values Section - Goals & Principles */
.values {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--light);
  position: relative;
  z-index: 5;
}

.values::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 58, 127, 0.05), rgba(0, 58, 127, 0.02));
  z-index: -1;
}

.values-container {
  background: white;
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.values-container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.values .section-title {
  margin-bottom: 2rem;
}

.values-content {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.values-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.9;
}

.subsection-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.subsection-title::before {
  content: "";
  width: 36px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 4px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.value-item {
  background: var(--light);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.value-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  opacity: 0.4;
}

.value-item i {
  color: var(--primary);
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.value-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.values-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.values-footer p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}

.values-whatsapp-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.values-whatsapp-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 768px) {
  .values {
    padding: 4rem 1.2rem;
  }
  .values-container {
    padding: 2.5rem;
    border-radius: 22px;
  }
  .values-list {
    grid-template-columns: 1fr;
  }
}
/* Representations Section - Elegant Design */
.representations {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  position: relative;
  z-index: 5;
  margin-bottom: 0;
}

.representations-container {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.representations-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 20px 20px 0 0;
}

.representations h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  position: relative;
}

.representations h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 30%;
  height: 2px;
  background: var(--accent-light);
}

.representations p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.representations ul {
  padding-right: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.representations li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--text-secondary);
  padding-right: 1.5rem;
}

.representations li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
}

/* Accreditation Section - Elegant Design */
.accreditation-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(247, 246, 245, 0.5), rgba(255, 255, 255, 0.9));
  position: relative;
  overflow: hidden;
}

.accreditation-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(0, 58, 127, 0.03), transparent 50%), radial-gradient(circle at 80% 50%, rgba(0, 58, 127, 0.02), transparent 50%);
  pointer-events: none;
}

.accreditation-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.accreditation-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
  justify-items: center;
}

.accreditation-logo {
  width: 100%;
  max-width: 280px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.accreditation-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(0, 58, 127, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.accreditation-logo:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 58, 127, 0.15);
}

.accreditation-logo:hover::before {
  opacity: 1;
}

.accreditation-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.accreditation-logo:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1.1);
}

@media (max-width: 1024px) {
  .accreditation-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .accreditation-section {
    padding: 3rem 1.5rem;
  }
  .accreditation-logos {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .accreditation-logo {
    max-width: 100%;
    height: 160px;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .accreditation-logo {
    height: 140px;
    padding: 1rem;
  }
}
/* Blog Section - Elegant Cards */
.blog-section {
  padding: 6rem 2rem;
  background: white;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  clear: both;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 11;
  justify-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .blog-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 12;
  padding: 2.5rem;
  width: 100%;
  max-width: 100%;
  justify-self: center;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.blog-date {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 1rem;
}

.blog-card-content {
  padding: 0;
}

/* Direct styling for the main page blog section */
.blog-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
  padding-bottom: 1rem;
}

.blog-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-radius: 2px;
}

.blog-card p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.blog-card a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.blog-card a::after {
  content: "←";
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.blog-card a:hover::after {
  transform: translateX(5px);
}

.blog-title {
  margin-bottom: 1.5rem;
}

.blog-title a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: block;
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.blog-categories {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.blog-category {
  background: rgba(0, 58, 127, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.8rem 0;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-read-more:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  transform: translateX(-5px);
}

.blog-read-more i {
  display: none;
}

.blog-read-more::after {
  content: "←";
  font-size: 1rem;
  margin-inline-start: 0.5rem;
  transition: transform 0.3s ease;
}

.blog-read-more:hover::after {
  transform: translateX(-5px);
}

.blog-view-all {
  text-align: center;
  margin-top: 4rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary), rgba(0, 58, 127, 0.85));
  color: var(--light);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.view-all-btn i {
  font-size: 1.2rem;
}

/* Contact Section - Sophisticated */
.contact-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--light);
  position: relative;
  z-index: 8;
  clear: both;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200px;
  height: 200px;
  background: var(--accent-soft);
  border-radius: 50%;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.contact-item i {
  color: white;
  font-size: 1.6rem;
  margin-top: 0.2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.8rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 700;
}

.contact-text p {
  opacity: 0.9;
  line-height: 1.6;
  font-size: 1rem;
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.contact-form h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

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

.whatsapp-contact p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #25d366;
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
  background: #20c55e;
}

.whatsapp-btn i {
  font-size: 1.4rem;
}

.whatsapp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.feature i {
  color: var(--accent);
  font-size: 1.2rem;
  width: 30px;
}

.feature span {
  font-weight: 600;
  color: var(--text-secondary);
}

/* WhatsApp Float - Elegant */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25d366, #20c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  animation: elegantPulse 3s infinite;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  color: white;
  font-size: 2.2rem;
}

.whatsapp-text {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: #25d366;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  pointer-events: none;
  z-index: 1001;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateY(-50%) translateX(10px);
}

@keyframes elegantPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0.1);
  }
}
/* Blog Page Specific Styles */
.elegant-theme .blog-section {
  background: white !important;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
  padding: 4rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elegant-theme .blog-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elegant-theme .section-title {
  color: var(--primary-color) !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.elegant-theme .section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-radius: 2px;
}

.elegant-theme .blog-description {
  color: var(--text-color) !important;
  font-size: 1.2rem !important;
  text-align: center;
  margin-bottom: 4rem !important;
  line-height: 1.6;
  max-width: 800px;
}

.elegant-theme .posts-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 3rem !important;
  margin-top: 4rem !important;
  width: 100% !important;
  max-width: 1200px !important;
  justify-items: center !important;
  align-items: start !important;
  justify-content: center !important;
}

/* Large screen specific adjustments */
@media (min-width: 1400px) {
  .elegant-theme .posts-grid {
    grid-template-columns: repeat(3, minmax(350px, 400px)) !important;
    justify-content: center !important;
    gap: 3rem !important;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .elegant-theme .posts-grid {
    grid-template-columns: repeat(2, minmax(350px, 450px)) !important;
    justify-content: center !important;
    gap: 3rem !important;
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .elegant-theme .posts-grid {
    grid-template-columns: repeat(2, minmax(350px, 400px)) !important;
    justify-content: center !important;
    gap: 2.5rem !important;
  }
}
.elegant-theme .post-card {
  background: white !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid var(--border-light) !important;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  width: 100% !important;
  max-width: 420px !important;
  justify-self: center !important;
  align-self: start !important;
}

.elegant-theme .post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.elegant-theme .post-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: var(--shadow-xl) !important;
}

.elegant-theme .post-card-content {
  padding: 2.5rem !important;
}

.elegant-theme .post-meta time {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color)) !important;
  color: white !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.elegant-theme .category {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 0.4rem 1rem !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.elegant-theme .post-title a {
  color: var(--primary-color) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  transition: all 0.3s ease;
}

.elegant-theme .post-title a:hover {
  color: var(--accent-color) !important;
  transform: translateX(10px);
}

.elegant-theme .post-excerpt {
  color: rgba(85, 85, 85, 0.9) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
}

.elegant-theme .read-more {
  color: var(--accent-color) !important;
  font-weight: 600 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.elegant-theme .read-more:hover {
  color: var(--primary-color) !important;
  transform: translateX(8px);
}

.elegant-theme .no-posts {
  text-align: center;
  padding: 4rem 2rem !important;
  color: var(--text-color) !important;
  font-size: 1.2rem !important;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .elegant-theme .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    justify-items: center !important;
  }
  .elegant-theme .section-title {
    font-size: 2.5rem !important;
  }
  .elegant-theme .blog-section {
    padding: 2rem 1rem !important;
  }
  .elegant-theme .post-card {
    max-width: 100% !important;
    width: 100% !important;
  }
}
footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: white;
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.8rem;
  color: white;
  font-weight: 700;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  border-radius: 2px;
}

.footer-col p {
  margin-bottom: 1.2rem;
  opacity: 0.9;
  line-height: 1.8;
  font-size: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.3rem 0;
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: var(--light);
  transform: translateX(-8px);
  padding-right: 8px;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--light);
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 8px 20px rgba(0, 58, 127, 0.3);
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  opacity: 0.7;
  font-size: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

/* Responsive Design - Elegant Mobile */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
    width: 48px;
    height: 48px;
    z-index: 1001;
  }
  header {
    padding: 1rem 1.5rem;
    min-height: 70px;
  }
  .logo-link {
    max-width: 70%;
  }
  .logo-image {
    width: clamp(180px, 60vw, 220px) !important;
    height: clamp(52px, 16vw, 64px) !important;
    padding: 0.35rem 0.85rem !important;
  }
  .header-container {
    position: relative;
  }
  .logo-text h1 {
    font-size: 1.3rem;
  }
  .logo-text p {
    font-size: 0.8rem;
  }
  nav {
    position: fixed;
    top: 80px;
    right: -100%;
    background: rgba(0, 58, 127, 0.15) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    width: 300px;
    height: calc(100vh - 80px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3), inset 1px 1px 0 rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding-top: 2rem;
    overflow-y: auto;
  }
  nav.active {
    right: 0;
  }
  nav ul {
    flex-direction: column;
    padding: 2rem 0;
    gap: 0;
    list-style: none;
    margin: 0;
  }
  nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  nav li:last-child {
    border-bottom: none;
  }
  nav a {
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    border-bottom: none;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
  }
  nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95) !important;
    padding-right: 2.5rem;
    backdrop-filter: blur(8px);
  }
  nav a::after {
    display: none;
  }
  /* Mobile menu overlay */
  body.menu-open::before {
    content: "";
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  body.menu-open {
    overflow: hidden;
  }
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 2rem 1rem;
    margin-top: 70px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .service-card {
    border-radius: 15px;
  }
  .service-header {
    padding: 1.5rem;
  }
  .service-content {
    padding: 1.5rem;
  }
  .blog-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-card-content {
    padding: 2rem;
    padding-top: 3rem;
  }
  .detail-content {
    padding: 2rem;
    border-radius: 15px;
  }
  .contact-info,
  .contact-form {
    padding: 2rem;
    border-radius: 15px;
  }
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
  }
  .whatsapp-float i {
    font-size: 2.2rem;
  }
  .whatsapp-features {
    gap: 0.8rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .services-section,
  .blog-section,
  .detail-section,
  .contact-section {
    padding: 4rem 1rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info,
  .contact-form,
  .detail-content {
    padding: 1.5rem;
  }
}
/* Post Layout - Elegant Theme */
.post {
  max-width: 900px;
  margin: 100px auto 0;
  padding: 3rem;
  background: white;
  min-height: calc(100vh - 140px);
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  z-index: 2;
}

.post-header {
  padding: 0 0 2.5rem 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 2.5rem;
  position: static;
  background: transparent;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0;
  line-height: 1.2;
}

.post-excerpt {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
  margin: 1.5rem 0;
  line-height: 1.7;
  padding: 1.5rem;
  background: rgba(0, 58, 127, 0.05);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-content h2 {
  color: var(--primary);
  margin: 3rem 0 1.5rem 0;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

.post-content h3 {
  color: var(--secondary);
  margin: 2rem 0 1rem 0;
  font-size: 1.5rem;
}

.post-content p {
  margin-bottom: 1.8rem;
}

/* Blog Page - Elegant Theme */
.blog-section {
  margin-top: 100px;
  padding: 3rem 2rem;
  min-height: calc(100vh - 140px);
  background: var(--light);
  position: relative;
  z-index: 2;
}

/* Mobile adjustments for elegant theme */
@media (max-width: 768px) {
  .post {
    margin-top: 80px;
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }
  .post-title {
    font-size: 2rem;
  }
  .post-excerpt {
    font-size: 1.1rem;
    padding: 1rem;
  }
  .blog-section {
    margin-top: 80px;
    padding: 2rem 1rem;
  }
}
@media (max-width: 480px) {
  .post {
    padding: 1.5rem;
  }
  .post-title {
    font-size: 1.8rem;
  }
  .post-content {
    font-size: 1rem;
  }
}

/*# sourceMappingURL=elegant-theme.css.map */