/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Geologica', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px; /* Increase from 1200px to 1400px */
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-family: 'Geologica', sans-serif;
}

.btn-primary {
    background-color: #FFC72C;
    color: #222;
}

.btn-primary:hover {
    background-color: #e6b325;
}

.btn-secondary {
    background-color: #2A3B4C;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #1e2c3a;
}

.btn-full {
    width: 100%;
    display: block;
    margin-top: 8px;
    height: 56px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: none;
    border-radius: 12px;
    border: none;
    position: relative; /* Add this to make absolute positioning work */
}

.btn-full:hover {
    background-color: #D9AD33;
}

/* Header */
header {
    padding: 0;
    position: absolute;
    width: 100%;
    top: 35px;
    left: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0; /* Remove padding since we're using width-based layout */
}

.logo img {
    height: 37px;
    width: 161px; /* Set exact width for the logo */
    object-fit: contain; /* Preserve aspect ratio */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #fff;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: url('img/blurry-gradient.jpg') no-repeat center center;
    background-size: cover;
    background-color: #172552; /* Fallback color */
    color: #fff;
    min-height: min(100vh, 1080px);
    max-height: 1080px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center; /* Align to bottom instead of center */
    padding: 0;
    padding-top: 135px; 
    padding-bottom: 90px; /* Add exact 45px margin from bottom */
}

.hero .container {
    max-width: 1400px; /* Increase from 1200px */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add consistent padding */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align items to bottom */
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    padding-right: 20px; /* Add some space between content and image */
    flex-shrink: 0; /* Prevent content from shrinking */
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 30px;
    border: 1px solid #7B7B7B;
    width: auto;
    height: 44px;
    font-size: 16px;
}

.badge img {
    height: 24px;
    margin-right: 10px;
}

.badge span {
    font-weight: 500;
    font-size: 14px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 45px;
    line-height: 65px;
}

.hero-description {
    color: #D0D3DC;
    margin-bottom: 45px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 300; /* Add regular font weight */
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 60px;
    font-size: 20px;
}

.hero-buttons .btn:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.1); 
    color: #fff;
    font-size: 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7B7B7B; 
}

.hero-buttons .btn:nth-child(2):hover {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly lighter on hover */
}

.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
    margin-left: auto; /* Push to the right */
    flex-shrink: 0; /* Prevent image from shrinking */
    align-self: flex-end; /* Align to bottom of flex container */
    margin-bottom: 0;
}

.blob {
    position: absolute;
    z-index: 1;
}

.blob-blue {
    width: 484px;
    height: 431px;
    right: 0;
    bottom: 0; /* Position at the bottom-right */
    z-index: 3;
    animation: float-delay2 5s ease-in-out infinite;
}

.blob-yellow {
    width: 400px;
    height: 370px;
    right: 0; /* Aligned to the right */
    z-index: 2;
    bottom: 120px; /* Position at the bottom-right */
    filter: blur(4px); /* Add blur effect */
    animation: float 6s ease-in-out infinite;
}

.blob-green {
    width: 491px;
    height: 467px;
    bottom: 60px; /* Position at the bottom-right */
    right: 90px;
    z-index: 1;
    filter: blur(8px); /* Add more blur effect */
    animation: float-delay 7s ease-in-out infinite;
}

.ilia-image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 350px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 30px;
}

/* Add floating animations for blobs */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes float-delay {
    0% { transform: translateY(-10px); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}

@keyframes float-delay2 {
    0% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(-5px); }
}

/* Strategy Section */
.strategy {
    padding: 80px 0;
    background-color: #fff;
}

.strategy-header,
.case-studies-header,
.consultation-header {
    text-align: center;
    margin: 0 auto 60px;
}

.strategy-header h2, 
.case-studies-header h2,
.consultation-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #fff;
    background-color: #3D4B6E;
    padding: 16px 16px;
    display: inline-block;
    border-radius: 24px;
}

.strategy-cards {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    max-width: 1400px; /* Increase from 1200px */
    margin: 0 auto;
}

.strategy-card {
    background-color: #fff;
    border-radius: 24px;
    padding: 30px;
    flex: 1;
    border: #AEAEAE 1px solid;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img {
    width: 40px;
}

.strategy-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #1A2A3A;
}

