/* Custom styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --navbar-height: 80px;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: var(--text-color);
}

/* Navbar styles */
.navbar {
    background-color: #000 !important;
    padding: 1rem 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: var(--navbar-height);
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: all var(--transition-speed) ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f9b233;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero section */
.hero-section {
    background-color: #fff;
    min-height: calc(100vh - var(--navbar-height));
    color: #000;
    padding-top: 9rem;
}

.hero-section h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    font-family: 'Inter', sans-serif;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    transition: all var(--transition-speed) ease;
    margin: 0 0.5rem;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn.btn-primary {
    background-color: #f9b233;
    border-color: #f9b233;
}

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

.hero-btn.btn-dark {
    background-color: #0d0d0d;
    border-color: #0d0d0d;
}

.hero-btn.btn-dark:hover {
    background-color: #222;
    border-color: #222;
}

.hero-image-container {
    flex: 0 1 auto;
    max-width: 300px;
    margin: 0 1rem;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease;
    max-height: 400px;
    object-fit: cover;
    border: 15px solid #f9b233;
}

.hero-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - var(--navbar-height) - 56px);
        padding-top: 6rem;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-image-container {
        max-width: 250px;
    }
}

/* Investigation section */
.investigation-section {
    background-color: #f9b233;
    padding: 4rem 0;
    color: #000;
}

.investigation-section .container {
    padding: 0; /* Remove default container padding */
}

.investigation-section .text-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem; /* Add some padding for mobile view */
}

.investigation-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.investigation-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .investigation-section h2 {
        font-size: 2.5rem;
    }
    
    .investigation-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Timeline section */
.timeline-section {
    background-color: #fff;
}

.timeline-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.timeline-content {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
}

