/* style.css */

/* --- Global Resets & Variables --- */
:root {
    --primary-color: #0A2342; /* Professional Blue / Dark Charcoal */
    --secondary-color: #F0F2F5; /* Light Gray */
    --accent-color: #F26419; /* Warm Orange */
    --text-color: #333333;
    --text-light: #555555;
    --text-inverted: #FFFFFF;
    --white-color: #FFFFFF;
    --border-color: #DDDDDD;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --header-height: 80px;
    --container-width: 1200px;
    --container-padding: 20px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 60px 0;
}

.section-bg {
    background-color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #d95416; /* Darker accent */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 700; } /* General h1 size */
h2 { font-size: 2.2rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.4rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 20px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d95416; /* Darker accent */
    text-decoration: underline;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--white-color);
    padding: 0 var(--container-padding);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--secondary-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.breadcrumbs li {
    margin-right: 5px;
}

.breadcrumbs li+li::before {
    content: "/\00a0";
    padding: 0 5px;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: var(--accent-color);
}
.breadcrumbs span { /* Current page */
    color: var(--text-light);
}


/* --- Hero Section (Homepage) --- BACKGROUND IMAGE APPROACH --- */
.hero {
    color: var(--white-color); /* Text color for hero content */
    padding: 120px 0;        /* Adjust padding as needed for vertical centering and space */
    text-align: center;
    position: relative;       /* CRUCIAL: Establishes a stacking context and anchor for absolute children */
    overflow: hidden;         /* Ensures background image doesn't spill out */
    min-height: 70vh;         /* Example: Ensure hero takes up a good portion of viewport height */
                               /* You might adjust this or use specific pixel values */
    display: flex;            /* To help center the .hero-content vertically and horizontally */
    align-items: center;
    justify-content: center;
}

.hero-visual-placeholder { /* This is now the background layer */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;               /* Places it BEHIND the .hero-content */
    /* Optional: Add a semi-transparent overlay to make text more readable */
    /* background-color: rgba(0, 0, 0, 0.5); /* Example: 50% black overlay */
}

.hero-visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* CRUCIAL: Scales image to cover the area, cropping if necessary */
    object-position: center center; /* Adjust as needed (e.g., 'center top') */
    opacity: 0.8;             /* Optional: Make image slightly transparent if too busy */
                               /* You can also apply this opacity to .hero-visual-placeholder itself */
}

/* This <p> tag inside hero-visual-placeholder (if it exists) is not needed for background */
.hero-visual-placeholder p {
    display: none;
}

.hero .hero-content { /* Renamed .container to .hero-content or use .hero .container */
    position: relative;       /* Ensures content is part of the stacking context */
    z-index: 2;               /* Places it ON TOP of .hero-visual-placeholder */
    max-width: var(--container-width); /* From your variables */
    margin: 0 auto;           /* Horizontal centering if .hero is not flex justifying center */
    padding: 0 var(--container-padding); /* From your variables */
    display: flex;            /* To stack its own children (h1, p, a) */
    flex-direction: column;
    align-items: center;      /* Center h1, p, a within the content block */
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white-color); /* Explicitly ensure white color against various backgrounds */
    margin-bottom: 1.5rem;
    /* No z-index needed here if parent .hero-content handles it */
}

.hero .sub-headline {
    font-size: 1.3rem;
    color: var(--white-color); /* Explicitly ensure white color */
    margin-bottom: 2.5rem;
    max-width: 700px;
    opacity: 0.95; /* Ensure good readability */
    /* No z-index needed here */
}

.hero .btn-primary {
    /* No z-index needed here */
    /* Ensure button styles contrast well with potential backgrounds */
}


/* --- Client Logos Section --- */
.client-logos {
    padding: 40px 0;
}

.client-logos h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-item img {
    max-height: 50px; /* Adjust as needed */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Problem/Solution & Service Pillars --- */
.icon-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.icon-feature-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.icon-feature-item .icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    /* In a real scenario, you'd use an SVG icon or font icon */
}
.icon-feature-item .icon-placeholder::before {
    content: "💡"; /* Placeholder icon */
}

.icon-feature-item h4 {
    margin-bottom: 0.5rem;
}


/* --- Why Choose Us --- */
.differentiators-list {
    list-style: none;
    padding: 0;
}
.differentiators-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}
.differentiators-list li::before {
    content: "✓"; /* Or a custom SVG checkmark */
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- Testimonial Snippet --- */
.testimonial-snippet {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}
.testimonial-snippet blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    display: inline-block;
    text-align: left;
}
.testimonial-snippet cite {
    display: block;
    font-weight: 600;
    opacity: 0.8;
}

/* --- Blog Preview --- */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}
.blog-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 20px;
}
.blog-card-content h4 {
    margin-bottom: 0.5rem;
}
.blog-card-content .meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* --- About Page: Leadership Team --- */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.team-member {
    text-align: center;
}
.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--secondary-color);
}
.team-member h4 { margin-bottom: 0.25rem; }
.team-member .title {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* --- Services Page --- */
.service-tier {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-tier h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.service-tier .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.service-tier ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.service-tier ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}
.service-tier ul li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Service Detail Page */
.service-detail-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
}
.service-detail-header h1 {
    color: var(--white-color);
}
.service-detail-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px auto;
    opacity: 0.9;
}
.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Main content and sidebar */
    gap: 40px;
}
.service-sidebar .related-content-card {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}


