﻿/* Hero section styling */
.hero4 {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-size: 200% 200%;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.15);
    animation: gradientBackground 15s ease infinite;
}

    /* Option 1: Remove the before element completely by deleting the hero4::before block */

    /* Option 2: Modify it to be more subtle and full-width */
    .hero4::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.1), transparent );
        animation: shine 8s infinite;
    }

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Welcome section styling */
.welcome2 h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e0e0e0, #ffffff, #a8e6cf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.welcome2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient( 45deg, rgba(76, 175, 80, 0.3), rgba(0, 51, 102, 0.3), rgba(76, 175, 80, 0.3) );
    filter: blur(15px);
    border-radius: 20px;
    z-index: 1;
    animation: gradientMove 8s ease-in-out infinite;
}

/* Container styling */
.containera {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
    background: white;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

    .containera:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    }

/* Text styling */
.text-justify {
    text-align: justify;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* List styling */
ul-a {
    list-style: none;
    padding: 0;
}

    ul-a li-a {
        position: relative;
        padding-left: 2rem;
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
    }

        ul-a li-a:hover {
            transform: translateX(10px);
        }

        ul-a li-a::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-weight: bold;
        }

/* Strong text enhancement */
strong {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 2px;
}

    strong::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--accent-color);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    strong:hover::after {
        transform: scaleX(1);
    }

/* Animation for text entrance */
.text-justify, ul-a li-a {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.text-justify {
    animation-delay: 0.3s;
}

ul-a li-a:nth-child(1) {
    animation-delay: 0.5s;
}

ul-a li-a:nth-child(2) {
    animation-delay: 0.7s;
}

ul-a li-a:nth-child(3) {
    animation-delay: 0.9s;
}

/* All animations */
@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientShift {
    0% {
        transform: translateX(-50%);
        opacity: 0.5;
    }

    50% {
        transform: translateX(0);
        opacity: 0.8;
    }

    100% {
        transform: translateX(50%);
        opacity: 0.5;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
        opacity: 0.6;
    }

    50% {
        background-position: 100% 50%;
        opacity: 0.9;
    }

    100% {
        background-position: 0% 50%;
        opacity: 0.6;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .containera {
        padding: 20px;
        margin: 20px;
    }

    .text-justify.fs-3 {
        font-size: 1.2rem !important;
    }

    ul-a li-a {
        padding-left: 1.5rem;
    }

    .welcome2 h1 {
        font-size: 2.5rem;
    }
}
