body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
}

/* Global styles for sections */
.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Desktop: 2.5rem, Tablet: 2.2rem, Mobile: 1.8rem */
    font-weight: 700;
    color: #0d2e4e; /* Dark blue */
    margin-bottom: 3rem;
}

.text-light-emphasis {
    color: #adb5bd !important;
}

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

.navbar-brand .site-name {
    font-size: clamp(1.25rem, 4vw, 1.8rem); /* Adaptive font size for site name */
    font-weight: 600;
    color: #e0f2f7;
}

.navbar-nav .nav-link {
    color: #e0f2f7 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.1s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #87CEEB !important; /* Light sky blue */
}

.offcanvas-header {
    background-color: #0d2e4e;
    color: #e0f2f7;
}

.offcanvas-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
}

/* Hero Section */
.hero-section {
   background-image: url("../resources/uploads/pics/hero-background_44.webp");
   background-repeat: no-repeat;
   background-size: cover;
    min-height: 80vh; 
    position: relative;
    overflow: hidden;
} 
.hero-content {
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Adaptive for large headline */
    color: #e0f2f7;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #cce7f0;
}

.ghost-button {
    border-color: #e0f2f7;
    color: #e0f2f7;
    background-color: transparent;
    transition: all 0.1s ease-in-out;
}

.ghost-button:hover {
    background-color: #e0f2f7;
    color: #0d2e4e;
    border-color: #e0f2f7;
}

