/* VARIABLES */
:root {
  --body-bg: #f8f9fa;
  --section-bg-light: #ffffff;
  --section-bg-alternate: #e9f2fa;
  --text-primary: #333;
  --heading-color: #333;
  --border-light: #e0e0e0;
  --border-dark: #cbd6e2;
  --color-cta-orange: #ff8c00;
  --color-cta-orange-hover: #e07b00;
}

/* GLOBAL RESETS & DEFAULTS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0; /* Base padding for container, specific sections may override */
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    color: var(--heading-color);
    margin-bottom: 0.8em;
    line-height: 1.3;
}
h1 { font-size: 2.8em; font-weight: 600; }
h2 { font-size: 2.2em; font-weight: 600; border-bottom: 2px solid #e0e0e0; padding-bottom: 0.3em; margin-top: 1em; text-align: center;}
h3 { font-size: 1.6em; font-weight: 600; margin-top: 1.2em;}
h4 { font-size: 1.2em; font-weight: 500; color: #34495e; } /* Default h4 */

p {
    text-align: left;
    margin-bottom: 1em; /* Added a default bottom margin for paragraphs */
}
p:last-child {
    margin-bottom: 0; /* Avoid extra margin if p is the last element in its container */
}


ul, ol {
    margin-bottom: 1.2em;
    padding-left: 25px;
}
ul li, ol li { margin-bottom: 0.5em; }

a {
    color: #3498db;
    text-decoration: none;
}
a:hover { text-decoration: underline; }

/* COMMON ELEMENTS */
img.screenshot {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.img-caption {
    text-align: center;
    font-style: italic;
    font-size: 0.8em;
    color: #777;
    margin-top: -10px;
    margin-bottom: 20px;
}

ul.list-checkmark {
    padding-left: 20px; 
    list-style-type: none; 
}

.list-checkmark li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 25px;
    list-style-type: none;
}

.list-checkmark li::before {
    content: "";
    display: inline-block;
    width: 1em;   
    height: 1em;
    position: absolute;
    left: 0;
    background-image: url("Pic/checkmark_green.png"); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 0.3em;
}


/* HEADER */
.global-header {
    background-color: #ffffff;
    padding: 0; /* Container inside will provide its padding */
    border-bottom: 1px solid #e7e7e7;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.global-header .container { /* Desktop specific alignment */
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
}
.main-nav li {
    margin-left: 20px;
}
.main-nav a {
    color: #333;
    font-weight: 500;
}
.main-nav a:hover {
    color: #3498db;
    text-decoration: none;
}
.main-nav a.active { /* Kept for JS-driven active state */
    color: #3498db;
    font-weight: bold;
}

.hamburger-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}
.hamburger-button__line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}
.hamburger-button.is-active .hamburger-button__line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-button.is-active .hamburger-button__line:nth-child(2) { opacity: 0; }
.hamburger-button.is-active .hamburger-button__line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO SECTION */
.hero-section {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px 0; 
    text-align: center;
    margin-bottom: 60px; 
}
.hero-section h1 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 0.8em;
}

.hero-section .sub-headline {
    font-size: 1.55em;
    margin-bottom: 0.1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    text-align: center; 
}

/* Hero Section - Key Points List */

.hero-value-box {
    max-width: 750px;
    margin: 0px auto 0 auto; 
    padding-top: 15px;
	padding-bottom: 5px;
	padding-left: 0px;
	padding-right: 0px;
}

.hero-list {
    text-align: left;
    padding-left: 5px;
    margin: 0;
}

.hero-list li {
    font-size: 1.05em;
    line-height: 1.6;
	padding-left: 30px;
    margin-bottom: 0.8em;
}

.hero-list li:last-child {
    margin-bottom: 0;
}

/* Override the checkmark color for the hero section */
.hero-list li::before {
    filter: brightness(0) invert(1);
	top: 0.35em;
}

.hero-list strong {
    font-weight: 600;
    color: #ffffff; 
}

 

.hero-section img.screenshot { /* Specific to hero screenshot */
    margin-top: 40px;
    border-color: #4a6a85;
}
.hero-section .cta-button-hero {
    background-color: var(--color-cta-orange);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 25px;
    transition: background-color 0.3s ease;
}
.hero-section .cta-button-hero:hover {
    background-color: var(--color-cta-orange-hover); 
}

