﻿:root {
    --primary-color: #1b4332;
    --secondary-color: #ddb892;
    --accent-color: #b08d57;
    --hover-color: #2d6a4f;
    --text-color: #333333;
    --light-color: #ffffff;
    --glass-bg: rgba(27, 67, 50, 0.1);
    --glass-border: rgba(221, 184, 146, 0.2);
    --gradient-start: #b08d57;
    --gradient-end: #ddb892;
    --gold-gradient: linear-gradient(135deg, #b08d57, #ddb892);
    --green-gradient: linear-gradient(135deg, #1b4332, #2d6a4f);
    --dark-green-gradient: linear-gradient(135deg, #081c15, #1b4332);
    --gold-brown-gradient: linear-gradient(135deg, #b08d57, #816653, #b08d57);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form styling */
form {
    background-color: #ffffff; /* White background for forms */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

/* Textboxes and Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* Buttons */
button {
    background: var(--gold-gradient);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

button:hover {
    background: var(--green-gradient);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 67, 50, 0.15);
}

/* Fancy Font Example */
h1, h2, h3, h4, h5, h6 {
    color: #003366; /* Dark blue */
    font-family: 'Georgia', serif; /* Customize font-family as needed */
}

/* Additional Styling */
p {
    color: #333; /* Dark grey for text */
}

.ticket-section .card {
    margin: 20px;
    color: steelblue;
}

.highlighted-text {
    color: #E74C3C;
    font-weight: bold;
}

/* Card overlay styles */
.card-overlay {
    position: relative;
    overflow: hidden;
    border: none;
    align-items: center;
    padding: 0;
    height: 300px;
    transform-style: preserve-3d;
    border-radius: inherit;
}

.card-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease-in-out;
    transform-origin: center center;
    border-radius: inherit;
    will-change: transform, filter;
}

.card_kupi:hover .card-overlay img {
    transform: scale(1.1);
    filter: blur(3px);
}

.card-img-overlay {
    background: linear-gradient(
        135deg,
        rgba(27, 67, 50, 0.7),
        rgba(27, 67, 50, 0.6),
        rgba(27, 67, 50, 0.5)
    ) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    transform-style: preserve-3d;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-size: 200% 200%;
    background-position: 0% 0%;
    backdrop-filter: blur(0);
}

.card_kupi:hover .card-img-overlay {
    background: linear-gradient(
        135deg,
        rgba(8, 28, 21, 0.98),
        rgba(27, 67, 50, 0.95),
        rgba(8, 28, 21, 0.98)
    ) !important;
    backdrop-filter: blur(5px);
}

.card-title {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInDown 0.6s ease-out forwards;
}

.kupi {
    position: relative;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ddb892, #b08d57, #ddb892) !important;
    background-size: 200% 100% !important;
    color: #1b4332;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(20px) translateZ(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(221, 184, 146, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    animation: buttonGradient 3s ease infinite;
    will-change: transform, opacity;
}

.card_kupi:hover .kupi {
    transform: translateY(0) translateZ(15px);
    opacity: 1;
    background: linear-gradient(135deg, #e6ccb2, #b08d57, #e6ccb2) !important;
    background-size: 200% 100% !important;
    color: #1b4332;
    box-shadow: 
        0 8px 30px rgba(221, 184, 146, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 1);
    animation: buttonGradient 2s ease infinite;
}

/* Override any other button styles */
button.kupi,
a.kupi,
.card_kupi .kupi {
    background: linear-gradient(135deg, #ddb892, #b08d57, #ddb892) !important;
    background-size: 200% 100% !important;
    animation: buttonGradient 3s ease infinite !important;
}

button.kupi:hover,
a.kupi:hover,
.card_kupi:hover .kupi {
    background: linear-gradient(135deg, #e6ccb2, #b08d57, #e6ccb2) !important;
    background-size: 200% 100% !important;
    animation: buttonGradient 2s ease infinite !important;
}

@keyframes buttonGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.card_kupi:hover .kupi::before {
    transform: translateX(100%);
}

.error-message {
    color: red;
}

.success-message {
    color: green;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    box-shadow: 
        0 4px 15px rgba(221, 184, 146, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
    background: var(--green-gradient);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(27, 67, 50, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 1);
}

/* Override the carousel caption text color */
.carousel-caption h2,
.carousel-caption p {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Optional: adds a shadow to make the text more readable */
}

/* Insurance Carousel Styling */
.insurance-carousel-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

#insuranceCarousel {
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

#insuranceCarousel .carousel-item {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.carousel-item img,
.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item:hover img,
.carousel-item:hover .carousel-video {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(27, 67, 50, 0.3),
        rgba(27, 67, 50, 0.5)
    );
    pointer-events: none;
    transition: background 0.8s ease;
    z-index: 2;
}

.carousel-item:hover .carousel-overlay {
    background: linear-gradient(
        to bottom,
        rgba(27, 67, 50, 0.25),
        rgba(27, 67, 50, 0.45)
    );
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 0 20px;
    z-index: 3;
    bottom: auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    z-index: 5;
    opacity: 0.8;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: transparent !important;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
    opacity: 1;
    background: transparent !important;
}

.carousel-control-prev span,
.carousel-control-next span {
    background: transparent !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, 
        rgba(221, 184, 146, 0.3), 
        rgba(176, 141, 87, 0.3)
    );
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(255, 255, 255, 0.8);
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    transition: all 0.8s ease;
}

.carousel-control-prev-icon::after {
    transform: rotate(-45deg);
    margin-left: 5px;
}

.carousel-control-next-icon::after {
    transform: rotate(135deg);
    margin-right: 5px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 20px rgba(151, 223, 252, 0.2),
        inset 0 0 10px rgba(200, 182, 255, 0.1);
}

.carousel-control-prev:hover .carousel-control-prev-icon::before,
.carousel-control-next:hover .carousel-control-next-icon::before {
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon::after,
.carousel-control-next:hover .carousel-control-next-icon::after {
    border-color: rgba(255, 255, 255, 1);
}

/* Updated Indicators with slower transition */
.carousel-indicators {
    z-index: 5;
    margin-bottom: 2rem;
    gap: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(0.8);
}

.carousel-indicators [data-bs-target]:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0.9);
}

.carousel-indicators .active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--gold-gradient);
    transform: scale(1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 10px rgba(221, 184, 146, 0.3),
        inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.3);
    animation: pulseIndicator 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.carousel-indicators .active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: shimmerIndicator 3s ease-in-out infinite;
}

@keyframes pulseIndicator {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes shimmerIndicator {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev-icon::after,
    .carousel-control-next-icon::after {
        width: 10px;
        height: 10px;
        border-width: 2px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        border: none;
        margin: 0 4px;
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .carousel-indicators .active {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gold-gradient);
        transform: scale(1.2);
    }

    .carousel-indicators {
        margin-bottom: 1rem;
        gap: 8px;
    }

    #insuranceCarousel .carousel-item {
        height: 60vh;
    }

    .hero-caption h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .hero-caption h2 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
}

.hero-caption {
    z-index: 3;
    position: relative;
}

.hero-caption h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    font-family: 'Georgia', serif;
}

.hero-caption h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-caption h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.hero-caption h4 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

.carousel-item:hover .hero-caption h1,
.carousel-item:hover .hero-caption h2,
.carousel-item:hover .hero-caption h3,
.carousel-item:hover .hero-caption h4 {
    transform: translateY(-5px);
}

.carousel-caption h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .carousel-caption {
        padding: 0 15px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    .carousel-indicators [data-bs-target] {
        width: 20px;
        height: 20px;
    }

    .carousel-indicators .active {
        width: 20px;
        height: 20px;
    }

    #insuranceCarousel .carousel-item {
        height: 60vh;
    }

    .hero-caption h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .hero-caption h2 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
}

.hero-carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4),
        rgba(0, 51, 102, 0.4)
    );
    z-index: 1;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.carousel-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gold-gradient);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(221, 184, 146, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.carousel-btn:hover {
    background: var(--green-gradient);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(27, 67, 50, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 1);
}

.carousel-btn:hover::before {
    transform: translateX(100%);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .carousel-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Insurance Companies Marquee Styling */
.insurance-companies-section {
    width: 100%;
    background: linear-gradient(135deg, 
        rgba(27, 67, 50, 0.05), 
        rgba(221, 184, 146, 0.1), 
        rgba(176, 141, 87, 0.05)
    );
    padding: 20px 0;
    margin: 10px 0;
    box-shadow: 
        0 0 20px rgba(0,0,0,0.05),
        inset 0 0 30px rgba(151, 223, 252, 0.1);
    position: relative;
    overflow: hidden;
}

.insurance-companies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(151, 223, 252, 0.1) 45%,
        rgba(200, 182, 255, 0.1) 55%,
        transparent 100%
    );
    animation: shine 8s linear infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-30%);
    }
    100% {
        transform: translateX(30%);
    }
}

