* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #0f0f14;
    color: white;
    overflow-x: hidden;
}

/* PROGRESS BAR */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: linear-gradient(90deg, #00f2ff, #8a2be2);
    z-index: 100;
}

/* HEADER */
header {
    height: 100vh;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    position: fixed;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(15,15,20,0.6);
    z-index: 10;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #00f2ff;
}

.logo {
    color: #00f2ff;
}

.hero {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
}

.hero span {
    color: #00f2ff;
}

.hero p {
    margin: 20px 0;
    opacity: 0.7;
}

button {
    padding: 12px 30px;
    border: none;
    background: #00f2ff;
    color: black;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 5px;
}

button:hover {
    background: white;
    transform: scale(1.05);
}

/* SECTIONS */
.section {
    padding: 120px 10%;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.card {
    background: #1a1a22;
    padding: 40px;
    width: 300px;
    border-radius: 15px;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #00f2ff;
}

/* ============================= */
/*        PROJECT SECTION        */
/* ============================= */

.project-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.project-card {
    background: #1a1a22;
    border-radius: 15px;
    flex: 1;
    min-width: 300px;
    max-width: 32%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.4s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #00f2ff;
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 15px;
}

.project-card h3 {
    color: #00f2ff;
    margin-bottom: 10px;
}

.project-card p {
    opacity: 0.85;
    line-height: 1.5;
    font-size: 1rem;
}

/* CONTACT */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
    background: #1a1a22;
    color: white;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #00f2ff;
}

.direct-contact {
    margin-top: 20px;
    opacity: 0.7;
}

.section-subtitle {
    max-width: 700px;
    margin: 20px auto 50px auto;
    opacity: 0.7;
    line-height: 1.6;
}

#particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

footer {
    background: #0b0b0f;
    padding: 30px 10%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* SUCCESS POPUP */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(15, 15, 20, 0.95);
    border: 2px solid #00f2ff;
    border-radius: 15px;
    padding: 40px 60px;
    text-align: center;
    color: #00f2ff;
    z-index: 9999;
    transition: 0.4s ease;
}

.success-popup.active {
    transform: translate(-50%, -50%) scale(1);
}

.checkmark-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #00f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.checkmark {
    width: 20px;
    height: 10px;
    border-left: 3px solid #00f2ff;
    border-bottom: 3px solid #00f2ff;
    transform: rotate(-45deg);
}

/* ============================= */
/*        PRICING PAGE           */
/* ============================= */

.pricing-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing-title h1 {
    font-size: 3rem;
    position: relative;
}

.price-text {
    color: red;
    margin: 0 20px;
}

.wp-text {
    color: #00f2ff;
    opacity: 0.5;
    font-size: 1.2rem;
    position: relative;
    top: -20px;
}

.shopify-text {
    color: #00ff88;
    opacity: 0.5;
    font-size: 1.2rem;
    position: relative;
    top: -20px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.price-highlight {
    color: #00f2ff;
    margin: 15px 0;
}

.card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

/* ============================= */
/*  FIX SCROLL BAR               */
/* ============================= */

body {
    overflow-x: hidden;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #00c3ff, #0077ff);
    z-index: 2000;
}

/* ============================= */
/*  MATCH HOMEPAGE NAVBAR STYLE  */
/* ============================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.35); /* lighter transparency */
    backdrop-filter: blur(15px);
    z-index: 1000;
}

/* ============================= */
/*   ESTIMATED PRICING HEADING   */
/* ============================= */

/* Centering containers */
.section-heading-container,
.category-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.section-heading, .category {
    position: relative;
    text-align: center;
    font-weight: 600;
}

/* Animated line for headings */
.animated-line::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: currentColor;
    animation: expandLine 5s ease forwards; /* slower movement */
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 70%; }
}

/* Category colors */
.html-color { color: #ff4d5a; }
.wordpress-color { color: #2ea3f2; }
.shopify-color { color: #00d26a; }

.contact-form select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: none;
    background: #1a1a22;
    color: white;
    font-size: 1rem;
    appearance: none;
}

.contact-form select:focus {
    outline: 2px solid #00f2ff;
}

/* ============================= */
/*        NAV UPGRADE            */
/* ============================= */

.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    background: rgba(15,15,20,0.6);
    z-index: 1000;
}

.center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

/* Desktop Nav Styling */
.desktop-nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: white;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    transition: 0.3s ease;
}

.desktop-nav a:hover {
    background: #00f2ff;
    color: black;
    border-color: #00f2ff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #0f0f14;
    display: flex;
    flex-direction: column;
    padding: 100px 30px;
    gap: 30px;
    transition: 0.4s ease;
    z-index: 999;
}

.mobile-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

.mobile-menu.active {
    right: 0;
}

/* ============================= */
/*        MOBILE RESPONSIVE      */
/* ============================= */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .center-logo {
        font-size: 1.3rem;
    }

}