/* ============================ */
/* General Typography and Layout */
/* ============================ */

body, html {
    font-family: 'Varela Round', sans-serif; /* Main font for body and headings */
    letter-spacing: 0; /* Default spacing */
    line-height: 1.5rem; /* Default line height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Varela Round', sans-serif; /* Consistent font for headings */
    letter-spacing: 1px; /* Tighten spacing for headings */
}

.row {
    max-width: 100vw; /* Prevent row overflow */
}

/* ============================ */
/* Buttons */
/* ============================ */

.btn {
    border-radius: 50px; /* Rounded buttons */
}

.btn-outline {
    border-radius: 50px;
    border: 2px solid var(--bs-light); /* Light border color */
    color: var(--bs-light); /* Light text color */
    transition: all 0.3s; /* Smooth hover effect */
}

.btn-outline:hover {
    background-color: var(--bs-light); /* Hover background */
    color: var(--bs-dark); /* Hover text color */
}

/* ============================ */
/* Header Section */
/* ============================ */
.header{
  position: relative;
width: 100%;
height: 100vh; /* Full-screen height */
background: linear-gradient(
        to bottom,
        rgba(var(--bs-primary-rgb), 0.5), /* Adjust opacity if needed */
        rgba(var(--bs-dark-rgb), 1)
    ),
    url('../../assets/img/Sections/img_section_header.webp'); /* Background image */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex; /* In case you want to center content inside */
align-items: center;
justify-content: center;
}

/* .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(var(--bs-primary-rgb), 0.5), rgba(var(--bs-dark-rgb), 1)); /* Gradient overlay */
    z-index: -100;
}*/
#header_intro{
  z-index:999;
}
/* ============================ */
/* Navigation */
/* ============================ */

.navbar {
    background-color: rgba(0, 0, 0, 0.0); /* Transparent navbar */
}

.navbar-brand img {
    width: 150px; /* Logo size */
}

.navbar-toggler {
    border: none; /* Remove default toggler border */
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-dark) !important; /* Dark background */
    z-index: 9999; /* Ensure it appears on top */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--bs-light) !important; /* Light text */
}

.mobile-menu a {
    color: var(--bs-light) !important;
    font-size: 1.5rem; /* Larger font size for links */
    margin: 10px 0;
    text-decoration: none; /* Remove underline */
}

.mobile-menu a:hover {
    text-decoration: underline; /* Add underline on hover */
}

.navbar.scrolled {
    background-color: var(--bs-dark) !important; /* Dark background when scrolled */
    transition: background-color 0.3s;
}

/* ============================ */
/* Scroll Icon */
/* ============================ */

.scroll-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--bs-light); /* Light border */
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    z-index: 10; /* Above other content */
}

.scroll-icon::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--bs-light); /* Light dot */
    border-radius: 50%;
    animation: scroll 1.5s infinite ease-in-out; /* Scroll animation */
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ============================ */
/* Sections */
/* ============================ */

.section {
    min-height: 50vh; /* Default height for sections */
}

#intro-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#intro-contact i {
    font-size: 1.5rem; /* Icon size */
    margin-right: 10px;
}

#intro-contact p {
    margin: 0;
    font-size: 1.25rem; /* Text size */
}

/* ============================ */
/* Services Section */
/* ============================ */

#services {
   
   background: rgba(255, 255, 255, 0.75); /* Overlay color */
       background-image: url('../../assets/img/Sections/img_section_services.webp'); /* Background image */
    
       background-blend-mode: overlay; /* Blend color and image */
       background-size: cover; /* Ensure the image covers the container */
       background-position: top center; /* Align the image */
}

.carousel-controls {
    position: absolute;
    top: 10px; /* Distance from the top  */
    right: 50px; /* Distance from the right */
    display: flex;
    flex-direction: row; /* Ensure buttons are side-by-side */
    justify-content: flex-end; /* Align buttons to the end */
    align-items: center; /* Center buttons vertically */
    gap: 10px; /* Space between buttons */
    z-index: 10; /* Ensure controls appear above other content */
}

.carousel-control-prev,
.carousel-control-next {
    width: 35px; /* Reduce width to avoid overlap */
    height: 35px; /* Maintain square aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bs-dark); /* Dark background */
    border: none; /* Remove borders for a clean look */
    border-radius: 5px; /* Rounded corners for a sleek design */
    color: var(--bs-light); /* Light-colored icons */
    padding: 0; /* Remove padding to control button size */
    margin: 0; /* Ensure no external spacing affects alignment */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover/click effects */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--bs-primary); /* Highlight on hover */
    transform: scale(1.05); /* Slight grow effect */
}

.carousel-control-prev:active,
.carousel-control-next:active {
    transform: scale(0.95); /* Slight shrink effect */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    font-size: 1rem; /* Adjust icon size for better visibility */
}




.icon-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
}

.icon-tab img {
    max-width: 50px;
    max-height: 50px;
}

.icon-sm {
    display: block;
    margin: 10px auto;
    width: 50px;
    height: 50px;
 }
/* ============================ */
/* Articles Section */
/* ============================ */

.article-card {
    flex-direction: column;
    align-items: center;
}

.article-card img {
    width: 100%;
    height: auto;
}

.article-card .card-body {
    width: 100%;
    text-align: left;
    padding: 10px;
}

.article-preview {
    margin: 0 auto;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid var(--bs-dark);
    padding: 10px;
    border-radius: 5px;
    background-color: var(--bs-light);
    max-width: 100%;
    box-sizing: border-box;
}

.article-preview img {
    max-width: 100%;
    height: auto;
    margin-right: 20px;
    border-radius: 5px;
}

.article-preview-content {
    flex-grow: 1;
}

.article-preview-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.article-preview-content p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #6c757d;
}

.read-more-btn {
    background: #202a49;
    color: #f5faf5;
    border: none;
    padding: 5px 10px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
}

.read-more-btn:hover {
    background-color: #4795CB;
    color: #f5faf5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-preview {
        flex-direction: column;
        margin: 10px auto;
        padding: 15px;
    }

    .article-preview img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .article-preview-content {
        text-align: center;
    }
}


/* ============================ */
/* Modal Styles */
/* ============================ */

.modal-header {
    background: #f5faf5;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-body {
    background: #f5faf5;
    max-height: calc(100vh - 120px); /* Scrollable modal */
    overflow-y: auto;
}

.modal-body img {
    width: 100%;
    height: auto;
}


/* ============================ */
/* Quote Section */
/* ============================ */
#quote{
  background: rgba(32,42,73, 0.95); /* Overlay color */
 background-image: url('../../assets/img/Sections/img_section_quote.webp'); /* Background image */

 background-blend-mode: overlay; /* Blend color and image */
 background-size: cover; /* Ensure the image covers the container */
 background-position: top left; /* Align the image */
 }
 
 #footer a{
   color: #f5faf5;
 }
 
 #footer a:hover{
   color:#202a49;
   text-decoration: none;
 }