/* ============================= */
/*           VARIABLES           */
/* ============================= */
:root {
  --primary-blue: #2c2ce9;
  --light-blue: #5f79e9;
  --dark-navy: #0d0e27;
  --mid-night: #1a1b3d;
  --text-color: #ffffff;
  --soft-bg: #f7f7fa;
  --subtitle-color: #6e6e73;
  --accent-pink: #e91e63;
}

/* ============================= */
/*         BASE RESET           */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: white;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================= */
/*            NAVBAR            */
/* ============================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #051937 0%, #004d7a 50%, #0083b0 100%);
  padding: 1% 2%;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 2%;
}

.logo img {
  height: 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1vw;
  white-space: nowrap;
}

.nav-menu li {
  position: relative;
  transition: background-color 0.3s ease;
}

.nav-menu > li > a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5em 0.7em;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 4px;
}

.nav-menu > li > a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

/* White underline for top nav links EXCEPT dropdown */
.nav-menu > li:not(.dropdown) > a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: white;
  bottom: -4px;
  left: 0;
  right: 0;
  margin: auto;
  transition: width 0.3s ease;
}

.nav-menu > li:not(.dropdown) > a:hover::after {
  width: 100%;
}

/* ============================= */
/*        DROPDOWN MENU         */
/* ============================= */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: absolute;
  background-color: #151437;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  top: 100%;
  left: 0;
  padding: 10px 0;
  min-width: 180px;
  z-index: 1000;
  flex-direction: column;
}

.dropdown:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 0.5em 0.7em;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: white;
  bottom: -4px;
  left: 0;
  right: 0;
  margin: auto;
  transition: width 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.dropdown-menu a:hover::after {
  width: 100%;
}

/* ============================= */
/*             HERO             */
/* ============================= */
.hero {
  background: linear-gradient(90deg, #051937 0%, #004d7a 50%, #0083b0 100%);
  padding: 1.5% 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
  max-width: 1200px;
  width: 100%;
}

.hero-text h1 {
  font-family: 'Georgia', serif;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text .top-line {
  font-size: 2.5rem;
  display: block;
}

.hero-text .brand {
  font-size: 4rem;
  display: block;
}

.hero-text .underline {
  width: 280px;
  height: 2px;
  background-color: var(--accent-pink);
  margin: 1rem 0;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 600px;
}

.hero-graphic img {
  max-width: 300px;
  height: auto;
}

/* ============================= */
/*         PARTNER LOGOS        */
/* ============================= */
.white-section {
  background-color: #ffffff;
  color: #000013;
  padding: 5% 4% 2% 4%;
  text-align: center;
}

.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-logos img {
  max-height: 130px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logos img:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* ============================= */
/*      INTERNATIONAL SECTION   */
/* ============================= */
.international-section {
  background-color: #ffffff;
  color: #000013;
  padding: 2% 4% 6% 4%;
}

.international-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4%;
}

.intl-text h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--light-blue);
}

.intl-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.intl-text li {
  list-style: none;
  margin-bottom: 10px;
}

.intl-text li i {
  color: var(--light-blue);
  margin-right: 8px;
}

.intl-graphic img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ============================= */
/*        FADE-IN EFFECT        */
/* ============================= */
.fade-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/*     SOLUTIONS SECTION        */
/* ============================= */
.solutions-section {
  background-color: #ffffff;
  color: #000013;
  padding: 4% 4% 6% 4%;
}

.solutions-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.solutions-header h2 {
  color: var(--light-blue);
  font-size: 2rem;
  font-weight: 500;
  position: relative;
}

.solutions-header h2::after {
  content: "";
  display: block;
  width: 600px;
  height: 2px;
  background-color: var(--accent-pink);
  margin: 10px auto 0 auto;
}

.solutions-header .subtitle {
  color: var(--subtitle-color);
  font-size: 1.05rem;
  margin-top: 10px;
}

.solutions-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2%;
  flex-wrap: wrap;
}

