:root {
    --bg-dark: #0a0f1d;
    --accent-blue: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0f1d;
    background-image:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 25%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.06), transparent 30%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.8'%3E%3Cpath d='M14 38c6-4 18-8 24 0s0 20-6 24-18 8-24 0 0-20 6-24z'/%3E%3Cpath d='M100 18l8 8M98 26l8-8M20 90l6 6M22 96l6-6M58 8l2 14M62 8l-2 14M82 82l14 2M82 86l14-2'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

#tsparticles {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.hero-banner {
    width: 100%;
    height: 50vh;
    min-height: 300px;
    position: relative;
    z-index: -2;
    background-attachment: fixed;
}

.profile-container.overlap {
    margin-top: 120px;
    display: inline-block;
}

/* Glass Card Styling */
.section-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.section-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.6), 0 0 20px var(--accent-glow);
}

h3.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h3.section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.4), transparent);
}

/* Profile Elements */
.hero {
    --hero-bg-height: 50%;
    --hero-bg-max-height: 270px;
    padding-top: 60px;
    padding-bottom: 40px;
    background: var(--glass-bg);
    position: relative;
    min-height: 50vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--hero-bg-height);
    max-height: var(--hero-bg-max-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}


@media (max-width: 575px) {
    .hero {
        --hero-bg-height: 45%;
        --hero-bg-max-height: 220px;
        padding-top: 50px;
        padding-bottom: 30px;
    }
}

.hero > :not(.hero-bg) {
    position: relative;
    z-index: 1;
}

.profile-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 48px rgba(56,189,248,0.5);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
    background: #fff;
}

.profile-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(56,189,248,0.35);
    pointer-events: none;
    z-index: -1;
}

.profile-badge {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.95);
    box-shadow: 0 10px 26px rgba(0,0,0,0.45), 0 6px 18px rgba(56,189,248,0.16);
    overflow: hidden;
    z-index: 2;
}

.profile-badge img { width: 100%; height: 100%; object-fit: cover; }

.name {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 60%, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
}
    /* slightly darker overlay by default is applied inline via style in view; this ensures contrast on lighter images */

/* Dynamic Interactive Buttons */
.btn-action {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    color: #fff;
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-call { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; }
.btn-whatsapp { background: linear-gradient(135deg, #16a34a, #15803d); color: white; }
.btn-email { background: linear-gradient(135deg, #dc2626, #b91c1c); color: white; }
.btn-save { background: #f8fafc; color: #0f172a; }
.btn-save:hover { background: #ffffff; color: #000; }
.btn-menu { background: linear-gradient(135deg, #f59e0b, #ea580c); color: white; }
.btn-menu:hover { background: linear-gradient(135deg, #fb923c, #f97316); color: white; }

/* Service Box Cards */
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(56, 189, 248, 0.04);
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-4px);
}

.service-card i {
    font-size: 28px;
    color: var(--accent-blue);
    margin-bottom: 14px;
    display: inline-block;
}

.service-card h6 {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    color: #e2e8f0;
}

/* Sleek Counter Section */
.stat {
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat h2 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.stat small {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Portfolio Gallery Styling */
.gallery .portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

/* Testimonial Blockquote design */
.testimonial {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent-blue);
    border-radius: 0 16px 16px 0;
    padding: 20px;
}

.stars {
    color: #fbbf24;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.testimonial-text {
    font-style: italic;
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Social Icon Badges */
.social a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    text-decoration: none;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.social a:hover {
    color: #fff;
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.2);
}

/* Custom QR code wrapper */
.qr-box {
    background: #fff;
    display: inline-block;
    padding: 14px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.footer {
    padding: 20px 0 40px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

@media(max-width:576px){
    .profile { width: 110px; height: 110px; }
    .section-card { padding: 20px; }
    .stat h2 { font-size: 1.8rem; }
}