* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d97706;
    --primary-dark: #b45309;
    --secondary-color: #1e293b;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #e8e6e1;
    --bg-white: #f5f3ef;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #e8e6e1;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('img/Excevator.png'),
        url('img/Excevator.png'),
        url('img/Excevator.png'),
        url('img/Excevator.png'),
        url('img/Excevator.png'),
        radial-gradient(circle at 20% 30%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(217, 119, 6, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(217, 119, 6, 0.02) 50%, transparent 100%);
    background-size: 
        180px 180px,
        160px 160px,
        150px 150px,
        140px 140px,
        130px 130px,
        100% 100%, 
        100% 100%, 
        200% 200%;
    background-position: 
        10% 15%,
        88% 10%,
        5% 80%,
        92% 85%,
        50% 50%,
        0 0, 
        0 0, 
        0 0;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('img/Excevator.png'),
        url('img/Excevator.png'),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(217, 119, 6, 0.015) 2px,
            rgba(217, 119, 6, 0.015) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(217, 119, 6, 0.015) 2px,
            rgba(217, 119, 6, 0.015) 4px
        );
    background-size: 
        170px 170px,
        155px 155px,
        100px 100px,
        100px 100px;
    background-position: 
        75% 65%,
        25% 40%,
        0 0,
        0 0;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 55px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(217, 119, 6, 0.3));
}

.logo-link:hover .logo-text {
    color: var(--primary-dark);
}

@media (max-width: 640px) {
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 45px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 50%, #fef3e2 100%);
    color: var(--secondary-color);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-logo {
    width: 280px;
    height: auto;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease;
    filter: drop-shadow(0 8px 24px rgba(217, 119, 6, 0.25));
}

@media (max-width: 640px) {
    .hero-logo {
        width: 200px;
        margin-bottom: 2rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-achievements {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4rem;
    z-index: 3;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.achievement-item {
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.achievement-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.15);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.achievement-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-achievements {
        gap: 1.5rem;
        bottom: 100px;
        padding: 0 1rem;
    }
    
    .achievement-item {
        padding: 0.75rem 1rem;
    }
    
    .achievement-number {
        font-size: 1.75rem;
    }
    
    .achievement-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-achievements {
        flex-direction: column;
        gap: 0.75rem;
        bottom: 90px;
        align-items: center;
    }
    
    .achievement-item {
        width: 180px;
        padding: 0.75rem 1.25rem;
    }
}

/* Certificates Section */
.certificates {
    background: linear-gradient(135deg, #e8e6e1 0%, #d4d1ca 100%);
    padding: 5rem 0;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.certificate-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.certificate-card .certificate-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.certificate-card .certificate-link:hover {
    transform: scale(1.05);
}

.certificate-card .certificate-img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.certificate-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.certificate-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* AAA Certificate Card */
.aaa-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.aaa-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.aaa-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.aaa-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.aaa-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
    stroke: white;
}

.aaa-rating {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    line-height: 1;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .certificate-card {
        padding: 2rem;
    }
    
    .certificate-card .certificate-img {
        height: 65px;
    }
    
    .aaa-rating {
        font-size: 2rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(45deg);
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.about {
    background: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
    transition: var(--transition);
    z-index: 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 0.4;
    transform: scale(1.05);
}

.service-card:hover::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(217, 119, 6, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.service-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Service card background images */
.service-aliurakointi::before {
    background-image: url('img/house.jpg');
}

.service-saneeraukset::before {
    background-image: url('img/wrench.jpg');
}

.service-huollot::before {
    background-image: url('img/last.jpg');
}

.service-kaivuutyot::before {
    background-image: url('img/location.jpg');
}

.photo-gallery {
    background: var(--bg-light);
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
}

.photo-gallery::before,
.photo-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.photo-gallery::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.photo-gallery::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.gallery-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 5 - 1.5rem * 5));
    }
}

.work {
    background: var(--bg-white);
}

.work-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.0625rem;
    color: var(--text-light);
}

.facebook-embed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.facebook-placeholder {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
    max-width: 500px;
}

.facebook-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: #1877f2;
}

.facebook-icon svg {
    width: 100%;
    height: 100%;
}

.facebook-placeholder h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.facebook-placeholder p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.facebook-plugin {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.facebook-plugin iframe {
    width: 100%;
    border: none;
}

.contact {
    background: var(--bg-light);
}

.payment {
    background: var(--bg-white);
    padding: 5rem 0;
}

.payment-content {
    max-width: 800px;
    margin: 0 auto;
}

.payment-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.payment-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 2rem;
    text-align: center;
}

.payment-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.payment-info {
    padding: 2.5rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.payment-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
    flex: 0 0 200px;
}

.payment-value {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.0625rem;
    text-align: right;
    flex: 1;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .payment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .payment-label {
        flex: none;
    }
    
    .payment-value {
        text-align: left;
        flex: none;
    }
    
    .payment-header h3 {
        font-size: 1.5rem;
    }
    
    .payment-info {
        padding: 2rem 1.5rem;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.contact-persons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.person-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.person-card h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.person-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.person-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.person-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: var(--transition);
    background: transparent;
    display: block;
}

.footer-logo.dark-logo {
    filter: brightness(0) invert(1);
}

.footer-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-certificate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-certificate-link {
    display: inline-block;
    transition: var(--transition);
}

.footer-certificate-link:hover {
    transform: scale(1.05);
}

.footer-certificate-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    display: block;
    opacity: 0.95;
    object-fit: contain;
}

.footer-certificate-img:hover {
    opacity: 1;
}

.footer-certificate p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }


    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-item {
        width: 300px;
        height: 225px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-300px * 5 - 1.5rem * 5));
        }
    }
}

@media (max-width: 640px) {
    .hero::before {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }


    .gallery-item {
        width: 250px;
        height: 188px;
    }

    .photo-gallery {
        padding: 3rem 0;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 5 - 1.5rem * 5));
        }
    }
}

