/* ===========================
   GOOGLE FONT
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   ROOT VARIABLES
=========================== */

:root {

    --primary: #7B2FF7;
    --secondary: #5E17EB;
    --accent: #A855F7;

    --bg: #050510;
    --bg-light: #0D1020;

    --card: #111125;

    --white: #ffffff;

    --text: #d7d9e8;

    --muted: #9ca3af;

    --border: rgba(255, 255, 255, .08);

    --shadow: 0 20px 60px rgba(0, 0, 0, .45);

    --radius: 20px;

    --transition: .35s ease;

}

/* ===========================
RESET
=========================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Plus Jakarta Sans', sans-serif;

    background: var(--bg);

    color: var(--white);

    overflow-x: hidden;

}

/* ===========================
SCROLLBAR
=========================== */

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #090913;

}

::-webkit-scrollbar-thumb {

    background: linear-gradient(var(--primary), var(--accent));

    border-radius: 100px;

}

/* ===========================
SELECTION
=========================== */

::selection {

    background: var(--primary);

    color: white;

}

/* ===========================
CONTAINER
=========================== */

.container {

    width: min(1200px, 92%);

    margin: auto;

}

/* ===========================
SECTION
=========================== */

.section {

    padding: 120px 0;

}

/* ===========================
HEADINGS
=========================== */

.section-heading {

    text-align: center;

    margin-bottom: 70px;

}

.section-heading h5 {

    color: var(--accent);

    letter-spacing: 3px;

    font-size: 14px;

    margin-bottom: 15px;

    text-transform: uppercase;

}

.section-heading h2 {

    font-size: 48px;

    font-weight: 800;

    margin-bottom: 20px;

}

.section-heading p {

    max-width: 700px;

    margin: auto;

    color: var(--muted);

    line-height: 1.8;

}

/* ===========================
BUTTONS
=========================== */

.btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 16px 34px;

    border-radius: 50px;

    text-decoration: none;

    background: linear-gradient(135deg, var(--primary), var(--accent));

    color: white;

    font-weight: 700;

    transition: var(--transition);

    border: none;

    cursor: pointer;

    box-shadow: 0 15px 40px rgba(123, 47, 247, .35);

}

.btn-primary:hover {

    transform: translateY(-5px);

    box-shadow: 0 25px 60px rgba(123, 47, 247, .45);

}

.btn-secondary {

    display: inline-flex;

    padding: 16px 34px;

    border-radius: 50px;

    border: 1px solid rgba(255, 255, 255, .15);

    color: white;

    text-decoration: none;

    margin-left: 15px;

    transition: .3s;

}

.btn-secondary:hover {

    background: rgba(255, 255, 255, .06);

}

/* ===========================
HEADER
=========================== */

header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 999;

    backdrop-filter: blur(18px);

    background: rgba(8, 8, 20, .70);

    border-bottom: 1px solid rgba(255, 255, 255, .06);

}

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 85px;

}

.logo {

    display: flex;

    align-items: center;

    gap: 14px;

    text-decoration: none;

    font-weight: 800;

    font-size: 24px;

    color: white;

}

.logo img {

    height: 50px;

}

.nav-menu {

    display: flex;

    list-style: none;

    gap: 35px;

}

.nav-menu a {

    color: var(--text);

    text-decoration: none;

    transition: .3s;

    font-weight: 600;

}

.nav-menu a:hover {

    color: white;

}

.hamburger {

    display: none;

    cursor: pointer;

}

.hamburger span {

    display: block;

    width: 28px;

    height: 3px;

    margin: 6px;

    background: white;

    border-radius: 20px;

    transition: .3s;

}

/* ===========================
HERO
=========================== */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.hero-bg {

    position: absolute;

    inset: 0;

    z-index: -1;

}

.blur {

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: .35;

}

.blur.one {

    background: #7B2FF7;

    top: -150px;

    left: -100px;

}

.blur.two {

    background: #00d4ff;

    right: -100px;

    bottom: -100px;

}

.grid {

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);

    background-size: 60px 60px;

}

/* ===========================
HERO CONTENT
=========================== */

.hero-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}

.tag {

    display: inline-block;

    padding: 10px 18px;

    background: rgba(123, 47, 247, .12);

    border: 1px solid rgba(123, 47, 247, .3);

    border-radius: 100px;

    margin-bottom: 25px;

    font-size: 14px;

}

.hero h1 {

    font-size: 72px;

    line-height: 1.1;

    font-weight: 800;

    margin-bottom: 25px;

}

