body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #fff;
    color: #222;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 150px;
}

.logo img {
    display: block;
    height: 60px;
}

.navbar {
    background: #e4e4e4;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: stretch;
    height: 100%;
}

.nav-links a,
.dropbtn {
    text-decoration: none;
    font-weight: bold;
    color: rgb(63, 63, 63);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 0;
    box-sizing: border-box;
}

.nav-links a.active,
.dropdown.show>.dropbtn {
    background-color: #005c13;
    color: #fff;
}

.nav-links a:hover,
.dropdown:hover>.dropbtn:not(.active) {
    background-color: #d0e7d4;
    color: #005c13;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f5f5f5;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: rgb(63, 63, 63);
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #d0e7d4;
    color: #005c13;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #005c13;
    z-index: 10000;
    position: relative;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        background: #f5f5f5;
        flex-direction: column;
        width: 200px;
        padding: 60px 10px 10px 10px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .nav-links a,
    .dropbtn {
        padding: 15px;
        display: block;
        height: auto;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
    }

    .dropdown.show .dropdown-content {
        display: block;
    }
}

.hero {
    position: relative;
    overflow: hidden;
    height: 70vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: none;
}

.hero-slide.active {
    opacity: 1;
    display: block;
}

.hero-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.hero-text h1 {
    margin: 0 0 10px;
    font-size: 2rem;
}

.hero-text p {
    margin: 0 0 15px;
}

.btn {
    background: #005c13;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.btn:hover {
    background: #007a1c;
}

.services {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    padding: 0 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    margin: 15px 0 10px;
}

.service-card p {
    padding: 0 15px;
    font-size: 0.95rem;
}

.service-card .btn {
    margin: 15px auto 20px;
    display: inline-block;
}

.reviews {
    background: #f5f5f5;
    padding: 40px 15px;
    text-align: center;
}

.reviews {
    background: #f5f5f5;
    padding: 40px 15px;
    text-align: center;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-style: italic;
    max-width: 200px;
    margin: 0 auto;
}

.review-card p {
    font-size: 0.95rem;
    margin: 0;
}

.review-card span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #005c13;
    font-size: 0.85rem;
}

.consult-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.consult-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-step {
    display: block;
    margin-bottom: 15px;
    text-align: left;
}

.form-step .btn {
    display: inline-block;
    margin: 5px auto 0 auto;
    display: block;
    text-align: center;
}

.consult-form label {
    align-self: flex-start;
    margin: 10px 0 5px;
    font-weight: bold;
}

.consult-form select,
.consult-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin: 0 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.consult-form .btn-con {
    width: 100%;
    display: inline-block;
    background: #005c13;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.consult-form .btn-con:hover {
    background: #007a1c;
}

.form-success {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #005c13;
}

.site-footer {
    background-color: #f5f5f5;
    color: #000;
    padding: 40px 20px 20px 20px;
    text-align: center;
    font-family: sans-serif;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 200px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 20px 15px 15px 15px;
    }

    .footer-top {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .footer-col {
        max-width: 100%;
    }
}


.footer-col {
    flex: 1 1 150px;
    max-width: 200px;
    text-align: center;
}

.footer-col img {
    margin-bottom: 10px;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col a {
    color: #005c13;
    text-decoration: none;
}

.footer-col a:hover {
    color: #0a8a24;
}

.footer-bottom {
    padding: 7px 0;
    font-size: 14px;
    color: #333;
}

.error-msg {
    display: none;
    color: #d10000;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.error-msg.show {
    display: block;
}

/* Whatsapp Stils */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18), 0 4px 12px rgba(0, 0, 0, .12);
    cursor: pointer;
    z-index: 9999;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
}


.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .20), 0 6px 16px rgba(0, 0, 0, .14);
    filter: brightness(1.05);
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
    pointer-events: none;
    border: 2px solid rgba(37, 211, 102, 0.35);
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 380px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* Kontaktu sadaļai */

.contact-section {
    max-width: 1100px;
    margin: 50px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, #005c13, #0a8a30);
    color: #fff;
    padding: 40px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
}

.contact-map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.contact-form {
    flex: 1.5;
    padding: 40px;
}

.contact-form h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    transition: all 0.3s ease;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #005c13;
    background: #fff;
    outline: none;
    box-shadow: 0 0 6px rgba(0, 92, 19, 0.2);
}

.contact-form button {
    background: #005c13;
    color: #FFF;
    font-weight: bold;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.contact-form button:hover {
    background: #005c13;
}

/* Mūsu darbi sadaļa */

.portfolio-filter {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: #005c13;
    border: 1px solid #000;
    color: #FFF;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #002708ff;
    color: #FFF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 15px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: var(--white);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-img-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

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

.image-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 92, 19, 0.8);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 92, 19, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-title {
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.portfolio-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-btn {
    background-color: #FFF;
    color: #005c13;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.view-btn:hover {
    background-color: #005c13;
    color: #FFF;
}

#galleryModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 1050;
}

#galleryModal .modal-dialog {
    max-width: 800px;
    margin: 50px auto;
}

