:root {
    --bg-dark: #031927;
    --bg-card: #0A101D;
    --text-main: #f1f5f9;
    --text-muted: #9ca3af;
    --accent: #f5b841;
}


body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 0.95rem;
    color: var(--accent) !important;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-main) !important;
    margin-left: 1rem;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* Hero */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero p {
    color: var(--text-muted);
    max-width: 720px;
    margin: 1rem auto 2rem;
    font-size: 1.1rem;
}

.btn-primary-custom {
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
}

.btn-primary-custom:hover {
    opacity: 0.9;
}

.btn-outline-custom {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
}

.btn-outline-custom:hover {
    background-color: var(--accent);
    color: #000;
}

/* Section */
section {
    padding: 3rem 0;
}

section h2 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--accent);
}

/* Capability cards */
.cap-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
}

.cap-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cap-card p {
    color: var(--text-muted);
}

/* Project cards */
.project-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.badge-live {
    background-color: #16a34a;
    font-size: 0.7rem;
}

.project-card p {
    color: var(--text-muted);
}

/* About */
.about-text {
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid #1f2937;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Contact Icons */
.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-icon:hover {
    transform: translateY(-4px);
    color: var(--accent);
}