/* Modern Premium Styles for KRJ Events */

:root {
    --primary: #c5a059;
    --primary-light: #d4b47a;
    --primary-dark: #a38241;
    --secondary: #000000;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-dark: #1a1a1a;
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.7);
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --footer-bg: #ffffff;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 85px 0;
}

.no-padding-top {
    padding-top: 0;
}

.no-padding-bottom {
    padding-bottom: 0;
}

.sub-heading {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    display: block;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .sub-heading {
    margin-bottom: 5px;
}

.section-header h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 2.8rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.accent {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 60px;
    height: 60px;
    border: 2px solid var(--glass-border);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navbar Improvements */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 45px;
    transition: var(--transition);
}

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

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Hero Section with Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Background image inner zoom (Ken Burns effect) */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active .slide-bg {
    transform: scale(1.15);
    /* Slowly zoom in when active */
    transition: transform 10s linear;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

/* Slide Specific Animations */
.slide .slide-text,
.slide .slide-subtext,
.slide .slide-btns {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide.active .slide-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.slide.active .slide-subtext {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.0s;
}

.slide.active .slide-btns {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.slide:not(.active) .slide-text,
.slide:not(.active) .slide-subtext,
.slide:not(.active) .slide-btns {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s ease;
}

/* Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--primary);
}

.welcome-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.welcome-text p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.welcome-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.mini-stat h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.mini-stat p {
    font-size: 0.8rem;
    color: var(--text-white);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-stat .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
}

/* Detailed Service Styles */
.intro-large {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-gray);
    line-height: 1.8;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.service-detail-grid.reverse .service-detail-content {
    order: 2;
}

.service-detail-grid.reverse .service-detail-gallery {
    order: 1;
}

.service-detail-content h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.service-detail-content p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.capability-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.capability-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-white);
}

.capability-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    margin-right: 15px;
}

.mini-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mini-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.mini-gallery-grid img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.bg-dark {
    background-color: #080808;
}

/* About Page Updates */
.about-intro-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-image-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-side-image img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.about-side-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.about-side-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

.value-card {
    background: var(--bg-card);
    padding: 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.image-row img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    max-height: 500px;
    object-fit: cover;
}

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

    .about-image-text-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Home Services Section */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

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

.service-card-home {
    position: relative;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.7s ease;
}

.service-card-home:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    transition: background 0.4s ease;
}

.service-card-home:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(6, 6, 6, 0.98) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px;
    z-index: 2;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 18px;
    transition: var(--transition);
}

.service-card-home:hover .service-card-icon {
    transform: scale(1.15);
}

.service-card-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.service-card-home:hover .service-card-content p {
    max-height: 100px;
    opacity: 1;
}

.service-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.service-card-home:hover .service-card-link {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-home {
        height: 320px;
    }
}

/* Work Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: var(--bg-card);
    padding: 60px 40px;
    border: 1px solid var(--glass-border);
    position: relative;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.step-number {
    font-size: 5rem;
    font-weight: 700;
    color: rgba(197, 160, 89, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Stats Section Large */
.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item .number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 15px;
}

/* Page Header */
.page-header {
    height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.header-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    padding: 18px 40px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: var(--transition);
    border: 1px solid var(--primary);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-5px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-white);
    margin-left: 20px;
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--secondary);
    transform: translateY(-5px);
}

/* Client Carousel */
.client-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll-carousel 20s linear infinite;
}

.carousel-track img {
    height: 60px;
    filter: grayscale(100%) invert(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.carousel-track img:hover {
    filter: grayscale(0%) invert(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

/* Discovery & Stats */
.discovery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-box {
    background: #141414;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 50px;
    max-width: 650px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-box h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-box>p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

/* File Input */
input[type="file"] {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

input[type="file"]:hover {
    border-color: var(--primary);
}

/* Form Response Messages */
.form-response {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-weight: 500;
}

.form-response.success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.4);
    color: #5cb85c;
}

.form-response.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #e06c75;
}

/* Career Page Jobs */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 15px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.9);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
}

.job-tag {
    background: rgba(197, 160, 89, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-meta {
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.job-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.job-body {
    flex-grow: 1;
}

.job-body h4 {
    font-size: 0.95rem;
    margin: 20px 0 10px;
    color: var(--text-white);
}

.job-body ul {
    list-style: none;
    margin-bottom: 10px;
}

.job-body li {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.job-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.job-footer {
    margin-top: 30px;
}

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

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

/* Procedure Grid */
.procedure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.procedure-card {
    background: var(--bg-card);
    padding: 60px 40px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition);
}

.procedure-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.proc-num {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
}

.proc-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

/* Service Details Blocks */
.service-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 150px;
    align-items: flex-start;
}

.service-block.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-block.reverse .block-info {
    order: 2;
}

.service-block.reverse .block-items {
    order: 1;
}

.block-info h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.block-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item-card {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.service-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-item-card h4 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    transition: var(--transition);
}

.service-item-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

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

/* Portfolio / Gallery Page */
.gallery-filters {
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    padding: 10px 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, #000, transparent);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    bottom: 0;
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

/* Contact Page Grid */
.contact-grid-detailed {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}

.contact-info-card {
    background: var(--primary);
    padding: 60px;
    color: var(--secondary);
}

.info-block {
    margin-bottom: 40px;
}

.info-block i {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-block h3 {
    margin-bottom: 10px;
}

.contact-form-card {
    padding: 60px;
}

.contact-form-card h2 {
    margin-bottom: 40px;
}

/* Site Footer (White Theme) */
.site-footer {
    background: var(--footer-bg);
    color: var(--text-dark);
    padding: 100px 0 40px;
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0.1;
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000;
}

.footer-info p {
    color: #555;
}

.footer-contact-block {
    margin: 40px 0;
}

.footer-contact-block h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-nav-grid a {
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-nav-grid a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-form {
    background: #f9f9f9;
    padding: 40px;
    border: 1px solid #eee;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #777;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 25px;
}

.footer-bottom {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
    font-size: 0.8rem;
    color: #999;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 1.2s;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 1.2s;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 992px) {

    .service-block,
    .service-block.reverse {
        grid-template-columns: 1fr;
    }

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

    .nav-links {
        display: none;
    }

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

    .contact-grid-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .block-items {
        grid-template-columns: 1fr;
    }
}