/* --- Global Settings & Variables --- */
:root {
  /* Holographic Palette */
  --color-bg: #f3f4f8;
  --color-text: #1a1a2e;
  --color-text-light: #6e6e8a;
  --color-accent: #6b4cfa;
  --color-accent-hover: #5a3dd8;

  /* Iridescent Gradients */
  --gradient-holo: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  --gradient-glass: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Fonts */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Organic Shapes */
  --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: --font-body, sans-serif;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Background Ambience */
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(224, 195, 252, 0.4) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(142, 197, 252, 0.4) 0%,
      transparent 40%
    );
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utilities --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Fluid Button Style */
.btn-fluid {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient-holo);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  /* Organic Shape */
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(107, 76, 250, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-fluid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8ec5fc 0%, #e0c3fc 100%);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-fluid:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px rgba(107, 76, 250, 0.3);
}

.btn-fluid:hover::before {
  opacity: 1;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-img {
  width: 40px;
  height: 40px;
  /* Simulate holographic effect on logo placeholder */
  filter: drop-shadow(0 0 5px rgba(142, 197, 252, 0.5));
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #6b4cfa, #8ec5fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header__nav {
  display: none; /* Mobile first */
}

@media (min-width: 992px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .header__menu {
    display: flex;
    gap: 2rem;
  }

  .header__link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
  }

  .header__link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
  }

  .header__link:hover::after {
    width: 100%;
  }
}

.header__burger {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.is-active {
  right: 0;
}

.mobile-menu__content {
  text-align: center;
  position: relative;
  width: 100%;
  padding: 2rem;
}

.mobile-menu__close {
  position: absolute;
  top: -60px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  transform: scale(1.5);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.mobile-menu__link--cta {
  color: var(--color-accent);
}

.mobile-menu__note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* --- Footer --- */
.footer {
  background: #fff;
  padding: 4rem 0 2rem;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
  position: relative;
  margin-top: 4rem;
}

.footer__container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.footer__note {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  background: rgba(142, 197, 252, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.footer__title {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer__list li {
  margin-bottom: 0.8rem;
}

.footer__link {
  color: var(--color-text-light);
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer__contacts-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer__subtext {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #999;
}

.footer__bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.85rem;
  color: #ccc;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  padding-top: 80px; /* Space for fixed header */
  padding-bottom: 100px;
  overflow: hidden;
  background: #fff; /* Fallback */
}

/* Background Blobs Animation Container */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at top left, #f8f9ff, #fff);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: moveBlob 20s infinite alternate;
}

.blob:nth-child(1) {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: #e0c3fc;
  animation-duration: 25s;
}
.blob:nth-child(2) {
  bottom: 10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: #8ec5fc;
  animation-duration: 30s;
  animation-delay: -5s;
}
.blob:nth-child(3) {
  top: 40%;
  left: 40%;
  width: 30vw;
  height: 30vw;
  background: rgba(107, 76, 250, 0.15);
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes moveBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Content Styles */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-glass);
}

.hero__badge i {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4rem;
  }
}

.text-gradient {
  background: var(--gradient-holo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* Underline decoration for title */
.text-gradient::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(142, 197, 252, 0.3);
  z-index: -1;
  transform: skewX(-15deg);
  border-radius: 4px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 576px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero__link-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text);
}

.hero__link-more:hover {
  color: var(--color-accent);
  gap: 12px; /* Smooth movement on hover */
}

/* Stats */
.hero__stats {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
}

/* Visual / 3D Elements */
.hero__visual {
  position: relative;
  height: 400px;
  display: none; /* Hide on mobile initially */
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__visual {
    display: flex;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  position: absolute;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-card--small {
  width: auto;
  padding: 0.8rem 1.2rem;
  flex-direction: row;
  align-items: center;
  border-radius: 50px;
  bottom: 20%;
  right: 10%;
  background: rgba(255, 255, 255, 0.6);
}

.glass-card__icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.chart-line path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 2s ease forwards 0.5s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Animation classes */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-animation-delayed {
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Wave shape divider */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero__wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

@media (min-width: 768px) {
  .hero__wave svg {
    height: 120px;
  }
}

.hero__wave .shape-fill {
  fill: #f3f4f8; /* Matches body bg */
}

/* --- Common Section Styles --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section__header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section__subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* --- Strategy Section (Glass Islands) --- */
.strategy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .strategy__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start; /* To allow staggering */
  }
}

.glass-panel {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Hover Effect: Lift & Glow */
.glass-panel:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px rgba(107, 76, 250, 0.1);
  border-color: #fff;
}

/* Stagger effect for desktop */
@media (min-width: 768px) {
  .strategy__card:nth-child(2) {
    margin-top: 3rem; /* Push the middle card down */
  }
}

.strategy__icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f3f4f8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.strategy__card--highlight .strategy__icon-box {
  background: var(--gradient-holo);
  color: #fff;
}

.strategy__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.strategy__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.strategy__link {
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.strategy__link:hover {
  gap: 10px;
}

/* --- Mentoring Section (Fluid Image) --- */
.mentoring {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(224, 195, 252, 0.1) 100%
  );
}

.mentoring__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .mentoring__container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Organic Blob Image */
.blob-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px; /* Fixed height for shape */
}

.blob-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Complex organic shape */
  clip-path: path(
    "M440.5,372.5Q412,495,296,488Q180,481,107.5,394.5Q35,308,82,201.5Q129,95,247.5,73Q366,51,417.5,150.5Q469,250,440.5,372.5Z"
  );
  /* Fallback simple shape if path fails or for easier customization */
  border-radius: 46% 54% 39% 61% / 55% 36% 64% 45%;
  transition: border-radius 5s ease-in-out;
}

/* Breathe animation for the blob */
.blob-image-wrapper:hover .blob-image {
  border-radius: 54% 46% 66% 34% / 36% 57% 43% 64%;
}

.floating-badge {
  position: absolute;
  background: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  z-index: 2;
  animation: float 5s infinite ease-in-out;
}

.badge-top {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.badge-bottom {
  bottom: 20%;
  right: 5%;
  animation-delay: 2s;
}

.mentoring__desc {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.mentoring__list {
  margin-bottom: 2.5rem;
}

.mentoring__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mentoring__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mentoring__check i {
  width: 14px;
  height: 14px;
}

.mentoring__action {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.mentoring__note {
  font-size: 0.75rem;
  color: var(--color-text-light);
  opacity: 0.8;
}

/* --- Success Stories (Cloud Grid) --- */
.stories {
  overflow: hidden;
}

/* Background gradient spot */
.stories__bg-blur {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(142, 197, 252, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}

.stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stories__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: masonry; /* If supported, else fallback */
  }
}

@media (min-width: 992px) {
  .stories__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.story-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 24px; /* Standard rounded */
  border-bottom-right-radius: 0; /* Chat bubble effect */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px) scale(1.01);
  background: rgba(255, 255, 255, 0.8);
}

/* Make one card larger/featured */
.story-card--large {
  grid-row: span 1;
  border-radius: 24px;
  border-bottom-left-radius: 0; /* Different corner */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7),
    rgba(240, 240, 255, 0.7)
  );
}

