/* ===================== ROOT VARIABLES ===================== */
:root {
    --primary: #2563eb; /* Calm professional blue */
    --primary-dark: #1e40af; /* Hover / depth */
    --secondary: #38bdf8; /* Soft accent */
    --dark: #0f172a; /* Main background */
    --dark-soft: #111827; /* Sections / footer */
    --card: #1e293b; /* Card background */
    --light: #f8fafc; /* Soft white */
    --text-muted: #cbd5e1; /* Muted text */
}

/* ===================== GLOBAL RESET ===================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background: var(--dark);
    color: var(--light);
}

/* ===================== CONTAINER ===================== */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

/* ===================== NAVBAR ===================== */
/* Navbar adjustments */
.navbar {
    background: rgba(37, 99, 235, 0.9); /* semi-transparent primary */
    backdrop-filter: blur(8px); /* subtle frosted effect */
    padding: 0.5rem 1rem; /* reduce vertical padding */
    min-height: 70px; /* minimum height to align items */
}

    /* Align navbar content vertically */
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


.navbar-brand {
    color: var(--light) !important;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* BIG navbar logo */
.navbar-logo {
    height: 80px; /* prominent but fits navbar */
    width: auto;
    margin-right: 12px;
    border-radius: 12px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .navbar-logo:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }

@media (max-width: 768px) {
    .navbar-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 50px;
    }
}

/* Optional: make the brand text slightly bolder */
.navbar-brand span {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
}




/* Navbar buttons */
.navbar .btn {
    border-radius: 999px;
    font-weight: 600;
}

/* ===================== HERO SECTION ===================== */
.hero {
    background: linear-gradient(135deg, #38bdf8, #60a5fa); /* lighter, friendly blue gradient */
    color: var(--light);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

    .hero h1 {
        font-size: 3rem; /* bigger, hero feel */
    }

    .hero p {
        margin: 15px 0;
        font-size: 1.3rem;
        line-height: 1.6;
    }


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }
}

/* ===================== BUTTONS ===================== */
.btn-primary {
    background: var(--primary);
    color: var(--light);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

/* Focus accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--light), 0 0 0 0.25rem var(--primary);
    outline: none;
}

/* ===================== SERVICES & GRID ===================== */
.services .grid,
.pricing .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ===================== CARDS ===================== */
.card {
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    color: var(--light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card h3 {
        margin-bottom: 10px;
    }

    .card p {
        color: var(--text-muted);
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    }

/* ===================== PORTFOLIO ===================== */
.portfolio a {
    color: var(--secondary);
    font-weight: bold;
    text-decoration: none;
}

    .portfolio a:hover {
        text-decoration: underline;
    }

/* ===================== CONTACT ===================== */
.contact form {
    max-width: 600px;
    margin: auto;
}

.form-control {
    border-radius: 8px;
}

/* ===================== FOOTER ===================== */
footer {
    background: var(--dark-soft);
    text-align: center;
    padding: 20px 0;
}

    footer small {
        color: var(--text-muted);
    }

/* ===================== TYPOGRAPHY ===================== */
p {
    line-height: 1.6;
}
/* ===================== PRICING HIGHLIGHT ===================== */
.card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.04);
    position: relative;
}

    .card.featured .price {
        font-size: 1.4rem;
        font-weight: bold;
        color: var(--secondary);
    }

    .card.featured .badge {
        position: absolute;
        top: -12px;
        right: 16px;
        background: var(--secondary);
        color: #002;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 0.75rem;
        font-weight: bold;
    }
/* ===================== ANIMATIONS ===================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }
/* ===================== LIGHT MODE ===================== */
body.light {
    --dark: #f8fafc;
    --dark-soft: #e5e7eb;
    --card: #ffffff;
    --light: #0f172a;
    --text-muted: #475569;
}
