html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    color: #e0e0e0;
}

.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: rgba(30, 30, 30, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

.nav-list li {
    margin: 0 5px;
}


.nav-list a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-list a:hover {
    background-color: #7300ff;
}

.nav-list li::marker {
    content: none;
}

.herosection {
    margin-top: 80px;
    text-align: center;
    align-content: center;
    padding: 100px 20px;
    height: 70lvh;
}

.herosection h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.herosection h3 {
    font-size: 1.5rem;
}

.cards-section {
    padding: 60px 20px;
    text-align: center;
}

.cards-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.scroll-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-behavior: smooth;
}

.cards::-webkit-scrollbar {
    height: 8px;
}

.cards::-webkit-scrollbar-thumb {
    background-color: #7300ff;
    border-radius: 4px;
}

.card {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.55);
    flex: 0 0 calc(25% - 20px);
    min-width: 250px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.card p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.view-btn {
    background-color: crimson;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.view-btn:hover {
    background-color: #b20040;
}

.scroll-btn {
    background-color: #7300ff;
    border: none;
    min-width: 40px;
    min-height: 40px;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background-color: #5c00cc;
}

.left-btn {
    margin-right: 10px;
}

.right-btn {
    margin-left: 10px;
}

.footer {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content p {
    margin: 0;
    font-size: 1rem;
}

.footer-content .social-icons a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-content .social-icons a:hover {
    color: #7300ff;
}

.notfound {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.notfound h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.notfound h2 {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.aboutsection {
    text-align: center;
    font-size: 1.2em;
}

.aboutsection h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.contact {
    padding-top: 10%;
    text-align: center;
    height: 75vh;
}

.contact h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.contact textarea {
    background-color: #1e1e1e;
    color: #ffffff;
    resize: none;
    border-radius: 5px;
    border-color: #1e1e1e;
    border-width: 5px;
    border-style: solid;
    height: 200px;
    width: 30%;
    min-width: 350px;
    transition-duration: 1s;
    outline: none;
}

.contact textarea:hover {
    border-color: #3d3d3d;
    border-width: 5px;
    border-style: solid;
    height: 200px;
    width: 30%;
    min-width: 350px;
    transition-duration: 1s;
}

.contact button {
    margin-top: 10px;
    background-color: crimson;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #b20040;
}

@media screen and (max-width: 768px) {
    .herosection h1 {
        font-size: 2.5rem;
    }

    .herosection h3 {
        font-size: 1.2rem;
    }

    .card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-list a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .card {
        flex: 0 0 calc(100% - 20px);
    }
}