.solution-card {
  background-color: var(--soft-bg);
  border-radius: 10px;
  padding: 2%;
  flex: 1 1 30%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.solution-card h3 a {
  text-decoration: none;
  color: var(--light-blue);
}

.solution-card hr {
  border: none;
  height: 2px;
  width: 250px;
  background-color: var(--accent-pink);
  margin: 0 auto 1rem auto;
}

.solution-card p {
  flex-grow: 1;
  font-size: 1rem;
  color: #222;
  margin-bottom: 1.5rem;
}

.solution-card .btn {
  background-color: var(--light-blue);
  color: #ffffff;
  text-decoration: none;
  padding: 0.8em 1.5em;
  border-radius: 25px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.solution-card .btn:hover {
  background-color: var(--primary-blue);
  transform: scale(1.05);
}

/* ============================= */
/*          ABOUT PAGE          */
/* ============================= */
.about-card {
  background-color: #f3f8fc;
  padding: 60px 40px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 1200px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 500px;
  padding-right: 40px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: bold;
  color: #0d0e27;
  margin-bottom: 10px;
}

.about-text .underline {
  width: 80px;
  height: 4px;
  background-color: #2c2ce9;
  border: none;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* ============================= */
/*            FOOTER            */
/* ============================= */
footer {
  background-color: var(--mid-night);
  text-align: center;
  padding: 3% 2%;
  font-size: 0.9rem;
  color: var(--light-gray);
}
.main-footer {
  background-color: #0d0e27;
  color: #cfd6e1;
  font-size: 0.95rem;
  padding: 4% 6% 1% 6%;
  text-align: center;
  border-top: 1px solid #2b2d42;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  flex-wrap: wrap;
  text-align: left;
}

.footer-logo img {
  max-height: 90px;
}

.footer-info p {
  margin: 8px 0;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 15px;
  font-size: 0.85rem;
  color: #9ca6b3;
}

/* ============================= */
/*        RESPONSIVENESS        */
/* ============================= */
@media (max-width: 768px) {
  .hero-content,
  .international-content,
  .solutions-content,
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-graphic img {
    max-width: 220px;
    margin-top: 30px;
  }

  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 2%;
    width: 60%;
    background-color: var(--mid-night);
    display: none;
    padding: 2%;
  }

  .nav-menu.show {
    display: flex;
  }

  .solution-card {
    flex: 1 1 100%;
  }

  .about-text {
    padding-right: 0;
  }

  .about-image {
    margin-top: 20px;
  }
}

/* ============================= */
/*     FIX TEXT COLOR ONLY IN   */
/*     ABOUT + IDENTITY PAGE    */
/* ============================= */
.about-card,
.about-card p,
.about-card h2,
.identity-section,
.identity-section p,
.identity-section h2,
.identity-block strong {
  color: #0d0e27;
}

/* ============================= */
/*     MISSION/VISION STYLING   */
/* ============================= */
.identity-section {
  background-color: white;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

.identity-block {
  margin-bottom: 50px;
}

.identity-block h2 {
  font-size: 2.3rem;
  color: var(--light-blue); /* bright blue */
  font-weight: 700;
  margin-bottom: 10px;
}

.identity-block p {
  font-size: 1.05rem;
  color: #0d1652; /* dark navy for text */
  font-weight: 500;
  padding-left: 5px;
}

.identity-section hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* ============================= */
/*        VENDORS HEADER CARD    */
/* ============================= */
.vendors-hero-card {
  background-color: #f4f9ff;
  padding: 60px 40px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
}

.vendors-hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.vendors-text {
  flex: 1 1 500px;
}

.vendors-text h2 {
  font-size: 48px;
  font-weight: 700;
  color: #0d0e27;
  margin-bottom: 10px;
}

.vendors-text .underline {
  width: 120px;
  height: 4px;
  background-color: #5f79e9;
  border: none;
  margin-bottom: 20px;
}

.vendors-text p {
  font-size: 18px;
  color: #1a1b3d;
  line-height: 1.6;
  max-width: 500px;
}

.vendors-graphic {
  flex: 1 1 400px;
  text-align: center;
}

.vendors-graphic img {
  max-width: 100%;
  max-height: 250px; /* limit height */
  height: auto;
  object-fit: contain;
}

/* ============================= */
/*   VENDOR CARDS (uniform)      */
/* ============================= */
.vendor-list {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 40px;
}

.vendor-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.vendor-column {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.vendor-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 24px 20px;
  height: 240px;                 /* uniform card height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vendor-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.vendor-card img {
  width: 180px;              /* force a consistent width */
  height: 80px;              /* force consistent height */
  object-fit: contain;       /* keeps logo aspect ratio */
  object-position: center;   /* centers the logo inside box */
  margin-bottom: 10px;
  background: #fff;          /* optional: gives logos with transparency a clean background */
  padding: 5px;              /* optional: adds breathing room */
  border-radius: 6px;        /* optional: softer look */
}
.vendor-card img:hover {
  transform: scale(1.08);
  cursor: pointer;
}

.vendor-card p {
  margin: 8px 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #1a1b3d;
}

/* Responsive: stack into one column on mobile */
@media (max-width: 900px) {
  .vendor-columns {
    flex-direction: column;
  }
  .vendor-card {
    height: auto;
    padding: 20px;
  }
}

/* ============================= */
/*   SERVICES HEADER BACKGROUND  */
/* ============================= */
.services-page .services-hero-card {
  /* 👇 CSS path is relative to css/style.css */
  background: url("../assets/images/servicesbg.png") no-repeat center center / cover;
  color: #ffffff;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 100px 60px;
  min-height: 360px;             /* gives the image room to show */
  position: relative;
  overflow: hidden;
}

.services-page .services-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 60, 0.55); /* ✅ overlay for readability */
  border-radius: inherit;
}

.services-page .services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.services-page .services-hero-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.services-page .services-hero-content .underline {
  width: 120px;
  height: 4px;
  background-color: #5f79e9;
  margin-bottom: 20px;
  border: none;
}

.services-page .services-hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #f3f3f3;
}


