/* General Body */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- HERO SECTION & CANVAS (NEW APPROACH) --- */
.hero-section {
    position: relative; /* This is the container for the canvas */
    height: 100vh;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensures canvas doesn't spill out */
}

#hero-canvas {
    position: absolute; /* Confined to the hero-section */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind the hero content */
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Sits on top of the canvas */
}

.navbar {
    z-index: 10;
}

/* --- STANDARD SECTION STYLING --- */
/* No complex positioning needed anymore. Simple flow. */
section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #212529;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
}

.card-header h3 {
    margin: 0;
    padding: 15px 0;
}

.card.border-primary {
    border: 2px solid #0d6efd;
}

.fa-3x {
    color: #0d6efd;
}

/* --- FOOTER --- */
.footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0;
}

.footer h5 {
    color: #ffffff;
    margin-bottom: 20px;
}

.footer p, .footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer .social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.footer .social-links a:hover {
    color: #0d6efd;
}

.footer .footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 20px;
}
