* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #103e68;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #103e68;
}

.btn-contact {
    background-color: #103e68;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 137, 123, 0.25);
}

.btn-contact:hover {
    background-color: #0c2d4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 137, 123, 0.35);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-contact {
    display: none;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Hero Card */
.hero-card {
    grid-column: span 2;
    position: relative;
    height: 700px;
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 68, 62, 0.8), rgba(5, 30, 58, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-card h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.hero-card p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.7;
}

/* Info Cards */
.card {
    background-color: #e0e0e0;
    height: 220px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: white;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.05));
    z-index: 1;
    transition: background 0.4s ease;
}

.card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.15));
}

.card h2 {
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

.card:hover h2 {
    transform: translateX(5px);
}

.news-card {
    background-image: url('https://images.unsplash.com/photo-1506784983877-45594efa4cbe?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); /* Newspaper/Tablet */
}

.references-card {
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); /* Handshake/Meeting */
}

/* Offer Section */
.offer {
    margin-bottom: 60px;
}

.offer h2 {
    font-weight: 300;
    font-size: 56px;
    margin-bottom: 35px;
    text-transform: uppercase;
    color: #2c3e50;
    letter-spacing: -1px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 15px;
    grid-auto-flow: dense; /* Essential for packing without gaps in default view */
    position: relative; /* Crucial for Flip animations with absolute: true */
}

/* Disable transitions during FLIP animation to prevent conflict */
.offer-grid.is-flipping .offer-item {
    transition: none !important;
}

.offer-grid.has-active {
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-flow: row; /* Switch to row flow to prevent jumping during expansion */
}

.offer-item {
    border: none;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 15px;
    cursor: pointer;
    background-color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    color: white;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Dark Overlay */
.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
    transition: background 0.3s;
}

.offer-item:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
}

/* Content z-index */
.offer-item > * {
    position: relative;
    z-index: 2;
}


/* View Transitions Names - REMOVED as we use GSAP */

.offer-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.offer-desc, .offer-btn {
    display: none;
    opacity: 0;
}

/* Animation for content appearance handled by GSAP or CSS after transition */
.offer-item.active .offer-desc,
.offer-item.active .offer-btn {
    display: block;
    animation: fadeIn 0.5s ease forwards 0.4s; /* Delayed fade in */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.offer-btn {
    /* display: inline-block; Removed to prevent overriding display: none */
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #103e68;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
    transition: all 0.3s ease;
}

.offer-btn:hover {
    background-color: #0c2d4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

/* Uniform Icon Sizes */
.offer-item i {
    font-size: 32px;
    margin-bottom: 5px;
    transition: font-size 0.3s, color 0.3s;
    color: white; /* Forced white */
}

.offer-item span {
    font-weight: 500;
    font-size: 18px;
    transition: font-size 0.3s, color 0.3s;
    color: white; /* Forced white */
}

/* --- Image Themes --- */

/* Item 1: Sprzedaż (Sales) */
.offer-item:nth-child(1) { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); }
.offer-item:nth-child(1) .offer-btn { background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); }
.offer-item:nth-child(1) .offer-btn:hover { background-color: rgba(255,255,255,0.3); }

/* Item 2: Marki (Brands) */
.offer-item:nth-child(2) { background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); }
.offer-item:nth-child(2) .offer-btn { background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); }
.offer-item:nth-child(2) .offer-btn:hover { background-color: rgba(255,255,255,0.3); }

