@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Quicksand:wght@300..700&display=swap');

* {
    font-family: "Nunito", sans-serif;
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
    transition: all .3s;
}

:root {
    --maincolor: #2578f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

*::selection {
    background: var(--maincolor);
    color: #fff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6;
}

header {
    width: 100%;
    background: rgba(255, 255, 255, 95%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 18.5%;
    border-bottom: .1rem solid #ddd;
}

header .logo {
    font-size: 1.6rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 2rem;
}

i {
    color: var(--maincolor);
    margin: 0.3rem;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.menu-toggle {
    display: none;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: #333;
    font-size: 14px;
    position: relative;
    padding: 8px 0;
    display: inline-block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--maincolor);
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active,
nav ul li a:hover i {
    color: var(--maincolor);
}

.btn {
    display: inline-block;
    background: var(--maincolor);
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
}

.btn:hover {
    background: #333;
}

nav ul li.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 10px 0;
    z-index: 100;
    list-style: none;
    margin: 0;
}

.dropdown i {
    color: #666;
}

nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    color: #555;
    font-size: 14px;
    width: 100%;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a:hover {
    background-color: #f3f5f8;
    color: var(--maincolor);
}

.aizmugure {
    background-color: #f3f5f8;
}

.aizmugure2 {
    background-color: #f9fafc;
}

/*------------------------------------------- */
/*Sākums*/
/*------------------------------------------- */

#sakums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    margin-top: 0px;
}

.hero-text {
    max-width: 520px;
}

.gaisma {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef3ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

#sakums h1 {
    font-size: 41px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.pirmais {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

.saraksts {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.saraksts li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
    display: flex;
    align-items: center;
}

.saraksts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #2578f8;
    border-bottom: 2px solid #2578f8;
}

.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: #163d8f;
}

#sakums .img {
    position: relative;
    height: 400px;
}

.img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ieprieksejais,
.nakamais {
    position: absolute;
    top: 50%;
    background: #2578f8;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    opacity: 0.8;
}

.ieprieksejais:hover,
.nakamais:hover {
    opacity: 1;
    background: #163d8f;
    transform: scale(1.3);
}

.ieprieksejais {
    left: 10px;
}

.nakamais {
    right: 10px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.slide.active {
    opacity: 1;
}

.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 30px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/*------------------------------------------- */
/*Par mums*/
/*------------------------------------------- */


#parmums {
    padding: 80px 0;

}

#parmums h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: #1a1a1a;
}

#parmums h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--maincolor);
}

.section-desc {
    text-align: center;
    color: #888;
    margin: 0 auto 60px auto;
    max-width: 600px;
    line-height: 1.6;
    font-size: 15px;
}

.flex-items {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#parmums .box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
    margin-bottom: 100px;
}

#parmums .box::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #f0f7ff;
    z-index: -1;
    transition: height 0.4s ease-in-out;
}

#parmums .box:hover {
    transform: translateY(-12px);
}

#parmums .box:hover::before {
    height: 100%;
}

#parmums .box i {
    background-color: #f0f7ff;
    color: var(--maincolor);
    border-radius: 50%;
    font-size: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease;
}

#parmums .box:hover i {
    background-color: var(--maincolor);
    color: #fff;
}

#parmums .box h3 {
    font-size: 19px;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

#parmums .box p {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

#parmums span {
    color: var(--maincolor);
}

#parmums .aizmugure {
    padding: 35px;
}

/*------------------------------------------- */
/*Pieredze*/
/*------------------------------------------- */

.pieredze-sekcija {
    background-color: #f3f5f8;
}

.experience-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: -30px;
    margin-bottom: -30px;
}

.experience-text {
    flex: 1;
}

.experience-text h1 {
    font-size: 38px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-align: left;
}

.experience-text h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--maincolor);
}

.experience-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    max-width: 450px;
    text-align: left;
}

.experience-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box i {
    background-color: #eef3ff;
    color: var(--maincolor);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0;
}

.stat-info h3 {
    font-size: 22px;
    color: #222;
    margin: 0;
}

.stat-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
    white-space: nowrap;
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: var(--maincolor);
    margin-top: 5px;
}

/*------------------------------------------- */
/*Pakalpojumi*/
/*------------------------------------------- */

#pakalpojumi {
    scroll-margin-top: 90px;
}

#pakalpojumi .sakumss h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sakumss h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--maincolor);
}

