:root {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --card-bg: #ffffff;
    --accent: #0077b6;
    --accent-light: #00b4d8;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --max-width: 1200px;
    --brand-dark: #0f172a;
    --brand-blue: #0077b6;
    --brand-cyan: #00b4d8;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --c-dark: #0f172a;
    --c-blue: #0077b6;
    --c-cyan: #00b4d8;
    --c-txt: #1e293b;
    --c-muted: #64748b;
    --c-bg: #f8fafc;
    --c-white: #ffffff;
    --c-danger: #ef4444;
    --c-success: #10b981;
    --c-trans: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--primary-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .logo-img, 
.footer-logo {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 4px;
    filter: hue-rotate(195deg) saturate(3.5) brightness(0.9);
    will-change: filter;
    transform: translate3d(0, 0, 0);
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.logo-container .logo-img:hover {
    transform: scale(1.02);
    filter: hue-rotate(195deg) saturate(4) brightness(1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    font-size: 19px;
    position: relative;
    transition: color 0.2s ease;
}

.nav a:hover, .nav a.active {
    color: var(--accent);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.2s ease;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 650px;
    background: url('../assets/hero-bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 2;
}

.hero-tagline {
    text-transform: uppercase;
    color: var(--accent-light);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 20px;
}

.modern-slogan {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.modern-slogan .text-light {
    font-size: 52px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -1px;
}

.modern-slogan .text-gradient {
    font-size: 68px;
    font-weight: 900;
    background: linear-gradient(90deg, #00b4d8, #0077b6, #48cae4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    margin-top: 5px;
}

.hero-content p {
    font-size: 17px;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-hero {
    background: #0f172a;
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
}

.page-content {
    max-width: var(--max-width);
    margin: 60px auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 34px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.services {
    background: var(--secondary-bg);
    padding: 100px 40px;
}

.services-grid {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    background: rgba(0, 119, 182, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card .icon {
    font-size: 24px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.why {
    background: var(--primary-bg);
    padding: 100px 40px;
}

.why-grid {
    max-width: var(--max-width);
    margin: auto;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-card {
    padding: 35px 30px;
    background: var(--secondary-bg);
    border-radius: var(--radius);
    text-align: center;
}

.why-card .icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.why-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.site-footer {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 70px 40px 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.brand-col p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    margin-top: 15px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li i {
    font-size: 10px;
    color: var(--accent-light);
    transition: transform 0.2s ease;
}

.footer-col ul li:hover i {
    transform: translateX(4px);
}

.footer-col a, .footer-col p {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.contact-col p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-col p a {
    color: inherit;
    text-decoration: none;
}

.contact-col p a:hover {
    color: var(--accent-light);
}

.contact-col i {
    color: var(--accent-light);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 13px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.portfolio-hero {
    padding: 100px 40px 60px 40px;
    background: linear-gradient(180deg, rgba(244,247,249,0.5) 0%, rgba(255,255,255,0) 100%);
    text-align: center;
}

.hero-context {
    max-width: 800px;
    margin: 0 auto;
}

.overhead-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-blue);
    display: block;
    margin-bottom: 16px;
}

.portfolio-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 1px;
    color: var(--brand-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.lead-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.filter-pill {
    background: var(--surface);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.filter-pill:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--brand-dark);
    color: var(--surface);
    border-color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(15,23,42,0.15);
}

.portfolio-stream {
    max-width: 1200px;
    margin: 0 auto 100px auto;
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
    padding: 80px 40px;
    margin: 0;
    position: relative;
}

.project-row:nth-child(even) {
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.project-row:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.06), transparent);
}

.project-row:nth-child(even) .project-details {
    order: 2;
}
.project-row:nth-child(even) .project-gallery {
    order: 1;
}

.project-details {
    max-width: 440px;
}

.sector-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-cyan);
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.project-details h2 {
    font-size: 26px;
    color: var(--brand-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.project-details h2::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-blue);
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 1px;
}

.project-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.project-gallery {
    display: grid;
    gap: 16px;
}

.project-gallery.count-1 { grid-template-columns: 1fr; }
.project-gallery.count-2 { grid-template-columns: 1fr 1fr; }
.project-gallery.count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px; }

.project-gallery.count-3 .media-card:first-child {
    grid-row: span 2;
    height: 296px;
}

.media-card {
    position: relative;
    background: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    min-height: 140px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 119, 182, 0.08);
    border-color: rgba(0, 119, 182, 0.15);
}

.media-card img, .media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.type-video .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: background 0.3s ease;
}
.type-video:hover .video-overlay {
    background: rgba(0, 119, 182, 0.4);
}

.empty-state {
    text-align: center;
    padding: 100px 40px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 40px;
    color: rgba(0,0,0,0.15);
    margin-bottom: 16px;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.media-lightbox.visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
}

.lightbox-content img, .lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--brand-dark);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.close-lightbox:hover {
    opacity: 1;
}

.cnt-hero-banner {
    position: relative;
    padding: 60px 20px;
    background: linear-gradient(180deg, rgba(244,247,249,0.7) 0%, rgba(255,255,255,0) 100%);
    text-align: center;
}

.cnt-hero-banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.cnt-overhead-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-blue);
    display: block;
    margin-bottom: 12px;
}

.cnt-hero-banner h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 46px;
    letter-spacing: 1px;
    color: var(--c-dark);
    margin-bottom: 10px;
}

.cnt-hero-banner p {
    font-size: 15px;
    color: var(--c-muted);
}

.cnt-wrapper {
    max-width: 1200px;
    margin: 20px auto 80px auto;
    padding: 0 30px;
}

.cnt-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.cnt-info-panel .cnt-panel-tag {
    color: var(--c-cyan);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
}

.cnt-info-panel h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 15px 0;
    color: var(--c-dark);
    line-height: 1.2;
}

.cnt-info-panel p {
    color: var(--c-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cnt-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cnt-info-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cnt-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 119, 182, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-blue);
    font-size: 16px;
    flex-shrink: 0;
}

.cnt-info-item h4 {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-dark);
    margin: 0 0 2px 0;
}

.cnt-info-item p {
    margin: 0;
    font-size: 14px;
}

.cnt-info-item p a {
    color: var(--c-muted);
    text-decoration: none;
    transition: var(--c-trans);
}

.cnt-info-item p a:hover {
    color: var(--c-blue);
}

.cnt-working-hours {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.cnt-working-hours h4 {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-dark);
    margin: 0 0 8px 0;
}

.cnt-working-hours p {
    font-size: 13.5px;
    margin-bottom: 5px;
    color: var(--c-muted);
}

.cnt-working-hours .cnt-emergency-notice span {
    font-weight: 600;
    color: var(--c-blue);
}

.cnt-form-container {
    background: var(--c-white);
    border-radius: 12px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.cnt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cnt-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.cnt-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--c-dark);
}