/* Item 3: Strategia (Strategy) */
.offer-item:nth-child(3) { background-image: url('https://images.unsplash.com/photo-1529699211952-734e80c4d42b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); }
.offer-item:nth-child(3) .offer-btn { background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); }
.offer-item:nth-child(3) .offer-btn:hover { background-color: rgba(255,255,255,0.3); }

/* Item 4: Finansowanie (Finance) */
.offer-item:nth-child(4) { background-image: url('https://images.unsplash.com/photo-1580519542036-c47de6196ba5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); }
.offer-item:nth-child(4) .offer-btn { background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); }
.offer-item:nth-child(4) .offer-btn:hover { background-color: rgba(255,255,255,0.3); }

/* Item 5: Analiza (Analysis) */
.offer-item:nth-child(5) { background-image: url('https://images.unsplash.com/photo-1599658880436-c61792e70672?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); }
.offer-item:nth-child(5) .offer-btn { background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); }
.offer-item:nth-child(5) .offer-btn:hover { background-color: rgba(255,255,255,0.3); }

/* Item 6: Rozwój (Growth) */
.offer-item:nth-child(6) { background-image: url('https://images.unsplash.com/photo-1507238691740-187a5b1d37b8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80'); }
.offer-item:nth-child(6) .offer-btn { background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.4); }
.offer-item:nth-child(6) .offer-btn:hover { background-color: rgba(255,255,255,0.3); }


/* --- Default Mosaic Layout (4 Columns) --- */
.offer-grid:not(.has-active) .offer-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
/* Increased size for the first item in default view */
.offer-grid:not(.has-active) .offer-item:nth-child(1) i { font-size: 48px; }
.offer-grid:not(.has-active) .offer-item:nth-child(1) span { font-size: 24px; font-weight: 700; }

.offer-grid:not(.has-active) .offer-item:nth-child(2) { grid-column: span 1; grid-row: span 2; }
.offer-grid:not(.has-active) .offer-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.offer-grid:not(.has-active) .offer-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.offer-grid:not(.has-active) .offer-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.offer-grid:not(.has-active) .offer-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }


/* --- Active State Layout --- */
.offer-grid.has-active .offer-item.active {
    grid-column: span 2;
    grid-row: span 2;
    z-index: 10;
}

.offer-grid.has-active .offer-item.active i {
    font-size: 48px;
}

.offer-grid.has-active .offer-item.active span {
    font-size: 24px;
    font-weight: 700;
}

/* Dynamic Mosaic Classes for Non-Active Items in Active Grid */
.offer-grid.has-active .offer-item.wide {
    grid-column: span 2;
    grid-row: span 1;
}

.offer-grid.has-active .offer-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Clients Section */
.clients {
    background-color: #f8fafd;
    border-top: 1px solid #eaeef4;
    border-bottom: 1px solid #eaeef4;
    padding: 80px 0;
    margin-bottom: 80px;
}

.clients-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clients-header {
    text-align: center;
    margin-bottom: 50px;
}

.clients-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #103e68;
    background-color: rgba(16,62,104,0.08);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.clients-header h2 {
    font-weight: 300;
    font-size: 38px;
    text-transform: uppercase;
    color: #1a2332;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.clients-sub {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.client-logo {
    width: 100%;
    height: 110px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 18px;
    border: 1px solid #e8edf4;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(16,62,104,0.1);
    border-color: #c8d8ea;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 900px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .clients-header h2 {
        font-size: 26px;
    }
    .client-logo {
        height: 90px;
        padding: 12px;
    }
}

/* Footer */
footer {
    background-color: #1a2332;
    color: #ecf0f1;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 22px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.footer-column p {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info-group {
    margin-bottom: 20px;
}

.contact-info-group h4 {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-group p {
    margin-bottom: 5px;
    display: flex;
    align-items: center; /* Align icon and text */
}

.contact-info-group p i {
    width: 20px;
    margin-right: 8px;
    color: #103e68;
    text-align: center;
}

.contact-info-group p a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-group p a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #103e68;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icons a:hover {
    background-color: #103e68;
    transform: translateY(-3px);
    border-color: #103e68;
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #7f8c8d;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
        grid-column: span 1;
        height: 500px;
    }
    
    .offer-grid, .offer-grid.has-active {
        grid-template-columns: 1fr;
    }
    
    .offer-item:nth-child(n), 
    .offer-grid:not(.has-active) .offer-item:nth-child(n),
    .offer-grid.has-active .offer-item.active,
    .offer-grid.has-active .offer-item.wide,
    .offer-grid.has-active .offer-item.small {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Responsive Menu Styles */
    .header-container {
        justify-content: space-between;
        position: relative;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2001;
    }

    .desktop-contact {
        display: none;
    }

    nav.nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        
        /* Animation properties */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    nav.nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 32px;
        cursor: pointer;
        color: #333;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 30px;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    }

    nav.nav-menu.active ul li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger delay for list items */
    nav.nav-menu.active ul li:nth-child(1) { transition-delay: 0.1s; }
    nav.nav-menu.active ul li:nth-child(2) { transition-delay: 0.15s; }
    nav.nav-menu.active ul li:nth-child(3) { transition-delay: 0.2s; }
    nav.nav-menu.active ul li:nth-child(4) { transition-delay: 0.25s; }
    nav.nav-menu.active ul li:nth-child(5) { transition-delay: 0.3s; }

    nav a {
        font-size: 24px;
        font-weight: 300;
        color: #333;
    }
    
    .mobile-contact {
        display: block;
        margin-top: 20px;
    }

    .mobile-contact a {
        background-color: #103e68;
        color: white;
        padding: 12px 40px;
        border-radius: 30px;
        display: inline-block;
        font-size: 18px;
        font-weight: 500;
        box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
    }
}
.offer-item.minimized { display: none; }

