:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(15, 23, 42, 0.1);
    --glass-blur: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --bg-dark: #0f172a;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-inner {
    margin-top: 60px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
}

.glass-border {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-main);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url('https://images.unsplash.com/photo-1517420704952-d9f39e99b43e?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Section Common */
.services,
.team,
.contact {
    background-color: var(--bg-secondary);
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.stat-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-image img {
    width: 100%;
    border-radius: 1.5rem;
}

.subsection-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

.service-card {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0; /* Content will be handled by overlay */
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-overlay {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: var(--transition);
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}

.service-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.2rem;
    transform: translateY(0);
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}


.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    max-height: 0;
    overflow: hidden;
    line-height: 1.5;
}


.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}


/* Hover Effects */
.service-link:hover .service-bg {
    transform: scale(1.1);
}

.service-link:hover .service-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 60%, rgba(37, 99, 235, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
}

.service-link:hover p {
    opacity: 1;
    transform: translateY(0);
    max-height: 120px; /* Increased to avoid cutting text */
}

.service-link:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.service-link:hover h3 {
    transform: translateY(-5px);
}

.service-link:hover .service-btn {
    transform: translateY(-5px);
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.service-link:hover .service-card {
    border-color: var(--primary);
}



/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    gap: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(239, 246, 255, 0.9) 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 2rem;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .cta-text {
        max-width: 100%;
    }
}

/* Why Us */
.why-us-container {
    padding: 4rem;
}

.why-us-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.why-us-item p {
    color: var(--text-muted);
}

.why-us-item.highlight p {
    color: var(--text-main);
    font-weight: 600;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.project-view-all {
    text-align: center;
    margin-top: 5rem;
}

.project-view-all .btn-primary {
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.project-view-all .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

.project-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 500px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover .project-info {
    opacity: 1;
    transform: translateY(0);
}

.project-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

/* Dedicated Projects Page */
.projects-header {
    padding-top: 150px;
    padding-bottom: 50px;
    text-align: center;
    background: var(--bg-secondary);
}

/* Modern Structured Projects Design */
.project-list {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.project-list-item {
    background: white;
    margin-bottom: 100px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 100px;
}

.project-main-display {
    position: relative;
    height: 500px;
    width: 100%;
}

.project-main-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-item-header {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-title-area h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.project-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 480px) {
    .project-title-area h3 {
        font-size: 1.6rem;
    }
}

.project-item-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    padding: 3rem;
}

.project-description-area p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project-info-sidebar {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1.5rem;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    display: block;
}

.project-materials {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.project-materials li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.project-materials li::before {
    content: "•";
    color: var(--accent-primary);
    font-weight: bold;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: white;
    color: var(--text-main);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.project-gallery-inline {
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1/1;
    border-radius: 1rem;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* Make images look clickable */
.project-main-display,
.gallery-item {
    cursor: pointer;
}

@media (max-width: 992px) {
    .project-item-body {
        display: flex;
        flex-direction: column;
    }

    .project-description-area {
        display: contents;
    }

    .project-description-area p {
        order: 1;
    }

    .project-info-sidebar {
        order: 2;
        width: 100%;
    }

    .project-gallery-inline {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }

    .project-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .projects-header {
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .project-list-item {
        margin-bottom: 60px;
        border-radius: 1.5rem;
    }

    .project-main-display {
        height: 250px;
    }

    .project-item-header {
        padding: 1.5rem;
    }

    .project-item-body {
        padding: 1.5rem;
        gap: 2rem;
    }

    .project-description-area p {
        font-size: 1rem;
    }

    .project-info-sidebar {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.project-view-all {
    text-align: center;
    margin-top: 4rem;
}

/* Team */
.team-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 1024px) {
    .team-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-grid-container {
        grid-template-columns: 1fr;
    }
}

.team-card {
    width: 100%;
    background: transparent;
    transition: var(--transition);
}

.team-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition);
}

.team-info {
    padding: 0;
    text-align: center;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-weight: 600;
}

.team-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card:hover .team-avatar {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.team-card:hover .team-avatar img {
    transform: scale(1.05);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.info-list {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-muted);
}

.info-item p.small {
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.contact-form-wrapper {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 0.8rem;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.form-feedback {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.map-container {
    height: 450px;
    margin-top: 4rem;
}

/* Newsletter */
.newsletter-card {
    padding: 4rem;
    text-align: center;
}

.newsletter-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #020617;
    border-top: 1px solid var(--glass-border);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info p {
    color: #94a3b8;
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-grid h4 {
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 0.8rem;
}

.footer-grid ul a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-grid ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}


/* Modern Form / Pressupost */
.budget-section {
    padding-top: 50px;
    padding-bottom: 100px;
}

.glass-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.modern-form {
    display: flex;
    flex-direction: column;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: #fff;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23475569%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem top 50%;
    background-size: 0.65rem auto;
}

.text-area {
    resize: vertical;
    min-height: 120px;
}

.form-submit-container {
    margin-top: 1rem;
}

.form-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 0.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-alert.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-alert.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 3rem 2rem;
        flex-direction: column;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info p {
        margin: 1.5rem auto;
    }

    .social-links {
        justify-content: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .glass-form-container {
        padding: 2rem 1.25rem;
    }

    /* Adjust navbar container for mobile */
    .nav-container {
        padding: 0 1.5rem;
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 1rem;
    }

    .map-container {
        height: 300px;
    }

    .why-us-container {
        padding: 2rem;
    }

    .about-image {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 0.25rem 0.5rem;
    cursor: default;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    user-select: none;
}

.lang-option {
    padding: 0.25rem 0.6rem;
    border-radius: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-option:hover {
    color: var(--primary);
}

.lang-option.active {
    background: var(--primary);
    color: #fff;
}

.lang-sep {
    color: var(--glass-border);
    font-weight: 300;
    pointer-events: none;
}

/* Form Feedback Messages */
.form-feedback {
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.form-feedback.success {
    background: rgba(74, 222, 128, 0.12);
    color: #16a34a;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.form-feedback.error {
    background: rgba(248, 113, 113, 0.12);
    color: #dc2626;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 1.5rem;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-wrap: wrap;
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(150%);
    opacity: 0;
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #f8fafc;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-content a:hover {
    color: var(--primary-hover);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-banner .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.cookie-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 1.5rem;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Legal Content Readability */
.legal-content {
    line-height: 1.8;
    color: var(--text-muted);
}
.legal-content p {
    margin-bottom: 1.5rem;
}
.legal-content strong {
    color: var(--text-main);
}
@media (max-width: 768px) {
    .legal-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    .legal-content p {
        margin-bottom: 1.25rem;
    }
}