@media (min-width: 992px) {
  .story-card--large {
    grid-column: span 2;
    padding: 3rem;
  }
}

.story-card--accent {
  background: var(--gradient-holo);
  color: #fff;
  border: none;
}

.story-card--accent .story-card__text,
.story-card--accent .story-card__author-simple {
  color: #fff;
}

.story-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.story-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.story-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.story-card__role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.story-card__text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.story-card__text strong {
  color: var(--color-accent);
}

.story-card--accent .story-card__text strong {
  color: #fff;
  text-decoration: underline;
}

.story-card__rating {
  margin-top: 1rem;
  display: flex;
  gap: 4px;
  color: #ffd700;
}

.story-card__rating .fill-star {
  width: 16px;
  height: 16px;
  fill: #ffd700;
}

.story-card__quote-icon {
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* --- Blog Section (Asymmetric Grid) --- */
.blog__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .blog__layout {
    grid-template-columns: 1.5fr 1fr;
  }
}

.blog-card {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 15px 40px rgba(107, 76, 250, 0.1);
  transform: translateY(-5px);
}

.blog-card--main {
  height: 100%;
}

.blog-card__image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-card--main .blog-card__image-wrap {
    height: 350px;
  }
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
}

.blog-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card__excerpt {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
}

/* Sidebar Cards */
.blog__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card--side {
  background: #f8f9ff;
  border: none;
  height: 100%;
  justify-content: center;
}

.blog-card--side .blog-card__content {
  padding: 2.5rem 2rem;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: #999;
}

.blog-card__link-small {
  margin-top: auto;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-text);
}

.blog-card__link-small:hover {
  color: var(--color-accent);
}

/* --- Contact Section --- */
.contact {
  padding-bottom: 8rem;
}

.contact__container {
  position: relative;
  max-width: 1000px;
}

/* Decorative blob behind form */
.contact__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(142, 197, 252, 0.4) 0%,
    transparent 60%
  );
  z-index: -1;
  filter: blur(50px);
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .contact__wrapper {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__desc {
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact__item i {
  color: var(--color-accent);
  width: 20px;
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(107, 76, 250, 0.1);
  background: #fff;
}

/* Validation Styling */
.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 5px;
}

.form-group.error .form-input {
  border-color: #e74c3c;
}

.form-group.error .error-msg {
  display: block;
}

/* Custom Checkbox (Captcha & Agreement) */
.custom-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-checkbox-input {
  display: none; /* Hide default */
}

/* Captcha Box Style */
.captcha-group {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  width: fit-content;
  min-width: 200px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #555;
}

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: all 0.2s;
}

/* Checked State */
.custom-checkbox-input:checked + .custom-checkbox-label .checkmark {
  border-color: var(--color-accent);
}

.custom-checkbox-input:checked + .custom-checkbox-label .checkmark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid var(--color-accent);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Agreement Text */
.custom-checkbox-label-text {
  font-size: 0.8rem;
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  padding-left: 30px;
}

.custom-checkbox-label-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

.custom-checkbox-input:checked + .custom-checkbox-label-text::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 9px;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-label-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Success Message */
.contact__success {
  display: none;
  text-align: center;
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #4ade80;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-popup__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* --- Policy Pages Styles (Generic) --- */
.pages {
  padding: 8rem 0 4rem;
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-accent);
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.pages p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.pages ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--color-text-light);
}

.pages li {
  margin-bottom: 0.5rem;
}
