.hero {
    position: relative;
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
    color: white;
    background-color: black;
    background-size: cover;
    background-position: center;
}

#home {
    margin-top: -2%;
    height: 105%;
    background: black url('../images/5.png') repeat center center;
    background-size: cover;
}

#docs {
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#plans {
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: black url('../images/5.png') repeat center center;
    background-size: cover;
}

#contact_us {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 5% 10%;
}

#features {
    margin: 0;
    display: grid;
    justify-content: center;
    align-items: center;
    height: auto;
}

#agents {
    margin: 0;
    display: flex;
    align-items: center;
    height: auto;
    background: black url('../images/5.png') repeat center center;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: white;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active {
    color: grey;
    border-bottom: 1px solid grey;
}

nav {
    position: fixed;
}

.gradient-text {
    background: linear-gradient(45deg, #00F0FF, #FF1CF7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-border-btn {
    position: relative;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: black;
    border: none;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
}

.gradient-border-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00F0FF, #FF1CF7);
    z-index: -1;
    border-radius: 8px;
}

.gradient-border-btn:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: black;
    z-index: -1;
    border-radius: 6px;
}

.gradient-border-btn:hover {
    color: white;
}

.gradient-card {
    background: black;
    border: 2px solid;
    border-radius: 25px;
    border-color: gray;
    padding: 20px 30px;
    width: 350px;
    color: white;
    text-align: center;
    margin: 2%;
    min-height: 250px;
}

.gradient-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.gradient-card .line {
    height: 1px;
    background-color: #666;
    margin: 10px 0;
}

.gradient-card .item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.gradient-card .item span {
    font-size: 16px;
}

.gradient-card .item span.highlight {
    color: #00F0FF;
}

.gradient-card .footer {
    margin-top: 20px;
    border-top: 1px solid #666;
    padding-top: 10px;
}

.scrollable-div {
    max-height: 70vh;
    margin-left: 5%;
    width: 90%;
    overflow-y: visible;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: black;
}

/* Main Container */
.container {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-top: 10%;
    position: relative;
    text-align: center;
    justify-content: center;
    align-items: center;
}

/* Individual Phase Cards */
.phase {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: left;
    padding: 20px 20px 20px 50px;
}

/* Phase Header */
.phase-header {
    background: rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.phase-header span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Full-width container */
.container-agents {
    margin-top: 2%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-ul {
    width: 54%;
    display: inline-flex;
    flex-direction: column;
    margin-left: 16%;
}

.parent-container {
    display: flex;
    flex-wrap: wrap; /* Ensures elements don't get pushed off-screen */
    justify-content: center; /* Keeps the button centered */
    align-items: center;
    overflow: visible !important;
}

/* Left and right rows */
.row {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 8px;
    width: 100%;
}

/* Position left and right */
.left {
    margin-left: 10%;
    align-self: flex-start;
    text-align: left;
}

.right {
    margin-right: 10%;
    align-self: flex-end;
    text-align: right;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
}

form {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background: linear-gradient(45deg, #00F0FF, #FF1CF7);
}

.logo {
    margin-top: 6%;
    height: 30%;
    width: 15%;
}

.font {
    font-size: 80px;
}

.scroll-to-home-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #00F0FF, #FF1CF7);
    color: white;
    padding: 8px;
    border: none;
    border-radius: 35%;
    cursor: pointer;
    font-size: 24px;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-home-btn:hover {
    background-color: #FF3B3B;
}

.scroll-to-home-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.enroll-button {
    position: relative !important;
    display: block !important;
    z-index: 10;
    visibility: visible;
    opacity: 1;
}

#agents {
    text-align: center;
    padding: 40px 0;
}

.container-agents {
    max-width: 800px;
    margin: auto;
}

.container-ul {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.gradient-text {
    font-size: 24px;
    text-transform: uppercase;
}

.carousel-inner {
    display: flex;
    align-items: center;
    min-height: 300px; /* Ensures consistent height */
    justify-content: space-between;
    align-content: stretch;
}

/* Carousel Control Arrows */
.carousel-control-prev,
.carousel-control-next {
    filter: invert(1); /* Keeps the arrows white */
}

/* Hover effect: Change arrow color on hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    filter: invert(0) sepia(1) saturate(5) hue-rotate(200deg); /* Example: Custom color filter */
}


.carousel-control-prev,
.carousel-control-next {
    filter: invert(1); /* Makes arrows visible on dark background */
}

@media screen and (max-height: 500px) {
    .enroll-button {
        display: block;
        visibility: visible;
        opacity: 1;
        margin-bottom: 10px; /* Adjust spacing if needed */
    }
}

@media screen and (max-height: 500px) and (min-width: 768px) {
    .enroll-button {
        display: block;
        position: relative;
        bottom: 0;
    }
}

/* Navbar */
@media screen and (max-width: 1100px) {
    nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: black;
        padding: 10px;
    }

    .row {
        width: 100%;
        max-width: 90%;
    }

    .container {
        grid-template-columns: 1fr;
        padding: 0 10px;
        margin-right: 2%;
        margin-left: 1%;
    }

    .container-agents {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .container-agents .coming-soon,
    .gradient-card .item span {
        font-size: 14px;
    }

    .container-agents li,
    .phase h3,
    #home .lead,
    #plans .gradient-card span {
        font-size: 10px;
    }

    #plans {
        margin: 5px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero {
        height: auto;
        padding: 20px 10px;
    }

    .hero h3 {
        font-size: 11px;
    }

    #home .logo {
        width: 150px;
    }

    #home .font,
    .gradient-card h2 {
        font-size: 20px;
        text-align: center;
    }

    #home .display-4 {
        font-size: 20px;
        text-align: center;
    }

    #home .enroll-btn,
    #home .btn-outline-light {
        width: 50%;
        font-size: 10px;
        text-align: center;
        margin: 0 auto;
    }

    .container-ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .container-ul ul {
        align-self: center !important;
        text-align: center !important;
    }

    .phase {
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }

    .phase-header {
        font-size: 15px;
    }

    #contact_us,
    #agents {
        display: flex;
        flex-direction: column;
        padding: 0%;
        gap: 0%;
    }

    /*#contact_us .contact-left,*/
    /*.contact-left {*/
    /*    width: 100%;*/
    /*    padding: 15px;*/
    /*    box-sizing: border-box;*/
    /*}*/
    /*#contact_us .contact-right,*/
    /*.contact-right {*/
    /*    width: 100%;*/
    /*    padding: 15px;*/
    /*    box-sizing: border-box;*/
    /*    margin-top: -85%;*/
    /*}*/
    .scrollable-div {
        max-height: 60vh;
        margin: 0;
        width: 100%;
        font-size: 14px;
    }

    button {
        font-size: 16px;
        padding: 12px 25px;
    }

    .gradient-border-btn {
        width: 100%;
        padding: 15px 0;
    }

    .scroll-to-home-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    form input,
    form textarea {
        width: 100%;
        padding: 12px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .navbar-nav .nav-link.active {
        border-bottom: 2px solid gray;
    }

    .gradient-card {
        opacity: 1;
        transform: none;
        width: 100%;
        margin-bottom: 6%;
        padding: 15px;
    }

    .gradient-card .line {
        margin: 10px 0;
    }

    .gradient-card .footer {
        margin-top: 10px;
    }
}

