@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --color-lightest: #E9F5DB;   /* Lightest shade */
    --color-light: #CFEBB9;      /* Light green */
    --color-medium: #B6C99A;     /* Medium green */
    --color-dark: #97A97C;       /* Dark sage */
    --color-darkest: #728156;    /* Darkest green */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    background-color: #97A97C;  /* Dark sage */
    color: var(--color-lightest);
    min-height: 100vh;
    line-height: 1.5;
}

/* GRADIENT AND LAYER */
.image-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px #97A97C;
    rotate: -30deg;
    z-index: -1;
}

/* CONTAINER */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

/* HEADER */
header {
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to right, #2D3B24, #1E2A18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 400;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -5%;
    z-index: 900;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color .2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    background-color: var(--color-mint);
    height: 2px;
    width: 0%;
    left: 0;
    bottom: -1px;
    transition: all .5s;
}

nav a:hover::after {
    width: 100%;
}

.btn-signing {
    background-color: var(--color-dark);
    color: var(--color-lightest);
    padding: .8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color .2s ease;
    cursor: pointer;
    z-index: 1000;
}

.btn-signing:hover {
    background-color: var(--color-medium);
}

/* MAIN CONTENT */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 9rem;
    margin-bottom: 1rem;
}

.content {
    max-width: 40rem;
    margin-left: 25%;
    max-width: 40%;
    position: relative;
    z-index: 2;
}

.tag-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, var(--color-lightest), var(--color-light), var(--color-medium));
    background-size: 200%;
    animation: animationGradient 3s ease infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    margin-top: 50px;
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag-box {
    position: relative;
    inset: 3px 3px 3px 3px;
    background-color: #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s ease;
    cursor: pointer;
}

.tag {
    transition: all .2s;
    color: #000000;
}

.tag-box .tag:hover {
    color: #000;
}

.tag {
    color: #000000;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}

.content h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .1rem;
    margin: 2rem 0;
    line-height: 1.2;
    color: #000000;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    margin-top: 7rem;
}

.description {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 1.2rem 0;
    color: black;
    letter-spacing: 0.5px;
}

.description span {
    display: inline-block;
    margin-right: 8px;
}

.buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

/* Updated button styles to match the Admin button without hover effect */
.buttons .btn-get-started,
.buttons .btn-signing-main {
    padding: 0.8rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    background-color: #2D3B24 !important; /* Dark green color matching the Admin button */
    color: #FFFFFF !important; /* White text */
    border: none !important; /* Remove border to match the image */
    margin-right: 15px !important;
    display: inline-flex !important; /* Ensure consistent alignment with the arrow */
    align-items: center !important; /* Center the text and arrow vertically */
    justify-content: center !important; /* Center the text and arrow horizontally */
}

/* Add the arrow as a pseudo-element */
.buttons .btn-get-started::after,
.buttons .btn-signing-main::after {
    content: ">"; /* Arrow character */
    margin-left: 5px; /* Space between text and arrow */
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF; /* Match text color */
}

/* Remove hover and active effects */
.buttons .btn-get-started:hover,
.buttons .btn-signing-main:hover,
.buttons .btn-get-started:active,
.buttons .btn-signing-main:active,
.buttons .btn-get-started.active,
.buttons .btn-signing-main.active {
    background-color: #2D3B24 !important; /* Keep the dark green color */
    color: #FFFFFF !important;
}

.buttons .btn-get-started:hover::after,
.buttons .btn-signing-main:hover::after,
.buttons .btn-get-started:active::after,
.buttons .btn-signing-main:active::after,
.buttons .btn-get-started.active::after,
.buttons .btn-signing-main.active::after {
    color: #FFFFFF !important; /* Ensure arrow color remains white */
}

/* Media query adjustments */
@media screen and (max-width: 700px) {
    .buttons .btn-get-started,
    .buttons .btn-signing-main {
        font-size: .8rem !important;
        padding: .8rem 1.2rem !important;
    }
}

