:root {
    --primary: #3b82f6;
    --secondary: #6366f1;
    --dark: #0f172a;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

/* --- THE FIX IS HERE --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: #334155;
    /* This forces the body to take full height and pushes footer down */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    /* This makes the middle content grow to fill space */
    flex: 1;
    margin-top: 80px; /* Pushes content down so it's not hidden behind header */
}
/* ----------------------- */

.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-section {
    background-color: var(--dark);
    color: white;
    padding: 100px 0;
    position: relative;
}

.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
/* --- Add this to your existing style.css --- */

/* About Section Image */
.about-img {
    border-radius: 20px;
    box-shadow: -20px 20px 0px rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease;
}
.about-img:hover {
    transform: scale(1.02);
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 20px;
    transition: bottom 0.3s ease;
    color: white;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(59, 130, 246, 0.1);
}

/* Tech Marquee (Scrolling Logos) */
.tech-scroll {
    overflow: hidden;
    white-space: nowrap;
}
.tech-icons {
    display: inline-block;
    animation: scroll 20s linear infinite;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

footer {
    background: var(--dark);
    color: white;
    margin-top: auto; /* Ensures footer stays at bottom */
}