/* =====================================================
   GLOBAL FONT FIX
   Forces same font across entire site
===================================================== */

body,
button,
input,
textarea,
select {
  font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   GLOBAL RESET
===================================================== */

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

html,
body {
  overflow-x: hidden;   /* CRITICAL FIX */
}

ul {
  list-style: none;
}
/* =====================================================
   HEADER (STICKY)
===================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: #111;
  z-index: 9999;
}

body {
  padding-top: 90px;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Desktop center */
}

/* LOGO */
.site-logo {
  position: absolute;
  left: 20px;
}

.site-logo img {
  height: 55px;
}


/* =====================================================
   NAVIGATION
===================================================== */

.main-nav {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.7;
}

/* DROPDOWN */

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  min-width: 200px;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown li {
  padding: 8px 20px;
}

.dropdown li a {
  font-weight: 400;
  display: block;
}

.has-dropdown:hover .dropdown {
  display: block;
}

/* Donate Button */

.btn-donate {
  background: #c62828;
  padding: 8px 16px;
  border-radius: 4px;
  color: #fff;
}

/* =====================================================
   HAMBURGER (HIDDEN DESKTOP)
===================================================== */

.menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 10001;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}


/* =====================================================
   HERO
===================================================== */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Background Video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay Content */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 180px 80px 60px 80px; /* ← MOVE TITLE DOWN HERE */
}

/* Text Block */
.hero-text {
  max-width: 520px;
  text-align: left;
  align-self: flex-start;
}

.hero-title {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.1;
  color: #000;
  text-transform: uppercase;
  text-align: left;
  font-weight: 700;
}




/* HERO BUTTONS */
.hero-buttons {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  align-self: center !important;
}

/* BUTTON STYLES – BOTH MATCH */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;

  /* Subtle dimensional gradient (blue) */
  background: linear-gradient(
    to bottom,
    #00306a 0%,   /* slight highlight at top */
    #002868 50%,  /* main flag blue */
    #001f4d 100%  /* slightly darker bottom */
  );

  border: 2px solid #002868;  /* blue border */
  color: #ffffff;             /* white text */

  /* Soft outer shadow */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

  /* Subtle inner highlight for premium depth */
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),   /* soft top highlight */
    0 4px 10px rgba(0, 0, 0, 0.25);              /* outer shadow */
}

/* Hover state – red version with same dimensional style */
.btn-primary:hover,
.btn-secondary:hover {
  background: linear-gradient(
    to bottom,
    #cc0000 0%,   /* soft highlight */
    #b30000 50%,  /* main red */
    #8a0000 100%  /* darker bottom */
  );

  border-color: #b30000;      /* red border */
  color: #ffffff;             /* white text */

  /* Slightly stronger shadow on hover */
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 6px 14px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   TEXT LOOP
===================================================== */

.text-loop-section {
  width: 100%;
  background: linear-gradient(
  to bottom,
  #001a3d 0%,     /* Darker navy */
  #002868 50%,    /* Flag blue */
  #003b8e 100%    /* Slightly lighter bottom */
);
  overflow: hidden;
  padding: 18px 0;
}

.text-loop {
  overflow: hidden;
  white-space: nowrap;
}

.text-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: textScroll 30s linear infinite;
}

.text-track span {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-track .divider {
  color: #d40000;
}

@keyframes textScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 992px) {

  /* Header layout becomes spaced */
  .header-inner {
    justify-content: space-between;
    padding: 0 20px;
  }

  .site-logo {
    position: relative;
    left: 0;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Hide nav by default */
  .main-nav {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    display: none;
    padding: 30px 0;
    z-index: 9998;
  }

  /* Show when active */
  .main-nav.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

  .dropdown {
    position: static;
    background: none;
    padding: 0;
  }

  .has-dropdown .dropdown {
    display: none;
  }

  .has-dropdown.active .dropdown {
    display: block;
  }
}


/* =====================================================
   HERO FOLLOW SECTION
===================================================== */
/* ← THIS creates the gap */
.hero-follow {
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 40px auto 0 auto; /* reduce top margin */
}
   /* ← THIS creates the gap */


.hero-follow-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-follow-main {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 10px;
}

.hero-follow-accent {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #c62828;
}



/* =====================================================
 scrollTopBtn
===================================================== */


#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 14px;
  cursor: pointer;
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 4px;
  z-index: 999;
  font-size: 16px;
}