@media screen and (max-width: 1400px) {
    #agents {
        margin: -1px;
        display: flex;
        align-items: center;
        height: auto;
        background: black url('../images/5.png') repeat center center;
        background-size: cover;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #contact_us .contact-left,
    #contact_us .contact-right {
        width: 100%;
        margin-bottom: 5%;
    }

    .scrollable-div {
        max-height: 70vh;
        margin-left: 5%;
        width: 90%;
        overflow-y: auto;
        background-color: #f9f9f9;
    }

    .scroll-to-home-btn {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background: linear-gradient(45deg, #00F0FF, #FF1CF7);
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 50%;
        font-size: 30px;
        z-index: 1000;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .scroll-to-home-btn.show {
        opacity: 1;
        visibility: visible;
    }

    /* Scroll to top button when user is scrolling */
    .scroll-to-home-btn svg {
        width: 30px;
        height: 30px;
        fill: white;
    }

    #home .lead {
        font-size: 18px;
        margin-top: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .phase {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .phase-header {
        font-size: 16px;
    }

    .gradient-card .item span {
        font-size: 14px;
    }

    .gradient-card h2 {
        font-size: 22px;
    }

    .gradient-border-btn {
        font-size: 16px;
        width: 100%;
        padding: 15px;
    }

    .scrollable-div {
        max-height: 50vh;
        margin-left: 10%;
        margin-right: 10%;
    }

    .container-ul {
        flex-direction: column;
        gap: 20px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .gradient-card {
        width: 100%;
    }

    .container-agents {
        padding: 10px;
    }

    .scroll-to-home-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .scrollable-div .phase .phase-header {
        font-size: 16px;
    }
}

@media screen and (max-width: 800px) {
    .navbar-nav .nav-link {
        font-size: 12px;
    }

    .phase {
        padding: 15px;
        text-align: center;
    }

    .phase-header {
        font-size: 14px;
    }

    .gradient-card {
        padding: 10px;
        width: 100%;
    }

    .container-agents {
        padding: 5%;
    }

    .container-agents li {
        font-size: 14px;
    }

    .container {
        grid-template-columns: 1fr;
        margin: 0 5%;
    }

    .hero h3 {
        font-size: 15px;
    }

    .gradient-border-btn {
        font-size: 14px;
    }

    .scroll-to-home-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .scroll-to-home-btn svg {
        width: 22px;
        height: 22px;
    }

    .gradient-card .line {
        margin: 10px 0;
    }
}

@media screen and (max-width: 500px) {
    .container {
        grid-template-columns: 1fr;
    }

    .phase {
        padding: 15px;
        width: 100%;
    }

    .gradient-card h2 {
        font-size: 18px;
    }

    .phase-header {
        font-size: 12px;
    }

    .scroll-to-home-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .scroll-to-home-btn svg {
        width: 18px;
        height: 18px;
    }

    .gradient-border-btn {
        font-size: 14px;
        width: 100%;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
    }

    .scrollable-div {
        max-height: 50vh;
        margin-left: 10%;
    }

    .container-ul {
        flex-direction: column;
        gap: 10px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }
}