/* 3D ROBOT - SPLINE */
.robot-3d {
    position: absolute;
    top: 20%;
    right: 25%;
    width: 600px;
    height: 600px;
    z-index: 1;
}

/* RESPONSIVE CSS */
@media screen and (max-width: 1300px) {
    header {
        padding: 1rem .5rem;
    }

    .content {
        margin-top: 85%;
        margin-left: 20%;
        max-width: 45%;
    }

    .robot-3d {
        scale: 0.8;
        top: 15%;
        right: 2%;
        width: 500px;
        height: 500px;
    }
}

@media screen and (max-width: 700px) {
    header {
        padding: 1rem 0.1rem;
    }

    nav {
        display: none;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .btn-signing {
        padding: .5rem 1rem;
    }

    .content {
        margin-top: 25rem;
        margin-left: 10%;
        max-width: 80%;
    }

    main {
        margin-top: 2rem;
    }

    .robot-3d {
        scale: 0.5;
        top: -25%;
        right: 0;
    }

    .content {
        max-width: 30rem;
        margin-left: 0;
    }

    .tag-box {
        width: 12rem;
    }

    .content h1 {
        font-size: 2rem;
    }

    .description {
        font-size: .8rem;
    }

    .btn-get-started {
        font-size: .8rem;
        padding: .8rem 1.2rem;
    }

    .btn-signing-main {
        font-size: .8rem;
        padding: 0.9rem 2rem;
    }

    .logo-container {
        max-width: 150px;
        margin-left: 60px;
    }

    .logo-img {
        height: 45px;
    }
}

@media screen and (max-width: 768px) {
    .content {
        margin-left: 10%;
        max-width: 80%;
    }

    .robot-3d {
        scale: 0.6;
        top: 10%;
        right: -10%;
        width: 400px;
        height: 400px;
    }
}

/* Header logo container */
.header-logo-container {
    background: rgba(233, 245, 219, 0.15);
    padding: 8px 20px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(233, 245, 219, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.header-logo-container:hover {
    background: rgba(233, 245, 219, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Logo styles */
.logo-container {
    max-width: 200px;
    margin-left: 120px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: auto;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(233, 245, 219, 0.3));
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .btn-get-started,
    .btn-signing-main {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .content h1 {
        margin-top: 12rem;
    }
}

@media screen and (max-width: 480px) {
    .content {
        margin-left: 5%;
        max-width: 90%;
    }

    .robot-3d {
        scale: 0.4;
        top: 5%;
        right: -15%;
        width: 300px;
        height: 300px;
    }
}

/* Update for larger screens */
@media screen and (min-width: 1300px) {
    .content h1 {
        margin-top: 8rem;
    }
}

.curved-shape {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 70%;
    background: linear-gradient(
        45deg,
        var(--color-darkest),
        var(--color-dark),
        var(--color-medium)
    );
    clip-path: path('M 0 100 Q 50 0 100 100 L 100 0 L 0 0 Z');
    opacity: 0.6;
    z-index: 0;
}

.curved-background {
    position: fixed;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(
        135deg,
        var(--color-lightest) 0%,
        var(--color-light) 35%,
        var(--color-medium) 100%
    );
    opacity: 0.3;
}

@media screen and (max-width: 768px) {
    .curved-background {
        width: 100%;
        opacity: 0.2;
    }
}

@media screen and (max-width: 768px) {
    .curved-shape {
        width: 100%;
        height: 50%;
    }
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./background4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.background-image-second {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('./ab.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: -1;
}

@media screen and (max-width: 768px) {
    .background-image-second {
        width: 100%;
        opacity: 0.4;
    }
}

.animate-text span {
    display: inline-block;
    margin-right: 10px;
}

.description span {
    display: inline-block;
    margin-right: 8px;
}

.buttons a {
    transform: none;
}

@media screen and (max-width: 768px) {
    .description {
        font-size: 1.2rem;
        margin: 1rem 0;
    }
    
    .description span {
        margin-right: 6px;
    }
}