body {
    overflow-x: hidden !important;
}

.hero {
    background: linear-gradient(135deg, #8697e5 0%, #49a2aa 100%);
    height: calc(100vh - 188.8px);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}


.container {
    height: 100%;
}

.container .row {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
}

.col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


@media (max-width: 992px) {

    .container .row {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    .col-lg-6 {
        display: flex;
    }

    .item-1, .item-2 {
        height: 30%;
    }

    .item-1 {
        flex: 5;
        align-items: center;
    }

    .item-2 {
        flex: 3;
    }

    .image-container {
        align-self: center;
        display: flex;
        justify-content: center;
    }

    .image-container img {
        width: none !important;
        height: 100% !important;
        max-height: calc((100vh) / 2);
        position: relative;
        top: -7%;;
    }

    .card-1 {
        top: 0% !important;
        left: -20% !important;
    }

    .card-2 {
        top: 10% !important;
        right: -15% !important;
    }

    .card-3 {
        bottom: 25% !important;
        left: -35% !important;
    }
}

@media (max-width:572px) {
    .card-1, .card-2, .card-3 {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: calc(100vh - 100px);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-custom {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 0 10px 10px 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-custom::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;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-primary-custom {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.image-container {
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.image-container img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.floating-card i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation: floatCard1 4s ease-in-out infinite;
}

.card-1 i {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.card-2 {
    top: 50%;
    right: -12%;
    animation: floatCard2 4s ease-in-out infinite 1s;
}

.card-2 i {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

.card-3 {
    bottom: 15%;
    left: 0%;
    animation: floatCard3 4s ease-in-out infinite 2s;
}

.card-3 i {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@keyframes floatCard3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .btn-custom {
        padding: 12px 25px;
        font-size: 1rem;
        margin: 5px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .floating-card {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .floating-card i {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }

    .card-1 {
        top: 10%;
        left: 5%;
    }

    .card-2 {
        top: 50%;
        right: 5%;
    }

    .card-3 {
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
    }

    .image-container {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .floating-card {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}