:root {
  --ph-blue: #0038a8;
  --ph-blue-light: #0056fb;
  --ph-blue-deep: #002776;
  --ph-red: #ce1126;
  --ph-white: #ffffff;
  --ph-yellow: #fcd116;
  --ph-yellow-dark: #eab308;

  --primary-gradient: linear-gradient(135deg, var(--ph-blue-light), var(--ph-blue));
  --accent-gradient: linear-gradient(135deg, var(--ph-red), var(--ph-yellow-dark));
  --red-gradient: linear-gradient(135deg, #ef4444, var(--ph-red));
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #011945;
  background: #f0f5fb;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(1, 25, 69, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* ── Top Bar ── */
.header-top {
  background: rgba(0, 12, 36, 0.4);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 0.5rem 0;
  font-size: 0.75rem;
  color: #80a3d7;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.header-top-left,
.header-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-item,
.support-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.contact-item:hover {
  color: #e0ebf5;
}

.header-top-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  padding-left: 1rem;
}

.header-top-socials a {
  color: #80a3d7;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-top-socials a:hover {
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .header-top {
    display: none;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e0ebf5;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.8rem;
  background: var(--primary-gradient);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0, 56, 168, 0.45);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1rem;
  font-weight: 600;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: #80a3d7;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #e0ebf5;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ph-blue-light);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.08s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 56, 168, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 56, 168, 0.55);
}

.btn-ghost {
  background: transparent;
  color: #e0ebf5;
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  background: rgba(1, 25, 69, 0.8);
}

.btn-accent {
  background: var(--primary-gradient);
  color: white;
  border: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 56, 168, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--ph-blue-light), var(--ph-blue-deep));
  color: white;
  box-shadow: 0 12px 28px rgba(0, 56, 168, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: white;
  border-color: #e0ebf5;
  color: #011333;
}

.btn-outline:hover {
  border-color: var(--ph-blue);
  color: var(--ph-blue);
}

.btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
  margin-top: 0.4rem;
}

.hero {
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 10% 20%, rgba(0, 56, 168, 0.2) 0%, rgba(1, 25, 69, 1) 45%, #000c24 100%);
  color: white;
  position: relative;
  overflow: hidden;
}



.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: flex-start;
  padding-right: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.6rem;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ph-white);
  font-weight: 600;
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 0.98rem;
  color: #e0ebf5;
}

.hero-search {
  margin-top: 1.8rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(0, 39, 118, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.6rem;
  align-items: flex-end;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  .hero-search {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-search {
    grid-template-columns: 1fr;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8faee0;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
  background: rgba(1, 25, 69, 0.5);
  color: #fff;
  transition: all 0.2s ease;
}

.hero-search input,
.hero-search select {
  height: 3.65rem;
}

textarea {
  resize: vertical;
  min-height: 44px;
  line-height: 1.35;
}

input::placeholder,
textarea::placeholder {
  color: #4d7bc5;
}

select {
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ph-blue);
  background: rgba(1, 25, 69, 0.65);
  box-shadow: 0 0 0 4px rgba(0, 56, 168, 0.15), 0 0 20px rgba(0, 56, 168, 0.1);
}

.hero-search-btn {
  margin-top: 0;
  height: 3.65rem;
  width: 3.65rem;
  padding: 0;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.25);
}

.hidden-label {
  opacity: 0;
  pointer-events: none;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ph-white);
  transition: all 0.2s ease;
}

.pill-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.pill-link-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-link-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 1.7rem;
}

.hero-metrics .metric-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ph-white);
}

.hero-metrics .metric-label {
  display: block;
  font-size: 0.8rem;
  color: #80a3d7;
}

