body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0b120e;
    color: #ffffff;
    margin: 0;
}

/* Circuit Background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("images/circuit-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: -2;
}

/* Dark overlay so text stays readable */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(5,10,8,0.55);
    z-index: -1;
}

html {
    scroll-behavior: smooth;
}


/* Navbar */

.navbar {
    background-color: #2e3b2f;
}

.navbar .nav-link {
    color: #d6d6d6;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #6b8e23;
}

.navbar-brand {
    font-weight: 600;
}


/* About Section */

.hero img {
    border-radius: 10px;
}


/* Section Titles */

.section-title {
    margin-bottom: 30px;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 8px rgba(107,142,35,0.6);
}


/* Project Cards */

.card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.96);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 18px rgba(107,142,35,0.7);
}


/* Card Images */

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


/* Contact Box */

.contact-box {
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}


/* Layout */

.container {
    max-width: 1100px;
}


/* Buttons */

.btn-success {
    background-color: #6b8e23;
    border: none;
}

.btn-success:hover {
    background-color: #556b2f;
}


/* Footer */

footer {
    background-color: #1b1b1b;
    color: white;
    margin-top: 60px;
}


/* Gallery Cards */

.gallery-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.gallery-card img {
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.contact-icon {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.contact-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    transition: all 0.25s ease;
}

.contact-icon span {
    font-size: 14px;
    color: #2e3b2f;
    font-weight: 500;
}

.contact-icon:hover {
    transform: translateY(-5px);
}

.contact-icon:hover span {
    color: #6b8e23;
}

.contact-icon:hover img {
    filter: brightness(1.3);
    transform: scale(1.1);
}

/* Hero Name */
.hero h1 {
    color: #ffffff; /* bright white for strong contrast */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* subtle shadow to lift it off background */
    font-size: 3rem; /* make it a bit bigger if needed */
}

/* About Me Paragraph */
.hero p {
    color: #f0f0f0; /* lighter gray for readability */
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* subtle shadow to make text stand out */
}