/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}

/* THEME COLORS */
:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --box: rgba(240, 240, 240, 0.85);
    --accent: #16c47f;  /* Light mode green */
}

/* DARK MODE */
.dark {
    --bg: #050505;
    --text: #eaffef;
    --box: rgba(25, 25, 25, 0.75);
    --accent: #39ff93; /* Neon green */
}

/* MATRIX CANVAS */
#matrix {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: var(--bg);
}

/* BACKGROUND OVERLAY DARK SHADOW */
body {
    background: var(--bg);
    color: var(--text);
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--box);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    font-size: 18px;
    color: var(--text);
    position: relative;
}

nav a span::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: -3px;
    left: 0;
    transition: 0.3s;
}

nav a:hover span::after {
    width: 100%;
}

.theme-toggle {
    cursor: pointer;
    font-size: 26px;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* UNIVERSAL SECTION */
.section {
    min-height: calc(100vh - 80px);
    padding: 120px 50px 50px;
    position: relative;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    max-width: 900px;
}

.btn {
    background: var(--accent);
    padding: 12px 25px;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
}

/* SECTION TITLES */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent);
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--box);
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    transition: 0.3s;
}

.price {
    color: var(--accent);
    font-size: 28px;
    margin-top: 10px;
}

/* ABOUT + CAREER BOX */
.about-box {
    max-width: 800px;
    margin: auto;
    background: var(--box);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(8px);
}

/* CONTACT FORM */
#contact {
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    padding: 30px;
    background: var(--box);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
}

.contact-form button {
    background: var(--accent);
    color: #000;
    padding: 15px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: var(--box);
    backdrop-filter: blur(6px);
    margin-top: 40px;
}

/* ANIMATIONS */
.animate-up {
    animation: moveUp 1s ease-in-out;
}
@keyframes moveUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* RESPONSIVE */
@media(max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: var(--box);
        position: absolute;
        right: 20px;
        top: 80px;
        padding: 15px;
        border-radius: 10px;
    }

    nav.show { display: flex; }

    .menu-toggle { display: block; }
}


ul{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-top:20px;
}
li>span{
    color:#39ff93;
    padding-right:10px;
}

p{
    line-height:1.6;
}

.dbtn{
    background-color:blue;
    color:white;
    margin-left:10px;
}




/* =========================
   RESPONSIVE TYPOGRAPHY
========================= */
html {
    font-size: 16px;
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
}

/* =========================
   SECTION SPACING
========================= */
@media (max-width: 768px) {
    .section {
        padding: 100px 20px 40px;
        min-height: auto;
    }
}

/* =========================
   HEADER & NAV
========================= */
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .logo {
        font-size: 22px;
    }

    nav a {
        font-size: 16px;
        padding: 8px 0;
    }
}

/* =========================
   HERO SECTION
========================= */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 100%;
    }

    .features p {
        font-size: 15px;
    }

    .btn {
        display: inline-block;
        margin-bottom: 10px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .dbtn {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

/* =========================
   SERVICES CARDS
========================= */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .price {
        font-size: 22px;
    }

    .card h3 {
        font-size: 18px;
    }
}

/* =========================
   ABOUT / CAREER BOX
========================= */
@media (max-width: 768px) {
    .about-box {
        padding: 20px;
        font-size: 15px;
    }
}

/* =========================
   CONTACT FORM
========================= */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
        gap: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
    }

    .contact-form button {
        padding: 12px;
        font-size: 14px;
    }
}

/* =========================
   FOOTER
========================= */
@media (max-width: 480px) {
    footer {
        font-size: 13px;
        padding: 15px;
    }
}