.hero-aside {
  background: rgba(1, 25, 69, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.hero-aside h2 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-aside p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #e0ebf5;
}

.card {
  background: white;
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1.15rem;
  box-shadow: 0 14px 35px rgba(1, 25, 69, 0.14);
  border: 1px solid #e0ebf5;
}

.form-card {
  margin-top: 1.5rem;
  background: rgba(0, 12, 36, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 1.75rem;
}

.field-inline {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.field-inline .field-group {
  flex: 1;
  min-width: 0;
}

.field-inline label {
  white-space: nowrap;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}

.form-helper {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: #80a3d7;
}

.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: white;
}

.section-dark {
  background: radial-gradient(circle at 10% 20%, rgba(0, 56, 168, 0.15) 0%, rgba(1, 25, 69, 1) 45%, #000c24 100%);
  color: white;
}

.glass-card {
  background: rgba(0, 39, 118, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 1.9rem;
}

.section-header.compact {
  margin-bottom: 1.3rem;
}

.section-header h2 {
  margin: 0.1rem 0 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #4d7bc5;
  font-weight: 600;
}

.section-intro {
  max-width: 26rem;
  font-size: 0.95rem;
  color: #0038a8;
}

.with-grid {
  align-items: flex-start;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #0038a8;
}

.category-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.tab {
  border-radius: 999px;
  border: 1px solid #e0ebf5;
  background: #f7fafc;
  font-size: 0.8rem;
  padding: 0.25rem 0.8rem;
  cursor: pointer;
  color: #0038a8;
}

.tab.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 56, 168, 0.4);
}

.cards-grid {
  align-items: stretch;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.brand-card h3 {
  margin: 0;
  font-size: 1rem;
}

.brand-category {
  margin: 0;
  font-size: 0.8rem;
  color: #4d7bc5;
}

.brand-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.4rem 0 0.6rem;
}

.brand-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #80a3d7;
}

.brand-meta dd {
  margin: 0.05rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(206, 17, 38, 0.1);
  color: var(--ph-red);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(206, 17, 38, 0.2);
  z-index: 2;
}

/* ── Franchise Premium Card ── */
.franchise-premium-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  text-decoration: none;
}

.franchise-premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--ph-blue);
}