/* ============================= */
/*       SERVICES CARDS          */
/* ============================= */
.services-page .services-list {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-page .service-card {
  background-color: #f7f7fa;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-page .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.services-page .service-card h3 {
  font-size: 1.4rem;
  color: var(--light-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.services-page .service-card .underline {
  width: 100px;
  height: 2px;
  background-color: var(--accent-pink);
  margin: 0 auto 15px auto;
  border: none;
}

.services-page .service-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.services-page .service-card .btn {
  display: inline-block;
  background-color: var(--light-blue);
  color: #fff;
  text-decoration: none;
  padding: 0.6em 1.5em;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.services-page .service-card .btn:hover {
  background-color: var(--primary-blue);
  transform: scale(1.05);
}

/* ============================= */
/*   PROGRESSIVE SERVICE ROLLOUT */
/* ============================= */
.services-page .service-rollout {
  background: none; /* remove the full-width background */
  padding: 80px 40px 100px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

/* circular soft background */
.services-page .service-rollout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;       /* adjust size here */
  height: 900px;
  background: #f5f9ff;
  border-radius: 50%;
  z-index: 0;
}

/* bring content above the circle */
.services-page .service-rollout > * {
  position: relative;
  z-index: 2;
}

.services-page .service-rollout .rollout-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0d0e27;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.services-page .service-rollout .rollout-header h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background-color: var(--accent-pink);
  margin: 10px auto 20px auto;
}

.services-page .service-rollout .rollout-header p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.services-page .rollout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.services-page .rollout-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-page .rollout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.services-page .rollout-card img {
  height: 60px;
  margin-bottom: 20px;
}

.services-page .rollout-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--light-blue);
}

.services-page .rollout-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .services-page .rollout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-page .service-rollout::before {
    width: 600px;
    height: 600px;
  }
}

/* Networking hero card – compact like other header cards */
.networking-hero {
  padding: 100px 32px 40px;  /* top | left/right | bottom */
  border-radius: 12px;
  margin-top: 40px;
}