/* --- Case Studies Page --- */
.filter-controls {
    margin-bottom: 30px;
    text-align: center;
}
.filter-controls button {
    margin: 0 5px;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    background: var(--white-color);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.filter-controls button.active,
.filter-controls button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.case-study-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.case-study-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.case-study-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.case-study-card-content h3 { margin-bottom: 0.5rem; }
.case-study-card-content .client-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.case-study-card-content p {
    font-size: 0.95rem;
    flex-grow: 1;
}
.case-study-card .btn { margin-top: auto; }


/* Case Study Single Page */
.case-study-single-header {
    padding: 40px 0;
    background: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
}
.case-study-meta {
    margin-bottom: 30px;
}
.case-study-meta-item {
    margin-bottom: 10px;
}
.case-study-meta-item strong {
    color: var(--primary-color);
}
.results-highlight {
    background: var(--accent-color);
    color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}
.results-highlight h3 { color: var(--white-color); }
.results-highlight ul { list-style-type: disc; margin-left: 20px; }
.results-highlight ul li { margin-bottom: 10px; }

/* --- Blog Page (List View) --- */
.blog-list-container {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Articles and sidebar */
    gap: 40px;
}
.blog-sidebar .widget {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.blog-sidebar .widget h4 {
    margin-bottom: 10px;
}
.blog-sidebar .widget ul {
    list-style: none;
    padding: 0;
}
.blog-sidebar .widget ul li a {
    color: var(--primary-color);
}

/* Blog Post Single */
.blog-post-header {
    text-align: center;
    margin-bottom: 30px;
}
.blog-post-header .meta {
    font-size: 0.9rem;
    color: var(--text-light);
}
.blog-post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}
.blog-post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-light);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 35, 66, 0.2); /* primary color with opacity */
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 {
    margin-bottom: 15px;
}
.contact-info p {
    margin-bottom: 10px;
}
.contact-info .social-links a {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.5rem;
    /* SVG icons would be better here */
}
.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-radius: 5px;
}


/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 50px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-social-links a {
    color: rgba(255,255,255,0.8);
    margin: 0 10px;
    font-size: 1.2rem; /* Placeholder for icons */
    text-decoration: none;
}
.footer-social-links a:hover {
    color: var(--white-color);
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: var(--white-color);
    padding: 15px;
    text-align: center;
    z-index: 1001; /* Above header when scrolled */
    display: flex; /* Using flex for better alignment */
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Initially hidden, shown by JS */
    /* display: none; */
}
.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
}
.cookie-consent-banner .btn {
    padding: 8px 15px;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; } /* Adjusted hero H1 for this breakpoint */
    .hero .sub-headline { font-size: 1.1rem; }
    .service-content-grid { grid-template-columns: 1fr; } /* Stack on smaller screens */
    .blog-list-container { grid-template-columns: 1fr; } /* Stack on smaller screens */
    .contact-grid { grid-template-columns: 1fr; } /* Stack on smaller screens */
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    h1 { font-size: 2.2rem; } /* General h1 size */
    h2 { font-size: 1.8rem; }
    .section { padding: 40px 0; }
    
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.5rem; } /* Hero h1 specific for this breakpoint */

    .main-nav {
        display: none; /* Hidden for mobile */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding-bottom: 10px;
        border-top: 1px solid var(--border-color);
    }
    .main-nav.active {
        display: block; /* Shown by JS */
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .main-nav ul li a {
        display: block;
        padding: 10px;
    }
    .mobile-nav-toggle {
        display: block; /* Show hamburger */
    }

    .logos-grid { gap: 20px; }
    .logo-item img { max-height: 40px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center;}
    .footer-col ul { padding-left: 0; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2rem; } /* Hero h1 specific for this breakpoint */
    .hero .sub-headline { font-size: 1rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem;}
    .icon-feature-grid { grid-template-columns: 1fr; }
    .blog-preview-grid { grid-template-columns: 1fr; }
    .case-study-grid { grid-template-columns: 1fr; }
    .cookie-consent-banner { flex-direction: column; text-align: center; }
    .cookie-consent-banner p { margin-bottom: 10px; }
}

/* Accessibility: Focus Visible */
:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
/* Hide focus styles if not keyboard navigating, but show for actual focus-visible */
*:focus:not(:focus-visible) {
  outline: none;
}
/* style.css additions for form feedback */
#form-feedback {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: bold;
}

.form-success-message {
    color: #155724; /* Dark Green */
    background-color: #d4edda; /* Light Green */
    border-color: #c3e6cb; /* Green border */
}

.form-error-message {
    color: #721c24; /* Dark Red */
    background-color: #f8d7da; /* Light Red */
    border-color: #f5c6cb; /* Red border */
}
/* --- Feedback Modal Styles --- */
.modal-overlay {
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity for overlay */
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Auto margins for centering, works with flex too */
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px; /* Max width of modal */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative; /* For positioning the close button */
    text-align: center;
}

.modal-content p {
    margin-bottom: 0; /* Adjust if needed for the message */
    line-height: 1.6;
    font-size: 1.1rem;
}

.modal-close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Optional: Different border/shadow for success/error */
.modal-content.success {
    border-left: 5px solid var(--accent-color); /* Or a green color */
}

.modal-content.error {
    border-left: 5px solid red;
}