.sakumss p {
    text-align: center;
    color: #666;
    margin-bottom: 55px;
}


#pakalpojumi img {
    margin-top: 20px;
    width: 400px;
}

#pakalpojumi .experience-text h1::after {
    display: none;
}

#pakalpojumi .box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#pakalpojumi .box {
    background: #f8fbff;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 30px 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 375px;
}

#pakalpojumi .box i {
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

#pakalpojumi .box h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

#pakalpojumi .box p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
    padding: 0px 20px;
}

#pakalpojumi .box button {
    background-color: var(--maincolor);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    margin-bottom: 5px;
}

#pakalpojumi .box button i {
    font-size: 14px;
    color: white;
    margin-bottom: 0;
    margin: 0.1rem;
}

#pakalpojumi .box:hover {
    background: var(--maincolor);
    transform: translateY(-6px);
}

#pakalpojumi .box:hover i,
#pakalpojumi .box:hover h3,
#pakalpojumi .box:hover p {
    color: #fff;
}

#pakalpojumi .box:hover button {
    background-color: #6a89fa;
}

#partneri h1 {
    padding-top: 80px;
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: -50px;
    position: relative;
    padding-bottom: 10px;
}

#partneri h1::after {
    content: "";
    position: absolute;
    border: 1px solid #ddd;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--maincolor);
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    position: relative;
}

.repeat {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    margin: 75px 75px 10px 75px;
}

.repeat img {
    height: 100px;
    margin: 0 30px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.repeat:hover {
    animation-play-state: paused;
}

.repeat img:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*------------------------------------------- */
/*BUJ*/
/*------------------------------------------- */

#buj {
    padding: 80px 0;
    margin-bottom: -100px;
    scroll-margin-top: 100px;
}

#buj .sakumss h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    margin-top: -50px;
}

.faq-wrapper {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.faq-tabs-container {
    background: #f4f6f9;
    padding: 7px;
    border-radius: 50px;
    display: inline-flex;
    gap: 5px;
    margin-bottom: 35px;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 22px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--maincolor);
}

.tab-btn.active {
    background: var(--maincolor);
    color: #ffffff;
}

.tab-btn.active:hover {
    color: #fff;
}

.tab-btn.active i {
    color: #ffffff;
}

.faq-list {
    width: 100%;
}

.faq-group {
    display: none;
    width: 100%;
}

.faq-group.active {
    display: block;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 12px;
    width: 100%;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    background-color: #f0f4ff;
}

.faq-ans p {
    font-size: 14.5px;
    color: #666666;
    line-height: 1.5;
}

.faq-row {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.faq-num {
    background: #dce4ff;
    color: var(--maincolor);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
}

.faq-row h3 {
    flex-grow: 1;
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    text-align: left;
}

.faq-icon {
    color: #b0b8c1;
    font-size: 30px;
    font-weight: 300;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, color 0.4s ease;
    user-select: none;
}

.faq-item.open .faq-icon {
    color: var(--maincolor);
    transform: rotate(90deg);
}

.faq-item.open {
    background: #f0f4ff;
}

.faq-item.open .faq-row {
    background: transparent;
}

.faq-ans {
    display: none;
    background: #ffffff;
    padding: 18px 25px;
    margin: 0;
    width: 100%;
}

.faq-item.open .faq-ans {
    display: block;
}

.faq-footer-box {
    background: #f0f4ff;
    padding: 30px 20px;
    border-radius: 15px;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.faq-footer-box p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.faq-footer-box .btn-primary {
    background: #2578f8;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.faq-footer-box .btn-primary:hover {
    background: #1a63d9;
    transform: translateY(-2px);
}

#blogs {
    background-color: #f4f7f9;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    scroll-margin-top: 90px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 60px;
    gap: 40px;
}

.blog-content {
    flex: 1.2;
}

.blog-content h1 {
    font-size: 35px;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-blog {
    background: transparent;
    border: 1.5px solid #333;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-blog:hover {
    transform: translateY(-4%);
}

.blog-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.blog-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.blog-image img:hover {
    transform: translateY(-2%);
}

/*------------------------------------------- */
/*Komanda*/
/*------------------------------------------- */

#komanda {
    padding: 80px 0;
    margin-top: -30px;
}

.sakumss {
    text-align: center;
    margin: 0 auto 100px;
}

#komanda .sakumss h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    color: #1a1a1a;
}