.strategy-card p {
    margin-bottom: 24px;
    font-size: 15px;
    color: #555;
    font-weight: 300;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.feature-list li img {
    width: 18px;
    margin-right: 10px;
}

.feature-list li span {
    font-size: 14px;
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.case-studies-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1400px; /* Increase from 1200px */
    margin: 0 auto;
}
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-study {
    background-color: #fff;
    border-radius: 24px;
    border: #AEAEAE 1px solid;
    overflow: hidden;
    padding: 40px;
}

.case-header {
    margin-bottom: 30px;
}

.laptop-mockup {
    width: 100%;
    max-width: 862px;
    margin: 0 auto 30px;
    display: block;
}

.case-url {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.case-url a {
    font-size: 22px;
    font-weight: 600;
    color: #1A7AE4;
    font-family: 'Geologica', sans-serif;
}

.case-url span {
    color: #555;
    font-size: 18px;
}

.case-description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    max-width: 90%;
}

.case-process {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.step-circle-1 {
    background-color: #69A2F3;
}

.step-circle-2 {
    background-color: #76BF8A;
}

.step-circle-3 {
    background-color: #E6B94D;
}

.step-details {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A2A3A;
    margin-bottom: 4px;
}

.step-description {
    font-size: 15px;
    color: #555;
}

.case-metrics {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 35px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-icon {
    width: 24px;
    height: 24px;
    color: #4CAF50;
}

.metric-text {
    font-size: 16px;
    color: #333;
}

.metric-text strong {
    color: #1A2A3A;
}

.case-quote {
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.quote-text {
    font-style: italic;
    color: #333;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.linkedin-icon {
    width: 24px;
    height: 24px;
}

.author-info {
    font-size: 14px;
    font-weight: 500;
    color: #1A2A3A;
}

/* Quote link styling */
.quote-link {
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quote-link .quote-text,
.quote-link .quote-author,
.quote-link .author-info {
    color: inherit;
}

/* Consultation Section */
.consultation {
    padding: 80px 0;
    background-color: #fff;
}

.consultation-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    max-width: 1400px; /* Increase from 1200px */
    margin-left: auto;
    margin-right: auto;
}

.offer-box {
    flex: 1;
    background-color: #fff;
    border-radius: 24px;
    padding: 40px;
    border: #AEAEAE 1px solid;
    display: flex;
    flex-direction: column;
}

.offer-box h3 {
    color: #000;
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 600;
}

.offer-box p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 30px;
}

.pricing {
    margin: 0 0 30px 0;
}

.pricing p:first-child {
    font-size: 18px;
    margin-bottom: 8px;
}

.price-note {
    font-size: 15px;
    color: #666;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.feature-list li img {
    width: 22px;
    height: 22px;
    margin-right: 16px;
}

.feature-list li span {
    font-size: 16px;
    color: #333;
}

.contact-divider {
    border: none;
    height: 1px;
    background-color: #E6E6E6;
    margin: 0 0 30px 0;
    width: 100%;
}

.contact-info {
    margin-top: auto;
}

.contact-item {
    margin-bottom: 16px;
}

.contact-item span {
    display: block;
    font-size: 15px;
    color: #666;
    margin-bottom: 6px;
}

.contact-item a {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
    font-size: 16px;
}

.contact-item-links {
    margin-top: 24px;
}

.separator {
    margin: 0 10px;
    color: #666;
}

.contact-form {
    flex: 1;
    border-radius: 24px;
    padding: 40px;
    border: #AEAEAE 1px solid;
}

.form-field {
    margin-bottom: 24px;
}

.form-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background-color: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #999;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    margin-top: 8px;
    height: 56px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: none;
    border-radius: 12px;
    border: none;
    position: relative; /* Add this to make absolute positioning work */
}

.btn-full:hover {
    background-color: #D9AD33;
}

.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid #222;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 24px; /* Position from right edge */
    top: 50%;
    transform: translateY(-50%);
    display: none; /* Hidden by default */
}

/* Footer */
footer {
    padding: 60px 0 30px;
    margin: 100px auto;

    max-width: 1400px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-info p {
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 16px 60px; /* Row gap 16px, column gap 60px */
}

.footer-links a {
    color: #555;
    font-size: 14px;
    display: block;
}

/* Add column styling */
.footer-links .column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links .column h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.footer-logo img {
    height: 37px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link img {
    width: 30px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
    top: 10px;
}

.hamburger span:nth-child(4) {
    top: 20px;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked ~ .hamburger span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
    opacity: 0;
}

#menu-toggle:checked ~ .hamburger span:nth-child(2) {
    transform: rotate(45deg);
}

#menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
}

#menu-toggle:checked ~ .hamburger span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
    opacity: 0;
}

