/* ── services.css ───────────────────────────────────────────
   Mixed Theme Grid Layout (Degree Crafters Style)
───────────────────────────────────────────────────────── */

/* Reset for the page */
.services-page-main {
  background-color: #fcfcfc;
  color: #333333;
}

/* Services Hero (Light Theme) */
.services-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background-color: transparent;
}

.services-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.services-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #666666;
  max-width: 650px;
  margin: 0 auto;
}

/* ── MINIMALIST LIGHT GRID ── */
.minimal-section {
  padding: 2rem 0 6rem;
  background-color: transparent;
}

.minimal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
}

.minimal-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  position: relative;
  transition: background-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.minimal-card:hover {
  background-color: #fcfcfc;
}

.minimal-card .card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.minimal-card:hover .card-arrow {
  color: #c5a059;
  transform: translate(2px, -2px);
}

.minimal-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.minimal-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.8rem;
}

.minimal-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

/* ── DARK SECTION AND GRID ── */
.dark-section-wrapper {
  background-color: #121212;
  padding: 5rem 0 6rem;
}

/* Section Headings */
.section-title-dark {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
}

/* Services Grid */
.dark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Specific 4-column layout */
@media (min-width: 1100px) {
  .dark-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .dark-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Premium Dark Card */
.dark-card {
  background-color: #1a1a1d;
  border: 1px solid #2a2a2a;
  border-radius: 24px;
  padding: 2.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.dark-card:hover {
  transform: translateY(-5px);
  background-color: #222225;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border-color: #3a3a3a;
}

/* Card Imagery (Flags/Icons) */
.card-icon {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.card-icon-svg {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: #c5a059;
}

/* Card Typography */
.dark-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.dark-card p.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #888888;
  margin-bottom: 1.5rem;
}

/* Feature Pills container */
.pill-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-grow: 1; /* Pushes the button to the bottom */
}

/* Gold Pill Styling */
.gold-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c5a059;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background-color: transparent;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* Action Button */
.explore-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2b2b2e;
  padding: 0.6rem 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.explore-btn:hover {
  background-color: #ffffff;
  color: #000000;
}

/* ── PREMIUM ANIMATIONS ── */
@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-hero h1 {
  opacity: 0;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.services-hero-sub {
  opacity: 0;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.card-icon, .minimal-icon {
  animation: floatIcon 4.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2.5rem;
  }
}