.networking-hero .about-content {
  gap: 28px;
  align-items: center;
}

.networking-hero .about-image img {
  max-height: 240px;         /* key: cap the image height */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Networking Key Features (clean inline style) */
.network-details h4 {
  color: var(--light-blue);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 6px;
}

.network-details p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================= */
/*     NETWORKING FEATURE LIST   */
/* ============================= */

/* container sizing already looks good on your page,
   but add these for consistency across similar pages */
.network-details-wrap {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 40px;
}

/* headings: light blue, bold, with a little space and a subtle divider */
.network-details h4 {
  color: var(--light-blue);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 26px 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13,14,39,0.08);
}

/* first heading shouldn't have extra gap above it */
.network-details h4:first-of-type {
  margin-top: 8px;
}

/* body text under each heading */
.network-details p {
  color: #0d1652;
  line-height: 1.7;
  margin: 0 0 18px 0;
}

/* give a little more breathing room between sections */
.network-details h4 + p {
  margin-top: 6px;
}

/* optional: ensure last paragraph doesn't sit on a divider line */
.network-details p:last-of-type {
  margin-bottom: 4px;
  border-bottom: none;
}

/* ============================= */
/*  NETWORKING – 2-COLUMN LAYOUT */
/* ============================= */
.networking-layout {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* main / aside */
  gap: 36px;
}

.networking-main {
  background: #ffffff;
}

.networking-hero-visual img {
  width: 100%;          /* fill the container width */
  max-width: 800px;     /* adjust this value to make it wider */
  height: 350px;        /* force a smaller height */
  object-fit: contain;  /* keeps proportions inside the box */
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}



.networking-intro {
  margin-top: 24px;
}

.networking-intro h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d0e27;
}

.networking-intro .underline.small {
  width: 140px;
  height: 3px;
  background-color: var(--accent-pink);
  border: none;
  margin: 10px 0 16px;
}

.networking-intro p {
  color: #0d1652;
  line-height: 1.7;
  font-size: 1.02rem;
}

/* right sidebar card */
.features-aside {
  position: relative;
}

.features-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 22px 20px;
  position: sticky;
  top: 90px; /* below sticky navbar */
}

.features-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0d0e27;
  margin-bottom: 6px;
}

.features-card::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: var(--accent-pink);
  margin: 8px 0 14px;
}

/* feature rows */
.feature {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 6px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  background: #f7f7fa;
  transform: translateY(-2px);
}

.feature-icon {
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  color: var(--light-blue);
}

.feature-body h4 {
  color: var(--light-blue);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 4px;
}

.feature-body p {
  color: #0d1652;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

/* responsive */
@media (max-width: 992px) {
  .networking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .features-card {
    position: static; /* no sticky on small screens */
  }
}

/* === Fixed anchor offset for sticky navbar === */
:root { --anchor-offset: 120px; } /* tweak 90–140px to taste */

#solutions::before {
  content: "";
  display: block;
  height: var(--anchor-offset);          /* pushes content down */
  margin-top: calc(var(--anchor-offset) * -1); /* pulls anchor up */
}

/* ==== About page: Identity cards ==== */
.identity-section {
  background: #fff;
  max-width: 1100px;
  margin: 60px auto 100px;
  padding: 0 24px;
}

.identity-block {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 28px 28px 26px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
  margin-bottom: 26px;
}

.identity-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.09);
}

.identity-block h2 {
  font-size: 2rem;
  color: var(--light-blue);
  font-weight: 800;
  margin: 2px 0 12px;
  position: relative;
}

.identity-block h2::after {
  content: "";
  display: block;
  width: 130px;
  height: 3px;
  background: var(--accent-pink);
  margin-top: 8px;
  border-radius: 2px;
}

/* quote-style body */
.identity-block p {
  color: #0d1652;
  font-size: 1.04rem;
  line-height: 1.7;
  background: #f7f7fa;
  border-left: 4px solid var(--light-blue);
  padding: 16px 18px;
  border-radius: 10px;
  margin: 0;
}