.timeline-item {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    transition: transform var(--transition-speed) ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

/* Pattern section */
.pattern-section {
    position: relative;
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.deception-timeline {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.deception-line {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 50%;
    width: 4px;
    background-color: #f9b233;
    transform: translateX(-50%);
    z-index: 0;
    height: calc(100% - 100px);
}

.deception-step {
    position: relative;
    margin-bottom: 2.94rem;
    display: flex;
    align-items: center;
    min-height: 100px;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.step-left {
    justify-content: flex-start;
    padding-right: calc(50% - 1.2rem);
}

.step-right {
    justify-content: flex-end;
    padding-left: calc(50% - 1.2rem);
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background-color: #f9b233;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-number:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(249, 178, 51, 0.6);
}

.deception-content {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-left .deception-content {
    margin-right: 1.2rem;
    border-left: 4px solid #f9b233;
}

.step-right .deception-content {
    margin-left: 1.2rem;
    border-right: 4px solid #f9b233;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.deception-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.deception-cta {
    text-align: center;
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}

.deception-cta .btn-warning {
    background-color: #f9b233;
    border-color: #f9b233;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.deception-cta .btn-warning:hover {
    background-color: #e6a01f;
    border-color: #e6a01f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 178, 51, 0.25);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .deception-line {
        left: 30px;
        height: calc(100% - 80px);
    }
    
    .deception-step {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2.8rem;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .step-left, .step-right {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 36px;
        transform: translateX(-30px);
    }
    
    .step-number {
        left: 30px;
        transform: translateX(-50%);
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .step-number:hover {
        transform: translateX(-50%) scale(1.1);
    }
    
    .deception-content {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .step-left .deception-content {
        border-left: 4px solid #f9b233;
        margin: 0;
    }
    
    .step-right .deception-content {
        border-left: 4px solid #f9b233;
        border-right: none;
        margin: 0;
    }
}

/* Evidence section */
.evidence-section {
    background-color: #1a1a1a; /* Dark background for the section */
    padding: 4rem 0;
    position: relative; /* For positioning nav buttons */
}

.evidence-container { /* Added a wrapper for content and nav for better control */
    position: relative;
    max-width: 1200px; /* Or your site's standard container width */
    margin: 0 auto;
    padding: 0 2.5rem; /* Space for nav buttons if they are outside the scroll content */
}

.evidence-content {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden; /* Prevent vertical scrollbar */
    padding: 1rem 0; /* Padding top/bottom for the scroll area */
    scroll-behavior: smooth; /* Smooth scrolling for JS-driven navigation */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    position: relative; /* Ensure it's a positioning context if needed */
}

.evidence-content::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Edge */
}

.evidence-item { /* New style for individual image containers */
    flex: 0 0 auto; /* Don't grow or shrink, use basis width */
    width: calc((100% / 3) - 1rem); /* Show 3 items on desktop, account for margin */
    height: 250px; /* Fixed height for uniformity */
    margin-right: 1.5rem; /* Spacing between items */
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.evidence-item:last-child {
    margin-right: 0;
}

.evidence-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, maintain aspect ratio, crop if needed */
    display: block;
    border-radius: inherit; /* Inherit border-radius from parent .evidence-item */
}

.evidence-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Buttons for Evidence Section */
.evidence-nav {
    /* This container might not be strictly necessary if buttons are positioned absolutely 
       relative to .evidence-container or .evidence-section */
    text-align: center; /* Or use flex to position buttons */
    margin-top: 1rem; /* Space above nav buttons if they are below content */
}

.evidence-nav-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: absolute; /* Position relative to .evidence-container */
    top: 50%;
    transform: translateY(-50%); 
    z-index: 10;
    opacity: 0.7; /* Slightly transparent by default */
}

.evidence-nav-button:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.2);
    color: #f9b233; /* Accent color on hover */
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.evidence-nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.evidence-nav-button.scroll-left { /* Specific class for left button if needed */
    left: 0px; /* Position left button */
}

.evidence-nav-button.scroll-right { /* Specific class for right button if needed */
    right: 0px; /* Position right button */
}

/* Responsive adjustments for Evidence Gallery */
@media (max-width: 992px) { /* Medium devices (tablets, less than 992px) */
    .evidence-item {
        width: calc((100% / 2) - 0.75rem); /* Show 2 items */
        margin-right: 1rem;
        height: 220px;
    }
    .evidence-container {
        padding: 0 2rem; /* Adjust padding for nav buttons */
    }
}

@media (max-width: 767px) { /* Small devices (landscape phones, less than 768px) */
    .evidence-item {
        width: calc(80% - 0.5rem); /* Show 1 item, taking up most of the width */
        height: 280px; /* Potentially taller on mobile for better visibility */
        margin-right: 1rem;
        scroll-snap-align: start; /* For CSS snap scrolling */
    }

    .evidence-content {
        scroll-snap-type: x mandatory; /* Enable snap scrolling on mobile */
        padding-left: calc(10% + 0.25rem); /* Center the single item somewhat */
        padding-right: calc(10% + 0.25rem);
    }

    .evidence-container {
        padding: 0 0.5rem; /* Reduce padding on mobile, buttons might be smaller or overlay more */
    }

    .evidence-nav-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        opacity: 1; /* Always visible on mobile, or controlled by hover on .evidence-container */
    }
    .evidence-nav-button.scroll-left {
        left: -5px;
    }
    .evidence-nav-button.scroll-right {
        right: -5px;
    }
}

/* Submit story section */
.submit-story-section {
    background-color: #fff;
}

/* Contact Section */
.contact-section {
    padding: 15rem 0;
    background-color: #0f0f0f;
    color: #fff;
}

.contact-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.contact-social {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
}

.contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 2rem;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;
}

.contact-social-icon:hover,
.contact-social-icon:focus {
    background: #f9b233;
    color: #fff;
    box-shadow: 0 4px 16px rgba(249,178,51,0.18);
}

@media (max-width: 600px) {
    .contact-social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
}

.contact-email, .contact-email-icon, .contact-email-text {
    display: none !important;
}

.social-links {
    margin-top: 3rem;
}

.social-link {
    font-size: 1.25rem;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-speed) ease-out, transform var(--transition-speed) ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Form styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #CBD5E1 !important; /* Light gray border for invalid fields */
    /* background-image: none; */ /* Optional: remove Bootstrap's default invalid icon */
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #CBD5E1 !important;
    box-shadow: 0 0 0 0.25rem rgba(203, 213, 225, 0.25) !important; /* Light gray focus glow */
}

/* Ensure the invalid feedback text color is still visible and appropriate */
.invalid-feedback {
    color: #dc3545; /* Default Bootstrap red for text, or choose another color if needed */
}

/* Style for the file input if it also needs this treatment */
.form-control[type="file"].is-invalid,
.was-validated .form-control[type="file"]:invalid {
    border-color: #CBD5E1 !important;
}

.form-control[type="file"].is-invalid:focus,
.was-validated .form-control[type="file"]:invalid:focus {
    border-color: #CBD5E1 !important;
    box-shadow: 0 0 0 0.25rem rgba(203, 213, 225, 0.25) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - var(--navbar-height) - 56px);
    }

    .hero-image-container {
        max-width: 200px;
    }

    .timeline-item {
        width: 240px;
    }
}