#galleryModal .modal-content {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1040;
}


.gallery-main-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 15px;
}

.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: #0d6efd;
    transform: scale(1.05);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background-color: #0d6efd;
}

.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#imageCounter {
    font-weight: 500;
}

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

.modal-header .modal-title {
    font-weight: 600;
}

.modal-footer {
    justify-content: center;
    gap: 10px;
}


@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .portfolio-header {
        padding: 2rem 0;
    }

    .gallery-main-img {
        max-height: 300px;
    }
}

.custom-container {
    max-width: 1320px;
    padding: 3rem 1.5rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.custom-heading {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
}

/* LAIVAS SADAĻA */
.hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(6, 78, 59, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(6, 78, 59, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #FFF;
    border: 2px solid #005c13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: #005c13;
    font-size: 1.4rem;
}

.feature-text h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #005c13 0%, #009e20ff 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 95, 70, 0.3);
}

.btn-outline-secondary {
    border-color: #005c13;
    color: #FFF;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #005c13;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .hero-image-container {
        transform: none;
        margin-bottom: 2rem;
    }

    .hero-image-container:hover {
        transform: none;
    }
}

.section-laivas {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap-reverse;
}

.text-block {
    flex: 1 1 500px;
}

.text-block h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1f2937;
}

.text-block p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #374151;
}

.buttons-block {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.image-block {
    flex: 1 1 400px;
}

/* KANALIZĀCIJAS sadaļa */
.section-bio {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.bio-item {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 40px;
    align-items: center;
}

.bio-image {
    flex: 1 1 400px;
    position: relative;
}

.bio-content {
    flex: 1 1 500px;
}

.bio-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.bio-content p,
.bio-content ul {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1rem;
}

.bio-content ul {
    padding-left: 1.2rem;
}

.bio-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 78, 59, 0.05);
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature i {
    color: #005c13;
    font-size: 1.5rem;
}

.feature:hover {
    background: rgba(6, 78, 59, 0.1);
    transform: translateY(-2px);
}

.bio-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* pogas */
/* .btn-primary {
    background: linear-gradient(135deg, #005c13 0%, #009e20ff 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 95, 70, 0.3);
}

.btn-primary-outline {
    border: 2px solid #005c13;
    color: #065f46;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: #005c13;
    color: #fff;
    transform: translateY(-2px);
} */

/* Image slider pamati */
.image-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.slider-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 0 10px;
    cursor: pointer;
    border-radius: 6px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

@media (max-width: 992px) {
    .bio-item {
        flex-direction: column;
        gap: 5px;
    }

    .bio-content h2 {
        text-align: center;
    }

    .bio-content p,
    .bio-content ul {
        text-align: center;
    }

    .bio-features {
        justify-content: center;
    }

    .bio-buttons {
        justify-content: center;
    }
}

/* Papildu optimizācijas Chrome un mobilajām ierīcēm */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@media (-webkit-device-pixel-ratio: 1) {
    .hero-slide {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

.nav-links a,
.dropbtn,
.btn,
.service-card,
.portfolio-item {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@viewport {
    width: device-width;
    zoom: 1;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {

    select,
    input[type="tel"],
    .consult-form select,
    .consult-form input[type="tel"],
    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .dropdown.show .dropdown-content {
        display: block;
        position: static;
        box-shadow: none;
        width: 100%;
    }

    .dropdown-content a {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }

    .hero-text {
        left: 5%;
        right: 5%;
        max-width: none;
        bottom: 10%;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 12px;
        bottom: 12px;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
}

.contact-form input,
.contact-form textarea,
.consult-form select,
.consult-form input[type="tel"] {
    -webkit-appearance: none;
    border-radius: 10px;
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-img-container {
        height: 180px;
    }
}

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

    .service-card img {
        height: 160px;
    }
}

.navbar {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.btn,
.btn-primary,
.btn-outline-secondary {
    -webkit-appearance: none;
    display: inline-block;
    cursor: pointer;
}

#galleryModal .modal-content {
    -webkit-overflow-scrolling: touch;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Privātuma politikas stils */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.policy-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-left: 4px solid #005c13;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.policy-section:hover {
    background: #f1f7ff;
}

.policy-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #005c13;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-text {
    font-size: 1rem;
    color: #444;
    text-align: justify;
}

.policy-text p {
    margin-bottom: 1rem;
}