.about-section {
    padding: 100px 0;
    background-color: var(--color-4);
}

/* ==========================================
   Image & Offset Border Styling
   ========================================== */
.image-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 0px; /* Space for the animated badge */
    margin-top: 20px;
    padding-right: 40px;
}

/* The offset orange border */
.image-wrapper::after {
    /* content: ""; */
    position: absolute;
    top: -20px;
    right: 10px;
    width: 95%;
    height: 100%;
    border: 2px solid var(--color-1);
    z-index: 0;
}

.main-img {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
/* ==========================================
   1998 Animated Badge
   ========================================== */
.animated-badge {
    position: absolute;
    bottom: -30px;
    left: -50px;
    z-index: 5;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-core {
    background-color: var(--color-3);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.badge-year {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    z-index: 2;
}

/* Pulsing Rings Animation */
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--color-1);
    border-radius: 50%;
    z-index: 1;
    animation: ripple 4s linear infinite;
}

.ring-1 { animation-delay: 0s; }
.ring-2 { animation-delay: 1.3s; }
.ring-3 { animation-delay: 2.6s; }

@keyframes ripple {
    0% {
        width: 130px;
        height: 130px;
        opacity: 1;
    }
    100% {
        width: 320px;
        height: 320px;
        opacity: 0;
    }
}

/* Rotating Curved Text */
.curved-text-svg {
    position: absolute;
    width: 110px;
    height: 110px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinText 12s linear infinite;
    z-index: 1;
}

@keyframes spinText {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================
   Right Side Content Styling
   ========================================== */
.sub-heading {
    color: var(--color-3);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: var(--font-01);
}

.main-heading {
    color: var(--color-1);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    font-family: var(--font-01);
}

.content-text {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: var(--font-02);
}

.custom-blockquote {
    border-left: 3px solid var(--color-1);
    padding-left: 20px;
    margin: 35px 0;
    font-size: 24px;
    font-weight: 500;
    color: #333333;
}

.divider {
    border-color: #e5e5e5;
    margin: 30px 0;
}

.founder-name {
    color: var(--color-1);
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 2px;
    font-family: var(--font-01);
}

.founder-title {
    font-size:18px;
    color: #888;
    font-family: var(--font-01);
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #333333;
}
/*vote for section css*/
/* Container Styling */
.campaign-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e2e6ea 100%);
    border-top: 6px solid var(--color-1);
    border-bottom: 6px solid var(--color-1);
    color: #333;
}

/* Typography */
.campaign-title {
  color: var(--color-1);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.campaign-date {
  color: #495057;
  font-weight: 500;
}

.campaign-date span {
    color: var(--color-1);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.campaign-description {
    color: #555;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
}
.campaign-description strong {
    font-size: 24px;
    color: var(--color-1);
}

.image-second {
  position: absolute;
  bottom: -80px;
  right: -40px;
}
.image-second img {
  max-width: 380px;
  border-radius: 10px;
}
/* ==========================================
   Responsive Adjustments
   ========================================== */
@media(max-width:1200px){
    .image-second img {
    max-width: 310px;
    border-radius: 10px;
}
}
@media (max-width: 991px) {
    .main-heading {
        font-size: 2.2rem;
    }
    .image-wrapper {
        margin-left: 40px; /* Prevent badge from clipping edge on tablets */
    }
}

@media(max-width:767.98px){
    .image-second {
    right: 0;
}
.about-section .row {
    row-gap: 50px;
}
.image-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 0px;
    margin-top: 20px;
    padding-right: 0;
    margin: 0 !important;
}
.about-section .mb-5 {
    margin: 0 !important;
}
}
@media (max-width: 576px) {
    .main-heading {
        font-size: 1.8rem;
    }
    .image-wrapper {
        margin-left: 10px;
    }
    .animated-badge {
        left: -15px; /* Adjust badge for small screens */
        bottom: -15px;
    }
    .image-second img {
    max-width: 280px;
    border-radius: 10px;
}
}