/* SLIDESHOW */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: 40px auto 20px auto;
    overflow: hidden;
    border: 1px solid #4a6a85;
    border-radius: 5px;
    background-color: #22303d;
}
.slideshow-container .prev,
.slideshow-container .next,
.slideshow-container .slide-indicators,
.slideshow-container .autoplay-toggle { /* Added .autoplay-toggle here */
    display: none; /* JS will make them visible */
}
.slideshow-container .prev,
.slideshow-container .next {
    cursor: pointer;
    position: absolute;
    top: calc(50% + 30px); /* Adjusted for text overlay */
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 10;
}
.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.slideshow-container .prev:hover,
.slideshow-container .next:hover {
    background-color: rgba(0,0,0,0.6);
    text-decoration: none;
}
.slide-indicators {
    position: relative;
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
    z-index: auto;
}
.slide-indicators .dot {
    position: relative;
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    line-height: 13px;
    font-size: 9px;
    font-weight: bold;
    color: #e0e0e0;
}
.slide-indicators .dot::before,
.slide-indicators .dot::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 10;
    pointer-events: none;
}
.slide-indicators .dot::after {
    content: attr(data-tooltip);
    bottom: calc(100% + 8px);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: nowrap;
    line-height: 1.3;
}
.slide-indicators .dot::before {
    content: '';
    bottom: calc(100% + 3px);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}


/* Show tooltip on HOVER for devices that support true hover (desktops) */
@media (hover: hover) and (pointer: fine) {
    .slide-indicators .dot:hover::before,
    .slide-indicators .dot:hover::after {
        opacity: 1;
        visibility: visible;
    }
}

/* Show tooltip when a dot has the 'show-tooltip-active' class (for click/tap) */
.slide-indicators .dot.show-tooltip-active::before,
.slide-indicators .dot.show-tooltip-active::after {
    opacity: 1;
    visibility: visible;
}

.slide-indicators .dot.active {
    background-color: #3498db;
    border-color: #3498db;
    color: #ffffff;
}

/* Styling for dot hover, but only on devices that support true hover */
@media (hover: hover) and (pointer: fine) {
    .slide-indicators .dot:hover {
        background-color: #3498db; 
        border-color: #3498db;   
        color: #ffffff;
    }
}

.slideshow-container .slide-text-overlay {
    display: block;
    width: 90%;
    max-width: 800px;
    margin: 20px auto 15px auto;
    padding: 15px 20px;
    color: #f2f2f2;
    font-size: 1.25em;
    font-weight: 600;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    box-sizing: border-box;
	
}
.slideshow-container .slide-number-text {
    color: #f2f2f2;
    font-size: 0.9em;
    padding: 8px 12px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 3px;
    z-index: 5;
}
.slideshow-container .slide {
    display: none; /* Hide slides by default; JS will show the current one */
    position: relative;
    text-align: center;
}
.slideshow-container .slide img.screenshot { /* Override global screenshot styles for slideshow images */
    border: none;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle; 
    margin: 0 auto; /* Ensures centering if image is narrower than slide */
}
.fade {
    animation-name: fade;
    animation-duration: 1.0s;
}
@keyframes fade {
    from {opacity: .6}
    to {opacity: 1}
}

.autoplay-toggle {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    border-radius: 3px;
    margin: 0 5px;
    vertical-align: middle;
    margin-top: 10px; 
}
.autoplay-toggle:hover {
    background: rgba(0,0,0,0.8);
}

/* NoScript Fallback for Slideshow */
.js-active .slideshow-container noscript { /* Hides noscript content if JS is active */
    display: none !important;
}
.slideshow-fallback-container { /* For the div inside noscript */
    margin-top: 40px;
}
noscript .img-caption.slideshow-fallback-caption { /* For the p.img-caption inside noscript */
    color: #fff;
    opacity: 0.9;
}


/* MAIN CONTENT SECTIONS - General */
section {
    scroll-margin-top: 85px; /* For sticky header offset */
}

