/* Original design from index.html – dark theme, Poppins, gradients, stats, floating animation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar exactly as original – sticky + blur */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #e2e8f0;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #38bdf8;
}

/* Hero section */
.hero {
    position: relative;
    padding: 120px 0 120px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 30%),
        linear-gradient(135deg, #020617, #0f172a);
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.hero-left h1 {
    font-size: 62px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-left h1 span {
    color: #8b5cf6;
}

.hero-left p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 550px;
    margin-bottom: 35px;
}

.hero-right {
    flex: 1;
    text-align: center;
}

.hero-right img {
    width: 100%;
    max-width: 550px;
    animation: float 5s ease-in-out infinite;
}

/* Stats boxes (exactly original) */
.hero-stats {
    position: relative;
    margin-top: -60px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    z-index: 10;
}

.stat-box {
    background: #fff;
    color: #0f172a;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.stat-box h3 {
    font-size: 32px;
    color: #8b5cf6;
    margin-bottom: 10px;
}

.stat-box p {
    color: #475569;
}

/* Buttons */
.buttons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 20;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #38bdf8;
    color: #0f172a;
}

.btn-primary:hover {
    background: #0ea5e9;
}

.btn-secondary {
    border: 1px solid #38bdf8;
    color: #38bdf8;
    background: transparent;
}

.btn-secondary:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* Sections */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.section-title p {
    color: #cbd5e1;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #1e293b;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.card h3 {
    margin-bottom: 15px;
    color: #38bdf8;
}

.price {
    font-size: 28px;
    margin: 20px 0;
    font-weight: 700;
}

.features {
    list-style: none;
    padding-left: 0;
}

.features li {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.project-img {
    min-height: 180px;
    background: #334155;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Process steps */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.process-box {
    background: #1e293b;
    padding: 25px;
    border-radius: 12px;
}

.process-box span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #38bdf8;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Floating contact button (additional but style consistent) */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.contact-float-btn {
    width: 55px;
    height: 55px;
    background: #38bdf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #1e293b;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-options a {
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 8px;
}

.contact-options a:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* Footer */
footer {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Popup Overlay Styles (moved from inline) */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-container {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.popup-content {
    background: #1e293b;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    color: #fff;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.popup-close:hover {
    opacity: 1;
}

.popup-content h3 {
    margin-bottom: 20px;
    color: #38bdf8;
}

.popup-content p {
    margin-bottom: 15px;
    color: #cbd5e1;
}

.popup-content textarea {
    width: 100%;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    resize: vertical;
}

.send-wa-btn {
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #38bdf8;
    color: #0f172a;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: 0.2s;
}

.back-to-top:hover {
    background: #0ea5e9;
    transform: translateY(-3px);
}

/* Project image fallback */
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-left p {
        margin: auto auto 35px;
    }

    .hero-right img {
        max-width: 400px;
    }

    .hero-stats {
        margin-top: -40px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }
}