/* Authentic Sunflower Candidate Page Styles */

:root {
  --black: #000000;
  --white: #ffffff;

  /* Primary Colors - "Klee" (Clover) */
  --primary-50: #e6f4ec;
  --primary-100: #c0e8d4;
  --primary-200: #96dbb9;
  --primary-300: #6cce9e;
  --primary-400: #4dc48a;
  --primary-500: #2dba76;
  --primary-600: #008939;    /* Main "Klee" */
  --primary-700: #007830;
  --primary-800: #006827;
  --primary-900: #004d17;

  /* Secondary Colors - "Tanne" (Fir) */
  --secondary-50: #e6f1ed;
  --secondary-100: #c0dcd3;
  --secondary-200: #96c5b6;
  --secondary-300: #6cae98;
  --secondary-400: #4d9c82;
  --secondary-500: #2d8b6c;
  --secondary-600: #005538;    /* Main "Tanne" */
  --secondary-700: #004a2f;
  --secondary-800: #003f27;
  --secondary-900: #002e19;

  /* Grey Scale */
  --grey-50: #f8f9fa;
  --grey-100: #f1f3f5;
  --grey-200: #e9ecef;
  --grey-300: #dee2e6;
  --grey-400: #ced4da;
  --grey-500: #adb5bd;
  --grey-600: #868e96;
  --grey-700: #495057;
  --grey-800: #343a40;
  --grey-900: #212529;
  --grey-950: #000000;

  /* Neutral - "Sand" */
  --neutral-50: #fefdfb;
  --neutral-100: #fdfbf7;
  --neutral-200: #fbf8f2;
  --neutral-300: #f9f5ed;
  --neutral-400: #f7f3e9;
  --neutral-500: #f5f1e9;    /* Main "Sand" */

  /* Sun - "Sonne" (Yellow) */
  --sun-50: #fffef5;
  --sun-100: #fffde6;
  --sun-200: #fffbcc;
  --sun-300: #fff9b3;
  --sun-400: #fff599;
  --sun-500: #fff17a;    /* Main "Sonne" */

  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #666666;

  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --overlay-bg: rgba(255, 255, 255, 0.9);
}

/* Base Template Minimal Styles */
#header {
  display: block;
  background: var(--primary-600);
  padding: 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.navbar-brand {
  display: flex;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
}

.logo {
  width: 55px;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 25px;  /* Add horizontal padding */
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;  /* Change transition to background */
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: stretch;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch;
  align-self: stretch;
}

.nav-link:hover,
.nav-item.active .nav-link {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sun-500);
}

/* Hamburger Menu Button */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar-toggle span {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger Animation when Open */
.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

#body {
  padding-top: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

/* Hero Section with Blended Photo Integration */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  min-height: 100vh;
}

/* Hero Image Container with Gradient Blend */
.hero-image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  overflow: hidden;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.6) 20%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.6) 20%, black 30%);
}

/* Colored Overlay Option (subtle green tint) */
.hero-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-600) 0%, transparent 40%);
  opacity: 0.08;
  pointer-events: none;
}

/* Candidate Info Overlay */
.candidate-info-overlay {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.candidate-info-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, var(--sun-400) 0%, var(--neutral-50) 40%, var(--white) 70%);
  z-index: -1;
}

/* Name Section */
.name-section {
  margin-bottom: 60px;
  position: relative;
}

.first-name {
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
  margin: 0;
  text-transform: none;
  letter-spacing: -1px;
}

.last-name {
  font-size: 5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 0.9;
  margin: 10px 0 30px 0;
  text-transform: none;
  letter-spacing: -1px;
  position: relative;
}

.campaign-slogan {
  font-size: 1.8rem;
  color: var(--primary-600);
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

/* Hero Message Styles */
.hero-message {
  margin: 40px 0 0 0;
  max-width: 650px;
}

.election-info {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 25px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.election-info strong {
  color: var(--primary-600);
  font-weight: 700;
}

.hero-text {
  font-size: 1.35rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-statement {
  font-size: 1.5rem;
  color: var(--primary-600);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 25px;
  font-style: normal;
  padding-left: 20px;
  border-left: 4px solid var(--secondary-500);
}

.hero-statement strong {
  color: var(--primary-700);
  font-weight: 800;
}

.hero-closing {
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0;
  font-style: italic;
  opacity: 0.9;
}

/* Candidate Details */
.candidate-details {
  margin-bottom: 80px;
}

.detail-row {
  font-size: 1.3rem;
  color: var(--text-medium);
  margin-bottom: 8px;
  font-weight: 400;
}

/* Social Section */
.social-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-600);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-600);
  transform: translateY(-3px);
}

/* Large Statement Section */
.statement-section {
  background: var(--sun-500);
  padding: 120px 0;
  text-align: center;
}

.large-statement {
  max-width: 900px;
  margin: 0 auto;
}

.statement-part1,
.statement-part2 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-transform: none;
  letter-spacing: -2px;
}

.statement-part1 {
  color: var(--primary-600);
  margin-bottom: 20px;
}

.statement-part2 {
  color: var(--text-dark);
}

