/* General Styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-top: 56px; /* Adjusted for fixed navbar */
}

.section-heading {
    margin-top: 0;
    font-weight: 700;
}

/* Background Sections with Overlay */
.page-section-bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    color: white;
    padding: 100px 0;
    min-height: calc(100vh - 56px - 60px); /* Adjust based on navbar and footer height */
}

.page-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-section-bg .container {
    position: relative;
    z-index: 2;
}

/* Specific Backgrounds */
.bg-hero {
    background-image: url('../Images/hero-bg.jpg');
}

.bg-about {
    background-image: url('../Images/about-bg.jpg');
}

.bg-platform {
    background-image: url('../Images/platform-bg.jpg');
}

.bg-contact {
    background-image: url('../Images/contact-bg.jpg');
}

/* Contact Page Icons */
#contact .contact-box i {
    color: #007bff; /* Bootstrap primary blue */
    font-size: 1.2rem;
}

/* Platform & Contact Page Enhancements */
.feature-item, .contact-box, .about-text-box {
    background: rgba(255, 255, 255, 0.2); /* Changed to semi-transparent white */
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

@media (max-width: 768px) {
    .feature-item {
        /* Removed margin-bottom here, will be handled by col classes */
    }
    .feature-item:last-child {
        /* Removed margin-bottom here, will be handled by col classes */
    }
}

.about-text-box p {
    font-size: 1.3rem; /* Further increased font size */
    line-height: 1.6;   /* Increased line height */
    font-weight: 300; /* Lighter font weight for better readability */
}

/* Footer */
footer {
    margin-top: auto;
}

/* Home Page Banner Mobile Responsiveness */
header img {
    width: 100%;
    height: auto; /* Ensure image scales naturally */
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
}

@media (max-width: 768px) {
    header {
        max-height: 50vh; /* Limit banner height on mobile */
        overflow: hidden;
    }

    /* Navbar Toggler adjustments for smaller screens */
    .navbar-toggler {
        padding: 0.25rem 0.5rem; /* Smaller padding */
        font-size: 0.875rem; /* Smaller font size if text is present */
    }

    .navbar-toggler-icon {
        width: 1.2em; /* Adjust icon width */
        height: 1.2em; /* Adjust icon height */
    }
}