.offer-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.offer-item.empty {
    display: none; /* Just in case */
}

/* Why ONTZ Section */
.why-ontz {
    margin-bottom: 80px;
    padding: 70px 40px;
    background: linear-gradient(135deg, #f8fafd 0%, #eef2f8 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 137, 123, 0.08);
}

.why-ontz h2 {
    font-weight: 300;
    font-size: 42px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #2c3e50;
    text-align: center;
    letter-spacing: -0.5px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 45px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.why-item i {
    font-size: 44px;
    color: #103e68;
    margin-bottom: 25px;
    display: block;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.why-item p {
    color: #6b7c93;
    line-height: 1.7;
    font-size: 15px;
}

/* Process Section */
.process {
    margin-bottom: 100px;
}

.process h2 {
    font-weight: 300;
    font-size: 42px;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #2c3e50;
    text-align: center;
    letter-spacing: -0.5px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #103e68, #0c2d4d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,137,123,0.3);
}

.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.step p {
    color: #6b7c93;
    font-size: 14px;
    line-height: 1.6;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e0e0e0;
    margin-top: 30px; /* Vertically align with center of 60px circle */
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    /* Header styles handled in upper media query */


    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        grid-column: span 1;
    }

    .hero-card h1 {
        font-size: 28px; /* Reduced from 52px */
        line-height: 1.3;
    }
    
    .hero-card p {
        font-size: 16px; /* Reduced from 18px */
    }

    .offer-grid, .offer-grid.has-active {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .offer-item:nth-child(1),
    .offer-item:nth-child(2),
    .offer-item:nth-child(3),
    .offer-item:nth-child(4),
    .offer-item:nth-child(5),
    .offer-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* New Sections Responsive */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step-line {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 300px;
    }
}
/* Blog Page Styles */
.blog-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.blog-hero p {
    font-size: 18px;
    color: #6b7c93;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.blog-preview {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-preview:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 12px;
    color: #103e68;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
    line-height: 1.4;
    font-weight: 600;
}

.blog-content p {
    font-size: 15px;
    color: #6b7c93;
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.read-more {
    color: #103e68;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.read-more:hover {
    color: #0c2d4d;
    gap: 10px;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 0 20px;
    }

    .blog-hero h1 {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* References Page Styles */
.references-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.references-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.references-hero p {
    font-size: 18px;
    color: #6b7c93;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.references-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 100px;
}

.reference-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.reference-item:nth-child(even) {
    flex-direction: row-reverse;
}

.reference-image {
    width: 50%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.reference-item:hover .reference-image {
    transform: scale(1.02);
}



.reference-content {
    width: 50%;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: #e0eaf2; /* Very light teal */
    margin-bottom: 15px;
}

.reference-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.reference-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    border-left: 3px solid #103e68;
    padding-left: 20px;
}

.client-info {
    margin-bottom: 25px;
}

.client-info strong {
    display: block;
    font-size: 16px;
    color: #333;
}

.client-info span {
    font-size: 14px;
    color: #888;
}



@media (max-width: 900px) {
    .reference-item, .reference-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }

    .reference-image, .reference-content {
        width: 100%;
    }

    .reference-image {
        height: 300px;
    }

    .references-hero h1 {
        font-size: 36px;
    }
}