/* Content Section */
.content-section {
  background: var(--white);
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
}

.main-content h1 {
  font-size: 3rem;
  color: var(--primary-600);
  margin: 50px 0 30px;
  font-weight: 600;
  text-align: center;
  text-transform: none;
}

.main-content h2 {
  font-size: 2.2rem;
  color: var(--primary-600);
  margin: 0 0 25px;
  padding-top: 25px;
  font-weight: 600;
  text-align: center;
}

.main-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 0;
  text-align: justify;
}

/* Topics Section */
.topics-section {
  background: var(--grey-50);
  padding: 30px 0 0 0;
}

.section-title {
  font-size: 3rem;
  color: var(--primary-600);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: none;
}

.section-intro {
  font-size: 1.3rem;
  color: var(--text-medium);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* Grid Layout */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Topic Card */
.topic-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.topic-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.topic-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.topic-title {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.topic-preview p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: left;
}

.topic-full {
  margin-top: 20px;
  display: none;
}

.topic-full p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 15px;
  text-align: left;
}

/* Shared Button Base Styles */
.read-more-btn,
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border: none;
}

/* Hover-Effekt mit Shine-Animation */
.read-more-btn::before,
.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.read-more-btn:hover::before,
.contact-btn:hover::before {
  left: 100%;
}

.read-more-btn:hover,
.contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.read-more-btn:active,
.contact-btn:active {
  transform: translateY(-1px) scale(1.03);
}

/* Read More Button - Primary Green */
.read-more-btn {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 137, 57, 0.25);
}

.read-more-btn:hover {
  background: var(--primary-700);
  box-shadow: 0 8px 25px rgba(0, 137, 57, 0.4);
}

/* Contact Button - Sun Yellow */
.contact-btn {
  background: var(--text-dark);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(51, 51, 51, 0.25);
}

.contact-btn:hover {
  background: var(--grey-950);
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

.contact-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.contact-btn:hover i {
  transform: rotate(15deg) scale(1.1);
}

/* Pulse-Animation für Contact Button */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.25);
  }
  50% {
    box-shadow: 0 4px 25px rgba(51, 51, 51, 0.5);
  }
}

.contact-btn {
  animation: pulse 2s ease-in-out infinite;
}

.contact-btn:hover {
  animation: none;
}

.topic-card-special {
  background: var(--sun-100);
  border: 3px solid var(--primary-600);
}

.topic-card-special .topic-title {
  color: var(--primary-600);
}

.topic-card-special .topic-preview p {
  color: var(--text-dark);
}

.topic-icon-special {
  background: var(--primary-600);
}

.topic-icon-special i {
  color: var(--white);
}

.about-me-section {
  background: var(--neutral-200);
}

/* Timeline Section */
.timeline-section {
  position: relative;
  padding: 10px 80px 80px 140px;
}

/* Vertical Timeline Line with Arrow */
.timeline-line {
  position: absolute;
  left: 80px;
  top: 10px;
  bottom: 80px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-600) 0%, var(--secondary-500) 100%);
}

.timeline-line::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 18px solid var(--secondary-500);
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin-bottom: 80px;
  padding-left: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Animation when visible */
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.timeline-item:nth-child(1) {
  transition-delay: 0.3s;
}

.timeline-item:nth-child(2) {
  transition-delay: 0.3s;
}

.timeline-item:nth-child(3) {
  transition-delay: 0.3s;
}

.timeline-item:nth-child(4) {
  transition-delay: 0.3s;
}

/* Pulsing animation for dots */
@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(0, 137, 57, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(0, 137, 57, 0.2);
    transform: scale(1.1);
  }
}

/* Title with Icon */
.timeline-item h2 {
  color: var(--primary-600);
  margin: 0 0 20px 0;
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px;
}

.timeline-item .icon {
  font-size: 2.5rem;
  line-height: 1;
}

/* Content Text */
.timeline-item p {
  color: var(--text-medium);
  line-height: 1.8;
  margin: 0;
  font-size: 1.15rem;
}

.timeline-item .highlight {
  background: rgba(0, 137, 57, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--primary-700);
}

/* Cal.com Section Styling */
.cal-section {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin: 40px 0;
}

.cal-image {
  flex: 0 0 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cal-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cal-embed {
  flex: 1 1 0;
  min-width: 0;
}


/* Election CTA */
.election-cta {
  background: var(--sun-500);
  padding: 60px 0;
  text-align: center;
}

.election-call {
  font-size: 2.5rem;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
}


/* Blur the entire page when cookie consent is visible */
body.cookie-consent-active {
  overflow: hidden;
}

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: 999;
  display: none;
}

/* Cookie Consent Modal */
.cookie-consent {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  max-width: 500px;
  width: 90%;
  text-align: center;
  display: none;
}

.cookie-consent.active {
  display: block;
}

.cookie-header {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.cookie-icon {
  font-size: 60px;
  color: #FFD700;
  margin: 10px auto 20px;
  display: block;
}

.cookie-image {
  width: 100px;
  height: auto;
  margin: 10px auto;
  display: block;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cookie-button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s;
}

.cookie-button.accept {
  background-color: #28a745;
  color: white;
}

.cookie-button.decline {
  background-color: #dc3545;
  color: white;
}

.cookie-button.settings {
  background-color: #6c757d;
  color: white;
}

.cookie-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  max-width: 400px;
  width: 90%;
  display: none;
}

