/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html,
body {
    width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
    ::-webkit-scrollbar {
    display: none;
}
}

/* Slider Section */
.slider {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    display: flex;
    left: 0;
    top: 0;
    transition: 1s;
}

.slider .list .item {
    min-width: 100vw;
    height: 100vh;
}

.slider .list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .buttons {
    position: absolute;
    top: 45%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    color: white;
    font-weight: bold;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    border-radius: 20px;
    background-color: #fff;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}

/* Content Section */
.content {
    position: relative;
    z-index: 1;
}

.bgimg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('img/Main-pg-Main-Bg2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.text-box-container,
.card-container,
.footer {
    position: relative;
    z-index: 2;
}

/* <-------------------------------- HEADING ------------------------------------> */
/* text-box-container now sits BELOW the slider */
.text-box-container {
    width: 100%;
    /* let height grow naturally */
    margin-bottom: 20px;
    color: azure;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    /* generous padding but responsive below */
    text-align: center;
}

/* Remove absolute positioning */
/* the text-box itself remains centered and limited by max-width */
.text-box {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Layout of the top title area (logo + headings) */
.text-box-one {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.text-box .image img,
.brand-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
}

/* 
.text-box-two {
    width: auto; let content size itself
} */

.text-box .animate {
    opacity: 0;
    filter: blur(5px);
    transition: 1s;
}

.text-box.show-animate .animate {
    opacity: 1;
    filter: blur(0px);
    transition: 1s;
}

/* ------------------------------------------------------- */
.text-box-two .h1 {
    width: 15%;
    margin-left: 20px;
    transform: translateX(-600%);
}

.text-box-two .h2 {
    width: 33vw;
    transform: translateX(100%);
    /* margin-left: 200px; */
}

.text-box-two .h3 {
    /* margin-left: 400px; */
    transform: translateX(-120%);
    width: 45vw;
}

.text-box p {
    transform: translateY(100%);
}

.text-box.show-animate .animate {
    transform: translateX(0);
}

/* ------------------------------------------------------- */

.text-box img {
    width: 300px;
    height: 300px;
    transform: translateX(-100%);
    transition: 1s;
    opacity: 0;
    filter: blur(5px);

}

.text-box.show-animate img {
    transform: translateX(0);
    opacity: 1;
    filter: blur(0px);
}

.text-box h1 {
    font-size: 90px;
    line-height: 0.95;
    margin: 0;
}

.text-box p {
    font-size: 45px;
    margin: 30px 0 40px;
}

/* ------------------------------------------------------- */


/* Cards */
/* Remove fixed height and use CSS Grid for responsive columns */
.card-container {
    width: 100%;
    /* background-color: rgba(2, 24, 54, 0.358); */
    position: relative;
    padding: 30px 20px;
    gap: 30px;
    margin: 2% auto 3%;
    display: grid;
    justify-content: center;
    align-items: start;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    /* desktop default */
    grid-auto-rows: auto;
    max-width: 1400px;
    box-sizing: border-box;
}

.card-container .card {
    transform: translateX(-600%);
    transition-delay: calc(.1s * var(--i));
}

.card-container.show-animate .card {
    transform: translateX(0);
}

/* Card visual */
.card {
    background-image: url("img/Screenshot\ 2026-02-22\ 180720.png");
    background-position: top;
    background-repeat: no-repeat;
    /* background: rgba(59, 109, 137, 0.688); */
    /* backdrop-filter: blur(7px); */
    color: #fff;
    border-radius: 10px;
    width: 100%;
    /* max-width: 320px; */
    /* keeps the card from growing too big */
    height: auto;
    /* allow height to adapt with content */
    text-align: center;
    padding: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow .25s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card:hover {
    transform: scale(1.1);
    /* background-color: rgb(250, 248, 138); */
}


.card img {
    width: 100%;
    height: 150px;
    background: #ddd;
    /* Placeholder for card image */
    border-radius: 8px;
    transition: 0.5s;

}

.card img:hover {
    transform: scale(1.1);
}

.card h3 {
    margin: 15px 0 10px;
    font-size: 22px;
}

.card p {
    font-size: 16px;
    color: #eee9e9;
    line-height: 1.4;
    flex: 1;
    /* push button to bottom */
    margin-bottom: 12px;
}

/* .card button {
    margin-top: 20%;
    padding: 10px 39px;
    background-color: #116b9899;
    color: white;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
} */

.card a {
    text-decoration: none;
    /* color: white; */
    margin-top: 20%;
    padding: 10px 39px;
    /* background-color: #116b9899; */
    background-image: url("img/cta-btn-bg.png");
    background-position: center;
    /* background-repeat: no-repeat; */
    color: white;
    /* border: 3px solid rgb(187, 184, 10); */
    border-radius: 22px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s;
}

.card a:hover {
    background-position: unset;
}

/* <-------------------------- HERO SECTION --- 3D RENDERING SECTION --------------------------> */

.hero {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    margin: 150px 0;
}

/* MAIN BOX WITH BACKGROUND IMAGE */

.box {
    position: relative;
    /* width: calc(100% - 10px); */
    width: 100%;
    height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    /* Transparent border space */
    padding: 6px;

    background:
        url("img/blue-marble-texture-background.png") center/cover no-repeat;

    z-index: 1;
}


/* ================= GLOWING BORDER ================= */

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 6px;
    /* same as .box padding */

    background: conic-gradient(from var(--angle),
            #f8fc01,
            #8a8302f3,
            #e3f429,
            #8a8302f3,
            #f8fc01);

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}

/* Blur glow layer */
.box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 6px;

    background: conic-gradient(from var(--angle),
            #f8fc01,
            #8a8302f3,
            #e3f429,
            #8a8302f3,
            #f8fc01);

    filter: blur(20px);

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -2;
}

/* Animate on hover */
.box:hover::before,
.box:hover::after {
    animation: glowing-border 3.5s linear infinite;
}

/* ---------------------------END----------------------------------------- */

/* CUSTOM PROPERTY */

@property --angle {
    syntax: "<angle>";
    initial-value: 53deg;
    inherits: false;
}

@keyframes glowing-border {
    from {
        --angle: 53deg;
    }

    to {
        --angle: 413deg;
    }
}

@keyframes blur-effect {
    from {
        filter: blur(10px);
    }

    to {
        filter: blur(9px);
    }
}

/* HERO CONTENT LAYOUT */

.hero-content {
    width: 100%;
    height: 100%;
    /* bottom: -42px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}



/* LEFT TEXT */

.left {
    flex: 1;
    margin: 0 10%;
}

.left h1 {
    font-size: 64px;
    font-weight: 700;
    text-shadow: 7px 5px 9px rgb(0, 0, 0);
}

.left h2 {
    font-size: 36px;
    font-weight: 500;
    margin-top: 10px;
    text-shadow: 4px 3px 3px rgb(0, 0, 0);
}


/* BUTTON */

.cta-btn {
    margin-top: 40px;
    padding: 14px 56px;

    min-width: 220px;
    font-size: 20px;
    text-shadow: 1px 1px 3px rgb(0, 0, 0);
    border: none;
    border-radius: 40px;

    /* background: #1c9ed9; */
    background-image: url(img/cta-btn-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    cursor: pointer;
    transition: 0.6s;
}

.cta-btn:hover {
    /* background: #1483b3; */
    background: #185d7b4c;
    background-image: url(img/cta-btn-bg.png);
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    /* background-blend-mode: darken; */
    color: #ffff;
}

/* RIGHT IMAGE SPACE */

.right {
    /* flex: 1;
    display: flex;
    justify-content: flex-end; */
    position: static;

}

.image-placeholder {
    position: absolute;
    bottom: -6px;
    right: 0px;
    z-index: 5;
}


.image-placeholder img {

    width: clamp(220px, 28vw, 550px);
    height: auto;
    filter: drop-shadow(-4px -4px 12px black);
    /* border: 2px dashed rgba(255, 255, 255, 0.6); */
}




/* <--------------------------- Footer styling  ---------------------------> */
.footer {
    /* remove margin-top:8% and large fixed padding that caused layout issues */
    margin-top: 0;
    background: rgba(43, 156, 190, 0.729);
    backdrop-filter: blur(15px);
    color: #fff;
    padding: 24px 30px;
    text-align: center;
    position: relative;
    /* keep in normal flow */
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: inherit;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 150px;
    height: auto;
    max-width: 150px;
}

.brand-name {
    font-size: 54px;
    font-weight: bold;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column {
    text-align: left;
    min-width: 140px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 20px;
    height: 20px;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: #fff;
    margin: 18px auto;
    max-width: 1200px;
}

.footer-bottom {
    font-size: 14px;
    color: #efefef;
}


/* ----------------- RESPONSIVE BREAKPOINTS (PHONE / TABLET / DESKTOP) ----------------- */
/* PHONE: max-width: 600px */

@media (max-width: 600px) {

    .slider {
        height: 100vh;
        margin-bottom: 50px;
    }


    /* TEXT BOX: scale down everything */
    .text-box {
        margin: auto;
    }

    .text-box-container {
        padding: 30px 12px;
    }

    .text-box h1 {
        font-size: 28px;
        line-height: 1.05;
    }

    .text-box p {
        font-size: 16px;
        margin: 16px 0 22px;
    }

    .text-box .image img {
        max-width: 140px;
    }

    /* CARDS: single column */
    .card-container {
        width: 85%;
        grid-template-columns: 1fr;
        padding: 20px 12px;
        gap: 18px;
    }

    .card {
        max-width: 100%;
        padding: 16px;
    }

    .card img {
        height: 160px;
    }

    /* FOOTER: stacked and compact */
    .footer {
        padding: 20px 14px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand-name {
        font-size: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .footer-column {
        min-width: unset;
    }
}

/* TABLET: 601px - 1175px */
@media (min-width: 601px) and (max-width: 1175px) {
    .slider {
        height: 100vh;
        margin-bottom: 50px;
    }

    /* TEXT BOX: medium sizes */
    .text-box-container {
        padding: 48px 20px;
    }

    .text-box h1 {
        font-size: 48px;
    }

    .text-box p {
        font-size: 22px;
    }

    .text-box .image img {
        max-width: 220px;
    }

    /* CARDS: two columns on tablet */
    .card-container {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 22px;
        padding: 28px 18px;
    }

    .card {
        max-width: 80%;
        margin: 0 39px;
    }

    /* FOOTER: two-column-ish layout, wrap as needed */
    .footer {
        padding: 22px 24px;
    }

    .footer-container {
        justify-content: space-between;
        align-items: flex-start;
    }

    .brand-name {
        font-size: 28px;
    }

    .footer-links {
        gap: 30px;
    }
}