#scrollTopBtn.visible {
  display: block;
}

@media (max-width: 600px) {
  #scrollTopBtn {
    right: 15px;
    bottom: 20px;
  }
}

/* =====================================================
   HERO FOLLOW SECTION
===================================================== */

.hero-follow {
  padding: 120px 20px;
  text-align: center;          /* centers everything */
  max-width: 900px;
  margin: 0 auto;
}

.hero-follow-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;            /* bold first line */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-follow-main {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 10px;
}

.hero-follow-accent {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #c62828;              /* red last line */
}

/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid {
  padding: 100px 40px;
  background: #f5f5f5;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: #fff;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   TECH LOGO LOOP
===================================================== */

.tech-loop-section {
  padding: 30px 0;
  margin-bottom: 20px;   /* spacing below */
  background: linear-gradient(
    to bottom,
    #00132a 0%,
    #002868 60%,
    #003b8e 100%
  );


  text-align: center;
}

.tech-heading h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.tech-loop {
  overflow: hidden;
  white-space: nowrap;
}

.tech-track {
  display: inline-flex;
  align-items: center;
  gap: 70px;
  animation: techScroll 30s linear infinite;
}

.tech-track img {
  height: 50px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tech-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes techScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}




/* =====================================================
   FEATURE IMAGE SECTION
===================================================== */

.feature-image-section {
  padding: 0 40px;
  margin-top: 120px;   /* small breathing space from previous section */
}

.feature-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* =====================================================
   ABOUT SECTION (3 GRID WITH TITLE IN GRID 1)
===================================================== */

.about-section {
  padding: 120px 40px;
  background: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
}

/* GRID 1 TITLE */

.about-title-column {
  display: flex;
  flex-direction: column;
}

.about-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

/* GRID 2 & 3 TEXT */

.about-column p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Responsive */

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


/* ============================
   CLEAN DUAL IMAGE LAYOUT
   (No sticky, equal sizes)
============================ */

.cf-dual-media {
  width: 100%;
  padding: 100px 40px;
}

.cf-dual-media-inner {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Both columns identical */
.cf-dual-left,
.cf-dual-right {
  width: 100%;
}

/* Both images identical */
.cf-dual-image {
  width: 100%;
  height: 500px; /* adjust if you want taller/shorter */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

/* Set your images here */
.cf-dual-left .cf-dual-image {
  background-image: url("/demos/politics/civic-framework-php/images/services/10-downing-street.png");
}

.cf-dual-right .cf-dual-image {
  background-image: url("/demos/politics/civic-framework-php/images/services/official-meeting-uk.png");
}


/* ============================
   RESPONSIVE
============================ */

@media (max-width: 1024px) {
  .cf-dual-media-inner {
    grid-template-columns: 1fr;
  }

  .cf-dual-image {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .cf-dual-media {
    padding: 60px 20px;
  }

  .cf-dual-image {
    height: 260px;
  }
}



/* =====================================================
   IMPACT BANNER SECTION
===================================================== */

.impact-section {
  position: relative;
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
  background-color: #ffffff;
}

/* LEFT FLAG PANEL */
.impact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;                 /* smaller width */
  height: 100%;

  background-image: url('../images/flag.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;     /* use cover so it fills properly */

  opacity: 0.22;              /* soft but visible */
  z-index: 0;
}

/* CONTENT ABOVE FLAG */
.impact-container {
  position: relative;
  z-index: 1;

  width: 90%;
  max-width: 1300px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

.impact-item {
  flex: 1;
  min-width: 200px;
  padding: 30px 20px;
}

/* LARGE NUMBERS */
.impact-item h2 {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 15px;
  color: #111;
}

/* LABELS */
.impact-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: #333;
}


/* =====================================================
   Mission Margin SECTION
===================================================== */
.mission {
  margin-top: 80px;
}

/* =====================================================
   MISSION SECTION
===================================================== */

.mission {
  position: relative;
  padding: 160px 60px;

  background-image: url('../images/backgrounds/mission-parliament-crowd.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  overflow: hidden;
}

/* Overlay for readability */
.mission-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);  /* adjust darkness if needed */
  z-index: 1;
}

/* Content above overlay */
.mission-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.mission-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 800;
}

.mission-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* CTA Button */
.mission-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #c40000;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s ease;
}

.mission-btn:hover {
  background: #990000;
}



/* =====================================================
   POSTS SECTION
===================================================== */

.posts-section {
  margin-top: 40px;
  padding: 120px 60px;
  background: #ffffff;
}

.posts-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* INTRO */

.posts-intro {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

/* IMAGE ROW */

.posts-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

/* IMAGE STYLE */

.post-image {
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 6px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.05);

  border: 1px solid rgba(0,0,0,0.04);
}

/* IMAGE FILES */

.post-one {
  background-image: url('../images/backgrounds/green-party-leader-speech.png');
}

.post-two {
  background-image: url('../images/backgrounds/postal-vote-i-voted-sticker.png');
}


/* TEXT ROW */

.posts-content-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.post-text-block {
  padding-top: 10px;
}

.posts-text p + p {
  margin-top: 20px;
}

/* =====================================================
   Banner SECTION
===================================================== */

.banner-section {
  position: relative;
  padding: 100px 0;

  /* Background image */
  background: url("../images/backgrounds/london-skyline-grey-banner.png")
              center bottom no-repeat;
  background-size: cover;
}

/* Darker overlay so the image is visible */
.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;

  /* 🔥 Adjust this number to control visibility:
     0.25 = very visible image
     0.35 = balanced
     0.45 = slightly darker
  */
  background: rgba(255, 255, 255, 0.35);

  z-index: 1;
}