.cookie-settings-modal.active {
  display: block;
}

.cookie-settings-content {
  text-align: center;
}

.cookie-settings-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

#cookieReopenIcon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  font-size: 24px;
  color: #FFD700;
}

#cookieReopenIcon:hover {
  background-color: white;
  transform: scale(1.1);
}


/* Responsive Design */
@media (max-width: 1200px) {
  .candidate-info-overlay {
    width: 50%;
    padding: 60px 40px;
  }

  .first-name {
    font-size: 3.5rem;
  }

  .last-name {
    font-size: 4rem;
  }

  .statement-part1,
  .statement-part2 {
    font-size: 4.5rem;
  }
}

@media (max-width: 968px) {

  /* Fixed Header on Mobile */
  #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Add padding to body to prevent content from hiding under fixed header */
  #body {
    padding-top: 60px;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-600);
    flex-direction: column;
    padding: 80px 0 20px 0;
    gap: 0;
    align-items: stretch;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .navbar-nav.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    padding: 20px 30px;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-link:hover,
  .nav-item.active .nav-link {
    background: rgba(255, 255, 255, 0.15);
  }

  /* Overlay for closing menu when clicking outside */
  .navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .navbar-overlay.active {
    display: block;
  }

  .hero-section {
    flex-direction: column;
    min-height: auto;
  }

  .hero-image-container {
    position: relative;
    width: 100%;
    height: 50vh;
    order: 1;
  }

  .hero-portrait {
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }

  .candidate-info-overlay {
    position: relative;
    width: 100%;
    order: 2;
    min-height: auto;
    padding: 60px 40px;
    background: var(--white);
  }

  .name-section {
    margin-bottom: 0;
  }

  .first-name {
    font-size: 3rem;
  }

  .last-name {
    font-size: 3.5rem;
  }

  .campaign-slogan {
    font-size: 1.5rem;
  }

  .hero-statement {
    font-size: 1.35rem;
    padding-left: 15px;
    border-left-width: 3px;
  }

  .hero-text {
    font-size: 1.25rem;
  }

  .hero-closing {
    font-size: 1.15rem;
  }

  .topics-section {
    padding: 20px 0 0 0;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-intro {
    font-size: 1.2rem;
    margin-bottom: 50px;
  }

  .topic-card {
    padding: 35px;
  }

  .topic-title {
    font-size: 1.5rem;
  }

}

@media (max-width: 768px) {
  .hero-image-container {
    height: 45vh;
  }

  .first-name {
    font-size: 2.8rem;
  }

  .last-name {
    font-size: 3.2rem;
  }

  .campaign-slogan {
    font-size: 1.4rem;
  }

  .hero-statement {
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 1.15rem;
  }

  .topics-section {
    padding: 10px 0 0 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-intro {
    font-size: 1.1rem;
  }

  .topic-card {
    padding: 30px;
  }

  .topic-icon {
    width: 55px;
    height: 55px;
  }

  .topic-icon i {
    font-size: 1.6rem;
  }

  .topic-title {
    font-size: 1.4rem;
  }

  .topic-preview p,
  .topic-full p {
    font-size: 1.05rem;
  }

  .detail-row {
    font-size: 1.1rem;
  }

  .statement-part1,
  .statement-part2 {
    font-size: 3.2rem;
  }

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

  .timeline-section {
    padding-left: 100px;
  }

  .cal-section {
    flex-direction: column;
    gap: 20px;
  }

  .cal-image {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .election-call {
    font-size: 2rem;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {

  .navbar-nav {
    width: 100%;
    right: -100%;
  }

  .navbar-nav.active {
    right: 0;
  }

  .container {
    padding: 0 15px;
  }

  .hero-image-container {
    height: 40vh;
  }

  .candidate-info-overlay {
    padding: 40px 20px;
  }

  .first-name {
    font-size: 2.2rem;
  }

  .last-name {
    font-size: 2.6rem;
  }

  .campaign-slogan {
    font-size: 1.2rem;
  }

  .statement-part1,
  .statement-part2 {
    font-size: 2.5rem;
  }

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

  .topics-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .topic-card {
    padding: 25px;
  }

  .topic-icon {
    width: 50px;
    height: 50px;
  }

  .topic-icon i {
    font-size: 1.4rem;
  }

  .topic-title {
    font-size: 1.3rem;
  }

  .read-more-btn,
  .contact-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
  }

  .timeline-section {
    padding: 50px 20px 40px 60px;
  }

  .timeline-line {
    left: 25px;
  }

  .timeline-item {
    padding-left: 35px;
    margin-bottom: 45px;
  }

  .timeline-item h2 {
    font-size: 1.5rem;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item .icon {
    font-size: 1.8rem;
  }

  .timeline-item p {
    font-size: 1rem;
  }

  .election-call {
    font-size: 1.6rem;
  }
}
