﻿/* Raw Data, Inc. Modern Stylesheet
   Color scheme: Black, Red (#e10600), White
   Font: Oswald (headings), Open Sans (body)
   Bootstrap 5 compatible
*/

/* Base styles */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: #fff;
    color: #222;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background: #000 !important;
}

.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: #e10600 !important;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: #e10600 !important;
    }

/* Hero Section */
.hero {
    background: #000 url('../images/banner.jpg') center/cover no-repeat;
    color: #fff;
    min-height: 150px;
    display: flex;
    align-items: center;
    text-align: center;
}

    .hero h1 {
        font-family: 'Oswald', sans-serif;
        font-size: 2.5rem;
        color: #fff;
    }

    .hero .lead {
        color: #e10600;
        font-size: 1.25rem;
    }

/* Section Titles */
.section-title {
    color: #e10600;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
    font-weight: bold;
}

/* Accordion (Bootstrap 5) */
.accordion-button:not(.collapsed) {
    background: #e10600;
    color: #fff;
}

.accordion-button {
    background: #000;
    color: #fff;
    font-weight: 600;
}

.accordion-body {
    background: #fff;
    color: #222;
}

/* Buttons */
.btn-danger, .btn-danger:active, .btn-danger:focus {
    background: #e10600 !important;
    border: none !important;
    color: #fff !important;
}

    .btn-danger:hover {
        background: #b50505 !important;
        color: #fff !important;
    }

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 2rem 0;
}

    .footer h5 {
        color: #e10600;
        font-family: 'Oswald', sans-serif;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer a {
        color: #e10600;
        text-decoration: none;
        transition: color 0.2s;
    }

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

    .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer input[type="email"] {
        border-radius: 0.25rem;
        border: 1px solid #e10600;
    }

    .footer .btn-danger {
        margin-top: 0.5rem;
    }

/* Responsive Images */
img, .img-fluid, .img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Section backgrounds */
.bg-light {
    background: #f8f9fa !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    color: #000;
}

/* Utility */
.text-danger {
    color: #e10600 !important;
}

.text-white {
    color: #fff !important;
}

.text-black {
    color: #000 !important;
}

/* Newsletter form */
.footer form input[type="email"] {
    background: #fff;
    color: #222;
    border: 1px solid #e10600;
    padding: 0.5rem;
}

.footer form button[type="submit"] {
    width: 100%;
}

/* Media Queries for Mobile */
@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .footer {
        text-align: center;
    }
}

/* Additional Section Title Styles */
.section-title.fw-bold {
    font-weight: bold;
}

.section-title.mb-5 {
    margin-bottom: 3rem;
}

/* Border Styles */
.border-10 {
    border: 4px solid #6c757d; /* 4px is bold, #6c757d is Bootstrap's gray-600 */
    border-radius: 0.5rem;     /* Optional: rounded corners for a modern look */
}

/* Zoom Hover Effect */
.zoom-hover {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-hover:hover {
    transform: scale(1.15);
}

/* Circle Image */
.circle-img {
    border-radius: 50%;
    object-fit: cover;
    width: 100px;
    height: 100px;
}

/* Auto-fit Table */
.auto-fit-table {
    table-layout: auto;
    width: 100%;
    max-width: 100%;
    word-break: break-word;
}

.auto-fit-table td, .auto-fit-table th {
    white-space: normal; /* Allow text to wrap */
    vertical-align: middle;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    word-break: break-word; /* Break long words if needed */
}
}

.auto-fit-table tnb, .auto-fit-table tnb {
    white-space: normal; /* Allow text to wrap */
    vertical-align: middle;
    padding: 0.25rem 1rem;
    /*border: 1px solid #dee2e6;*/
    word-break: break-word; /* Break long words if needed 
}