.banner-container {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.banner-heading {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.banner-highlight {
  color: #c40000;
}

.banner-cta {
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.banner-section {
  position: relative;
  z-index: 1;
}

.banner-section::before {
  pointer-events: none;
}


/* =========================
   INFO SECTION
========================= */

.info-section {
  padding: 120px 0;
  background: #fff;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  gap: 80px;
}

/* LEFT IMAGE PANEL */

.info-image {
  flex: 1;
  height: 520px;

  /* CORRECT PATH for CSS (CSS is inside /css/) */
  background: url("../images/sections/about-candidate.png")
              center center no-repeat;
  background-size: cover;

  border-radius: 10px;

  /* Depth */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);

  transition: background-image 0.3s ease;
}

/* RIGHT MENU */

.info-menu {
  flex: 1;
}

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

.info-menu li {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  cursor: pointer;

  color: #111;
  transition: color 0.3s ease, transform 0.2s ease;
}

.info-menu li:hover {
  color: #c40000;
  transform: translateX(6px);
}

.info-menu li.active {
  color: #c40000;
}

.info-section {
  position: relative;
  z-index: 50;
}

.info-menu,
.info-menu li {
  position: relative;
  z-index: 100;
  pointer-events: auto;
}

.info-image {
  position: relative;
  z-index: 1;
}

.mission-overlay,
.banner-section::before,
.impact-section::before {
  pointer-events: none;
}

/* =====================================================
   FIX: Prevent overlays from blocking the info section
===================================================== */

.info-section,
.info-menu,
.info-menu li {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}

.info-image {
  position: relative;
  z-index: 1;
}

.info-section {
  position: relative;
  z-index: 50;
}

.info-menu li {
  position: relative;
  z-index: 100;
  pointer-events: auto;
}



/* =========================
   INFO SECTION
========================= */

.info-section {
  padding: 120px 0;
  background: #fff;
}

/* ... other info-section styles ... */

/* Add this AFTER the above block */
.info-section {
  background: #fff;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}


/* =====================================================
   INTERACTIVE INFO SECTION (MENU LEFT / IMAGE RIGHT)
   — Reversed Layout + Fade Animation
   — Added for Civic Framework Interactive Panel
===================================================== */

/* =====================================================
   INTERACTIVE INFO SECTION
   — Base Layout + Typography
===================================================== */

.info-section {
  padding: 80px 0;
}

.info-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.info-menu li {
  font-size: 20px;
  font-weight: 600;
  padding: 14px 0;
  cursor: pointer;
  border-bottom: 1px solid #e0e0e0;
  transition: color 0.2s ease;
}

.info-menu li.active {
  color: #c40000;
}

.info-image {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* =====================================================
   INTERACTIVE INFO SECTION (MENU LEFT / IMAGE RIGHT)
   — Reversed Layout + Fade Animation
===================================================== */

/* Reverse layout: Menu Left / Image Right */
.info-reversed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.info-reversed .info-menu {
  order: 1;
}

.info-reversed .info-image {
  order: 2;
}

/* Smooth Fade Animation for Image Swapping */
.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}




.menu-extra {
  margin-top: 8px;
  font-size: 0.85rem;
}

.menu-extra p {
  margin: 4px 0;
  color: #666;
}

.menu-extra a {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #002868;
}

.menu-extra a:hover {
  text-decoration: underline;
}





/* ===================================================
   EVENTS SECTION
   Image Left / Text Right
   Padded + Shadow + Absolute Paths
=================================================== */

.events-section {
  padding: 100px 0;
}

/* ---------------------------
   SECTION HEADER
---------------------------- */

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.highlight-red {
  color: #c1121f;
}

/* ---------------------------
   TWO COLUMN EVENT ROW
---------------------------- */

.event-row {
  max-width: 1200px;
  margin: 0 auto 120px auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ---------------------------
   IMAGE COLUMN (LEFT)
---------------------------- */

.event-image {
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 10px;

  /* Professional depth */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Absolute Image Paths */

.youth-event {
  background-image: url('/demos/politics/civic-framework-php/images/sections/youth-leadership.png');
}

.small-business-event {
  background-image: url('/demos/politics/civic-framework-php/images/sections/small-business.png');
}


/* ---------------------------
   TEXT COLUMN (RIGHT)
---------------------------- */

.event-text h3 {
  font-size: 30px;
  margin-bottom: 20px;
}

.event-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.event-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #c1121f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.event-btn:hover {
  background: #9b0f18;
  transform: translateY(-2px);
}

/* ---------------------------
   RESPONSIVE
---------------------------- */

@media (max-width: 992px) {

  .event-row {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 20px;
  }

  .event-image {
    height: 320px;
  }

}



/* ===================================================
   SUBSCRIBE SECTION
=================================================== */

.subscribe-section {
  padding: 120px 20px;
  background: #f8f9fa;
  text-align: center;
}

.subscribe-container {
  max-width: 700px;
  margin: 0 auto;
}

.subscribe-section h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.subscribe-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.subscribe-form input {
  padding: 14px 18px;
  font-size: 16px;
  width: 320px;
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

.subscribe-form input:focus {
  border-color: #c1121f;
}

.subscribe-form button {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  background: #c1121f;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.subscribe-form button:hover {
  background: #9b0f18;
  transform: translateY(-2px);
}


/* ===================================================
   UPPER FOOTER
=================================================== */

.upper-footer {
  background: #111;
  color: #ffffff;
  padding: 100px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 60px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

/* Red accent underline */
.footer-column h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #c1121f;
  margin-top: 8px;
}

.footer-column p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ccc;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

/* =====================================================
   FOOTER SOCIAL ICONS
===================================================== */

.footer-social {

  margin-top: 15px;

  display: flex;
  gap: 10px;

}

.footer-social a {

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #1f1f1f;
  border-radius: 4px;

  color: #ffffff;
  font-size: 14px;

  text-decoration: none;

  transition: all 0.25s ease;

}

.footer-social a:hover {

  background: #c1121f;
  transform: translateY(-2px);

}


/* ===================================================
   LEGAL FOOTER (CENTERED)
=================================================== */

.legal-footer {
  background: #000;
  padding: 30px 20px;
  font-size: 14px;
  color: #aaa;
  text-align: center;
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #ffffff;
}



/* Hero footer – left aligned at bottom of hero */

.hero-footer {
  position: absolute;
  bottom: 20px;
  left: 40px;          /* moved from center to left */
  transform: none;     /* remove centering */
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 50;
}

.hero-footer-logo {
  height: 40px;
  width: auto;
}

.hero-footer-text {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;         /* black text */
  font-weight: 700;    /* ← BOLD */
}



/* ===================================================
   Cookie Overlay
=================================================== */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.cookie-box {
  background: #ffffff;
  max-width: 480px;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.cookie-box h3 {
  margin-bottom: 15px;
}

.cookie-box p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-actions button {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  margin: 5px;
  font-weight: 600;
}

.btn-accept {
  background: red;
  color: #fff;
}

.btn-reject {
  background: #ccc;
}

   CONTACT PAGE (USES GLOBAL LAYOUT RULES)
===================================================== */

/* Remove global body offset for this page */
body.contact-page {
  padding-top: 0;
}

/* Hero sits under header */
.contact-page #hero {
  margin-top: 90px;
}

/* Page section */
.contact-page {
  padding-top: 00px;
  padding-bottom: 60px; /* NEW — increases bottom gap */
  background: #ffffff;
  position: relative;
  z-index: 1;
}



/* =====================================================
   CONTACT LAYOUT
===================================================== */

.contact-page .contact-layout {

  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 60px;

  position: relative;
  z-index: 2;
}

/* =====================================================
   FORM COLUMN
===================================================== */

.contact-page .contact-form-section {
  max-width: 520px;
  width: 100%;
}

/* =====================================================
   IMAGE COLUMN (HTML IMAGE CONTROLLED)
===================================================== */

.contact-image-section {
  flex: 1;
  position: relative;
}

/* IMAGE CONTROL */

.contact-visual-image {

  width: 320px;       /* change image size */
  height: auto;

  display: block;

  /* POSITION CONTROL */
  position: relative;

  right: -20px;       /* move image left/right */

}

/* =====================================================
   TEXT
===================================================== */

.contact-page .contact-form-section h2 {
  font-size: 30px;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.contact-page .contact-form-section p {
  margin-bottom: 30px;
  line-height: 1.6;
  color: #444;
}

/* =====================================================
   FORM
===================================================== */

.contact-page .contact-form {
  width: 100%;
}

.contact-page .contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {

  width: 100%;
  margin-top: 6px;
  padding: 14px;

  font-size: 14px;

  border: 1px solid #dcdcdc;
  border-radius: 6px;

  box-sizing: border-box;

  background: #fff;
}

.contact-page .contact-form textarea {
  resize: vertical;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form select:focus,
.contact-page .contact-form textarea:focus {

  outline: none;
  border-color: #1e5eff;
}

/* Checkbox */

.contact-page .contact-form input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

/* =====================================================
   BUTTON
===================================================== */

.contact-page .contact-form .btn-primary {

  display: inline-block;

  margin-top: 12px;

  padding: 14px 28px;

  background: #1e5eff;
  color: #ffffff;

  border: none;
  border-radius: 6px;

  font-size: 14px;

  cursor: pointer;

  transition: background 0.3s ease;
}

.contact-page .contact-form .btn-primary:hover {
  background: #164bcc;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 992px) {

  .contact-page .contact-layout {

    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-visual-image {

    width: 240px;
    margin-top: 40px;

    right: auto;
  }

}

@media (max-width: 768px) {

  .contact-page {
    padding-top: 80px;
  }

}

/* STARTECH LOOP */
.startech-loop-section {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

.startech-loop {
    width: 100%;
    overflow: hidden;
}

.startech-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: startechScroll 35s linear infinite;
}

.startech-track img {
    width: 70px;
    height: auto;
}

/* Rotating star divider */
.tech-star {
    font-size: 32px;
    color: #fff;
    animation: spinStar 2.5s linear infinite;
}

/* Horizontal scrolling */
@keyframes startechScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Star rotation */
@keyframes spinStar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
