/* styles.css */

/* Responsive Typography */

/* Base font size for the HTML document */
html {
    font-size: 16px; /* 1rem = 16px */
}

/* Responsive adjustments for smaller and larger screens */
@media (max-width: 576px) {
    html {
        font-size: 14px; /* Smaller base font size for mobile devices */
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 18px; /* Larger base font size for desktops */
    }
}

/* Body Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
}

/* Container Margin */
.container {
    margin-top: 1.25rem; /* 20px */
}

/* Heading Styles */
h1 {
    font-size: 2rem; /* 32px */
    color: #333;
}

h2 {
    font-size: 1.75rem; /* 28px */
    color: #333;
}

h3 {
    font-size: 1.5rem; /* 24px */
    color: #333;
}

/* Article Header Styles */
.article-header {
    text-align: center;
    margin-bottom: 1.875rem; /* 30px */
}

/* Navbar Brand Styling */
.navbar-brand {
    font-size: 1.25rem; /* Adjust as needed */
    font-weight: bold;
}

.navbar-brand img {
    /* Adjust logo size if needed */
    width: 30px;
    height: 30px;
}

/* Navbar Link Styling */
.navbar-nav .nav-link {
    font-size: 1rem;
    margin-right: 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #f0ad4e; /* Highlight color on hover/focus */
}

.navbar-nav .nav-link.active {
    color: #f0ad4e;
    border-bottom: 2px solid #f0ad4e; /* Enhanced visibility */
}

/* Ensure focus outline is visible */
.nav-link:focus, .nav-link.focus {
    outline: 2px dashed #f0ad4e;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        margin-right: 0.5rem;
    }
}




@media (max-width: 768px) {
    /* Adjust arrow sizes for smaller screens */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
}

/* Blockquote Styles */
blockquote {
    border-left: 0.3125rem solid #ccc; /* 5px */
    padding-left: 0.9375rem; /* 15px */
    color: #555;
    font-style: italic;
    margin: 1.25rem 0; /* 20px top and bottom */
}

/* Visually Hidden Class for Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* Prevents text from wrapping */
    border: 0;
}

/* Focusable Class to Show Elements on Focus */
.focusable:focus {
    position: absolute;
    top: 1rem; /* 16px from the top */
    left: 1rem; /* 16px from the left */
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem; /* 8px 16px */
    z-index: 1000;
    text-decoration: none;
    border-radius: 0.25rem; /* 4px */
}

/* Additional Custom Styles */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}
.carousel-control-next {
     background-color: #d5202091 !important;
}
.carousel-control-prev {
        background-color: #d5202091 !important;
}
/* Custom Carousel Controls Enhancement */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #d5202091 !important;
    border-radius: 50%; /* Circular background */
    padding: 15px; /* Increase clickable area */
    transition: background-color 0.3s ease;
    width: 30px; /* Increase icon size */
    height: 30px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Darker on hover */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Adjust the width as needed */
    
}
/* Footer Styles */
.footer {
    margin-top: 2.5rem; /* 40px */
    padding: 1.25rem; /* 20px */
    background-color: #343a40;
    color: white;
    text-align: center;
    font-size: 0.875rem; /* 14px */
}

.footer p {
    margin: 0;
    line-height: 1.5;
}

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

.footer a:hover,
.footer a:focus {
    color: #cccccc;
}
/* assets/css/styles.css */

/* Disabled links styling */
.disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}