/* Typewriter effect simulation */
.typewriter-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.typewriter-cursor {
    display: inline-block;
    vertical-align: bottom;
    border-right: 2px solid #e0f2f7;
    animation: none; /* No actual animation as per requirements */
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

.about-block {
    background-color: #e9ecef !important;
    border-radius: 0.5rem;
}

.about-section h3 {
    color: #0d2e4e;
}

.about-section p {
    color: #555;
}

/* Services Section */
.services-section {
    background-color: #e0f2f7; /* Light blue background */
}

.service-card {
    background-color: #fff;
    border: none;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

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

.service-card .icon-large {
    font-size: 3rem;
    color: #1a4a72;
}

.service-card h3 {
    color: #0d2e4e;
}

/* Features Section */
.features-section {
    background-color: #f8f9fa;
}

.features-section .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.features-section .nav-link {
    color: #0d2e4e;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.1s ease-in-out;
    font-weight: 500;
}

.features-section .nav-link:hover {
    border-color: #87CEEB;
    color: #1a4a72;
}

.features-section .nav-link.active {
    color: #1a4a72;
    background-color: transparent;
    border-color: #1a4a72;
    font-weight: 600;
}

.features-section .tab-pane {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
}

.features-section h3 {
    color: #0d2e4e;
}

.features-section ul {
    list-style-type: none;
    padding-left: 0;
}

.features-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.features-section ul li::before {
    content: "\F26A"; /* Bootstrap icon for check-circle */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: #1a4a72;
}

/* Team Section */
.team-section {
    background-color: #cce7f0; /* Lightest blue background */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiM5ZGNkZTQiPjxwYXRoIGQ9Ik00MCAwSDIwdjIwSDQwVjB6TTIwIDIwSDB2MjBIMjBWMjB6Ii8+PC9nPjwvZz48L3N2Zz4='); /* Subtle pattern */
    background-size: 20px 20px;
}

.team-member-card {
    background-color: #fff;
    border: none;
    overflow: hidden;
    position: relative;
}

.team-member-img {
    filter: grayscale(100%);
    transition: filter 0.0s ease-in-out; /* Instant change */
    height: 120px;
    width: 120px;
    object-fit: cover;
    border: 3px solid transparent;
}

.team-member-card:hover .team-member-img {
    filter: grayscale(0%);
    border-color: #1a4a72; /* Color highlight */
}

.team-member-card h4 {
    color: #0d2e4e;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1a4a72 0%, #0d2e4e 100%); /* Dark blue gradient */
    position: relative;
    overflow: hidden;
}

.stats-section .section-title {
    color: #e0f2f7;
}

.timeline-container {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0f2f7;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    color: #e0f2f7;
}

.timeline-point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #87CEEB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #e0f2f7;
}

.timeline-item h3 {
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.timeline-item p {
    padding-top: 55px;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

.timeline-year {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

@media (max-width: 767.98px) {
    .timeline-item {
        margin-bottom: 2rem;
        padding-top: 2rem;
    }
    .timeline-point {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        transform: none;
    }
    .timeline-container .row {
        flex-direction: column;
        align-items: center;
    }
    .timeline-item:nth-child(even) {
        text-align: left;
    }
    .timeline-item:nth-child(odd) {
        text-align: right;
    }
   .timeline-item p {
    padding: 0;
   }
   .timeline-item {
    width: 100% !important;
   }
}

/* How It Works Section */
.how-it-works-section {
    background-color: #f8f9fa;
}

.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-header button {
    background-color: #e0f2f7;
    color: #0d2e4e;
    font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.25rem);
    padding: 1rem 1.25rem;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.1s ease-in-out;
}

.accordion-header button:hover {
    background-color: #cce7f0;
}

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

.accordion-button:not(.collapsed) {
    color: #1a4a72;
    background-color: #cce7f0;
    box-shadow: none;
}

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

.accordion-body h3 {
    color: #0d2e4e;
}

.step-number {
    font-weight: 700;
    color: #1a4a72;
    font-size: 1.2em;
}

/* Contact Section */
.contact-section {
    background-color: #e0f2f7;
}

.contact-chat-interface {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    max-width: 80%;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.chat-message.incoming {
    background-color: #e9ecef;
    color: #333;
    align-self: flex-start;
    margin-right: auto;
}

.contact-form .form-label {
    font-weight: 500;
    color: #0d2e4e;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border-radius: 0.5rem;
    border-color: #ced4da;
    padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
    border-color: #87CEEB;
    box-shadow: 0 0 0 0.25rem rgba(135, 206, 235, 0.25);
}

.send-button {
    background-color: #1a4a72;
    border-color: #1a4a72;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.1s ease-in-out, border-color 0.1s ease-in-out;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.send-button:hover {
    background-color: #0d2e4e;
    border-color: #0d2e4e;
}

.form-check-label {
    color: #555;
}

/* Footer */
footer {
    background-color: #0d2e4e !important;
    color: #e0f2f7;
    font-size: 0.9rem;
}

footer h5 {
    color: #87CEEB;
    font-size: clamp(1rem, 3vw, 1.25rem);
}

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

footer ul li a {
    color: #cce7f0;
    text-decoration: none;
    transition: color 0.1s ease-in-out;
}

footer ul li a:hover {
    color: #87CEEB;
}

footer p {
    color: #cce7f0;
}

/* Responsive Typography */
@media (max-width: 1023.98px) {
    .site-name {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    }
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }
    .hero-title {
        font-size: clamp(2rem, 7vw, 3.8rem);
    }
    .accordion-header button {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
}

@media (max-width: 767.98px) {
    .site-logo {
        height: 35px;
    }
    .site-name {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }
    .section-title {
        font-size: clamp(1.25rem, 5vw, 1.8rem);
    }
    .hero-title {
        font-size: 20px;
    }
    .hero-section .lead {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }
    .accordion-header button {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
    .navbar-toggler {
        font-size: 1.25rem;
    }
    .offcanvas-body {
        padding-top: 1rem;
    }
    .offcanvas-body .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .offcanvas-body .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .offcanvas-body .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0.25rem;
    }
    .offcanvas-body .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    .contact-chat-interface {
        padding: 1.5rem;
    }
    .chat-message {
        max-width: 100%;
    }
    footer .col-md-6 {
        text-align: center !important;
    }
    footer ul {
        margin-bottom: 1.5rem;
    }
}/* Parent wrapper for policy content, providing overall padding */
.policyScopeWrap {
    padding-top: 32px;    /* Top padding */
    padding-bottom: 32px; /* Bottom padding */
    padding-left: 24px;   /* Left padding */
    padding-right: 24px;  /* Right padding */
    /* Optional: You might want to add max-width and margin: 0 auto; here
       to center the content on larger screens, but it's not explicitly requested. */
}

/* Heading 1 styles: moderately sized, bold, with vertical spacing */
.policyScopeWrap h1 {
    font-size: 28px;
    font-weight: 700; /* Bold */
    line-height: 1.2;
    margin-top: 32px;
    margin-bottom: 16px;
}

/* Heading 2 styles: slightly smaller than h1 */
.policyScopeWrap h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 28px;
    margin-bottom: 14px;
}

/* Heading 3 styles: further step down */
.policyScopeWrap h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* Heading 4 styles: closer to body text size, still distinct */
.policyScopeWrap h4 {
    font-size: 18px;
    font-weight: 600; /* Slightly less bold than higher headings */
    line-height: 1.35;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Heading 5 styles: similar to body text but bold */
.policyScopeWrap h5 {
    font-size: 16px; /* Standard body text size */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 18px;
    margin-bottom: 8px;
}

/* Paragraph styles: standard readability */
.policyScopeWrap p {
    font-size: 16px;
    line-height: 1.6; /* Good for readability */
    margin-bottom: 16px; /* Space between paragraphs */
}

/* Unordered list styles: adds bullet points and indentation */
.policyScopeWrap ul {
    list-style: disc; /* Default bullet style */
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 24px; /* Indent for bullet points */
}

/* List item styles: ensures readability within lists */
.policyScopeWrap li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px; /* Space between list items */
}
