
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
.icon-box-link {
    text-decoration: none;
    color: inherit;
}
.page-hero-section {
    padding: clamp(6rem, 10vw, 8rem) 0 clamp(6rem, 10vw, 8rem) 0;
    background: linear-gradient(125deg, var(--ibc-blue), var(--ibc-green), var(--ibc-blue));
    background-size: 400% 400%;
    color: var(--ibc-white);
    animation: animatedGradient 18s ease infinite;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 0;
}
.page-hero-section h1 {
    color: var(--ibc-white);
    font-size: clamp(3rem, 7vw, 4.5rem);
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
    font-weight: 800;
    letter-spacing: -0.05em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.2s forwards cubic-bezier(0.19, 1, 0.22, 1);
}
.page-hero-section .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.4s forwards cubic-bezier(0.19, 1, 0.22, 1);
}
.page-hero-section h1 .highlight-gradient {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--ibc-white);
    color: var(--ibc-white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
.cta-section {
    background: linear-gradient(rgba(26, 40, 48, 0.88), rgba(26, 40, 48, 0.88)) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: clamp(6rem, 12vw, 8rem) 0;
    position: relative;
}
.cta-section h2 {
    color: var(--ibc-white);
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.cta-section p {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    line-height: 1.7;
}
.btn-cta {
    background: linear-gradient(135deg, var(--ibc-green), var(--ibc-blue));
    color: var(--ibc-white);
    box-shadow: 0 8px 25px rgba(109, 151, 68, 0.4), 0 4px 12px rgba(32, 35, 74, 0.2);
    margin-top: 2rem;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    --button-bubble-color: var(--ibc-green);
    --button-bg-darker-bubbly: #4f8e31;
    --button-shadow-rgb-bubbly: 93, 167, 57;
    --bubble-base-size: 8;
}
.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-cta:hover {
    background: linear-gradient(135deg, #5A8339, var(--ibc-blue));
    box-shadow: 0 12px 35px rgba(109, 151, 68, 0.5), 0 6px 18px rgba(32, 35, 74, 0.25), 0 0 20px rgba(109, 151, 68, 0.3);
    transform: translateY(-4px) scale(1.05);
    color: var(--ibc-white);
}
.btn-cta:hover::before {
    left: 100%;
}
.btn-cta.animate:before {
    background-size: calc(var(--bubble-base-size) * 1%) calc(var(--bubble-base-size) * 1% * 0.8),
                     calc(var(--bubble-base-size) * 2%) calc(var(--bubble-base-size) * 2% * 0.8),
                     calc(var(--bubble-base-size) * 1.5%) calc(var(--bubble-base-size) * 1.5% * 0.8),
                     calc(var(--bubble-base-size) * 2%) calc(var(--bubble-base-size) * 2% * 0.8),
                     calc(var(--bubble-base-size) * 1.8%) calc(var(--bubble-base-size) * 1.8% * 0.8),
                     calc(var(--bubble-base-size) * 1%) calc(var(--bubble-base-size) * 1% * 0.8),
                     calc(var(--bubble-base-size) * 1.5%) calc(var(--bubble-base-size) * 1.5% * 0.8),
                     calc(var(--bubble-base-size) * 1%) calc(var(--bubble-base-size) * 1% * 0.8),
                     calc(var(--bubble-base-size) * 1.8%) calc(var(--bubble-base-size) * 1.8% * 0.8);
}
.btn-cta.animate:after {
     background-size: calc(var(--bubble-base-size) * 1.5%) calc(var(--bubble-base-size) * 1.5% * 0.8),
                      calc(var(--bubble-base-size) * 2%) calc(var(--bubble-base-size) * 2% * 0.8),
                      calc(var(--bubble-base-size) * 1.8%) calc(var(--bubble-base-size) * 1.8% * 0.8),
                      calc(var(--bubble-base-size) * 2%) calc(var(--bubble-base-size) * 2% * 0.8),
                      calc(var(--bubble-base-size) * 1.5%) calc(var(--bubble-base-size) * 1.5% * 0.8),
                      calc(var(--bubble-base-size) * 1%) calc(var(--bubble-base-size) * 1% * 0.8),
                      calc(var(--bubble-base-size) * 2%) calc(var(--bubble-base-size) * 2% * 0.8);
}
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto;
    padding: 2rem 0;
    overflow: hidden;
}
.timeline-line {
    position: absolute;
    width: 4px;
    background: #e4e7eb;
    top: 24px;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 2px;
    pointer-events: none;
    cursor: default;
}
.timeline-line-progress {
    position: absolute;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--ibc-green) 0%, var(--ibc-blue) 100%);
    top: 0;
    left: 0;
    transition: height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(93, 167, 57, 0.3);
    pointer-events: none;
}
.timeline-item {
    padding: 0 50px;
    position: relative;
    width: 50%;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    min-height: 100px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 85px;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 85px;
    text-align: left;
}
.timeline-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    right: -27.5px;
    background-color: var(--ibc-white);
    border: 4px solid var(--ibc-border-light);
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    opacity: 0;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--ibc-blue);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
    box-shadow: var(--shadow-medium);
    pointer-events: none;
    cursor: default;
}
.timeline-item.is-visible .timeline-icon {
    background: linear-gradient(135deg, var(--ibc-green), var(--ibc-blue));
    border-color: transparent;
    color: var(--ibc-white);
    transform: translateY(-50%) scale(1);
    opacity: 1;
    box-shadow: 0 10px 30px rgba(93, 167, 57, 0.4);
}
.timeline-item:nth-child(even) .timeline-icon { left: -27.5px; }
.timeline-content {
    padding: 2.2rem 2.5rem;
    background-color: var(--ibc-white);
    position: relative;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: all 0.5s var(--ease-out-expo);
    border: 1px solid var(--ibc-border-light);
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--ibc-white);
    border: 1px solid var(--ibc-border-light);
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
    transition: all 0.5s var(--ease-out-expo);
}
.timeline-item:nth-child(odd) .timeline-content::before {
    right: -8px;
    border-width: 1px 1px 0 0;
}
.timeline-item:nth-child(even) .timeline-content::before {
    left: -8px;
    border-width: 0 0 1px 1px;
    transform: translateY(-50%) rotate(-135deg);
}
.timeline-content:hover::before {
    border-color: #d8dee3;
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.04);
}
.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lifted);
}
.timeline-phase {
    display: inline-block;
    background: rgba(64, 84, 178, 0.08);
    color: var(--ibc-blue);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}
