
/* Hero Section Styles */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}























.hero-inside-container {
    background: linear-gradient(to bottom left, rgba(109, 78, 181, 0.459), #1530E1 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 70%;
    padding-left: 30px;
    padding-right: 30px;
    gap: 2%;
    overflow: hidden;
    box-shadow: rgba(123, 66, 255, 0.75) 0px 10px 50px -1.25px, rgba(123, 66, 255, 0.36) 0px 2.2px 11.4px -0.8px, rgba(123, 66, 255, 0.28) 0px 0.6px 3px -0.4px, rgba(255, 255, 255, 0.15) 0px 0px 0px 1.5px;
    
    /* Combined animation for both transitions (up and down) */
    animation: gradientChange 3s ease-in-out infinite; /* Full cycle duration */
}

/* Keyframes for the combined gradient animation */
@keyframes gradientChange {
    /* First 50 steps: Transition up to the final color */
    0% {
        background: linear-gradient(to bottom left, rgba(109, 78, 181, 0.459), #1530E1 60%);
    }
    2% {
        background: linear-gradient(to bottom left, rgba(113, 77, 180, 0.459), #1530E1 60%);
    }
    4% {
        background: linear-gradient(to bottom left, rgba(116, 76, 179, 0.459), #1530E1 60%);
    }
    6% {
        background: linear-gradient(to bottom left, rgba(119, 75, 178, 0.459), #1530E1 60%);
    }
    8% {
        background: linear-gradient(to bottom left, rgba(122, 74, 177, 0.459), #1530E1 60%);
    }
    10% {
        background: linear-gradient(to bottom left, rgba(125, 73, 176, 0.459), #1530E1 60%);
    }
    12% {
        background: linear-gradient(to bottom left, rgba(128, 72, 175, 0.459), #1530E1 60%);
    }
    14% {
        background: linear-gradient(to bottom left, rgba(131, 71, 173, 0.459), #1530E1 60%);
    }
    16% {
        background: linear-gradient(to bottom left, rgba(134, 70, 172, 0.459), #1530E1 60%);
    }
    18% {
        background: linear-gradient(to bottom left, rgba(137, 69, 170, 0.459), #1530E1 60%);
    }
    20% {
        background: linear-gradient(to bottom left, rgba(140, 68, 169, 0.459), #1530E1 60%);
    }
    22% {
        background: linear-gradient(to bottom left, rgba(143, 67, 167, 0.459), #1530E1 60%);
    }
    24% {
        background: linear-gradient(to bottom left, rgba(146, 66, 166, 0.459), #1530E1 60%);
    }
    26% {
        background: linear-gradient(to bottom left, rgba(149, 65, 164, 0.459), #1530E1 60%);
    }
    28% {
        background: linear-gradient(to bottom left, rgba(152, 64, 163, 0.459), #1530E1 60%);
    }
    30% {
        background: linear-gradient(to bottom left, rgba(155, 63, 162, 0.459), #1530E1 60%);
    }
    32% {
        background: linear-gradient(to bottom left, rgba(158, 62, 160, 0.459), #1530E1 60%);
    }
    34% {
        background: linear-gradient(to bottom left, rgba(161, 61, 159, 0.459), #1530E1 60%);
    }
    36% {
        background: linear-gradient(to bottom left, rgba(164, 60, 157, 0.459), #1530E1 60%);
    }
    38% {
        background: linear-gradient(to bottom left, rgba(167, 59, 156, 0.459), #1530E1 60%);
    }
    40% {
        background: linear-gradient(to bottom left, rgba(170, 58, 154, 0.459), #1530E1 60%);
    }
    42% {
        background: linear-gradient(to bottom left, rgba(173, 57, 153, 0.459), #1530E1 60%);
    }
    44% {
        background: linear-gradient(to bottom left, rgba(176, 56, 151, 0.459), #1530E1 60%);
    }
    46% {
        background: linear-gradient(to bottom left, rgba(179, 55, 150, 0.459), #1530E1 60%);
    }
    48% {
        background: linear-gradient(to bottom left, rgba(182, 54, 148, 0.459), #1530E1 60%);
    }
    50% {
        background: linear-gradient(to bottom left, rgba(185, 53, 147, 0.459), #1530E1 60%);
    }

    /* Transition back down (from top to bottom) */
    52% {
        background: linear-gradient(to bottom left, rgba(188, 52, 146, 0.459), #1530E1 60%);
    }
    54% {
        background: linear-gradient(to bottom left, rgba(191, 51, 144, 0.459), #1530E1 60%);
    }
    56% {
        background: linear-gradient(to bottom left, rgba(194, 50, 143, 0.459), #1530E1 60%);
    }
    58% {
        background: linear-gradient(to bottom left, rgba(197, 49, 141, 0.459), #1530E1 60%);
    }
    60% {
        background: linear-gradient(to bottom left, rgba(200, 48, 140, 0.459), #1530E1 60%);
    }
    62% {
        background: linear-gradient(to bottom left, rgba(203, 47, 138, 0.459), #1530E1 60%);
    }
    64% {
        background: linear-gradient(to bottom left, rgba(206, 46, 137, 0.459), #1530E1 60%);
    }
    66% {
        background: linear-gradient(to bottom left, rgba(209, 45, 135, 0.459), #1530E1 60%);
    }
    68% {
        background: linear-gradient(to bottom left, rgba(212, 44, 134, 0.459), #1530E1 60%);
    }
    70% {
        background: linear-gradient(to bottom left, rgba(215, 43, 132, 0.459), #1530E1 60%);
    }
    72% {
        background: linear-gradient(to bottom left, rgba(218, 42, 131, 0.459), #1530E1 60%);
    }
    74% {
        background: linear-gradient(to bottom left, rgba(221, 41, 129, 0.459), #1530E1 60%);
    }
    76% {
        background: linear-gradient(to bottom left, rgba(224, 40, 128, 0.459), #1530E1 60%);
    }
    78% {
        background: linear-gradient(to bottom left, rgba(227, 39, 126, 0.459), #1530E1 60%);
    }
    80% {
        background: linear-gradient(to bottom left, rgba(230, 38, 125, 0.459), #1530E1 60%);
    }
    82% {
        background: linear-gradient(to bottom left, rgba(233, 37, 123, 0.459), #1530E1 60%);
    }
    84% {
        background: linear-gradient(to bottom left, rgba(236, 36, 122, 0.459), #1530E1 60%);
    }
    86% {
        background: linear-gradient(to bottom left, rgba(239, 35, 120, 0.459), #1530E1 60%);
    }
    88% {
        background: linear-gradient(to bottom left, rgba(242, 34, 119, 0.459), #1530E1 60%);
    }
    90% {
        background: linear-gradient(to bottom left, rgba(245, 33, 117, 0.459), #1530E1 60%);
    }
    92% {
        background: linear-gradient(to bottom left, rgba(248, 32, 116, 0.459), #1530E1 60%);
    }
    94% {
        background: linear-gradient(to bottom left, rgba(251, 31, 114, 0.459), #1530E1 60%);
    }
    96% {
        background: linear-gradient(to bottom left, rgba(254, 30, 113, 0.459), #1530E1 60%);
    }
    98% {
        background: linear-gradient(to bottom left, rgba(257, 29, 111, 0.459), #1530E1 60%);
    }
    100% {
        background: linear-gradient(to bottom left, rgba(210, 28, 116, 0.459), #1530E1 60%);
    }
}



















/* Image container --------------------------------------------*/
.hero-image-container {
    display: flex;
    justify-content: center;

    position: relative;
    height: 70%;
    width: 37%;
    overflow: show;
}

.main-image {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
    max-width: 650px;
    border-radius: 8px;
    z-index: 2;
}


.image-background {

    border-radius: 8px;
    position: absolute;
    margin-top: 70px;
    left: -100;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    box-shadow: rgba(0, 0, 0, 0.75) 0px 10px 50px -1.25px, rgba(123, 66, 255, 0.36) 0px 2.2px 11.4px -0.8px, rgba(123, 66, 255, 0.28) 0px 0.6px 3px -0.4px, rgba(255, 255, 255, 0.15) 0px 0px 0px 1.5px;
}

/* ----------------------------------------- */

.hero-text-container {
    flex: 1;
    padding: 2px;
    border-radius: 8px;
    margin-right: 1px;
    width: 60%;
    z-index: 2;

}

.hero-text-container h1 {
    line-height: 1.2;
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
    z-index: 2;
}

.hero-text-container p {
    font-size: 1em;
    margin-bottom: 10px;
    text-align: left;
    color: #ffffff;
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    margin: 0;
}




/* Fixed Navbar Styles */
.navbar {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    z-index: 10;
    border-bottom: #3333332a solid 1px;
    background: linear-gradient(to bottom right, #1530e15b 10%,  rgba(123, 66, 255, 0.185) );
}

.inside-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 30%;
}

.navbar .logo {
    max-width: 150px;
}

.navbar .menu {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

.navbar .menu li {
    margin-right: 40px;
}

.navbar .menu li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: lighter;
    font-size: 1.2em;
}

.navbar .menu li a:hover {
    color: #f4a261;
}

.navbar .contact-btn {
    padding: 10px 20px;
    background-color: #A37500;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

.navbar .contact-btn:hover {
    background-color: #e76f51;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 30vh;
    }

    .text-container {
        margin-right: 0;
        text-align: left;
    }

    .text-container h1 {
        font-size: 2.5em;
    }

    .text-container h2 {
        font-size: 1.2em;
    }

    .cta-button {
        font-size: 1em;
    }

    .hero-image-container {
        display: none;
    }
}