/* big, subtle decorative quote mark in the corner */
.identity-block::before {
  content: "“";
  position: absolute;
  font-size: 84px;
  line-height: 1;
  color: rgba(95, 121, 233, 0.12); /* soft blue */
  top: 10px;
  right: 18px;
  pointer-events: none;
}

/* remove the old horizontal rules */
.identity-section hr {
  display: none;
}

/* spacing between cards (since we hid <hr>) */
.identity-block + .identity-block {
  margin-top: 22px;
}

/* mobile tweaks */
@media (max-width: 700px) {
  .identity-block h2 { font-size: 1.7rem; }
  .identity-block p { font-size: 1rem; }
}

/* ====== HERO ORBIT ANIMATION ====== */
.orbit-wrap {
  position: relative;
  width: clamp(220px, 28vw, 360px);   /* responsive size */
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.18));
}

.orbit-graphic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: orbit-rotate 26s linear infinite, orbit-float 5s ease-in-out infinite;
  will-change: transform;
}

/* soft glowing rings */
.orbit-wrap::before,
.orbit-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(95, 121, 233, 0.35); /* var(--light-blue) tint */
  animation: orbit-pulse 3.2s ease-out infinite;
  pointer-events: none;
}
.orbit-wrap::after {
  animation-delay: 1.6s;                 /* staggered ring */
  border-color: rgba(236, 64, 122, 0.25);/* var(--accent-pink) tint */
}

/* on hover, gently speed up */
.orbit-wrap:hover .orbit-graphic {
  animation-duration: 28s, 9s;
}

/* disable for motion-sensitive users */
@media (prefers-reduced-motion: reduce) {
  .orbit-graphic,
  .orbit-wrap::before,
  .orbit-wrap::after {
    animation: none !important;
  }
}

/* keyframes */
@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbit-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(0deg); }
}
@keyframes orbit-pulse {
  0%   { transform: scale(0.86); opacity: 0.55; }
  80%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* keep your existing hero sizing but let the orbit define width on desktop */
.hero-graphic img { max-width: none; }  /* override earlier 300px cap if needed */

/* === Orbit: sharper / more visible (overrides) === */
.orbit-wrap {
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.22));
}

/* faster rotation + slightly stronger float */
.orbit-graphic {
  position: relative;                    /* host dashed ring */
  animation: orbit-rotate 22s linear infinite,
             orbit-float 6s ease-in-out infinite;
}

/* tighter rings that hug the graphic + brighter glow */
.orbit-wrap::before,
.orbit-wrap::after {
  content: "";
  position: absolute;
  top: 8%; left: 8%; right: 8%; bottom: 8%;   /* was inset: 0 */
  border-radius: 50%;
  border: 3px solid rgba(95,121,233,0.60);     /* thicker + brighter */
  box-shadow: 0 0 18px rgba(95,121,233,0.38);  /* blue halo */
  animation: orbit-pulse-strong 2.2s ease-out infinite;
  pointer-events: none;
}
.orbit-wrap::after {
  border-color: rgba(236,64,122,0.48);         /* accent pink */
  animation-delay: 1.1s;
}

/* extra dashed counter-rotating ring */
.orbit-graphic::after {
  content: "";
  position: absolute;
  inset: -6%;                                  /* slightly larger than image */
  border-radius: 50%;
  border: 2px dashed rgba(95,121,233,0.45);
  animation: orbit-rotate 16s linear infinite reverse;
  pointer-events: none;
}

/* stronger pulse */
@keyframes orbit-pulse-strong {
  0%   { transform: scale(0.82); opacity: 0.95; }
  60%  { transform: scale(1.22); opacity: 0.28; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* keep hover boost */
.orbit-wrap:hover .orbit-graphic {
  animation-duration: 16s, 5s;
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  .orbit-graphic,
  .orbit-wrap::before,
  .orbit-wrap::after,
  .orbit-graphic::after {
    animation: none !important;
  }
}