#menu-toggle:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Legal Pages (Privacy & Terms) */
.page-header {
    background: url('img/blurry-gradient.jpg') no-repeat center center;
    background-size: cover;
    background-color: #172552;
    color: #fff;
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-header .subtitle {
    font-size: 20px;
    opacity: 0.8;
}

.legal-content {
    padding: 60px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.policy-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: #1A2A3A;
}

.policy-content h3 {
    font-size: 22px;
    margin: 30px 0 16px;
    color: #1A2A3A;
}

.policy-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

.policy-content strong {
    font-weight: 600;
}

/* Cookie message styles if you need them */
.cookie-message {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    z-index: 1000;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.cookie-message img {
    margin-right: 15px;
    width: 40px;
    height: 40px;
}

.cookie-message span {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-message a {
    color: #1A7AE4;
    text-decoration: underline;
}

.cookie-message .close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-left: 15px;
    color: #666;
}

/* Media Queries */

@media (max-width: 1110px) {


    /* Remove max-height for hero section on mobile */
    .hero {
        max-height: none;
        align-items: center; /* Reset alignment on mobile */
        padding-bottom: 20px; /* Less bottom padding on mobile */
        padding-top: 40px;
    }

    .hero-image {
        position: relative;
        width: 400px;
        height: 400px;
        flex-shrink: 0; 
        margin-bottom: 0;
        margin-top: 120px;
    }

    .hero-description {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        display: flex;
        align-items: center;
        gap: 10px; /* Reduced from 16px to fit smaller buttons */
        height: 50px;
        font-size: 14px; /* Slightly larger than 12px */
    }

    .hero-buttons .btn {
        padding: 8px 16px; /* Adjusted padding for smaller screens */
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-buttons .btn:nth-child(1) {
        height: 50px;
        font-size: 14px;
    }

    .hero-buttons .btn:nth-child(2) {
        font-size: 14px;
        height: 50px;
    }

    /* Make strategy cards stack vertically on mobile */
    .strategy-cards {
        flex-direction: column;
        gap: 30px;
    }

    /* Make case studies stack vertically on mobile */
    .case-studies-grid {
        grid-template-columns: 1fr; /* Change from 2 columns to 1 */
        gap: 30px; /* Reduce the gap slightly */
    }

    /* Make consultation content stack vertically on mobile */
    .consultation-content {
        flex-direction: column;
        gap: 30px;
    }

    /* Make the mockup image maintain aspect ratio */
    .laptop-mockup {
        height: auto;
        object-fit: contain;
    }
        
    footer {
        margin: 40px auto;
        width: calc(100% - 40px);
    }

    .case-study {
        padding: 25px;
    }
    
    .case-url {
        flex-direction: column;
        gap: 4px;
    }
    
    .case-description {
        max-width: 100%;
    }

    .contact-form {
        padding: 40px 20px;
    }

    .offer-box {
        padding: 40px 20px;
    }
    
    /* Keep your existing mobile layout changes */
    header {
        top: 20px;
    }
    
    .hero .container {
        padding: 0 20px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        align-items: center; /* Reset alignment on mobile */
    }
    
    .hero-content {
        padding-right: 0;
        margin-top: 80px; /* Add top margin to account for header */
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .badge {
        margin: 0 auto 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, auto); /* Keep 2 columns on mobile */
        gap: 24px 40px; /* Slightly adjust spacing on mobile */
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero {
        align-items: center; /* Reset alignment on mobile */
        padding-bottom: 20px; /* Less bottom padding on mobile */
    }
    
    footer {
        margin: 40px 20px;
    }

    /* Hamburger menu styling for mobile */
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(23, 37, 82, 0.98);
        flex-direction: column;
        justify-content: center;
        height: 100vh;
        padding: 60px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
        z-index: 100;
    }
    
    #menu-toggle:checked ~ .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
    }
    
    .nav-link {
        font-size: 24px;
        padding: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    #menu-toggle:checked ~ .nav-links .nav-link {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }
    
    #menu-toggle:checked ~ .nav-links .nav-link:nth-child(2) {
        transition-delay: 0.3s;
    }
    
    #menu-toggle:checked ~ .nav-links .nav-link:nth-child(3) {
        transition-delay: 0.4s;
    }
    
    #menu-toggle:checked ~ .nav-links .nav-link:nth-child(4) {
        transition-delay: 0.5s;
    }

    footer {
        margin: 60px auto;
        padding: 40px 0 20px;
    }
    
    .footer-content {
        align-items: flex-start;
        gap: 40px;
    }
    
    .footer-info {
        max-width: 300px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, minmax(120px, auto));
        gap: 30px 40px;
    }
    
    .footer-links .column h4 {
        margin-bottom: 12px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link img {
        width: 26px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 40px;
        line-height: 44px;
    }
    .hero-description {
        font-size: 16px;
    }
}

/* Add the spin animation if it's not already defined */
@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Single Case Study styling */
.case-studies-grid.single-case {
    display: block; /* Override grid completely */
    grid-template-columns: none; /* Reset grid template */
    max-width: 800px; /* Set a max width for the container */
    margin: 0 auto; /* Center the container */
}

/* Ensure the case study itself is centered and sized appropriately */
.case-studies-grid.single-case .case-study {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Single Case Study styling - override grid layout completely */
.case-studies-grid.single-case {
    display: flex !important; /* Use !important to override any other display setting */
    flex-direction: column;
    align-items: center;
    grid-template-columns: unset !important; /* Force unset of the grid columns */
    max-width: 100%; /* Allow full width of the container */
    margin: 0 auto;
}

.case-studies-grid.single-case .case-study {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}