/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    background: #ffffff;
    color: #1e293b;
}

/* ===== Navbar ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1140px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    text-decoration: none;
}

.logo-img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #f09020, #e04060, #7040c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links li a:hover { color: #f0920a; }

.nav-cta {
    background: linear-gradient(135deg, #f09020, #e04060, #7040c0) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.3rem;
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.15s !important;
    box-shadow: 0 2px 12px rgba(180, 60, 120, 0.3);
}

.nav-cta:hover {
    opacity: 0.88 !important;
    transform: translateY(-1px);
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background: #120826;
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('/cover.png') center/cover no-repeat;
    z-index: 0;
}

/* Gradient overlay: dark bottom edge fades into page */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(13, 27, 42, 0.82) 0%,
        rgba(13, 27, 42, 0.70) 60%,
        rgba(13, 27, 42, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(240, 165, 0, 0.15);
    border: 1px solid rgba(240, 165, 0, 0.4);
    color: #f0920a;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.hero-content h1 br { display: block; }

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f09020 0%, #e04060 50%, #7040c0 100%);
    padding: 0.85rem 2rem;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(180, 60, 120, 0.35);
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(180, 60, 120, 0.5);
}

.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.85rem 2rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}

/* ===== Stats Bar ===== */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #120826;
    padding: 1.8rem 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3rem;
    text-align: center;
}

.stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0920a;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}

/* ===== Section Helpers ===== */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f0920a;
    margin-bottom: 0.8rem;
}

.section-label.light { color: rgba(240,165,0,0.85); }

/* ===== About ===== */
.about {
    padding: 7rem 2rem;
    background: #ffffff;
}

.about-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #120826;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #64748b;
    font-size: 0.97rem;
    margin-bottom: 1rem;
}

.about-text .btn-primary { margin-top: 1rem; }

/* Vision card with glassmorphism over a gradient bg */
.about-card {
    border-radius: 20px;
    background: linear-gradient(135deg, #120826 0%, #1e3a5f 100%);
    padding: 2px;
    box-shadow: 0 20px 60px rgba(13, 27, 42, 0.2);
}

.about-card-inner {
    background: linear-gradient(135deg, rgba(13,27,42,0.9) 0%, rgba(30,58,95,0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.08);
    height: 100%;
}

.about-card-icon {
    font-size: 2rem;
    color: #f0920a;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.8;
}

.about-card-inner h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-tags span {
    background: rgba(240,165,0,0.12);
    border: 1px solid rgba(240,165,0,0.25);
    color: #f0920a;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
}

/* ===== Services ===== */
.services {
    padding: 7rem 2rem;
    background: #f8fafc;
}

.section-header {
    max-width: 1140px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #120826;
    margin-bottom: 0.8rem;
    max-width: 520px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #f09020, #e04060, #7040c0);
    margin-top: 0.7rem;
    border-radius: 2px;
}

.section-header p {
    color: #64748b;
    font-size: 1rem;
    max-width: 480px;
}

.services-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e8edf2;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(13, 27, 42, 0.1);
    border-color: #f0920a;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(240, 165, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #f0920a;
    margin-bottom: 1.2rem;
    transition: background 0.2s;
}

.service-card:hover .service-icon-wrap {
    background: rgba(240, 165, 0, 0.18);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #120826;
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.7;
}

/* ===== Portfolio ===== */
.portfolio {
    padding: 7rem 2rem;
    background: #120826;
    position: relative;
    overflow: hidden;
}

/* Ambient glow */
.portfolio::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(112, 64, 192, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.portfolio-inner {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.portfolio .section-header {
    margin-bottom: 3.5rem;
}

.portfolio .section-header h2 {
    color: #fff;
}

.portfolio .section-header p {
    color: rgba(255,255,255,0.5);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(240,165,0,0.4);
}

.portfolio-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(240,165,0,0.12);
    border: 1px solid rgba(240,165,0,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #f0920a;
}

.portfolio-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-card-body p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact {
    padding: 7rem 2rem;
    background: #ffffff;
}

.contact-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: start;
}

.contact-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #120826;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-left > p {
    color: #64748b;
    font-size: 0.97rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-item i {
    width: 36px;
    height: 36px;
    background: rgba(240,165,0,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0920a;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-detail-item a,
.contact-detail-item span {
    font-size: 0.95rem;
    color: #334155;
    text-decoration: none;
}

.contact-detail-item a:hover { color: #f0920a; }

.contact-form {
    background: #f8fafc;
    border: 1px solid #e8edf2;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.93rem;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #f0920a;
    box-shadow: 0 0 0 3px rgba(240,165,0,0.1);
    outline: none;
}

textarea { resize: vertical; }

#status {
    font-size: 0.88rem;
    color: #f0920a;
    min-height: 1.2rem;
    text-align: center;
}

/* ===== Footer ===== */
footer {
    background: #120826;
    padding: 3.5rem 2rem;
    text-align: center;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0.9;
}

.footer-inner > p {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
}

.social-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.social-links li a {
    text-decoration: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.social-links li a:hover { color: #f0920a; }

.footer-copy {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.25) !important;
    margin-top: 0.5rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s 0.25s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s 0.5s ease forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(0,0,0,0.08);
        border-top: none;
        flex-direction: column;
        align-items: flex-end;
        width: 220px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 1.5rem;
        gap: 0;
        border-radius: 0 0 12px 12px;
    }

    .nav-links.show {
        max-height: 400px;
        padding: 1rem 1.5rem;
    }

    .nav-links li {
        width: 100%;
        text-align: right;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links li:last-child { border-bottom: none; }

    .hamburger { display: flex; }

    .about-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .stats-bar {
        gap: 1rem;
    }

    .stat { padding: 0.5rem 1.5rem; }

    .stat-divider { display: none; }
}