
html {
    scroll-behavior: smooth;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0202C5 0%, #000022 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(2, 2, 197, 0.4);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #0303e0 0%, #000044 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(2, 2, 197, 0.5);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* * {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0
}

body {
    background: #f6f7fb;
    color: #1f2933
}

a {
    text-decoration: none;
    color: inherit
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #000022;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
    z-index: 100
}

.logo {
    font-weight: 700;
    font-size: 20px
}

nav a {
    margin-left: 24px;
    font-weight: 600
}

.hero {
    flex: 1;
    background: linear-gradient(180deg, #000022 0%, #0202C5 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem;
    color: white;
}


.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 16px
}

.hero p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 24px
}

.benson-image {
    position: absolute;
    width: 178px;
    height: 159px;
    top: 150px;
    left: 110px;
    opacity: 1;
}

.benson-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.book-image {
    position: absolute;
    width: 132px;
    height: 53px;
    top: 280px;
    left: 1109px;
    opacity: 1;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pin-image {
    position: absolute;
    width: 53px;
    height: 48px;
    top: 100px;
    left: 912px;
    opacity: 1;
}

.pin-image img {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.spec-image {
    position: absolute;
    width: 106px;
    height: 44px;
    top: 300px;
    left: 355px;
    opacity: 1;
}

.spec-image img {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.microscope-image {
    position: absolute;
    width: 88px;
    height: 172px;
    top: 500px;
    left: 1015px;
    opacity: 1;
}

.microscope-image img {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.bottle-image {
    position: absolute;
    width: 83px;
    height: 142px;
    top: 450px;
    left: 200.46px;
    transform: rotate(-23.23deg);
    opacity: 1;
}

.bottle-image img {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.brand-content {
    text-align: center;
    max-width: 450px;
    flex: 0.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-content h1 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.brand-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.9;
}


.lecture-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: flex-end;
}

.lecture-image img {
    width: 400px;
    object-fit: contain;
    opacity: 0.9;
}

.search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.search-box {
    width: 346px;
    height: 30px;
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
 
    background: #fff;
}

 
.search-box input {
    flex: 1;
    height: 30px;
    border: none;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

 
.search-box button {
    height: 30px;
    width: 30px;
    border: none;
    background: #6e6ec5;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

 
.search-box button:hover {
    background: #43a047;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 28px
}

.stat {
    font-size: 20px;
    font-weight: 700
}

section {
    padding: 80px 8%
}

.center {
    text-align: center
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: -20px -20px 16px -20px;
}

.lesson-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-top: 12px
}

.price {
    font-weight: 700;
    color: #4f46e5;
    margin: 8px 0
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    background: #4f46e5;
    color: white;
    border-radius: 8px;
    margin-top: 12px
}

.quote {
    max-width: 720px;
    margin: 40px auto;
    font-style: italic;
    color: #444
}

.faq .card {
    margin-bottom: 16px
}

.newsletter {
    background: #4f46e5;
    color: white;
    padding: 60px 8%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center
}

.newsletter input {
    padding: 12px;
    border: 0;
    border-radius: 8px 0 0 8px;
    width: 320px
}

.newsletter button {
    padding: 12px 18px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: #0f172a;
    color: white;
    cursor: pointer
}

footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 60px 8%
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px
}

footer h4 {
    margin-bottom: 12px
}

footer a {
    display: block;
    margin: 6px 0;
    color: #cbd5e1
}

quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

quote div {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

quote div div {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


quote img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

@media(max-width:900px) {
    header {
        flex-wrap: wrap;
        padding: 15px 5%;
        gap: 15px
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px !important
    }

    nav a {
        margin-left: 0
    }

    .hero {
        padding: 2rem 1rem
    }

    .hero h1 {
        font-size: 32px
    }

    .brand-content {
        max-width: 100%
    }

    .lecture-image img {
        width: 280px
    }

    .search-box {
        width: 100%;
        max-width: 346px
    }

    .benson-image,
    .book-image,
    .pin-image,
    .spec-image,
    .microscope-image,
    .bottle-image {
        display: none
    }

    section {
        padding: 40px 5%
    }

    .newsletter {
        grid-template-columns: 1fr;
        text-align: center
    }

    .newsletter input {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 10px
    }

    .newsletter button {
        width: 100%;
        border-radius: 8px
    }

    .stats {
        gap: 20px;
        justify-content: center
    }
} */
/* dddddddddddddddddddd */

