/* ==========================================================================
   Advocacy Services Section Styles
   ========================================================================== */

:root {
  --adv-bg-dark: #12161b;
  --adv-card-bg: rgba(255, 255, 255, 0.04);
  --adv-card-border: rgba(212, 163, 115, 0.35);
  --adv-gold: #e2b778;
  --adv-gold-light: #f5d7a6;
  --adv-text-title: #f3f4f6;
  --adv-text-body: #a0aec0;
  --adv-container-border: rgba(212, 163, 115, 0.5);
}

.advocacy-services-section {
  position: relative;
  background-color: var(--adv-bg-dark);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(20, 30, 42, 0.9) 0%, transparent 60%),
    radial-gradient(circle at 85% 50%, rgba(10, 15, 22, 0.95) 0%, transparent 60%);
  padding: 40px 20px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--adv-text-title);
}

/* Outer & Inner Decorative Frame Lines */
.services-frame-outer {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 30px;
  right: 30px;
  border: 1px solid var(--adv-container-border);
  pointer-events: none;
  opacity: 0.6;
}

.services-frame-inner {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  right: 6px;
  border: 1px solid rgba(212, 163, 115, 0.2);
}

.services-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header */
.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-subtitle {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--adv-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.services-title {
  font-size: 2.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--adv-text-title);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Main Outer Glass Box */
.services-glass-wrapper {
  background: rgba(255, 255, 255, 0.02);
 
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 163, 115, 0.05);
}

/* Grid Layout (2x2 Desktop) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Individual Cards */
.service-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--adv-card-bg);
  border: 1px solid var(--adv-card-border);
  border-radius: 14px;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Warm Gold Glow effect on specific cards */
.service-card-glow {
  box-shadow: inset 0 -20px 40px -15px rgba(226, 183, 120, 0.15);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--adv-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(226, 183, 120, 0.12);
}

/* Icon Container */
.card-icon-wrapper {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #524231 0%, #2a221a 100%);
  border: 1px solid var(--adv-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 32px;
  height: 32px;
  stroke: var(--adv-gold-light);
}

/* Card Typography */
.card-body {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--adv-gold-light);
  margin: 0 0 8px 0;
}

.card-description {
  font-size: 0.92rem;
  color: var(--adv-text-body);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--adv-gold);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
  display: inline-block;
}

.card-link:hover {
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (Max width: 992px) */
@media (max-width: 992px) {
  .services-title {
    font-size: 2.25rem;
  }
  
  .services-glass-wrapper {
    padding: 20px;
  }
  
  .service-card {
    padding: 24px 20px;
  }

  .card-icon-wrapper {
    width: 58px;
    height: 58px;
  }

  .service-icon {
    width: 28px;
    height: 28px;
  }
}

/* Mobile Devices (Max width: 768px) */
@media (max-width: 768px) {
  .advocacy-services-section {
    padding: 60px 16px;
  }

  .services-frame-outer {
    top: 12px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

  .services-header {
    margin-bottom: 35px;
  }

  .services-title {
    font-size: 1.85rem;
  }

  /* Single Column Layout for Mobile */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 16px;
  }
}

/* Extra Small Screens (Max width: 480px) */
@media (max-width: 480px) {
  .service-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-icon-wrapper {
    margin-bottom: 8px;
  }
}

/* Service card title ke links se underline hatane ke liye */
.service-card .card-title a {
    text-decoration: none !important;
}

/* Hover par bhi agar underline nahi chahiye */
.service-card .card-title a:hover {
    text-decoration: none !important;
}

@media (max-width: 768px) {
  .service-card {
    gap: 0;
    padding: 16px 14px; /* Mobile me balanced inner spacing ke liye */
  }
}