.fpc-img-area {
  background: #f8fafc;
  padding: 20px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.fpc-logo-box {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.fpc-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fpc-logo-placeholder {
  font-size: 2.5rem;
  filter: grayscale(1);
  opacity: 0.5;
}

.fpc-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fpc-category {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.fpc-title {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
  display: block;
}

.fpc-stats {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.fpc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
}

.fpc-stat-row:first-child {
  border-top: none;
}

.fpc-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.fpc-value {
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.fpc-btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border: 2px solid var(--ph-blue);
  color: var(--ph-blue);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-top: auto;
  background: transparent;
}

.franchise-premium-card:hover .fpc-btn {
  background: var(--ph-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 56, 168, 0.2);
}


.simple-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.simple-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #0038a8;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0, 56, 168, 0.1);
  color: var(--ph-white);
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-events li,
.list-videos li {
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid #e0ebf5;
}

.list-events h3,
.list-videos h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.list-events p,
.list-videos p {
  margin: 0;
  font-size: 0.82rem;
  color: #4d7bc5;
}

.list-tag {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 500;
}

.quote-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #011333;
}

.quote-author {
  margin-top: 0.9rem;
}

.quote-author .name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-author .role {
  display: block;
  font-size: 0.78rem;
  color: #4d7bc5;
}

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}

.newsletter-form input {
  background: white;
  border-color: #b3cce9;
  color: #011333;
}

.link-inline {
  font-size: 0.88rem;
  color: var(--ph-white);
}

.link-inline:hover {
  text-decoration: underline;
}

.site-footer {
  background: #000c24;
  color: #e0ebf5;
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.footer-about p {
  font-size: 0.86rem;
  color: #80a3d7;
  max-width: 24rem;
}

.footer-logo .logo-mark {
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
}

.footer-column h3 {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.35rem;
}

.footer-column a {
  font-size: 0.82rem;
  color: #80a3d7;
}

.footer-column a:hover {
  color: #e0ebf5;
}

.footer-bottom {
  padding: 0.85rem 0 1.1rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: #4d7bc5;
}

.footer-note {
  max-width: 22rem;
  text-align: right;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-aside {
    margin-top: 1.2rem;
  }

  .hero-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-search {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-inline {
    flex-direction: column;
    gap: 1.25rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}

/* ── Active nav link ── */
.main-nav a.active {
  color: #fff;
}

.main-nav a.active::after {
  width: 100%;
}

/* ── Mobile hamburger toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  order: 3;
  width: 40px;
  height: 40px;
  align-items: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e0ebf5;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .header-actions {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    order: 4;
    background: rgba(1, 25, 69, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 0;
    margin: 0.85rem -1.5rem -0.85rem;
    width: calc(100% + 3rem);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .main-nav.nav-open {
    display: flex;
    animation: slideDownNav 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes slideDownNav {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 1.15rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #e0ebf5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:active {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 2.2rem;
    color: #fff;
  }

  .main-nav a.active {
    background: linear-gradient(90deg, rgba(0, 86, 251, 0.12), transparent);
    color: #fff;
    font-weight: 600;
    border-left: 4px solid var(--ph-blue-light);
  }
}

/* ── Logo as anchor ── */
a.logo {
  text-decoration: none;
  transition: opacity 0.2s;
}

a.logo:hover {
  opacity: 0.85;
}

/* ── Footer socials ── */
.footer-socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.12);
  color: #80a3d7;
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #e0ebf5;
  border-color: rgba(99, 102, 241, 0.5);
}

/* ── Footer logo margin ── */
.footer-logo {
  margin-bottom: 0.75rem;
}

/* ════════════════════════════════════
   OPPORTUNITIES FILTER BAR
════════════════════════════════════ */
.opp-filter-bar {
  background: #fff;
  border: 1px solid #e0ebf5;
  border-radius: 12px;
  padding: 1.2rem 1.4rem 1rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.06);
}

.opp-filter-top {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.opp-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.opp-search-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #80a3d7;
  pointer-events: none;
}

.opp-search-input {
  width: 100%;
  padding: 0.55rem 0.9rem 0.55rem 2.4rem;
  border: 1px solid #e0ebf5;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #011333;
  background: #f7fafc;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

.opp-search-input:focus {
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  background: #fff;
}

.opp-filter-selects {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.opp-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 160px;
}

.opp-filter-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4d7bc5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.opp-filter-select {
  padding: 0.48rem 2rem 0.48rem 0.75rem;
  border: 1px solid #e0ebf5;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #033599;
  background: #f7fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

.opp-filter-select:focus {
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  background-color: #fff;
}

.opp-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f5fb;
  padding-top: 0.75rem;
}

.opp-filter-count {
  font-size: 0.82rem;
  color: #4d7bc5;
}

.opp-filter-count strong {
  color: var(--ph-blue);
  font-weight: 700;
}

.opp-clear-btn {
  font-size: 0.8rem;
  color: #80a3d7;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}

.opp-clear-btn:hover {
  color: var(--ph-blue);
  background: rgba(99, 102, 241, 0.08);
}

@media (max-width: 768px) {
  .opp-filter-top {
    flex-direction: column;
    align-items: stretch;
  }

  .opp-filter-selects {
    flex-direction: column;
  }

  .opp-filter-group {
    min-width: unset;
  }
}

/* ════════════════════════════════════════════
   FRANCHISE INDIA STYLE SECTIONS
════════════════════════════════════════════ */

/* Section wrapper */
.fi-section {
  padding: 2.4rem 0 2.8rem;
  background: #f0f5fb;
}

.fi-section.fi-white {
  background: #fff;
}

/* Section header */
.fi-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.fi-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #011333;
  margin: 0 0 0.28rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 0.5rem;
}

.fi-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ph-blue-light), var(--ph-blue));
}

