html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #111827;
}

body {
    overscroll-behavior: none;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    align-items: center;
    padding: 20px 5vw;
    box-sizing: border-box;
    background: transparent;
    transition: padding 0.3s ease, opacity 0.3s ease;
}

.top-header.scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
}

.top-header-nav{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    background: rgba(17, 24, 39, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 15px 40px;
    transition: padding 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.top-header.scrolled .top-header-nav {
    width: 72%;
    padding: 10px 28px;
    border-radius: 22px;
}

footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    color: #fff;
}

.brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #fff;
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-cta {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.slides {
    height: 100vh;
    overflow: hidden;
    position: relative;
    padding-top: 80px;
    box-sizing: border-box;
}

.panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    z-index: 1;
}

.panel h1,
.panel h2 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 8rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.whatwemake {
    display: inline-block;
    min-width: 7ch;
    color: #7dd3fc;
    text-shadow: 0 0 20px rgba(125, 211, 252, 0.35);
}

.first {
    background: #111827;
    flex-direction: column;
    gap: 1.5rem;
}

.green { background: #4caf50; }
.blue { background: #2196f3; }
.purple { background: #9c27b0; }
.orange { background: #ff9800; }

.green-text { color: #4caf50; }
.blue-text { color: #2196f3; }
.light-blue-text { color: #7dd3fc; }
.purple-text { color: #9c27b0; }
.orange-text { color: #ff9800; }

.home-text-container{
    width: 80%;
    margin: 0 auto;
    background-color: #000000c2;
    padding: 30px;
    border-radius: 35px;
    line-height: 1.5;
    max-height: 65%;
    overflow: hidden;
}

.home-heading{
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.home-text{
    font-size: 1.5rem;
    font-weight: 600;
}

.heading-underline{
    width: 400px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
    margin: 10px 0 30px 0;
}

.contact-us-div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.contact-us-div iframe {
    width: min(100%, 640px);
    height: min(70vh, 691px);
    max-height: 100%;
    border: 0;
    border-radius: 18px;
    display: block;
    background: #fff;
}

.contact-us-div div:first-child{
    text-align: center !important;
}

@media (max-width: 768px) {
    html,
    body {
        overflow: visible;
        overscroll-behavior: auto;
    }

    .slides {
        height: auto;
        overflow: visible;
        padding-top: 90px;
    }

    .panel {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        min-height: 90vh;
        z-index: 1;
    }

    .header-cta {
        display: none;
    }

    .brand {
        font-size: 0.8rem;
        line-height: 20px;
    }
}