/* MAIN CONTENT SECTIONS - Specific Types */
/* Base styles for shared properties of styled sections that are also .container */
.highlight-section-white,
.section-gray-bg,
.resource-links { /* .resource-links shares styling with .section-gray-bg */
    border-radius: 5px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    margin-bottom: 60px; /* Ensures these sections get their bottom margin */
}

.highlight-section-white {
    padding: 20px 40px 40px 40px; /* top, right, bottom, left */
    background-color: var(--section-bg-light);
    border: 1px solid var(--border-light);
}

.highlight-section-white > h2,
.section-gray-bg > h2,
.resource-links > h2 {
    margin-top: 0px;
}

.section-gray-bg,
.resource-links { /* Group .resource-links with .section-gray-bg for shared visual style */
    padding: 20px 40px 40px 40px; /* top, right, bottom, left */
    background-color: var(--section-bg-alternate);
    border: 1px solid var(--border-dark);
}
/* .resource-links inherits h2 styling (margin-top: 1em) as it's within this group */

.resource-links { /* Specific style only for .resource-links */
    text-align: center;
}


/* Specific content structures within sections */
.challenge-point,
.rte-point {
    margin-bottom: 2em;
}

.challenge-point:last-child,
.rte-point:last-child {
    margin-bottom: 0;
}

#challenge h4,
#introducing-rte .rte-point h4 { /* Specific h4 styling for these points */
    color: var(--heading-color);
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 0.3em;
    padding-bottom: 0.2em;
    text-align: left; /* Override general h2 text-align if inherited */
    border-bottom: none; /* Ensure no border inherited from general h2 */
}

/* #introducing-rte specific paragraph styling */
#introducing-rte > p { /* Direct child paragraphs of the section for general text */
    margin-bottom: 1.5em;
}

#introducing-rte {
  counter-reset: workflow-counter;
}

/* 2. Increment and display the counter before each point's heading */
#introducing-rte .rte-point h4::before {
  counter-increment: workflow-counter;
  content: counter(workflow-counter) ". ";
}


.benefits-subsection:last-child {
    margin-bottom: 0;
}

.benefits-subsection h3 {
    color: var(--heading-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: left;
    font-size: 1.25em;
}

/* Add this new rule */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 40px; /* Space between the columns */
    margin-top: 30px; /* Space below the H2 */
}

.benefits-subsection {
    margin-bottom: 0; 
}

.benefits-subsection h3 {
    color: var(--heading-color);
    border-bottom: 2px solid var(--border-light); 
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 1.25em;
    margin-top: 0; 
}
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr; /* Stack them back to a single column on mobile */
        gap: 30px;
    }
}

/* Features Section */
.feature-intro {
	text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.feature-item {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border: 1px solid #eee;
	border-left: 4px solid transparent;
    transition: box-shadow 0.2s ease-in-out,  transform 0.2s ease-in-out,  border-left-color 0.2s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column; 
	margin-left: 10px;
	margin-right: 10px;
	padding-left: 10px;
	padding-right: 10px;
}

.feature-item:hover {
     transform: scale(1.03);
     box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Makes shadow a bit more pronounced */
	 border-left-color: #3498db; 
}
.feature-item h4 { /* Specific h4 for feature items */
    color: #3498db;
    margin-bottom: 0.5em;
    border-bottom: none; /* Ensure no border inherited from general h2 */
    text-align: center; /* Ensure h4 text itself is centered */
	font-weight: 600;
	padding-top: 5px;
}
.feature-item p {
    text-align: left; /* Paragraphs within feature items are left-aligned */
	padding-top: 5px;
	padding-bottom: 10px;
}

.feature-item > a h4 {
    color: #3498db; /* Original color for feature item H4 */
    margin-bottom: 0.5em;
	margin-top: 0; 
    border-bottom: none;
    text-align: center;
	font-weight: 600;
}

.feature-item > a p {
    text-align: left;
}

/* Remove hover underline from the link itself, as effects will be on .feature-item */
.feature-item > a:hover {
    text-decoration: none;
}



.feature-item > a.feature-link,
.feature-item > a { 
    display: block; 
    height: 100%;  
    color: inherit; 
    text-decoration: none; 
    padding: 25px; 
	padding: 15px 20px 30px 20px; 
    box-sizing: border-box;
	
}

.feature-cta-hint {
    font-size: 0.9em;
    color: #555;      
    text-align: center; 
    margin-top: 0.5em;  
    margin-bottom: 1.5em; 
    font-style: italic; 
}
 
 .lic-intro {
	font-size: 1.06em; 
 }
 
/* Resource Links / Next Steps Section (#more) */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px; /* Add some space before the final contact CTA */
    text-align: left; 
}