.marquee-container {
    width: 100%;
    overflow: visible;
    position: relative;
    padding: 10px 0; /* Reduced from 20px to 10px */
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(0, 51, 102, 0.1),
        transparent
    );
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(0, 51, 102, 0.1),
        transparent
    );
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 30px; /* Increased gap for more hover space */
}

/* Add back the marquee animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    position: relative;
    transition: all 0.3s ease;
}

.marquee-item img {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.marquee-container:hover .marquee-item img {
    filter: grayscale(50%);
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.marquee-container:hover .marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px) scale(1.2);
    box-shadow: 0 15px 30px rgba(151, 223, 252, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.marquee-item:not(:hover) img {
    animation: none;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
    opacity: 0.7;
}

/* Smooth transition for the gradient line */
.marquee-item::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.marquee-item:hover::after {
    width: 80%;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.marquee-item:not(:hover)::after {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .insurance-companies-section {
        padding: 20px 0;
    }

    .insurance-title {
        font-size: 1.2rem;
    }

    .marquee-item img {
        height: 25px;
    }

    .marquee-item {
        padding: 8px 15px;
    }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Floating animation for hovered items */
@keyframes float {
    0%, 100% {
        transform: translateY(-5px) scale(1.2);
    }
    50% {
        transform: translateY(-8px) scale(1.2);
    }
}

.marquee-item:hover img {
    animation: float 2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.marquee-item img.animated {
    animation: float 2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.insurance-title {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.3;
    margin: 15px auto;
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 500;
    max-width: 1200px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

.gradient-word {
    background: var(--gold-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-shadow: none;
    transition: all 0.3s ease;
    padding: 0 4px;
    animation: gradientStatic 3s ease infinite;
}

.gradient-word:hover {
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientStatic {
    0%, 100% {
        background-position: 0% 50%;
    }
}

.gradient-word::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.gradient-word:hover::after {
    transform: scaleX(1);
    animation: gradientMove 3s ease infinite;
}


@media (max-width: 768px) {
    .insurance-title {
        font-size: 1.2rem;
        margin: 10px auto;
    }
}

.dramatic-title-section {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.03);
    padding: 60px 40px;
    margin: 80px auto;
    max-width: 1100px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(151, 223, 252, 0.1);
}

.dramatic-title-section:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 1px 5px rgba(0, 0, 0, 0.04);
    border-color: rgba(151, 223, 252, 0.2);
}

.dramatic-title {
    font-size: 2.8rem;
    margin-bottom: 35px;
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

.dramatic-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 1;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.highlight-word {
    background: var(--gold-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    font-weight: 700;
    padding: 0 4px;
    transition: all 0.5s ease;
    animation: gradientMove 3s ease infinite;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientMove 3s ease infinite;
}

.highlight-word:hover {
    transform: translateY(-1px);
}

.highlight-word:hover::after {
    transform: scaleX(1);
}

@keyframes fadeInGradient {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .dramatic-title-section {
        padding: 40px 25px;
        margin: 50px 20px;
        border-radius: 20px;
    }
    
    .dramatic-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .dramatic-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

/* Card base styles */
.card_kupi {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 2000px;
    transform-origin: center center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #ddb892;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
}

.card_kupi:hover {
    z-index: 10;
    transform: translateY(-5px) scale(1.02);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Container and spacing adjustments */
.container {
    position: relative;
    z-index: 1;
    padding: 0 !important;
    max-width: 1400px;
    overflow: visible !important;
}

.row {
    margin: 0;
    --bs-gutter-x: 0;
    overflow: visible !important;
}

.col-md-6 {
    padding: 0;
    overflow: visible !important;
}

.mb-4 {
    margin-bottom: 0 !important;
}

.d-flex {
    padding: 0;
    overflow: visible !important;
}

.styled-separator {
    border: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent-color) 20%,
        var(--secondary-color) 50%,
        var(--accent-color) 80%,
        transparent 100%
    );
    width: 80%;
    max-width: 1200px;
    margin: 30px auto;
    position: relative;
    overflow: visible;
}

.styled-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(221, 184, 146, 0.2) 20%,
        rgba(176, 141, 87, 0.2) 50%,
        rgba(221, 184, 146, 0.2) 80%,
        transparent 100%
    );
    transform: translateY(-2px);
}

.styled-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(221, 184, 146, 0.1) 20%,
        rgba(176, 141, 87, 0.1) 50%,
        rgba(221, 184, 146, 0.1) 80%,
        transparent 100%
    );
    transform: translateY(2px);
}

.cards-container {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: none;
    padding: 40px 20px 60px;
    margin: 40px auto 80px;
    max-width: 1300px;
    text-align: center;
    border: none;
    position: relative;
    overflow: visible !important;
}

.section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .cards-container {
        padding: 30px 10px 50px;
        margin: 30px 15px 60px;
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Footer Styles */
.footer-section {
    background: var(--dark-green-gradient);
    padding: 60px 0 40px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 30px 30px 0 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    width: 100%;
    left: 0;
    right: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.footer-section h3:hover::after {
    width: 60px;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1rem;
}

.footer-section a:hover {
    color: #97dffc;
    transform: translateX(5px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 5px;
}

.footer-contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-contact-info p {
    margin: 0;
    display: block;
    width: 100%;
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(221, 184, 146, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(221, 184, 146, 0.1);
}

.newsletter-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 15px;
    background: var(--gold-gradient);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--gold-brown-gradient);
    transform: translateY(-50%) scale(1.1);
}

.newsletter-button i {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.newsletter-button:hover i {
    animation: paperPlane 1.2s ease-in-out infinite;
}

@keyframes paperPlane {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-5deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    75% {
        transform: scale(1.2) rotate(-5deg);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(151, 223, 252, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.contact-numbers {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    justify-content: center;
    border: 1px solid rgba(221, 184, 146, 0.1);
}

.contact-number {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-number:hover {
    transform: translateY(-3px);
}

.contact-number i {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.contact-number:hover i {
    transform: scale(1.2);
    background: var(--gold-brown-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}
@media (max-width: 768px) {
    .footer-section {
        margin: 40px -15px 0;
        padding: 40px 0 30px;
        width: calc(100% + 30px);
        position: relative;
        border-radius: 30px 30px 0 0;
    }

    .footer-container {
        padding: 0 15px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }

    .footer-column {
        padding: 0 15px;
    }

    .contact-numbers {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin: 20px auto;
        width: calc(100% - 30px);
    }

    .footer-bottom {
        padding: 20px 15px;
    }
}

/* Fix for the entire page container on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container, 
    .container-fluid {
        padding-right: 0;
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }
}

/* Add subtle gradient overlay */
.footer-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(151, 223, 252, 0.03) 0%,
        rgba(200, 182, 255, 0.03) 100%
    );
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(27, 67, 50, 0.05),
        rgba(221, 184, 146, 0.1)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    background: linear-gradient(135deg, #97dffc, #c8b6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.4s forwards;
}

/* Dramatic Title Section */
.dramatic-title-section {
    padding: 6rem 2rem;
    text-align: center;
    background: white;
}

.dramatic-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Title Animations */
.hero-title,
.dramatic-title,
.insurance-title,
.section-title,
.card-title,
.footer-title {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

@keyframes dramaticFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-15px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation Delays */
.hero-title { animation-delay: 0.1s; }
.dramatic-title { animation-delay: 0.2s; }
.insurance-title { animation-delay: 0.3s; }
.section-title { animation-delay: 0.4s; }
.footer-title { animation-delay: 0.5s; }

/* Card Title Delays */
.col-lg-4:nth-child(1) .card-title { animation-delay: 0.2s; }
.col-lg-4:nth-child(2) .card-title { animation-delay: 0.3s; }
.col-lg-4:nth-child(3) .card-title { animation-delay: 0.4s; }
.col-lg-4:nth-child(4) .card-title { animation-delay: 0.5s; }
.col-lg-4:nth-child(5) .card-title { animation-delay: 0.6s; }
.col-lg-4:nth-child(6) .card-title { animation-delay: 0.7s; }

/* Hover Effects */
.hero-title:hover,
.dramatic-title:hover,
.insurance-title:hover,
.section-title:hover,
.card-title:hover,
.footer-title:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Insurance Solutions Section */
.insurance-solutions-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 6rem 0;
    background: linear-gradient(135deg, 
        rgba(27, 67, 50, 0.05),
        rgba(221, 184, 146, 0.1),
        rgba(176, 141, 87, 0.05)
    );
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    overflow: hidden;
    box-shadow: 
        0 20px 40px -20px rgba(27, 67, 50, 0.1) inset,
        0 -20px 40px -20px rgba(27, 67, 50, 0.1) inset;
}

.insurance-solutions-section::before,
.insurance-solutions-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, 
        transparent 0%,
        rgba(221, 184, 146, 0.2) 25%,
        rgba(176, 141, 87, 0.2) 50%,
        rgba(221, 184, 146, 0.2) 75%,
        transparent 100%
    );
}

.insurance-solutions-section::before {
    top: 0;
}

.insurance-solutions-section::after {
    bottom: 0;
}

.insurance-solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.insurance-solutions-heading {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.insurance-solutions-heading h2 {
    font-size: 3rem;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
    animation: dramaticFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               gradientMove 3s ease infinite;
}

.insurance-solutions-heading h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(221, 184, 146, 0.3);
}

.insurance-solutions-heading p {
    font-size: 1.3rem;
    color: var(--primary-color);
    max-width: 800px;
    margin: 2rem auto 0;
    opacity: 0.9;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .insurance-solutions-section {
        margin: 0 -15px;
        width: calc(100% + 30px);
        padding: 2rem 0;
        position: relative;
        background: linear-gradient(135deg, 
            rgba(27, 67, 50, 0.05),
            rgba(221, 184, 146, 0.1),
            rgba(176, 141, 87, 0.05)
        );
    }

    .insurance-solutions-container {
        width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .insurance-solutions-heading {
        padding: 0 15px;
        margin-bottom: 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    .row {
        margin: 0;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .col-md-6 {
        padding: 0;
        margin-bottom: 20px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .insurance-solutions-section {
        padding: 1.5rem 0;
    }

    .insurance-solutions-container {
        padding: 0 10px;
    }

    .col-md-6 {
        padding: 0 8px;
        margin-bottom: 15px;
    }

    .insurance-solutions-heading h2 {
        font-size: 1.5rem;
    }

    .card {
        min-height: 200px;
    }

    .card-img-top {
        height: 150px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .btn.kupi {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .dramatic-title {
        font-size: 1.5rem;
    }

    .dramatic-subtitle {
        font-size: 0.9rem;
    }

    
.insurance-title {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.3;
    margin: 15px auto;
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 500;
    max-width: 1200px;
    letter-spacing: -0.02em;
}

    .marquee-item {
        width: 100px;
        height: 60px;
    }

    .marquee-item img {
        max-width: 80px;
        max-height: 40px;
    }
}

/* Improve card hover effects on mobile */
@media (hover: none) {
    .card {
        transform: none !important;
    }

    .card:hover {
        transform: none !important;
    }

    .card-img-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.3),
            rgba(0, 51, 102, 0.8)
        );
    }
}

/* Improve spacing between sections */
@media (max-width: 768px) {
    .insurance-solutions-section {
        padding: 2rem 0;
    }

    .insurance-companies-section {
        padding: 1rem 0;
    }

    .styled-separator {
        margin: 1.5rem 0;
    }
}

/* Changing Word Animation */
.changing-word {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin: 10px auto 20px;
    min-height: 80px;
    text-transform: uppercase;
    position: relative;
    display: block;
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.changing-word::before {
    content: 'ИДНИНАТА';
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    animation: cycleText 16s ease-in-out infinite;
    background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s ease-in-out;
}

@keyframes cycleText {
    0%, 20% {
        content: 'ИДНИНАТА';
        background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    22%, 23% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    25%, 45% {
        content: 'СЕМЕЈСТВОТО';
        background: linear-gradient(135deg, #a3b18a 0%, #b5c99a 50%, #a3b18a 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    47%, 48% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    50%, 70% {
        content: 'БИЗНИСОТ';
        background: linear-gradient(135deg, #b5c99a 0%, #cfe1b9 50%, #b5c99a 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    72%, 73% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    75%, 95% {
        content: 'ДОМОТ';
        background: linear-gradient(135deg, #ddb892 0%, #e6ccb2 50%, #ddb892 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    97%, 98% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    100% {
        content: 'ИДНИНАТА';
        background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* English version of changing word animation */
html[lang="en"] .changing-word::before {
    content: 'FUTURE';
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    animation: cycleTextEn 16s ease-in-out infinite;
    background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.5s ease-in-out;
}

@keyframes cycleTextEn {
    0%, 20% {
        content: 'FUTURE';
        background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    22%, 23% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    25%, 45% {
        content: 'FAMILY';
        background: linear-gradient(135deg, #a3b18a 0%, #b5c99a 50%, #a3b18a 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    47%, 48% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    50%, 70% {
        content: 'BUSINESS';
        background: linear-gradient(135deg, #b5c99a 0%, #cfe1b9 50%, #b5c99a 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    72%, 73% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    75%, 95% {
        content: 'HOME';
        background: linear-gradient(135deg, #ddb892 0%, #e6ccb2 50%, #ddb892 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    97%, 98% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
        filter: blur(5px);
    }
    100% {
        content: 'FUTURE';
        background: linear-gradient(135deg, #e6ccb2 0%, #ddb892 50%, #e6ccb2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Add shimmer effect */
.changing-word::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shimmer 3s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(100%) skewX(-15deg);
    }
}

/* Update hero caption styles */
.hero-caption {
    text-align: center;
}

.hero-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .changing-word {
        font-size: 2.5rem;
        min-height: 60px;
    }
    
    .hero-caption h1 {
        font-size: 2.5rem;
    }
}

/* Elegant List Section */
.elegant-list-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}

.decorative-line {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent-color) 20%,
        var(--secondary-color) 50%,
        var(--accent-color) 80%,
        transparent 100%
    );
    margin: 20px 0;
    opacity: 0.7;
}


.list-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.elegant-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elegant-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.elegant-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold-gradient);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.elegant-list li:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.elegant-list li:hover::before {
    transform: translateY(-50%) scale(1.5);
    box-shadow: 0 0 10px rgba(176, 141, 87, 0.5);
}

@media (max-width: 768px) {
    .elegant-list-section {
        padding: 15px;
        margin: 30px auto;
    }

    .list-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .elegant-list li {
        font-size: 1rem;
        padding-left: 25px;
    }
}

/* Infographic Section */
.infographic-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(250, 246, 242, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(250, 246, 242, 0.98) 100%
    );
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.infographic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(221, 184, 146, 0.05) 0%,
        rgba(27, 67, 50, 0.05) 100%
    );
    z-index: 1;
}

.infographic-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.infographic-background {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(221, 184, 146, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infographic-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(221, 184, 146, 0.03) 0%,
        rgba(27, 67, 50, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.infographic-background:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 3px 5px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(221, 184, 146, 0.15);
}

.infographic-background:hover::before {
    opacity: 1;
}

.infographic-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.infographic-background:hover .infographic-image {
    transform: scale(1.02);
}

@media (max-width: 1200px) {
    .infographic-container {
        max-width: 100%;
    }
    
    .infographic-background {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .infographic-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .infographic-background {
        padding: 20px;
        border-radius: 20px;
    }
    
    .infographic-container {
        padding: 0 15px;
    }
}

/* Enhanced Elegant Broker Role Table Styles */
.broker-role-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(250, 246, 242, 0.95) 0%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(250, 246, 242, 0.95) 100%
    );
    margin: 60px 0;
    position: relative;
}

.broker-role-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.broker-role-title {
    font-size: 2.8rem;
    margin-bottom: 50px;
    padding-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.broker-role-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

.broker-role-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(221, 184, 146, 0.2);
}

.broker-role-table th,
.broker-role-table td {
    padding: 25px 30px;
    text-align: left;
    border-bottom: 1px solid rgba(221, 184, 146, 0.15);
    transition: all 0.3s ease;
    line-height: 1.6;
    font-size: 1.1rem;
}

.broker-role-table th {
    background: linear-gradient(135deg, 
        rgba(27, 67, 50, 0.85) 0%,
        rgba(45, 106, 79, 0.85) 100%
    );
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.broker-role-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(221, 184, 146, 0.05);
    width: 15%;
}

.broker-role-table td:nth-child(2) {
    width: 25%;
}

.broker-role-table td:nth-child(3) {
    width: 25%;
}

.broker-role-table td:last-child {
    width: 35%;
}

.broker-role-table tr:hover td {
    background: rgba(250, 246, 242, 0.8);
}

.broker-role-table tr:hover td:first-child {
    background: rgba(221, 184, 146, 0.1);
}

@media (max-width: 1200px) {
    .broker-role-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .broker-role-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .broker-role-table th,
    .broker-role-table td {
        padding: 20px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .broker-role-section {
        padding: 40px 0;
        margin: 30px 0;
    }

    .broker-role-container {
        padding: 0 10px;
    }

    .broker-role-title {
        font-size: 1.8rem;
    }

    .broker-role-table th,
    .broker-role-table td {
        padding: 15px;
        font-size: 0.9rem;
    }
}

.infographic-feature-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(250, 246, 242, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(250, 246, 242, 0.98) 100%
    );
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.infographic-feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(221, 184, 146, 0.05) 0%,
        rgba(27, 67, 50, 0.05) 100%
    );
    z-index: 1;
}

.infographic-feature-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.infographic-feature-background {
    background: white;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(221, 184, 146, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infographic-feature-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(221, 184, 146, 0.03) 0%,
        rgba(27, 67, 50, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.infographic-feature-background:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 3px 5px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(221, 184, 146, 0.15);
}

.infographic-feature-background:hover::before {
    opacity: 1;
}

.infographic-feature-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.infographic-feature-background:hover .infographic-feature-image {
    transform: scale(1.02);
}

@media (max-width: 1200px) {
    .infographic-feature-container {
        max-width: 100%;
    }
    
    .infographic-feature-background {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .infographic-feature-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .infographic-feature-background {
        padding: 20px;
        border-radius: 20px;
    }
    
    .infographic-feature-container {
        padding: 0 15px;
    }
}

/* Consultation CTA Section */
.consultation-cta {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(250, 246, 242, 0.95) 0%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(250, 246, 242, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

.consultation-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    line-height: 1.4;
    font-weight: 500;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: titleFadeIn 1s ease-out forwards;
}

.consultation-title .highlight-text {
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, 
        #1a472a 0%,    /* Dark green */
        #8fbc8f 50%,   /* Sage green */
        #2e8b57 100%   /* Sea green */
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    transform: translateY(2px);
}

.consultation-button {
    display: inline-block;
    padding: 25px 60px; /* Increased padding */
    font-size: 1.4rem; /* Increased font size */
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
    background: var(--gold-gradient);
    border-radius: 60px; /* Increased border radius */
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(221, 184, 146, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    cursor: pointer;
}

.consultation-button .button-text {
    position: relative;
    z-index: 3;
    transition: all 0.5s ease;
}

.consultation-button .button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 70%,
        transparent 100%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.consultation-button .button-border {
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: 50px;
    background: var(--gold-gradient);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
}

.consultation-button .button-scale {
    position: absolute;
    inset: 0;
    background: var(--green-gradient);
    border-radius: 50px;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.consultation-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(221, 184, 146, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.15);
}

.consultation-button:hover .button-text {
    color: white;
}

.consultation-button:hover .button-shine {
    transform: translateX(100%) rotate(45deg);
}

.consultation-button:hover .button-border {
    opacity: 1;
}

.consultation-button:hover .button-scale {
    transform: scale(1);
    opacity: 1;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .consultation-cta {
        padding: 40px 15px;
    }

    .consultation-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .consultation-title .highlight-text {
        font-size: 1.8rem;
    }

    .consultation-button {
        padding: 20px 45px;
        font-size: 1.2rem;
    }
}

.social-icons-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-icon-footer {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg,
        #ddb892 0%,
        #b08d57 50%,
        #ddb892 100%
    );
    color: white;
    font-size: 26px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(221, 184, 146, 0.2);
}

.social-icon-footer:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(221, 184, 146, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg,
        #b08d57 0%,
        #ddb892 50%,
        #b08d57 100%
    );
    color: white;
}

.social-icon-footer i {
    transition: transform 0.3s ease;
}

.social-icon-footer:hover i {
    transform: scale(1.1);
}

/* Floating Consultation Button */
.floating-consultation {
    position: fixed;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    z-index: 1000;
}

.bookmark-button {
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #8B7355, #DAA520, #8B7355);
    background-size: 200% 200%;
    color: white;
    padding: 15px 20px 15px 25px;
    text-decoration: none;
    border-radius: 0 20px 20px 0;
    box-shadow: 2px 2px 15px rgba(139, 115, 85, 0.3);
    transform-origin: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    border: 1px solid rgba(218, 165, 32, 0.3);
    position: relative;
    overflow: hidden;
    animation: goldShimmer 3s infinite;
}

.bookmark-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
    border-radius: 0 20px 20px 0;
}

.bookmark-button:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #2D5A27, #3D7A37, #2D5A27);
    background-size: 200% 200%;
    color: white;
    box-shadow: 5px 2px 20px rgba(45, 90, 39, 0.4);
    animation: greenPulse 2s infinite;
}

.bookmark-button i {
    margin-right: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.bookmark-button:hover i {
    transform: scale(1.2);
}

@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes greenPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .bookmark-button {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