.cnt-input-group label .cnt-req {
    color: var(--c-danger);
}

.cnt-input-group input[type="text"],
.cnt-input-group input[type="email"],
.cnt-input-group input[type="tel"],
.cnt-input-group textarea {
    width: 100%;
    background: var(--c-bg);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--c-txt);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    outline: none;
    transition: var(--c-trans);
}

.cnt-input-group input:focus,
.cnt-input-group textarea:focus {
    background: var(--c-white);
    border-color: var(--c-blue);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.08);
}

.cnt-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.cnt-alert-box.success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.cnt-alert-box.success .cnt-alert-icon { 
    color: var(--c-success); 
}

.cnt-alert-box.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.cnt-alert-box.error .cnt-alert-icon { 
    color: var(--c-danger); 
}

.cnt-file-upload-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-bg);
    padding: 10px;
    border-radius: 6px;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    transition: var(--c-trans);
}

.cnt-file-upload-zone.cnt-file-loaded {
    border-color: var(--c-blue);
    background: rgba(0, 119, 182, 0.02);
}

.cnt-file-upload-zone input[type="file"] {
    display: none;
}

.cnt-file-label-btn {
    background: var(--c-dark);
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: var(--c-trans);
}

.cnt-file-label-btn:hover {
    background: var(--c-blue);
}

.cnt-file-status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

.cnt-file-status-indicator .cnt-placeholder-icon {
    color: rgba(0,0,0,0.2);
}

.cnt-file-status-indicator .cnt-success-icon {
    color: var(--c-success);
}

#file-name {
    font-size: 12.5px;
    color: var(--c-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.cnt-file-limits {
    display: block;
    font-size: 11px;
    color: var(--c-muted);
    margin-top: 4px;
}

.cnt-btn-submit {
    width: 100%;
    background: var(--c-blue);
    color: white;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--c-trans);
}

.cnt-btn-submit:hover {
    background: var(--c-dark);
    box-shadow: 0 6px 20px rgba(15, 23, 62, 0.12);
}

@media (max-width: 1100px) {
    .cnt-grid-layout { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
}

@media (max-width: 992px) {
    .cnt-wrapper { 
        margin: 20px auto 60px auto; 
        padding: 0 20px; 
    }
}

@media (max-width: 900px) {
    .project-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 30px;
    }
    .project-row:nth-child(even) .project-details { order: 1; }
    .project-row:nth-child(even) .project-gallery { order: 2; }
    .project-details { max-width: 100%; }
}

@media (max-width: 850px) {
    .header { padding: 15px 20px; }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 101;
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        padding: 100px 30px;
        gap: 25px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        align-items: flex-start;
    }

    .nav.mobile-open {
        right: 0;
    }

    .nav a {
        margin-left: 0;
        font-size: 24px;
        width: 100%;
    }
    
    .modern-slogan .text-light { font-size: 34px; }
    .modern-slogan .text-gradient { font-size: 42px; }
    
    .hero { height: auto; padding: 140px 20px 60px; }
    .footer-container { flex-direction: column; text-align: center; }
    .brand-col p { margin: 0 auto; }
    .contact-col p { justify-content: center; }
}

@media (max-width: 600px) {
    .portfolio-hero { padding: 80px 20px 40px 20px; }
    .portfolio-hero h1 { font-size: 38px; }
    .project-gallery.count-3 { grid-template-rows: 110px 110px; }
    .project-gallery.count-3 .media-card:first-child { height: 236px; }
    .project-row { padding: 50px 20px; }
}

@media (max-width: 580px) {
    .cnt-hero-banner h1 {
        font-size: 34px;
    }
    .cnt-form-row { 
        grid-template-columns: 1fr; 
        gap: 0; 
    }
    .cnt-form-container { 
        padding: 25px 20px; 
    }
    .cnt-file-upload-zone { 
        flex-direction: column; 
        align-items: stretch; 
        gap: 12px;
        padding: 15px;
        text-align: center;
    }
    .cnt-file-label-btn {
        justify-content: center;
    }
    .cnt-file-status-indicator {
        justify-content: center;
    }
    #file-name {
        max-width: 100%;
    }
}