.resource-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
	min-height: 0;
}

.resource-item h4 {
    color:  var(--text-primary);
    margin-top: 0;
    text-align: center;
    border-bottom: none;
	font-weight: 600;
}

.resource-item p {
    margin-bottom: 20px;
}

.button-group-inline {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px; 
	margin-top: auto;
	justify-content: center;
	width: 100%; 
}

.resource-links .cta-button {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 1.05em;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    text-align: center;
    flex: 1 1 150px;
    margin: 0;
    min-width: 120px;
    width: auto;
	border: 2px solid #3498db;
}

.resource-links .cta-button:hover {
    background-color: #2980b9; /* Darker blue on hover */
    border-color: #2980b9;
    text-decoration: none;
}

.cta-button.cta-secondary {
    background-color: transparent;
    color: #3498db; /* Blue text */
    border: 2px solid #3498db; /* Blue border */
}
.cta-button.cta-secondary:hover {
    background-color: #e9f2fa; 
    color: #2980b9;
    border-color: #2980b9;
}

.resource-links p.more-section-intro {
    text-align: center;
    margin-bottom: 20px;
}

.secondary-cta-text {
    margin-top: 30px;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
}

.cta-button-linkedin { 
    background-color: var(--color-cta-orange) !important;
    border-color: var(--color-cta-orange) !important;
}
.cta-button-linkedin:hover {
    background-color: var(--color-cta-orange-hover) !important;
    border-color: var(--color-cta-orange-hover) !important;
}

/* FOOTER */
.global-footer {
	background-color: #2c3e50;
    color: #ffffff; 
    font-size: 12pt; 
    text-align: center;
    padding: 5px 0;
    margin-top: auto;
}

/* === 404 Page Specific Styles === */


#page-not-found-content {
    margin-top: 60px; /* Consistent spacing from the header */
    text-align: center; /* Center-aligns all inline/inline-block children within this section */

    min-height: calc(100vh - 230px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#page-not-found-content h2 {
    border-bottom: none; /* Overrides default h2 border for the 404 page title */
    margin-bottom: 25px; /* Specific space below the 404 title */
}

#page-not-found-content .not-found-main-message {
    font-size: 1.15em; /* Slightly larger text for the main 404 message */
    margin-bottom: 0.8em;
}

#page-not-found-content .not-found-sub-message {
    font-size: 1em;
    margin-bottom: 1.8em; /* More space before the "Return to Homepage" button */
}

.cta-404-button {
    display: inline-block; /* Allows margin/padding and respects text-align:center from parent */
    margin-top: 10px;      /* Space above the button */
    padding: 12px 28px;    /* Generous padding for a clickable feel */
    background-color: #3498db; /* Blue */
    color: #ffffff;        /* White text for contrast */
    text-decoration: none; /* Remove default underline */
    border-radius: 5px;    /* Matches other CTA buttons/rounded elements */
    font-weight: 500;
    font-size: 1.05em;     /* Consistent with other .cta-button styles */
    transition: background-color 0.2s ease, transform 0.1s ease; /* Smooth transitions */
}

.cta-404-button:hover,
.cta-404-button:focus { 
    background-color: #2980b9; /* Darker shade of blue on hover/focus */
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px); /* Subtle lift effect */
}

