/* Body styling to remove unwanted margins/padding */
body {
    font-family: 'Rossalina', sans-serif;
    margin: 0;  /* Remove all margins around the body */
    padding: 0; /* Remove all paddings */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    height: auto;
}

/* Navbar */
.navbar.fixed-top {
    background-color: #343a40 !important;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 0;
    box-sizing: border-box; /* Ensure padding and margins don't affect layout */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #ccc !important;
    font-size: 1.1rem;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Hero Section */
.hero {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 0;
    margin: 0; /* No margin */
    height: auto; /* Allow the hero section to adjust to content */
    min-height: 100vh; /* Ensure it still takes full screen height on mobile */
}

/* About Us Section */
#about {
    padding: 20px;
    margin-top: 0px; /* Adjust to ensure no overlap with navbar */
    min-height: auto;
    background: url('images/white-gold.jpg') no-repeat center center;
    background-size: cover;
}

/* Services Section */
#services {
    padding: 0px;
    margin-top: 0px; /* Ensures it doesn't overlap the navbar */
    min-height: auto;
    background: url('images/white-gold.jpg') no-repeat center center;
    background-size: cover;
}

#services .card-img-top {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

#services .list-unstyled li i {
    color: #800000; /* Burgundy color */
}

/* Contact Section */
#contact {
    padding: 20px;
    margin-top: 0px; /* Ensure there is space between Services and Contact */
    min-height: auto;
    background: url('images/hero-image-blank.jpg') no-repeat center center;
    background-size: cover;
}

#contact h2, #contact p {
    color: #f4f4f4; /* Creamy white */
}

/* Footer */
footer {
    background-color: #d9d9d9;
    color: #ccc;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    font-size: 1.0rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Adjust the navbar for smaller screens */
    .navbar.fixed-top {
        position: fixed;
        top: unset;
    }

    /* Adjust Hero section */
    .hero {
        min-height: auto;
        padding: 50px 10px; /* Add padding for mobile */
    }

    /* Adjust Services Section layout for mobile */
    #services {
        margin-top: 0px; /* Make sure there's space for the navbar */
    }

    /* Ensure contact section is well spaced */
    #contact {
        margin-top: 0px; /* Margin to create space after services */
    }

    /* Remove any padding and margin issues */
    .container, .container-fluid, .row {
        margin: 0;
        padding: 0;
    }

    /* Ensure no fixed height on sections */
    section {
        min-height: auto;
    }

    /* Fix issues with card sizing on mobile */
    .card {
        margin-bottom: 15px; /* Add spacing between cards */
    }

    .card-img-top {
        height: 200px; /* Ensure images do not overflow on mobile */
    }
}

/* Custom style for Burgundy color */
.text-burgundy {
    color: #800020; /* Burgundy color */
}

/* Adjusted bullets left alignment with a border */
ul.centered-bullets {
    list-style: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
    margin-left: 0; /* Align the entire list to the left */
    border-left: 5px solid #800020; /* Burgundy left border */
}

ul.centered-bullets li {
    margin-bottom: 10px; /* Space between list items */
    position: relative; /* Positioning for custom bullets */
}

ul.centered-bullets li::before {
    content: ''; /* Custom bullet */
    font-size: 1.5rem; /* Bullet size */
    color: #800020; /* Burgundy bullet color */
    position: absolute;
    left: 0px; /* Adjust bullet position */
    top: 50%; /* Center bullet vertically */
    transform: translateY(-50%); /* Fine-tune vertical positioning */
}

/* Logo image styling */
.logo-img {
    max-width: 100%;      /* Ensure the logo doesn't overflow */
    height: auto;         /* Maintain aspect ratio */
    width: 650px;         /* Set a new base width for the logo */
}

/* Burgundy Bar Styling */
.burgundy-bar {
    background-color: #800020;  /* Burgundy color */
    height: 10px;                /* Thickness of the bar */
    width: 100%;                 /* Full width of the screen/container */
    margin: 0px 0;               /* Optional: removes space above and below the bar */
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Prevent navbar from overlapping sections on scroll */
html {
    scroll-padding-top: 60px; /* Adjust to match the navbar height */
}

/* Ensure all text in the quiz remains white */
#quiz-section * {
    color: white !important; /* Explicitly enforce white text for quiz content */
    background-color: black; /* Black background for the quiz section */
}

button {
    padding: 10px 20px;
    margin: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

input[type="text"], input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Ensure the submit button is clearly disabled when conditions are not met */
#submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.question-container {
    margin-bottom: 20px;  
    color: black !important; /* Explicitly enforce white text for quiz content */
    background-color: transparent; /* Black background for the quiz section */
}