.timeline-content h3 {
    word-wrap: break-word;
    margin-top: 0;
    color: var(--ibc-dark);
    font-size: 1.55rem;
    font-weight: 600;
}
.timeline-content p {
    word-wrap: break-word;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ibc-text-secondary);
    opacity: 0.95;
}
.timeline-content .btn.bubbly-button {
    margin-top: 0.8rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}
@media screen and (max-width: 991px) {
    .timeline {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 40px auto;
    }
    .timeline-line {
        left: 20px !important;
        transform: none !important;
        display: block !important;
    }
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100% !important;
        left: 0 !important;
        padding: 0 0 0 60px !important;
        margin-bottom: 30px;
        text-align: left !important;
    }
    .timeline-icon {
        left: 20px !important;
        right: auto !important;
        transform: translateX(-50%) translateY(-50%) !important;
        top: 50% !important;
        margin: 0 !important;
    }
    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
    }
    .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -8px !important;
        right: auto !important;
        border-width: 0 0 1px 1px !important;
        transform: translateY(-50%) rotate(45deg) !important;
        top: 50% !important;
    }
}
@media screen and (max-width: 768px) {
    .timeline {
        margin: 30px auto;
    }
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 50px !important;
        margin-bottom: 25px;
    }
    .timeline-line {
        left: 15px !important;
    }
    .timeline-icon {
        left: 15px !important;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
@media screen and (max-width: 480px) {
    .timeline-item {
        padding-left: 50px !important;
    }
    .timeline-line, .timeline-icon {
        left: 15px !important;
    }
}
@media screen and (max-width: 576px) {
    .timeline-content .btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
        white-space: normal;
    }
    .timeline-line {
        left: 10px !important;
    }
    .timeline-item {
        width: 100% !important;
        left: 0 !important;
        padding: 0 8px 0 50px !important;
        margin-bottom: 35px;
        max-width: 100%;
        overflow: visible;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 8px !important;
        text-align: left !important;
    }
    .timeline-icon {
        left: 10px !important;
        right: auto !important;
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .timeline-content {
        padding: 1rem 0.8rem !important;
        margin: 0;
        width: 100%;
    }
    .timeline-content::before {
        left: -6px !important;
        right: auto !important;
        width: 10px;
        height: 10px;
    }
}
@media screen and (max-width: 380px) {
    .timeline {
        margin: 20px auto;
        padding: 0;
    }
    .timeline-line {
        left: 8px !important;
        width: 3px;
    }
    .timeline-item {
        padding: 0 5px 0 40px !important;
        margin-bottom: 25px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 40px !important;
        padding-right: 5px !important;
    }
    .timeline-icon {
        left: 8px !important;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .timeline-content {
        padding: 0.8rem 0.6rem !important;
    }
    .timeline-content p {
        font-size: 0.85rem;
    }
    .timeline-phase {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    .timeline-content .btn {
        font-size: 0.8rem !important;
        padding: 10px 12px !important;
    }
}
@media (max-width: 991px) {
    .carousel .btn,
    .event-slider-content .btn,
    .cta-section .btn,
    .btn-cta {
        white-space: normal !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
@media (max-width: 767px) {
    .carousel .btn,
    .event-slider-content .btn,
    .cta-section .btn,
    .btn-cta {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes animatedGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.timeline-line-progress {
    background: linear-gradient(180deg, var(--ibc-green), var(--ibc-blue));
    height: 0;
    transition: height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 15px rgba(93, 167, 57, 0.3);
}
.timeline-icon {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 0 rgba(64, 84, 178, 0.4);
}
.timeline-item.is-visible .timeline-icon {
    animation: iconPulse 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(64, 84, 178, 0.4);
}
@keyframes iconPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(64, 84, 178, 0.7);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.25);
        box-shadow: 0 0 0 20px rgba(64, 84, 178, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        box-shadow: 0 8px 25px rgba(64, 84, 178, 0.4);
    }
}
.timeline-content {
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}
.timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ibc-green), var(--ibc-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.timeline-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}
.timeline-content:hover::after {
    transform: scaleX(1);
}
.timeline-phase {
    background: linear-gradient(135deg, var(--ibc-green), var(--ibc-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.timeline-content h3 {
    word-wrap: break-word;
    transition: color 0.3s ease, transform 0.3s ease;
}
.timeline-content:hover h3 {
    color: var(--ibc-blue);
    transform: translateX(5px);
}
.timeline-line-progress {
    transition: height 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    background: linear-gradient(180deg, var(--ibc-green), var(--ibc-blue));
    box-shadow: 0 0 15px rgba(93, 167, 57, 0.3);
}
.timeline-icon {
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
}
.timeline-item.is-visible .timeline-icon {
    animation: iconPopIn 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
@keyframes iconPopIn {
    0% {
        transform: translateY(-50%) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateY(-50%) scale(1.15);
    }
    100% {
        transform: translateY(-50%) scale(1.1);
        opacity: 1;
    }
}
.timeline-content {
    box-shadow: var(--shadow-premium-soft);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform-style: preserve-3d;
}
.timeline-item:hover .timeline-content {
    transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
    box-shadow: var(--shadow-premium-hover);
}
.timeline-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--ibc-green), var(--ibc-blue));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.timeline-item:hover .timeline-content::before {
    opacity: 0.15;
}
.timeline-content h3 {
    word-wrap: break-word;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ibc-blue), var(--ibc-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.timeline-item:hover .timeline-content h3 {
    word-wrap: break-word;
    transform: translateX(5px);
}
.carousel-navigation {
    gap: 15px;
}
#eventCarousel .carousel-indicators button,
#testimonialCarousel .carousel-indicators button {
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease !important;
}
#eventCarousel .carousel-indicators button.active {
    transform: scale(1.2) !important;
}
#testimonialCarousel .carousel-indicators button.active {
    transform: scale(1.2) !important;
}
#eventCarousel .carousel-control-prev,
#eventCarousel .carousel-control-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(64, 84, 178, 0.1) !important;
    color: var(--ibc-blue) !important;
    opacity: 1 !important;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
    border: 2px solid transparent !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
}
#eventCarousel .carousel-control-prev {
    left: 20px !important;
}
#eventCarousel .carousel-control-next {
    right: 20px !important;
}
#eventCarousel .carousel-control-prev:hover,
#eventCarousel .carousel-control-next:hover {
    background: var(--ibc-blue) !important;
    color: var(--ibc-white) !important;
    box-shadow: 0 8px 20px rgba(64, 84, 178, 0.25) !important;
    transform: translateY(-50%) !important;
}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    background: rgba(93, 167, 57, 0.1) !important;
    color: var(--ibc-green) !important;
    opacity: 1 !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    border: 2px solid transparent !important;
}
#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
    background: var(--ibc-green) !important;
    color: var(--ibc-white) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(93, 167, 57, 0.25) !important;
}
.alumni-section {
    background: linear-gradient(135deg, rgba(29, 45, 53, 0.95), rgba(40, 60, 75, 0.92)) no-repeat center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}