.ekspertu-saturs {
    display: flex;
    gap: 70px;
    align-items: center;
}

.teksts-kreisaja {
    flex: 0 0 300px;
}

.teksts-kreisaja h1 {
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a;
    position: relative;
}

.teksts-kreisaja h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    transform: translateX(-455%);
    width: 60px;
    height: 3px;
    background: var(--maincolor);
}

.teksts-kreisaja p {
    font-size: 15px;
    color: #777;
    margin-bottom: 30px;
    width: 350px;
}

.mySwiper {
    flex: 1;
    overflow: hidden;
    padding-top: 30px;
    margin-top: -30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.card:hover {
    transform: translateY(-5%);
}

.card-img {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(36, 35, 35, 0.7) 200%);
    pointer-events: none;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.card-body .amats {
    font-size: 13px;
    color: var(--maincolor);
    margin-bottom: 15px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons i {
    width: 32px;
    height: 32px;
    background: #f4f7ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maincolor);
    font-size: 14px;
    transition: 0.3s;
    cursor: pointer;
}

.social-icons i:hover {
    background: var(--maincolor);
    color: #fff;
}

.slider-nav {
    display: flex;
    gap: 12px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--maincolor);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maincolor);
    cursor: pointer;
    transition: 0.3s;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: var(--maincolor);
}

.swiper-button-prev-custom:hover i,
.swiper-button-next-custom:hover i {
    color: #fff;
}

/*------------------------------------------- */
/*Kontakti*/
/*------------------------------------------- */

#kontakti {
    padding: 60px 0px;
}

#kontakti .header {
    text-align: center;
    margin-bottom: 50px;
}

#kontakti .header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

#kontakti .underline {
    width: 50px;
    height: 3px;
    background-color: #2563eb;
    margin: 0 auto 20px;
}

#kontakti .header p {
    color: #64748b;
    margin: 0 auto;
}

#kontakti .contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

#kontakti .info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

#kontakti .card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#kontakti .icon-box {
    background-color: #eff6ff;
    color: #2563eb;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

#kontakti .card span {
    color: #94a3b8;
    font-size: 0.9rem;
    display: block;
}

#kontakti .card p {
    font-weight: 600;
    color: #334155;
}

#kontakti .form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#kontakti .form-container h3 {
    border-left: 4px solid #2563eb;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #1e293b;
}

#kontakti .form-subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

#kontakti .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#kontakti input,
#kontakti textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    border-radius: 8px;
    outline: none;
    color: #334155;
}

#kontakti .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

#kontakti .submit-btn {
    background-color: #2563eb;
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

#kontakti .submit-btn:hover {
    background-color: #1d4ed8;
}

#kontakti .social-icons i {
    display: flex;
    gap: 10px;
    border-radius: 50%;
    color: #fff;
    background-color: var(--maincolor);
}

#kontakti .social-icons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

#kontakti .map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 400px;
}

/*------------------------------------------- */
/*footer*/
/*------------------------------------------- */

footer {
    text-align: center;
    padding: 20px;
}

#scroll-up {
    position: fixed;
    bottom: 11px;
    right: 20px;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#scroll-up.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#scroll-up.hide-animation {
    opacity: 0;
    transform: translateY(-50px);
}

#scroll-up i {
    padding: 5px 28px 5px 16px;
    background-color: var(--maincolor);
    color: #fff;
    border-radius: 15%;
}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(50px);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

