body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff; /* Bootstrap primary */
    --info-color: #17a2b8; /* Teal-like color for accent */
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --secondary-text-color: #6c757d;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

@media (min-width: 1024px) {
    h1 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
    }
    h2 {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
    .site-name {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: clamp(2rem, 4vw, 3.5rem);
    }
    h2 {
        font-size: clamp(1.8rem, 3.5vw, 3rem);
    }
    .site-name {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        line-height: 1.2;
    }
    h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .site-name {
        font-size: 1.25rem;
    }
}

/* Navbar */
.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--info-color);
}

.offcanvas-body .navbar-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.offcanvas-body .navbar-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Adjust for fixed header */
    padding-bottom: 40px;
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.custom-floating-headline {
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section .btn-primary {
    background-color: var(--info-color);
    border-color: var(--info-color);
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #138496;
    border-color: #138496;
}

/* About Us - Interactive Map */
#interactive-map-container {
    background-color: var(--light-color);
    border: 1px solid #e9ecef;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

#interactive-map-container img {
    opacity: 0.2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.map-pin {
    background-color: var(--info-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.map-pin:hover {
    transform: scale(1.1);
    background-color: #138496;
}

.map-info-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    max-width: 90%;
    background-color: white;
    border: 1px solid var(--info-color);
    z-index: 3;
    display: none; /* Hidden by default */
}

@media (max-width: 767px) {
    .map-info-panel {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* Our Services */
#services .nav-pills .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#services .nav-pills .nav-link.active,
#services .nav-pills .nav-link:hover {
    background-color: var(--info-color);
    color: white;
    border-color: var(--info-color);
}

#services .tab-content {
    min-height: 300px;
}

.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

#services ul {
    list-style: none;
    padding-left: 0;
}

#services ul li::before {
    content: "\F26A"; /* Bootstrap icon for check-circle */
    font-family: "bootstrap-icons";
    color: var(--info-color);
    margin-right: 10px;
}

/* Key Features */
.key-features-list li {
    align-items: flex-start;
}

.key-features-list .bi {
    color: var(--info-color);
}

/* How It Works */
.how-it-works-step .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-step .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.how-it-works-step .step-number {
    background-color: var(--info-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px auto;
}

.how-it-works-step .step-illustration {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* Application Form */
#apply .form-control, #apply .form-select {
    border-color: #ced4da;
}

#apply .form-control:focus, #apply .form-select:focus {
    border-color: var(--info-color);
    box-shadow: 0 0 0 0.25rem rgba(23, 162, 184, 0.25);
}

/* Our Team */
.team-member-card .avatar-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--info-color);
}

.team-member-card .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.btn-group .btn-outline-info {
    color: var(--info-color);
    border-color: var(--info-color);
}

.btn-group .btn-outline-info:hover,
.btn-group .btn-outline-info.active {
    background-color: var(--info-color);
    color: white;
}

/* Frequently Asked Questions */
.custom-accordion-item {
    border: 1px solid var(--info-color);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.accordion-button {
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--info-color);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-button .chevron-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed) .chevron-box {
    transform: rotate(180deg);
}

.accordion-button::after {
    display: none; /* Hide default Bootstrap icon */
}

.accordion-body {
    background-color: var(--light-color);
    border-top: 1px solid var(--info-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
}

footer .site-name {
    color: white;
}

footer .footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

footer a {
    color: var(--secondary-text-color);
    transition: color 0.3s ease;
}

footer a.hover-info:hover {
    color: var(--info-color);
}

footer .btn-info {
    background-color: var(--info-color);
    border-color: var(--info-color);
    font-weight: 600;
}

footer .btn-info:hover {
    background-color: #138496;
    border-color: #138496;
}

/* Cookie Consent Banner */
.cookie-banner {
    z-index: 1080; /* Above Bootstrap modals (1050) */
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner p {
    margin-bottom: 0;
}

.cookie-banner a {
    color: var(--info-color);
    text-decoration: underline;
}

.cookie-banner .btn {
    font-weight: 600;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1081; /* Ensure it's above the banner */
}

#cookieSettingsModal .modal-header {
    border-bottom: none;
}

#cookieSettingsModal .modal-footer {
    border-top: none;
}

#cookieSettingsModal .btn-close-white {
    filter: invert(1);
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--info-color);
    border-color: var(--info-color);
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(23, 162, 184, 0.25);
}

#cookieSettingsModal .form-check-input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
/* Parent container styles for spacing */
.infoGuardBlock {
    margin-top: 2.5rem; /* Top margin for the entire block */
    padding: 1.5rem; /* Padding on all sides for internal content */
    /* You can add more styles for the block itself here, e.g., background-color, border, max-width */
}

/* Heading styles */
.infoGuardBlock h1 {
    font-size: 2.2rem; /* Moderate H1 font size */
    line-height: 1.2; /* Line height for readability */
    margin-top: 2rem; /* Top margin before H1 */
    margin-bottom: 1rem; /* Bottom margin after H1 */
    font-weight: 700; /* Bold font weight */
    color: #333; /* Dark grey color for headings */
}

.infoGuardBlock h2 {
    font-size: 1.8rem; /* Moderate H2 font size */
    line-height: 1.25;
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    font-weight: 600; /* Slightly less bold than H1 */
    color: #333;
}

.infoGuardBlock h3 {
    font-size: 1.5rem; /* Moderate H3 font size */
    line-height: 1.3;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
}

.infoGuardBlock h4 {
    font-size: 1.25rem; /* Moderate H4 font size */
    line-height: 1.35;
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    font-weight: 500; /* Medium font weight */
    color: #333;
}

.infoGuardBlock h5 {
    font-size: 1.1rem; /* Moderate H5 font size, slightly larger than base text */
    line-height: 1.4;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #333;
}

/* Paragraph styles */
.infoGuardBlock p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #555; /* Slightly lighter grey for paragraph text */
}

/* Unordered list styles */
.infoGuardBlock ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1rem; /* Top margin for the list */
    margin-bottom: 1rem; /* Bottom margin for the list */
    padding-left: 1.5rem; /* Indent for bullet points */
    color: #555;
}

/* List item styles */
.infoGuardBlock li {
    font-size: 1rem; /* Base font size for list items */
    line-height: 1.6; /* Matches paragraph line height */
    margin-bottom: 0.5rem; /* Space between individual list items */
}


.modal-title{
    color: #fff !important;
}

#cookieSettingsModal{
    z-index: 99999;
}

.wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    main{
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575px){
    #services{
        .service-icon{
            width: 100%;
            height: 200px;
            margin-bottom: 20px;
        }
        .d-flex.align-items-start.mb-4{
            flex-direction: column;
        }
    }

    #team{
        .btn-group{
            flex-wrap: wrap;
            gap: 10px;

            button{
                border-radius: 0 !important;
            }
        }

        
    }
}