/* Digital Footprint Section */
.digital-footprint-section {
    background-color: #0f0f0f; /* Solid black background */
    color: white;
    padding: 80px 0;
}

.digital-footprint-section .display-5 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem; /* Match 'The Investigation' heading */
    font-weight: 700;
    color: white;
}

.digital-footprint-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.digital-footprint-content {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0;
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
    align-items: stretch; /* Ensures cards stretch to the same height */
}

.digital-footprint-content::-webkit-scrollbar {
    display: none;  /* Hide scrollbar for Chrome, Safari and Opera */
}

.scroll-button {
    position: absolute;
    top: 60%; /* Pushes the button down from the default 50% */
    transform: translateY(-50%); /* Vertically center */
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-button:hover:not(:disabled) {
    background-color: #f9b233; /* Yellow background on hover */
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.scroll-button:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none; /* Prevent hover effects when disabled */
}

.scroll-button.scroll-left {
    left: 0px; /* Position closer to the content */
}

.scroll-button.scroll-right {
    right: 0px; /* Position closer to the content */
}

@media (max-width: 768px) {
    .scroll-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .scroll-button.scroll-left {
        left: 5px;
    }
    
    .scroll-button.scroll-right {
        right: 5px;
    }
    
    .digital-footprint-container {
        padding: 0 30px;
    }
}

.digital-footprint-card {
    
    height: 440px !important; /* Restored fixed height for consistency - DIAGNOSTIC */
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column; /* Align items vertically */
    color: #333; /* Dark text for readability on white background */
    transition: all 0.3s ease;
}

.digital-footprint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.digital-footprint-card .card-header h5 {
    font-weight: bold;
    color: #333;
}

.digital-footprint-card .card-header i {
    color: #f9b233; /* Yellow icon color */
}

.digital-footprint-card .profile-image {
    width: 100%;
    height: 150px; /* Fixed height for image container */
    border: 3px solid #f9b233; /* Yellow border */
    border-radius: 0.5rem; /* Rounded corners for image container */
    overflow: hidden;
    margin-bottom: 1rem; /* Space below image */
}

.digital-footprint-card .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.digital-footprint-card .bullet-point-display {
    font-size: 0.9rem;
    text-align: center;
    min-height: 60px; /* Ensure space for a few lines of text */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Allow this to take available space */
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.4;
}

.digital-footprint-card .bullet-point-display a {
    color: #f9b233; /* Yellow for links */
    text-decoration: underline;
}

.digital-footprint-card .bullet-point-display a:hover {
    color: #d6901a;
}

/* Digital Footprint Card Bullet Points */
.digital-footprint-card .card-bullets {
    padding: 0 15px 15px; /* Add some padding around the bullets */
    margin-top: 8px; /* Spacing between image and bullets */
    flex-grow: 1; /* Allow this section to take available vertical space */
    overflow-y: auto; /* Add scrollbar if text overflows */
    min-height: 50px; /* Ensure a minimum height for the text area */
}

.styled-bullets {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.styled-bullets li {
    color: #000000; /* Black text */
    font-size: 15px; /* Around 14-16px */
    padding-left: 20px; /* Space for the custom bullet */
    position: relative;
    margin-bottom: 10px; /* Spacing between bullet lines */
    line-height: 1.4;
}

.styled-bullets li:last-child {
    margin-bottom: 0;
}

.styled-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; /* Proportional bullet size */
    height: 8px; /* Proportional bullet size */
    background-color: #f9b233; /* Yellow bullet */
    border-radius: 50%; /* Circular bullet */
}

/* Ensure consistent height for cards if content varies */
.digital-footprint-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes cards in a row take up equal height */
}