.fi-view-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ph-blue);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--ph-blue);
  border-radius: 4px;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.fi-view-all:hover {
  background: linear-gradient(135deg, var(--ph-blue-light), var(--ph-blue));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

/* Cards grid */
.fi-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Single brand card */
.fi-card {
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.fi-card:hover {
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Logo box */
.fi-card-logo {
  background: #f2f7fc;
  border-bottom: 1px solid #e9f0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  height: 130px;
  overflow: hidden;
}

.fi-card-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

/* Card body */
.fi-card-body {
  padding: 0.85rem 0.9rem 0.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fi-card-category {
  font-size: 0.72rem;
  color: #6b8ec7;
  margin: 0 0 0.22rem;
  text-transform: capitalize;
}

.fi-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #011333;
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

/* Stats table */
.fi-card-stats {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin-bottom: 0.8rem;
  flex: 1;
}

.fi-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
}

.fi-stat-label {
  color: #6b8ec7;
  flex-shrink: 0;
}

.fi-stat-value {
  font-weight: 700;
  color: #011333;
  text-align: right;
}

/* Know More button */
.fi-btn-know {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.48rem 0;
  border: 1px solid var(--ph-blue);
  border-radius: 6px;
  color: var(--ph-blue);
  font-size: 0.8rem;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.fi-btn-know:hover {
  background: linear-gradient(135deg, var(--ph-blue-light), var(--ph-blue));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

/* International card — logo area taller, description instead of stats */
.fi-card.fi-intl .fi-card-logo {
  height: 150px;
}

.fi-card-desc {
  font-size: 0.78rem;
  color: #2d56a0;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Slider wrapper */
.fi-slider-wrap {
  position: relative;
}

.fi-slider-track {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transition: none;
}

.fi-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.fi-slider-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #b3cce9;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d56a0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.fi-slider-btn:hover {
  background: linear-gradient(135deg, var(--ph-blue-light), var(--ph-blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.fi-slider-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.fi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b3cce9;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.fi-dot.active {
  background: linear-gradient(90deg, var(--ph-blue-light), var(--ph-blue));
  width: 20px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {

  .fi-grid,
  .fi-slider-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  .fi-grid,
  .fi-slider-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fi-section-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {

  .fi-grid,
  .fi-slider-track {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   COMPREHENSIVE RESPONSIVE UPDATES
   ========================================= */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-aside {
    margin-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-metrics {
    gap: 1.5rem;
  }

  .field-inline {
    flex-direction: column;
    gap: 1.25rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 1rem;
    padding: 1rem;
  }

  .hero-search input,
  .hero-search select {
    height: 3rem;
  }

  .hero-search-btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {

  .section,
  .fi-section {
    padding: 2.25rem 0;
  }

  .fi-grid,
  .fi-slider-track {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fi-card {
    margin-bottom: 0.5rem;
  }

  .header-actions .btn {
    display: none;
    /* Hide top bar buttons on mobile to save space, rely on hamburger */
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}




/* =========================================
   HERO BACKGROUND ANIMATIONS
   ========================================= */

@keyframes floatRed {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }

  33% {
    transform: scale(1.1) translate(80px, -80px);
    opacity: 0.55;
  }

  66% {
    transform: scale(0.9) translate(-50px, 50px);
    opacity: 0.35;
  }

  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
}

@keyframes floatWhite {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.15;
  }

  33% {
    transform: scale(1.2) translate(-100px, 80px);
    opacity: 0.45;
  }

  66% {
    transform: scale(0.8) translate(70px, -60px);
    opacity: 0.15;
  }

  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.15;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* First White Radiant Orb */
.hero::before {
  top: -15%;
  right: -5%;
  width: 55%;
  height: 85%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, transparent 75%);
  filter: blur(100px);
  animation: floatRed 12s ease-in-out infinite alternate;
}

/* White Radiant Orb */
.hero::after {
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, transparent 80%);
  filter: blur(120px);
  animation: floatWhite 16s ease-in-out infinite alternate;
}

/* Ensure content is above the animations */
.hero-inner {
  position: relative;
  z-index: 10;
}

/* ── Premium Captcha ── */
.captcha-box {
  margin-bottom: 22px !important;
  padding: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0, 56, 168, 0.04) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

.captcha-box:focus-within {
  border-color: #0052f0 !important;
  box-shadow: 0 8px 24px rgba(0, 82, 240, 0.1) !important;
}

.captcha-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.captcha-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 !important;
}

.captcha-equation {
  font-family: 'Courier New', monospace !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0052f0 !important;
  background: #f1f5f9 !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  border: 1px dashed #cbd5e1 !important;
  white-space: nowrap !important;
}

.captcha-input-group {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.captcha-input {
  flex: 1 !important;
  height: 44px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 11px !important;
  padding: 0 14px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  outline: none !important;
  transition: all 0.2s !important;
  box-shadow: none !important;
}

.captcha-input:focus {
  border-color: #0052f0 !important;
  background: #ffffff !important;
}

.captcha-input::placeholder {
  color: #cbd5e1 !important;
}

.captcha-refresh-btn {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 11px !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  padding: 0 !important;
}

.captcha-refresh-btn:hover {
  background: #ffffff !important;
  color: #0052f0 !important;
  border-color: #0052f0 !important;
  box-shadow: 0 4px 12px rgba(0, 82, 240, 0.12) !important;
}

.captcha-refresh-btn svg {
  transition: transform 0.4s ease !important;
}

.captcha-refresh-btn:active svg {
  transform: rotate(180deg) !important;
}