#sakums.hidden {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@media (max-width: 1400px) {
    header {
        padding: 1rem 10%;
    }

    .container {
        max-width: 95%;
        padding: 0 20px;
    }

    .repeat {
        margin: 75px 40px 10px 40px;
    }

    #sakums {
        padding: 60px 20px;
    }

    #sakums h1 {
        font-size: 38px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 1rem 5%;
    }

    #sakums {
        gap: 40px;
        padding: 50px 20px;
    }

    #sakums h1 {
        font-size: 34px;
    }

    .pirmais {
        font-size: 17px;
    }

    #sakums .img {
        height: 350px;
    }

    .experience-content {
        gap: 40px;
    }

    #pakalpojumi .box {
        width: 100%;
    }

    .ekspertu-saturs {
        gap: 40px;
    }

    .teksts-kreisaja p {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    nav ul li {
        margin-left: 1.5rem;
    }

    nav ul li a {
        font-size: 13px;
    }

    #sakums {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 50px 20px;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    #sakums h1 {
        font-size: 32px;
    }

    .pirmais {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .saraksts {
        margin-bottom: 25px;
    }

    .saraksts li {
        justify-content: center;
        font-size: 15px;
    }

    #sakums .img {
        max-width: 100%;
        width: 100%;
        height: 400px;
        margin: 0 auto;
    }

    .btn-primary {
        display: inline-block;
        margin: 0 auto;
    }

    .experience-content {
        flex-direction: column;
    }

    .experience-text h1,
    .experience-text p {
        text-align: center;
    }

    .experience-text h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .experience-text p {
        max-width: 100%;
    }

    #pakalpojumi .box-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #pakalpojumi img {
        width: 100%;
        max-width: 400px;
    }

    .ekspertu-saturs {
        flex-direction: column;
        gap: 40px;
    }

    .teksts-kreisaja {
        flex: 1;
        text-align: center;
        width: 100%;
    }

    .teksts-kreisaja h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .slider-nav {
        justify-content: center;
    }

    .mySwiper {
        width: 100%;
    }

    #kontakti .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        flex-direction: column;
        padding: 40px;
    }

    .blog-image {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        position: relative;
    }

    header .logo {
        font-size: 1.4rem;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--maincolor);
        z-index: 101;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    nav ul li.dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav ul li.dropdown.open .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu li {
        border: none;
    }

    #sakums {
        padding: 40px 20px;
        gap: 30px;
    }

    #sakums h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .gaisma {
        font-size: 13px;
        padding: 5px 12px;
        margin-bottom: 15px;
    }

    .pirmais {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .saraksts {
        margin-bottom: 20px;
    }

    .saraksts li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
    }

    #sakums .img {
        height: 300px;
        max-width: 100%;
    }

    .ieprieksejais,
    .nakamais {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .dot {
        width: 25px;
        height: 3px;
    }

    .indicators {
        bottom: 15px;
    }

    #parmums h1,
    .sakumss h1,
    #kontakti .header h1 {
        font-size: 28px;
    }

    .flex-items {
        grid-template-columns: 1fr;
    }

    #parmums .box {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .experience-text h1,
    .teksts-kreisaja h1 {
        font-size: 28px;
    }

    #pakalpojumi img {
        margin-top: 30px;
        max-width: 300px;
    }

    .repeat img {
        height: 70px;
        max-width: 100px;
        min-width: 60px;
        margin: 0 15px;
    }

    .repeat {
        margin: 50px 20px 10px 20px;
    }

    .marquee-container {
        padding: 20px 0;
    }

    .faq-tabs-container {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .faq-wrapper {
        max-width: 100%;
    }

    .blog-card {
        padding: 30px;
    }

    .blog-content h1 {
        font-size: 28px;
    }

    .blog-content p {
        font-size: 15px;
    }

    #kontakti .info-cards {
        grid-template-columns: 1fr;
    }

    #kontakti .form-container {
        padding: 25px;
    }

    #kontakti .input-row {
        grid-template-columns: 1fr;
    }

    #kontakti .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 640px) {
    header .logo {
        font-size: 1.2rem;
    }

    nav ul li a {
        font-size: 12px;
        padding: 6px 0;
    }

    #sakums {
        padding: 35px 15px;
        gap: 25px;
    }

    #sakums h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .gaisma {
        font-size: 12px;
        padding: 4px 10px;
        margin-bottom: 12px;
    }

    .pirmais {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .saraksts {
        margin-bottom: 18px;
    }

    .saraksts li {
        font-size: 13px;
        margin-bottom: 8px;
        padding-left: 20px;
    }

    .saraksts li::before {
        width: 5px;
        height: 5px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }

    #sakums .img {
        height: 250px;
        max-width: 100%;
    }

    .slide {
        border-radius: 12px;
    }

    .ieprieksejais,
    .nakamais {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .ieprieksejais {
        left: 8px;
    }

    .nakamais {
        right: 8px;
    }

    .dot {
        width: 20px;
        height: 3px;
    }

    .indicators {
        bottom: 12px;
        gap: 8px;
    }

    #pakalpojumi img {
        max-width: 300px;
    }

    .blog-image img {
        max-width: 100%;
    }

    .card-img,
    .card img {
        height: 220px;
    }

    #parmums,
    #pakalpojumi,
    #buj,
    #blogs,
    #komanda {
        padding: 50px 20px;
    }

    .section-desc {
        font-size: 14px;
        margin-bottom: 40px;
    }

    #parmums .box {
        padding: 30px 15px;
    }

    .pieredze-sekcija {
        padding: 20px;
    }

    .experience-text h1 {
        font-size: 24px;
    }

    .experience-text p {
        font-size: 14px;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-info h3 {
        font-size: 20px;
    }

    #pakalpojumi .box {
        padding: 25px 15px;
    }

    #pakalpojumi .box h3 {
        font-size: 18px;
    }

    #partneri h1 {
        padding-top: 50px;
    }

    .repeat {
        margin: 40px 15px 10px 15px;
    }

    .repeat img {
        height: 60px;
        max-width: 80px;
        margin: 0 10px;
    }

    .faq-row {
        padding: 15px 18px;
    }

    .faq-row h3 {
        font-size: 14px;
    }

    .faq-ans {
        padding: 15px 18px;
    }

    .faq-ans p {
        font-size: 13px;
    }

    .faq-footer-box {
        padding: 25px 15px;
    }

    .faq-footer-box p {
        font-size: 14px;
    }

    .blog-card {
        padding: 25px;
    }

    .blog-content h1 {
        font-size: 24px;
    }

    .blog-content p {
        font-size: 14px;
    }

    .btn-blog {
        padding: 10px 20px;
        font-size: 14px;
    }

    .teksts-kreisaja h1 {
        font-size: 24px;
    }

    .card-body h3 {
        font-size: 16px;
    }

    #kontakti .header h1 {
        font-size: 24px;
    }

    #kontakti .header p {
        font-size: 14px;
    }

    #kontakti .form-container h3 {
        font-size: 1.2rem;
    }

    #kontakti .form-footer {
        flex-direction: column;
        gap: 15px;
    }

    #kontakti .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem;
    }

    header .logo {
        font-size: 1.1rem;
    }

    nav ul li a {
        font-size: 11px;
        padding: 4px 6px;
    }

    #sakums {
        padding: 30px 12px;
        gap: 20px;
    }

    #sakums h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .gaisma {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .gaisma i {
        font-size: 10px;
    }

    .pirmais {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .saraksts {
        margin-bottom: 15px;
    }

    .saraksts li {
        font-size: 12px;
        margin-bottom: 7px;
        padding-left: 18px;
    }

    .saraksts li::before {
        width: 4px;
        height: 4px;
        border-width: 1.5px;
    }

    .btn-primary {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 6px;
    }

    #sakums .img {
        height: 220px;
        max-width: 100%;
    }

    .slide {
        border-radius: 10px;
    }

    .ieprieksejais,
    .nakamais {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ieprieksejais {
        left: 6px;
    }

    .nakamais {
        right: 6px;
    }

    .dot {
        width: 18px;
        height: 2.5px;
    }

    .indicators {
        bottom: 10px;
        gap: 6px;
    }

    #parmums h1,
    .sakumss h1 {
        font-size: 24px;
    }

    .card-img {
        height: 240px;
    }

    #parmums .box i {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    #parmums .box h3,
    #pakalpojumi .box h3 {
        font-size: 16px;
    }

    #parmums .box p,
    #pakalpojumi .box p {
        font-size: 13px;
    }

    .experience-text h1,
    .teksts-kreisaja h1 {
        font-size: 22px;
    }

    .stat-box {
        flex-direction: column;
        text-align: center;
    }

    .stat-info h3 {
        font-size: 18px;
    }

    #pakalpojumi img {
        width: 100%;
    }

    .repeat img {
        height: 50px;
    }

    .faq-num {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .faq-row h3 {
        font-size: 13px;
    }

    .blog-content h1 {
        font-size: 20px;
    }

    .blog-image img {
        max-width: 100%;
    }

    .card-img,
    .card-img img {
        height: 200px;
    }

    .repeat img {
        height: 45px;
        max-width: 60px;
        min-width: 35px;
    }

    .repeat {
        margin: 30px 10px 10px 10px;
    }

    #kontakti .form-container {
        padding: 20px;
    }

    #kontakti input,
    #kontakti textarea {
        font-size: 14px;
    }

    footer {
        font-size: 14px;
        padding: 15px;
    }

    #scroll-up i {
        padding: 4px 20px 4px 12px;
    }
}