.digital-footprint-card .profile-image {
    margin-bottom: 8px; /* Reduced from 1rem (16px) to make space for bullets */
}

/* Responsive adjustments for bullet points */
@media (max-width: 768px) {
    .styled-bullets li {
        font-size: 14px; /* Slightly smaller font on smaller screens */
        padding-left: 18px; /* Adjust padding for smaller bullet */
    }

    .styled-bullets li::before {
        width: 7px;
        height: 7px;
    }

    .digital-footprint-card .card-bullets {
        margin-top: 8px;
        padding: 0 10px 10px;
    }
}

/* Static bullet points styling */
.digital-footprint-card .static-bullet-points {
    margin-top: 12px; /* Space between image and bullets */
    padding-left: 0; /* Remove default padding if any */
    list-style: none; /* Remove default list styling */
}

.digital-footprint-card .static-bullet-points p {
    position: relative;
    padding-left: 20px; /* Space for the custom bullet */
    margin-bottom: 8px; /* Space between bullet lines */
    font-size: 15px; /* Balanced font size */
    color: #333333; /* Dark gray text */
    line-height: 1.4;
}

.digital-footprint-card .static-bullet-points p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; /* Bullet size */
    height: 8px; /* Bullet size */
    background-color: #f9b233; /* Yellow bullet color */
    border-radius: 50%; /* Circular bullet */
}

.digital-footprint-card .static-bullet-points p:last-child {
    margin-bottom: 0; /* No margin for the last bullet point in the static list */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .digital-footprint-section .display-5 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }

    .digital-footprint-card {
        flex: 0 0 280px; /* Slightly smaller cards on mobile */
        width: 280px;
        padding: 1rem;
    }

    .digital-footprint-card .profile-image {
        height: 130px; /* Adjust image container height for mobile */
    }

    .digital-footprint-card .bullet-point-display {
        font-size: 0.85rem;
        min-height: 50px;
    }

    .scroll-button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .scroll-button.scroll-left {
        left: 5px;
    }

    .scroll-button.scroll-right {
        right: 5px;
    }
}