.cta-404-button:active {
    transform: translateY(0px); /* Press down effect */
    background-color: #2471a3; /* Slightly darker for active state */
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
	
	.container {	
		    overflow-x: auto;
	}
	
	.container h1 span:last-child {
        display: block;
    }
	
    .global-header .container {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .hamburger-button {
        display: block;
    }
    .main-nav {
        /* container for ul */
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-top: 1px solid #e7e7e7;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 1005;
        padding: 0;
        margin:0;
    }
    .main-nav.is-mobile-active ul {
        display: flex;
    }
    .main-nav li {
        margin: 0;
        width: 100%;
    }
    .main-nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .main-nav li:last-child a {
        border-bottom: none;
    }
    .main-nav a:hover,
    .main-nav a.active {
        background-color: #e9f2fa;
        color: #3498db;
    }

    /* Typography & Layout */
    h1 { font-size: 2.0em; }
    .hero-section h1 { font-size: 2.2em; } /* Keep hero H1 slightly larger */
    h2 { font-size: 1.6em; }

    /* Sections Mobile */
    section { /* General scroll margin for all sections on mobile */
        scroll-margin-top: 60px !important;
    }

    .hero-section { /* Hero section specific margins and padding for mobile */
        margin-bottom: 40px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    /* Specific section types mobile adjustments */
    .highlight-section-white,
    .section-gray-bg,
    .resource-links {
        margin-bottom: 40px; /* Reduced margin for these specific section types on mobile */
        padding-left: 15px;
        padding-right: 15px;
    }

    .highlight-section-white {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .section-gray-bg,
    .resource-links {
        padding-top: 20px;
        padding-bottom: 30px;
    }


	#challenge h4,
	#introducing-rte .rte-point h4 { /* Specific h4 styling for these points */
		text-align: center; 
	}


    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .feature-item {
        padding: 5px;
    }
	
	
	 .feature-item:hover {
        transform: none; /* No scaling on "hover" for mobile */
        box-shadow: 0 2px 10px rgba(0,0,0,0.07); /* Reset to base shadow */
        border-left-color: transparent; /* keep it transparent */
    }

    .feature-item:active {
        transform: scale(0.98); /* Subtle press effect */
        background-color: #f8f8f8; /* Slight background change on tap */
        border-left-color: #3498db; /* Make border blue on tap for feedback */
        box-shadow: 0 1px 5px rgba(0,0,0,0.05); /* Slightly reduce shadow on press */
        transition: transform 0.1s ease-out, background-color 0.1s ease-out, border-left-color 0.1s ease-out, box-shadow 0.1s ease-out; /* Quick transition for active state */
    }

    .feature-item:focus-visible {
        outline: 2px solid #3498db;
        outline-offset: 2px;
    }

    /* Ensure the link inside doesn't get an underline on hover/focus if the card itself has effects */
    .feature-item > a:hover,
    .feature-item > a:focus {
        text-decoration: none;
    }

    .feature-item:active h4 {
        color: #3498db; 
    }
	
    .feature-item p {
        text-align: justify;
     }

    /* Slideshow Mobile */
    .slideshow-container .slide-text-overlay {
        font-size: 1.0em;
        padding: 10px 12px;
        width: 95%;
        margin-top: 15px;
        margin-bottom: 10px;
		    min-height: 5em;            /* Ensures space for two lines of text */
    display: flex;
    align-items: center;        /* Vertically centers the text */
    justify-content: center;    /* Horizontally centers the text */
		
		
    }
    .slideshow-container .prev,
    .slideshow-container .next {
        font-size: 18px;
        padding: 10px;
        top: calc(50% + 20px);
    }
    .slide-indicators .dot {
        height: 12px;
        width: 12px;
        font-size: 8px;
        line-height: 11px;
    }
     .slideshow-container .slide-number-text {
        font-size: 0.8em;
        padding: 5px 8px;
        top: 5px;
        right: 5px;
    }
	
    .resource-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
	
	.resource-item {
        padding: 15px; 
        margin: 0; 
        max-width: 100%; 
        box-sizing: border-box; 
    }
	
	.resource-links .cta-button {
        min-width: auto; 
        padding: 10px 15px; 
        font-size: 1em; 
    }
	
	
	ul.list-checkmark {
		padding-left: 5px; 
	}
}

@media (max-width: 480px) {
    .slideshow-container .slide-text-overlay {
        font-size: 1em;
    }
    .slideshow-container .prev,
    .slideshow-container .next {
        top: calc(50% + 20px);
    }
}