.alumni-section h2,
.alumni-section .lead,
.alumni-counter .number,
.alumni-counter .label {
    color: var(--ibc-white) !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7) !important;
}
.alumni-counter .number {
    color: var(--ibc-green) !important;
    text-shadow: 0 0 30px rgba(93, 167, 57, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}
#instagram-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, rgba(93, 167, 57, 0.03) 0%, rgba(64, 84, 178, 0.02) 50%, rgba(93, 167, 57, 0.03) 100%);
}
#instagram-section h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--ibc-dark);
    margin-bottom: 1rem;
}
#instagram-section .lead {
    color: var(--ibc-text-secondary);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}
.instagram-feed-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    padding: 30px 20px;
}
.insta-container {
    width: 340px;
    height: 680px;
    overflow: hidden;
    border-radius: var(--border-radius-large);
    background-color: var(--ibc-white);
    border: 1px solid var(--ibc-border-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.insta-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.insta-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 768px) {
    .instagram-feed-container {
        gap: 30px;
    }
    .insta-container {
        width: 300px;
        height: 600px;
    }
}
.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.legal-page-container h1 {
    color: var(--ibc-dark);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--ibc-green);
}
.legal-page-container h2 {
    color: var(--ibc-blue);
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ibc-border-light);
}
.legal-page-container h3 {
    color: var(--ibc-dark);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-page-container p {
    color: var(--ibc-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.legal-page-container ul,
.legal-page-container ol {
    color: var(--ibc-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.legal-page-container li {
    margin-bottom: 0.8rem;
}
.legal-page-container a {
    color: var(--ibc-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.legal-page-container a:hover {
    color: var(--ibc-green);
    border-bottom-color: var(--ibc-green);
}
.legal-page-container strong {
    color: var(--ibc-dark);
    font-weight: 600;
}
.legal-highlight {
    background: rgba(93, 167, 57, 0.05);
    border-left: 4px solid var(--ibc-green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: var(--border-radius-medium);
}
.legal-highlight p:last-child {
    margin-bottom: 0;
}
.legal-page-container table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
}
.legal-page-container table th {
    background: var(--ibc-blue);
    color: var(--ibc-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}
.legal-page-container table td {
    padding: 1rem;
    border-bottom: 1px solid var(--ibc-border-light);
}
.legal-page-container table tr:hover {
    background: rgba(64, 84, 178, 0.03);
}
@media (max-width: 768px) {
    .legal-page-container {
        padding: 3rem 1.5rem;
    }
    .legal-page-container h1 {
        font-size: 2rem;
    }
    .legal-page-container h2 {
        font-size: 1.6rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
.timeline-content .bubbly-button:hover {
    color: #ffffff !important;
}
.timeline-item:hover .timeline-content {
    transform: none !important;
    box-shadow: var(--shadow-premium-soft) !important;
}
.timeline-item:hover .timeline-content::before {
    opacity: 0 !important;
}
.timeline-item:hover .timeline-content h3 {
    transform: none !important;
}
.timeline-item:hover .timeline-icon {
    transform: translateY(-50%) scale(1) !important;
    box-shadow: 0 8px 25px rgba(93, 167, 57, 0.4) !important;
    background: linear-gradient(135deg, var(--ibc-green), var(--ibc-blue)) !important;
    animation: none !important;
}
.timeline-line:hover,
.timeline-line-progress:hover {
    transform: none !important;
}
.timeline-icon:hover {
    transform: translateY(-50%) scale(1) !important;
    box-shadow: inherit !important;
    cursor: default !important;
}
section.cta-section h2.cta-heading-white {
    color: var(--ibc-white, #ffffff) !important;
}
.heading-scale-once animation {
color:#ffffff;
}
@media (max-width: 576px) {
    #gluehweinstand-btn, .event-slider-content .btn {
        white-space: normal !important;
        height: auto !important;
        padding: 10px 15px !important;
        width: 100%;
        max-width: 100%;
        display: block;
        text-align: center;
    }
}
.btn-cta:hover {
    color: #ffffff !important;
    background-color: #4a8c2c !important;
    box-shadow: 0 8px 22px rgba(93, 167, 57, 0.35), 0 0 0 3px rgba(93, 167, 57, 0.08);
    transform: translateY(-3px) scale(1.02);
    text-decoration: none !important;
}
.beratungsfeld-card-link {
    text-decoration: none;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s var(--ease-out-expo);
}
.beratungsfeld-card-link:focus-visible {
    outline: none;
}
.beratungsfeld-card-link:focus-visible .beratungsfeld-card {
    border-color: var(--ibc-blue);
    box-shadow: 0 0 0 4px rgba(64, 84, 178, 0.3);
}
.beratungsfeld-card {
    width: 100%;
    min-height: 280px;
    background-color: var(--ibc-white);
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    transition: box-shadow 0.3s var(--ease-out-expo), border-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}
.beratungsfeld-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--ibc-green) 0%, #4a7c32 40%, rgba(64, 84, 178, 0.1) 60%);
    background-size: 200px;
    background-position: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--ibc-white);
    font-size: 2rem;
    transition: all 0.6s var(--ease-out-expo);
}
.beratungsfeld-card__icon i {
    transition: all 0.3s ease;
}
.beratungsfeld-card__title {
    margin: 10px 0 0 0;
    color: var(--ibc-dark);
    font-weight: 700;
    font-size: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: transform 0.3s ease;
}
.beratungsfeld-card__desc {
    display: none;
}
.beratungsfeld-card-link:hover .beratungsfeld-card,
.beratungsfeld-card-link:focus-visible .beratungsfeld-card {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--ibc-green);
}
.beratungsfeld-card-link:hover .beratungsfeld-card__icon,
.beratungsfeld-card-link:focus-visible .beratungsfeld-card__icon {
    background-position: -120px;
    transform: scale(1.05);
}
.beratungsfeld-card-link:hover .beratungsfeld-card__icon i,
.beratungsfeld-card-link:focus-visible .beratungsfeld-card__icon i {
    color: var(--ibc-green);
    background: linear-gradient(90deg, var(--ibc-green), var(--ibc-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}
@media (prefers-reduced-motion: reduce) {
    .beratungsfeld-card,
    .beratungsfeld-card__icon,
    .beratungsfeld-card__icon i {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}
.infoabend-section .btn.ethereal-button,
a.cooperation-button {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.infoabend-section .ibc-heading {
    color: var(--ibc-blue);
    word-spacing: normal;
    letter-spacing: normal;
}
.infoabend-section .ibc-heading .word:not(.text-gradient) {
    -webkit-text-fill-color: var(--ibc-blue);
    color: var(--ibc-blue);
}
.infoabend-section .ibc-heading .text-gradient {
    display: inline-block;
    margin-left: 0.25em;
}
.section-heading.heading-underline::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--ibc-green), var(--ibc-blue));
    border-radius: 1.5px;
}
.section-heading.heading-underline {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 2rem;
}
.timeline-section-new {
    --tl-color-green: #6D9744;
    --tl-color-green-dark: #4a6b2c;
    --tl-color-blue: #20234A;
    --tl-gradient: linear-gradient(135deg, var(--tl-color-green) 0%, var(--tl-color-blue) 100%);
    --tl-bg-body: #f8f9fa;
    --tl-bg-card: rgba(255, 255, 255, 0.96);
    --tl-text-main: #212529;
    --tl-text-muted: #495057;
    --tl-radius: 24px;
    --tl-marker-size: 50px;
    --tl-line-width: 4px;
    --tl-card-padding: 2.5rem;
    --tl-marker-top-offset: 2.5rem;
    --tl-trans-default: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 6rem 0;
    position: relative;
    background-color: var(--tl-bg-body);
}
.timeline-card-new:focus-visible,
.timeline-btn-new:focus-visible {
    outline: 3px solid var(--tl-color-blue);
    outline-offset: 4px;
    border-radius: 4px;
    z-index: 10;
}
@media (prefers-reduced-motion: reduce) {
    .timeline-blob, .timeline-line-progress-new, .timeline-marker-new, .timeline-card-new, .timeline-date-new {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .timeline-card-new:hover { transform: none !important; box-shadow: none !important; }
    .timeline-btn-new:hover { transform: none !important; box-shadow: none !important; background-position: 0 0 !important; }
}
.timeline-ambient-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.timeline-blob {
    position: absolute;
    filter: blur(90px);
    opacity: 0.4;
    will-change: transform;
    animation: timelineFloat 25s infinite ease-in-out;
}
.timeline-blob-1 { top: -10%; right: -10%; width: 40vw; height: 40vw; background: rgba(109, 151, 68, 0.15); }
.timeline-blob-2 { bottom: -10%; left: -10%; width: 40vw; height: 40vw; background: rgba(32, 35, 74, 0.1); animation-delay: -5s; }
@keyframes timelineFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 40px); }
}
.timeline-gradient-text {
    background: var(--tl-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.timeline-section-new .container {
    position: relative;
    z-index: 1;
}
@media (max-width: 991px) {
    .timeline-section-new .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 767px) {
    .timeline-section-new .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
ol.timeline-container-new {
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: 1300px;
    list-style: none;
    width: 100%;
    overflow-x: hidden;
}
.timeline-line-track-new {
    position: absolute;
    top: 0; bottom: 0;
    width: var(--tl-line-width);
    background: #e2e6ea;
    border-radius: 4px;
    z-index: 0;
    left: 50%;
    transform: translateX(-50%);
}
.timeline-line-progress-new {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0%;
    background: var(--tl-gradient);
    transition: height 0.15s linear;
    box-shadow: 0 0 20px rgba(109, 151, 68, 0.3);
    border-radius: 4px;
}
.timeline-item-new {
    position: relative;
    margin-bottom: 3rem;
    z-index: 1;
}
.timeline-item-new::after { content: ''; display: table; clear: both; }
.timeline-marker-new {
    position: absolute;
    top: var(--tl-marker-top-offset);
    width: var(--tl-marker-size);
    height: var(--tl-marker-size);
    border-radius: 50%;
    background: var(--tl-gradient);
    color: #fff;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--tl-bg-body);
    transform: translateY(-50%);
    transition: var(--tl-trans-default);
}
.timeline-item-new.active .timeline-marker-new {
    transform: translateY(-50%) scale(1.25);
    box-shadow: 0 0 0 8px rgba(109, 151, 68, 0.15);
}
.timeline-card-new {
    background: var(--tl-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--tl-radius);
    padding: var(--tl-card-padding);
    box-shadow: 0 10px 40px -10px rgba(32, 35, 74, 0.05);
    border: 1px solid rgba(255,255,255,0.7);
    position: relative;
    transition: var(--tl-trans-default);
    opacity: 1;
    transform: translateY(0);
    will-change: transform, opacity;
    outline: none;
    text-align: left;
}
.js-active .timeline-card-new {
    opacity: 0;
    transform: translateY(20px);
}
.timeline-item-new.visible .timeline-card-new,
.timeline-item-new.active .timeline-card-new {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.timeline-card-new:hover,
.timeline-item-new.active-focus .timeline-card-new {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(32, 35, 74, 0.15);
    border-color: #fff;
    z-index: 5;
}
.timeline-date-new {
    font-weight: 800;
    font-size: clamp(0.9rem, 0.8vw, 1.1rem);
    color: var(--tl-color-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    transition: opacity 0.4s ease;
    display: block;
}
.timeline-item-new.active .timeline-date-new { opacity: 1; }
@media (min-width: 992px) {
    .timeline-item-new { width: 50%; }
    .timeline-item-new:nth-child(odd) {
        left: 0;
        padding-right: 60px;
        text-align: right;
    }
    .timeline-item-new:nth-child(odd) .timeline-card-new {
        text-align: left;
    }
    .timeline-item-new:nth-child(odd) .timeline-marker-new {
        right: -25px; left: auto;
    }
    .timeline-item-new:nth-child(odd) .timeline-date-new {
        position: absolute;
        top: calc(var(--tl-marker-top-offset) - 10px);
        right: -280px;
        width: 200px;
        text-align: left;
    }
    .timeline-item-new:nth-child(even) {
        left: 50%;
        padding-left: 60px;
        text-align: left;
    }
    .timeline-item-new:nth-child(even) .timeline-marker-new {
        left: -25px;
    }
    .timeline-item-new:nth-child(even) .timeline-date-new {
        position: absolute;
        top: calc(var(--tl-marker-top-offset) - 10px);
        left: -280px;
        width: 200px;
        text-align: right;
    }
    .timeline-card-header-flex {
        flex-direction: row !important;
        justify-content: flex-start !important;
    }
    .timeline-phase-badge-new {
        margin-right: 0.8rem !important;
        margin-left: 0 !important;
    }
}
@media (max-width: 991px) {
    .timeline-section-new {
        overflow-x: hidden;
        --tl-marker-top-offset: 1.75rem;
    }
    .timeline-container-new {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
    .timeline-line-track-new {
        left: 30px !important;
        transform: none !important;
    }
    .timeline-item-new {
        width: 100%;
        left: 0 !important;
        padding-left: 90px !important;
        padding-right: 20px !important;
        text-align: left !important;
        margin-bottom: 2.5rem;
    }
    .timeline-marker-new {
        left: 30px !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }
    .timeline-date-new {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        text-align: left !important;
        width: auto !important;
        max-width: 100%;
        margin-bottom: 0.75rem;
        margin-top: 0;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        display: inline-block;
        transform: none !important;
    }
    .timeline-card-header-flex { flex-direction: row !important; }
    .timeline-phase-badge-new { margin-right: 0.8rem !important; margin-left: 0 !important; }
    .timeline-card-new {
        padding: 1.75rem;
        width: 100% !important;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .timeline-card-title-new {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .timeline-card-text-new {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
@media (max-width: 767px) {
    .timeline-section-new {
        padding: 4rem 0;
        overflow-x: hidden;
    }
    .timeline-item-new {
        padding-left: 80px !important;
        padding-right: 20px !important;
        margin-bottom: 2rem;
    }
    .timeline-line-track-new {
        left: 25px !important;
    }
    .timeline-marker-new {
        left: 25px !important;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .timeline-card-new {
        padding: 1.5rem;
    }
    .timeline-card-title-new {
        font-size: 1.25rem;
    }
    .timeline-card-text-new {
        font-size: 0.95rem;
    }
    .timeline-date-new {
        font-size: 0.85rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        white-space: normal;
        text-align: left !important;
    }
}
@media (max-width: 450px) {
     .timeline-section-new {
         padding: 3rem 0;
         overflow-x: hidden;
     }
     .timeline-line-track-new { left: 20px !important; }
     .timeline-item-new {
         padding-left: 70px !important;
         padding-right: 20px !important;
         margin-bottom: 1.75rem;
     }
     .timeline-marker-new {
         left: 20px !important;
         width: 36px;
         height: 36px;
         font-size: 0.9rem;
     }
     .timeline-card-new {
         padding: 1.25rem 1rem;
     }
     .timeline-btn-new {
         width: 100%;
         text-align: center;
         padding: 0.6rem 1.5rem;
         font-size: 0.9rem;
     }
     .timeline-card-title-new {
         font-size: 1.15rem;
     }
     .timeline-card-text-new {
         font-size: 0.9rem;
         line-height: 1.5;
     }
     .timeline-phase-badge-new {
         font-size: 0.7rem;
         padding: 0.3rem 0.8rem;
     }
     .timeline-date-new {
         font-size: 0.8rem !important;
         word-wrap: break-word;
         overflow-wrap: break-word;
         white-space: normal;
         text-align: left !important;
     }
}
.timeline-phase-badge-new {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(109, 151, 68, 0.15);
    color: var(--tl-color-green-dark);
    height: fit-content;
}
.timeline-card-title-new {
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0.5rem 0 0.75rem 0;
    color: var(--tl-text-main);
    letter-spacing: -0.5px;
}
.timeline-card-text-new {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--tl-text-muted);
    margin-bottom: 0;
}
.timeline-btn-new {
    margin-top: 1.5rem;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff !important;
    background: var(--tl-gradient);
    background-size: 200% auto;
    border: none;
    transition: var(--tl-trans-default);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.timeline-btn-new:hover,
.timeline-btn-new:focus-visible {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 151, 68, 0.3);
    color: #ffffff !important;
}
.timeline-btn-new:active {
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .timeline-item-new,
    .timeline-line-progress-new,
    .page-hero-section h1,
    .page-hero-section .lead {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto !important;
    }
    .timeline-item-new {
        opacity: 1 !important;
        transform: none !important;
    }
}
.no-animation,
.no-animation * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
}
.ethereal-button {
    color: #ffffff !important;
}
@media (max-width: 768px) {
    .carousel-caption,
    .event-slider-content,
    .slider-content {
        padding-left: 60px !important;
        padding-right: 60px !important;
        padding-bottom: 80px !important;
    }
    #eventCarousel .carousel-control-prev,
    #eventCarousel .carousel-control-next {
        width: 40px !important;
        height: 40px !important;
        opacity: 0.8 !important;
        font-size: 0.9rem !important;
    }
    #eventCarousel .carousel-control-prev {
        left: 10px !important;
    }
    #eventCarousel .carousel-control-next {
        right: 10px !important;
    }
    .carousel-caption .btn,
    .event-slider-content .btn,
    .slider-content .btn {
        position: relative;
        z-index: 20 !important;
        margin-top: 1rem;
    }
    #eventCarousel .carousel-control-prev,
    #eventCarousel .carousel-control-next {
        z-index: 10 !important;
    }
    @media (max-width: 480px) {
        #eventCarousel .carousel-control-prev,
        #eventCarousel .carousel-control-next {
            top: auto !important;
            bottom: 20px !important;
            width: 35px !important;
            height: 35px !important;
            font-size: 0.8rem !important;
        }
        #eventCarousel .carousel-control-prev {
            left: 50% !important;
            margin-left: -60px !important;
        }
        #eventCarousel .carousel-control-next {
            right: auto !important;
            left: 50% !important;
            margin-left: 20px !important;
        }
    }
}
.flip-card-front .icon-box {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(93, 167, 57, 0.1), rgba(64, 84, 178, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--ibc-green);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    padding: 0;
    border: none;
    box-shadow: none;
}
.flip-card-front .icon-box i {
    line-height: 1;
    margin: 0;
}
.flip-card-back {
    background: linear-gradient(135deg, #20234A 0%, #151730 100%);
}
@media (hover: hover) {
    .flip-card:hover .flip-card-front .icon-box {
        transform: scale(1.1) rotate(5deg);
        background: linear-gradient(135deg, var(--ibc-green), var(--ibc-blue));
        color: var(--ibc-white);
        box-shadow: 0 8px 20px rgba(93, 167, 57, 0.3);
        border-color: transparent;
    }
}