/* Timeline section */
.timeline-section {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.timeline-section h2 {
    color: #0d0d0d;
}

.timeline-section p {
    color: #666;
}

.timeline-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.timeline-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-content::-webkit-scrollbar {
    display: none;
}

.timeline-item {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timeline-item-icon {
    font-size: 1.5rem;
    color: #f9b233;
}

.timeline-item-platform {
    font-weight: 600;
    color: #0d0d0d;
}

.timeline-item-handle {
    color: #666;
    font-size: 0.9rem;
}

.timeline-item-details {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-item-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.timeline-item-link:hover {
    color: #0056b3;
}

/* Digital Footprint Navigation */
.timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.timeline-nav-button {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.timeline-nav-button:hover {
    color: #0d0d0d;
}

.timeline-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Digital Footprint Responsive Adjustments */
@media (max-width: 768px) {
    .timeline-section {
        padding: 6rem 0;
    }
    
    .timeline-item {
        width: 240px;
    }
    
    .timeline-nav {
        padding: 0 0.5rem;
    }
}

/* Pattern Section */
.pattern-section {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.pattern-section h2 {
    color: #0d0d0d;
}

.pattern-section p {
    color: #666;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 15px;
    background-color: #f9b233;
    transform: translateX(-50%);
}

.timeline-content {
    position: relative;
    z-index: 1;
}

/* Timeline Steps */
.timeline-step {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-left {
    flex-direction: row-reverse;
}

.timeline-step-right {
    flex-direction: row;
}

/* Timeline Step Content */
.timeline-step-content {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    max-width: 500px;
}

.timeline-step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #f9b233;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0d0d0d;
}

.timeline-step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 20px;
    height: 2px;
    background-color: #f9b233;
    transform: translateY(-50%);
}

.timeline-step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background-color: #f9b233;
    transform: translateY(-50%);
}

.timeline-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d0d0d;
    margin-bottom: 1rem;
}

.timeline-step-description {
    color: #333;
    line-height: 1.6;
}

/* Pattern Section Responsive Adjustments */
@media (max-width: 768px) {
    .pattern-section {
        padding: 6rem 0;
    }
    
    .timeline-container {
        padding: 2rem 0;
    }
    
    .timeline-step-content {
        padding: 1.5rem;
        margin: 0 1rem;
        max-width: 400px;
    }
    
    .timeline-step-number {
        width: 35px;
        height: 35px;
    }
    
    .timeline-step-title {
        font-size: 1.25rem;
    }
}   

/* Evidence Section */
.evidence-section {
    padding: 8rem 0;
    background-color: #0d0d0d;
}

.evidence-section h2 {
    color: #fff;
}

.evidence-section p {
    color: rgba(255, 255, 255, 0.5);
}

/* Evidence Container */
.evidence-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Evidence Navigation */
.evidence-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.evidence-nav-button {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
    padding: 0.5rem;
}

.evidence-nav-button:hover {
    opacity: 1;
    background: #f9b233;
    color: white;
    transform: scale(1.1);
}

.evidence-nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Evidence Content */
.evidence-content {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 0 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.evidence-content::-webkit-scrollbar {
    display: none;
}

/* Evidence Item */
.evidence-item {
    flex: 0 0 auto;
    width: 300px;
    height: 240px;
    background: #1a1a1a;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.evidence-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.evidence-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.evidence-item:hover::before {
    opacity: 1;
}

.evidence-item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.evidence-item:hover .evidence-item-content {
    opacity: 1;
}

.evidence-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.evidence-item-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Evidence Section Responsive Adjustments */
@media (max-width: 768px) {
    .evidence-section {
        padding: 6rem 0;
    }
    
    .evidence-content {
        padding: 0 1rem;
    }
    
    .evidence-item {
        width: 240px;
        height: 180px;
    }
    
    .evidence-nav-button {
        width: 32px;
        height: 32px;
    }
    
    .evidence-item-title {
        font-size: 1.2rem;
    }
    
    .evidence-item-description {
        font-size: 0.8rem;
    }
}

/* Submit Story Section */
.submit-story-section {
    padding: 8rem 0;
    background-color: #fff;
}

.submit-story-section h2 {
    color: #0d0d0d;
}

.submit-story-section p {
    color: #6b7280;
    line-height: 1.8;
}

/* Form Styles */
.submit-story-section form {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.submit-story-section .form-label {
    color: #0d0d0d;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.submit-story-section .form-control {
    height: 50px;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submit-story-section .form-control:focus {
    border-color: #f9b233;
    box-shadow: 0 0 0 4px rgba(249, 178, 51, 0.2);
}

.submit-story-section .form-control:invalid {
    border-color: #CBD5E1 !important; /* Light gray border for invalid fields */
}

.submit-story-section textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}

.submit-story-section .form-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.submit-story-section .btn-primary {
    background-color: #f9b233;
    border-color: #f9b233;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.submit-story-section .btn-primary:hover {
    background-color: #e19d25;
    border-color: #e19d25;
    transform: translateY(-2px);
}

.submit-story-section .btn-primary:active {
    transform: translateY(0);
}

.submit-story-section .invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .submit-story-section {
        padding: 6rem 0;
    }
    
    .submit-story-section form {
        padding: 1.5rem;
    }
    
    .submit-story-section .form-control {
        height: 45px;
    }
    
    .submit-story-section textarea.form-control {
        min-height: 120px;
    }
    
    .submit-story-section .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
}

.contact-email, .contact-email-icon, .contact-email-text {
    display: none !important;
}

.social-links {
    margin-top: 3rem;
}

.social-link {
    font-size: 1.25rem;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Contact form submit button */
.contact-submit-btn {
    background-color: #f9b233; /* Yellow background */
    color: white; /* White text */
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover, 
.contact-submit-btn:focus {
    background-color: #e6a22e; /* Slightly darker yellow on hover */
    color: white;
    box-shadow: 0 4px 12px rgba(249, 178, 51, 0.25);
}

@media (max-width: 600px) {
    .contact-social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-container .form-control {
    height: 50px;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-container .form-control:focus {
    border-color: #f9b233;
    box-shadow: 0 0 0 4px rgba(249, 178, 51, 0.2);
}

.contact-form-container textarea.form-control {
    height: auto;
    min-height: 150px;
    resize: vertical;
}

.contact-form-container .btn-warning {
    background-color: #f9b233;
    border-color: #f9b233;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-form-container .btn-warning:hover {
    background-color: #e19d25;
    border-color: #e19d25;
    transform: translateY(-2px);
}

.contact-form-container .btn-warning:active {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 6rem 0;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form-container .form-control {
        height: 45px;
    }
    
    .contact-form-container textarea.form-control {
        min-height: 120px;
    }
    
    .contact-form-container .btn-warning {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .timeline-section {
        padding: 3rem 0;
    }
}

/* Recent Updates Section */
.recent-updates-section {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
}

.recent-updates-section .display-5 {
    color: #1a202c; /* Dark text for section title */
}

.update-card {
    background-color: #ffffff;
    border-radius: 0.75rem; /* Rounded corners */
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure cards take full height of the d-flex align-items-stretch container */
        text-decoration: none;
}

.update-card .card-title {
    color: #1a202c; /* Dark text for card title */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.update-card .card-text.small {
    color: #4a5568; /* Gray text for description */
    font-size: 0.9rem;
    line-height: 1.4;
}

.update-card .card-text.mt-auto {
    color: #718096; /* Lighter gray for 'Dates' */
    font-size: 0.8rem;
}

.update-icon-wrapper {
    display: inline-flex; /* Align icon properly */
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f9b233; /* Yellow background for icon */
    margin-bottom: 1rem; /* Space below icon */
}

.update-icon-style {
    display: inline-block; /* Ensure proper display for the icon */
    font-family: 'bootstrap-icons'; /* Explicitly set the icon font */
    font-size: 1.25rem; /* Icon size */
    color: #1a202c !important; /* Icon color - dark to contrast with yellow - DIAGNOSTIC */
}

/* Responsive adjustments for Recent Updates if needed */
@media (max-width: 768px) {
    .recent-updates-section .row > div[class*="col-"] {
        margin-bottom: 1rem; /* Add some space between cards when stacked */
    }
    .update-card {
        padding: 1.25rem;
    }
}

/* Footer Section */
.footer-section {
    background-color: #0f0f0f;
    color: #fff;
    padding: 3rem 0;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-section .col {
    flex-basis: 0;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.footer-section .col:last-child {
    margin-bottom: 0;
}

.footer-section .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section .footer-text {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-section .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-links li {
    display: inline-block;
    margin-right: 1rem;
}

.footer-section .footer-links li:last-child {
    margin-right: 0;
}

.footer-section .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .footer-links a:hover {
    color: #f9b233;
}

.footer-section .social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .social-links li {
    display: inline-block;
    margin-right: 1rem;
}

.footer-section .social-links li:last-child {
    margin-right: 0;
}

.footer-section .social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
    color: #f9b233;
}

.footer-section .copyright {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        padding: 2rem 0;
    }
    
    .footer-section .container {
        padding: 0 0.5rem;
    }
    
    .footer-section .row {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section .col {
        flex-basis: 100%;
        margin-bottom: 1rem;
    }
    
    .footer-section .col:last-child {
        margin-bottom: 0;
    }
    
    .footer-section .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-section .footer-text {
        font-size: 0.8rem;
    }
    
    .footer-section .footer-links {
        margin-top: 1rem;
    }
    
    .footer-section .social-links {
        margin-top: 1rem;
    }
    
    .footer-section .copyright {
        font-size: 0.8rem;
    }
}

/* Image Gallery Section */
.image-gallery-section {
    background-color: #f8f9fa; /* Light background for the gallery section */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem; /* Rounded corners for items */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3; /* Maintain a 4:3 aspect ratio, adjust as needed */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item a {
    display: block;
    height: 100%;
    width: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area, cropping if necessary to maintain aspect ratio */
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Styling for the modal to ensure it looks good with images */
#galleryModal .modal-content {
    background-color: rgba(0, 0, 0, 0.85); /* Darker, semi-transparent background for the modal content area */
    border-radius: 0.25rem;
}

#galleryModal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%); /* Makes the default Bootstrap close button white and more visible */
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .gallery-item {
        aspect-ratio: 3 / 2; /* Adjust aspect ratio for smaller screens if desired */
    }
}

/* Image Gallery Styles */
.gallery-scroll-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.gallery-scroll-container::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.gallery {
    flex-wrap: nowrap; /* Ensures images stay in a single line */
}

.gallery-item {
    min-width: 250px; /* Adjust as needed, controls how many images are visible */
    /* Or use a percentage for responsiveness, e.g., min-width: 30%; */
}

/* Ensure buttons are on top */
#scroll-left, #scroll-right {
    z-index: 10;
}

/* Styles for the main Image Gallery section to be single-row scrollable */
#image-gallery {
    background-color: #000; /* Black background */
}

#image-gallery h2,
#image-gallery p.lead {
    color: #fff !important; /* White text, using !important to override .text-muted if necessary */
}

#image-gallery .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden; /* Prevent vertical scrollbar if content is taller */
    padding-bottom: 1rem; /* Add some padding for the scrollbar or just visual spacing */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

#image-gallery .row::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Edge */
}

/* Adjust gallery item width for horizontal scrolling */
/* We remove the Bootstrap column behavior by overriding width and flex properties */
#image-gallery .row > .col-lg-4.col-md-6 {
    flex: 0 0 auto; /* Don't grow or shrink, use basis width */
    width: 420px; /* Adjusted from 300px to show ~3 larger images */
    /* If using percentage, ensure the parent .row has enough width or the items might still wrap */
    margin-right: 1rem; /* Add some spacing between items */
    margin-bottom: 0; /* Remove default Bootstrap mb-4 as it's a single row now */
}

#image-gallery .row > .col-lg-4.col-md-6:last-child {
    margin-right: 0;
}

/* Adjust vertical position of scroll arrows in the #image-gallery section */
#image-gallery .scroll-button {
    top: 60%; /* Pushes the button down from the default 50% */
}

/* Styles for the Evidence & Receipt section to be single-row scrollable */
#evidence-gallery-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#evidence-gallery-row::-webkit-scrollbar {
    display: none;
}

/* Styles for items dynamically added to #evidence-gallery-row */
#evidence-gallery-row > .evidence-item-card {
    flex: 0 0 auto;
    width: 420px;
    margin-right: 1rem;
    margin-bottom: 0;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#evidence-gallery-row > .evidence-item-card:last-child {
    margin-right: 0;
}

section[id] {
  scroll-margin-top: 80px; /* Adjust this value as needed based on your navbar height */
}
.digital-footprint-slide {
    margin: 0 50px;
}
.swiper-button-prev, .swiper-button-next {
    background-color: #f9b233;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 30px;
}
.swiper-button-prev {
left: 0px;
}
.swiper-button-next {
right: 0px;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
    color: #fff;
    }
    .white-bg-box {
        font-size: 16px;
        border-radius: 8px;
        padding: 10px;
        margin-bottom:20px;
        text-align: left !important;
        background-color: #fff;
    }