.hero h1 span {

    background: linear-gradient(135deg, #9f6fff, #7B2FF7, #3a9dff);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}

.hero p {

    font-size: 19px;

    line-height: 1.8;

    color: var(--muted);

    margin-bottom: 35px;

}

.hero-buttons {

    display: flex;

    align-items: center;

    margin-bottom: 60px;

}

.hero-stats {

    display: flex;

    gap: 50px;

}

.hero-stats h2 {

    font-size: 42px;

    color: white;

}

.hero-stats p {

    margin-top: 10px;

    font-size: 15px;

}

/* ===========================
FLOATING CARD
=========================== */

.hero-right {

    display: flex;

    justify-content: center;

    position: relative;

}

.main-card {

    width: 380px;

    background: rgba(255, 255, 255, .05);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 30px;

    padding: 50px;

    text-align: center;

    box-shadow: var(--shadow);

}

.main-card img {

    width: 120px;

    margin-bottom: 25px;

}

.main-card h3 {

    font-size: 32px;

    margin-bottom: 15px;

}

.main-card p {

    color: var(--muted);

}

.floating {

    position: absolute;

    padding: 12px 20px;

    background: rgba(255, 255, 255, .06);

    border-radius: 100px;

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .08);

    animation: float 4s ease-in-out infinite;

}

.one {

    top: 20px;

    left: -40px;

}

.two {

    top: 80px;

    right: -30px;

}

.three {

    bottom: 120px;

    left: -20px;

}

.four {

    bottom: 30px;

    right: -50px;

}

@keyframes float {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

}
/* ===========================
ABOUT SECTION
=========================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 420px;
    max-width: 100%;
    filter: drop-shadow(0 20px 60px rgba(123, 47, 247, .45));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.about-content h3 {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-content p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 35px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, .03);
    transition: .3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature i {
    color: var(--primary);
}

/* ===========================
SERVICES
=========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card);
    padding: 40px 30px;
    border-radius: 25px;
    border: 1px solid var(--border);
    transition: .35s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
    transition: .6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(123, 47, 247, .18);
}

.service-card i {
    font-size: 55px;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.8;
}

/* ===========================
TECHNOLOGIES
=========================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
}

.tech-grid div {
    background: var(--card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: .35s;
}

.tech-grid div:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.tech-grid i {
    font-size: 55px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tech-grid span {
    display: block;
    font-weight: 600;
}

/* ===========================
PORTFOLIO
=========================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid var(--border);
    transition: .35s;
}

.project-card:hover {
    transform: translateY(-12px);
}

.project-card h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.project-card p {
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 30px;
}

.project-card a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}

/* ===========================
PROCESS TIMELINE
=========================== */

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.timeline div {
    background: var(--card);
    padding: 35px 20px;
    border-radius: 20px;
    text-align: center;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: .35s;
}

.timeline div:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-10px);
}

/* ===========================
COUNTER
=========================== */

.counter {
    padding: 120px 0;
    background: linear-gradient(135deg, #111125, #090913);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-grid h2 {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 15px;
}

.counter-grid p {
    color: var(--muted);
}

/* ===========================
TESTIMONIAL
=========================== */

.testimonial-card {
    max-width: 850px;
    margin: auto;
    background: var(--card);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--border);
}

.testimonial-card p {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    color: var(--text);
}

.testimonial-card h4 {
    color: var(--primary);
}

/* ===========================
FAQ
=========================== */

.faq-item {
    background: var(--card);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.faq-item h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.faq-item p {
    color: var(--muted);
    line-height: 1.8;
}

/* ===========================
CONTACT
=========================== */

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-grid input,
.contact-grid textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    background: #0f1324;
    border: 1px solid var(--border);
    border-radius: 15px;
    color: white;
    font-size: 16px;
    outline: none;
}

.contact-grid input:focus,
.contact-grid textarea:focus {
    border-color: var(--primary);
}

.contact-grid textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-grid h3 {
    margin-bottom: 20px;
    font-size: 28px;
}

.contact-grid p {
    margin-bottom: 18px;
    color: var(--muted);
}

/* ===========================
FOOTER
=========================== */

footer {
    padding: 80px 0 20px;
    background: #05050c;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h4 {
    margin-bottom: 20px;
}

.footer-grid a {
    display: block;
    text-decoration: none;
    color: var(--muted);
    margin-bottom: 12px;
    transition: .3s;
}

.footer-grid a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:992px) {

    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

}

@media(max-width:768px) {

    .hero h1 {
        font-size: 48px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .about-content h3 {
        font-size: 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-secondary {
        margin-left: 0;
    }

    .main-card {
        width: 100%;
        padding: 35px;
    }

    .floating {
        display: none;
    }

}

@media(max-width:480px) {

    .section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .logo span {
        display: none;
    }

    .section-heading h2 {
        font-size: 28px;
    }

}