/* -------------------------------------
 * Services Page - Base Styles
 * ------------------------------------- */

.verslolygis-services-wrapper {
    font-family: "Outfit", sans-serif;
    color: #333333;
    background-color: #f8fafc;
    min-height: 100vh;
}

.v-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------------------------
 * Hero Section
 * ------------------------------------- */
.v-services-hero-section {
    padding: 20px 0 60px;
}

.v-services-hero-box {
    background-color: var(--v-color-primary, #b50e35);
    padding: 100px 40px;
    text-align: center;
    color: #ffffff;
    /* Optional premium rounded corners since it's contained now, 
       but if you want square, just remove this */
    border-radius: 4px;
}

.v-services-hero-title {
    font-size: 3.5rem;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.v-services-hero-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* -------------------------------------
 * Responsive Rules
 * ------------------------------------- */
@media (max-width: 992px) {
    .v-services-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .v-services-hero-section {
        padding: 20px 0 40px;
    }
    
    .v-services-hero-box {
        padding: 60px 20px;
    }
    
    .v-services-hero-title {
        font-size: 2.2rem;
    }
    
    .v-services-hero-text {
        font-size: 1.1rem;
    }
}

/* -------------------------------------
 * Service Split Section (MB Apskaita, etc.)
 * ------------------------------------- */
.v-services-sticky-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.v-services-sticky-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.85); /* Dark overlay */
    z-index: 1;
}

.v-services-sticky-bg .v-services-sticky-title {
    color: #ffffff;
    font-family: "Outfit", sans-serif;
}

.v-services-sticky-bg .v-services-sticky-text {
    color: #f1f5f9;
}

.v-services-sticky-list-section {
    padding: 80px 0;
    background-color: #fbf0f2;
}

.v-services-split-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.v-services-split-section:nth-of-type(even) {
    background-color: #f8fafc;
}

.v-services-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.v-services-row-reverse {
    flex-direction: row-reverse;
}

.v-services-col-img {
    flex: 1;
    position: relative;
    /* Optional premium touch: subtle shadow and rounded corners for the image wrapper */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.v-services-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.v-services-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e2e8f0;
}

.v-services-col-content {
    flex: 1;
}

.v-services-title {
    font-size: 2.5rem;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 15px;
}

.v-services-title-dark {
    color: #1a365d;
    font-family: "Outfit", sans-serif;
    font-size: 1.85rem;
    line-height: 1.3;
}

.v-services-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 25px;
    line-height: 1.4;
}

.v-services-text {
    font-size: 1rem;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 40px;
}

.v-services-btn {
    display: inline-block;
    background-color: var(--v-color-primary, #b50e35);
    color: #ffffff;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(181, 14, 53, 0.2);
}

.v-services-btn:hover {
    background-color: #900b2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 14, 53, 0.3);
    color: #ffffff;
}

@media (max-width: 992px) {
    .v-services-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .v-services-row-reverse {
        flex-direction: column;
    }
    
    .v-services-title {
        font-size: 2.2rem;
    }
}
/* -------------------------------------
 * Grid Section (MB Cards)
 * ------------------------------------- */
.v-services-grid-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.v-services-grid-header {
    text-align: left;
    margin-bottom: 50px;
}

.v-services-grid-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 10px;
}

.v-services-grid-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.5;
}

.v-services-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.v-services-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.v-services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.v-services-card-icon {
    font-size: 2.5rem;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 25px;
}

.v-services-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.4;
}

.v-services-card-text {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.v-services-card-link {
    display: inline-block;
    color: var(--v-color-primary, #b50e35);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.v-services-card-link:hover {
    color: #900b2a;
    text-decoration: underline;
}

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

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

/* -------------------------------------
 * Info Section (MB Mokesciai)
 * ------------------------------------- */
.v-services-info-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.v-services-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85); /* Soft white overlay */
}

.relative-container {
    position: relative;
    z-index: 2;
}

.v-services-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.v-services-info-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 25px;
}

.v-services-info-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

.v-services-info-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--v-color-primary, #b50e35);
    color: var(--v-color-primary, #b50e35);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.v-services-info-btn:hover {
    background-color: var(--v-color-primary, #b50e35);
    color: #ffffff;
}

@media (max-width: 992px) {
    .v-services-info-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* -------------------------------------
 * Banner Section
 * ------------------------------------- */
.v-services-banner-section {
    background-color: var(--v-color-primary, #b50e35);
    padding: 50px 0;
    text-align: center;
}

.v-services-banner-text {
    font-size: 1.15rem;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 500;
    max-width: 1000px;
    margin: 0 auto;
}

/* -------------------------------------
 * Simple Text Section
 * ------------------------------------- */
.v-services-simple-text-section {
    padding: 80px 0 20px;
    background-color: #ffffff;
}

.v-container-small {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.v-services-simple-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d; /* Dark slate blue */
    margin-bottom: 25px;
}

.v-services-title-red {
    color: var(--v-color-primary, #b50e35);
}

.v-services-simple-text {
    font-size: 1.05rem;
    color: #718096; /* Gray text */
    line-height: 1.8;
}

/* -------------------------------------
 * Values Section
 * ------------------------------------- */
.v-services-values-section {
    padding: 80px 0;
    background-color: #fcfcfc; /* Very light gray to contrast with white */
}

.v-services-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.v-services-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-services-value-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #fbf0f2; /* Soft premium red tint */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(181, 14, 53, 0.05);
}

.v-services-value-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 300px;
}

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

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

/* -------------------------------------
 * Sticky List Section
 * ------------------------------------- */
.v-services-sticky-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.v-services-sticky-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start; /* Crucial for sticky behavior */
}

.v-services-sticky-left {
    flex: 1;
    position: sticky;
    top: 120px; /* Offset to clear fixed headers */
}

.v-services-sticky-title {
    font-size: 2.2rem;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 25px;
}

.v-services-sticky-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 40px;
}

.v-services-btn-red {
    display: inline-block;
    background-color: var(--v-color-primary, #b50e35);
    color: #ffffff;
    font-weight: 500;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(181, 14, 53, 0.2);
}

.v-services-btn-red:hover {
    background-color: #900b2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(181, 14, 53, 0.3);
    color: #ffffff;
}

.v-services-sticky-right {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v-services-sticky-list-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Super smooth easing */
    cursor: default;
}

.v-services-sticky-list-item:hover {
    transform: translateX(15px);
    box-shadow: 0 10px 40px rgba(181, 14, 53, 0.08);
    border-color: #fca5a5;
}

.v-services-sticky-list-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fbf0f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--v-color-primary, #b50e35);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.v-services-sticky-list-item:hover .v-services-sticky-list-icon {
    transform: scale(1.15) rotate(5deg);
    background-color: var(--v-color-primary, #b50e35);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(181, 14, 53, 0.3);
}

.v-services-sticky-list-text {
    font-size: 1.05rem;
    color: #2d3748;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .v-services-sticky-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .v-services-sticky-left {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }
}

/* Custom List Section */
.v-services-custom-list-section {
    padding: 80px 0;
    background-color: #fafbfc;
}
.v-services-custom-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}
.v-services-custom-list-left {
    flex: 1 1 200px;
    padding-top: 15px;
}
.v-services-custom-list-left h2 {
    font-size: 1.5rem;
    color: var(--v-color-text-dark, #1a365d);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}
.v-services-custom-list-middle {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.v-services-custom-list-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.v-services-custom-list-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #fce7eb;
    color: var(--v-color-primary, #b50e35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.v-services-custom-list-text {
    color: var(--v-color-text, #4a5568);
    font-size: 1rem;
    line-height: 1.5;
}
.v-services-custom-list-right {
    flex: 1 1 300px;
}
.v-services-custom-list-box {
    border: 3px solid var(--v-color-text-dark, #1a365d);
    padding: 40px;
    background: transparent;
    color: var(--v-color-text-dark, #1a365d);
    font-weight: bold;
    font-size: 1.15rem;
    line-height: 1.6;
    height: 100%;
    box-sizing: border-box;
}

/* Cards Section */
.v-services-cards-section {
    padding: 80px 0;
    background-color: #f7f9fa;
}
.v-services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.v-services-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 50px 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.v-services-card-icon {
    font-size: 2.5rem;
    color: var(--v-color-primary, #b50e35);
    margin-bottom: 25px;
}
.v-services-card-title {
    font-size: 1.4rem;
    color: var(--v-color-text-dark, #1a365d);
    font-weight: 700;
    margin-bottom: 20px;
}
.v-services-card-text {
    color: var(--v-color-text, #4a5568);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}
.v-services-card-btn {
    color: var(--v-color-primary, #b50e35);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}
.v-services-card-btn:hover {
    text-decoration: underline;
}

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

/* -------------------------------------
 * Global Mobile Responsiveness Updates
 * ------------------------------------- */
@media (max-width: 992px) {
    /* Custom List fixes for tablet */
    .v-services-custom-list-container {
        flex-direction: column;
        gap: 30px;
    }
    .v-services-custom-list-left, 
    .v-services-custom-list-middle, 
    .v-services-custom-list-right {
        flex: 1 1 100%;
        width: 100%;
    }
    .v-services-custom-list-left h2 {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    /* Adjust paddings for all major sections */
    .v-services-split-section,
    .v-services-grid-section,
    .v-services-values-section,
    .v-services-simple-text-section,
    .v-services-custom-list-section,
    .v-services-cards-section {
        padding: 50px 0 !important;
    }

    .v-services-sticky-list-section,
    .v-services-info-section,
    .v-services-sticky-section {
        padding: 60px 0 !important;
    }

    /* Info section grid */
    .v-services-info-grid {
        gap: 30px;
    }
    .v-services-info-title {
        font-size: 1.8rem;
    }

    /* Split Section adjustments */
    .v-services-row {
        gap: 30px;
    }
    .v-services-title, .v-services-title-dark {
        font-size: 1.8rem;
    }

    /* Hero Section */
    .v-services-hero-box {
        padding: 40px 20px;
    }
    .v-services-hero-title {
        font-size: 2rem;
    }

    /* Banner Section */
    .v-services-banner-section {
        padding: 35px 20px;
    }
    .v-services-banner-text {
        font-size: 1.05rem;
    }

    /* Simple Text */
    .v-services-simple-title {
        font-size: 1.6rem;
    }

    /* Sticky List adjustments */
    .v-services-sticky-title {
        font-size: 1.8rem;
    }
    .v-services-sticky-list-item {
        padding: 20px;
        gap: 15px;
    }
    .v-services-sticky-list-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Custom List fixes */
    .v-services-custom-list-left h2 {
        font-size: 1.3rem;
    }
    .v-services-custom-list-item {
        padding: 15px;
    }
    .v-services-custom-list-box {
        padding: 25px;
    }

    /* Cards Section fixes */
    .v-services-card {
        padding: 30px 20px;
    }
    .v-services-card-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .v-services-btn, .v-services-btn-red, .v-services-info-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .v-services-hero-title {
        font-size: 1.7rem;
    }
    .v-services-title, .v-services-title-dark {
        font-size: 1.6rem;
    }
    .v-services-sticky-list-item {
        flex-direction: column;
        text-align: center;
    }
    .v-services-sticky-list-item:hover {
        transform: translateY(-5px); /* Switch horizontal hover to vertical on mobile */
    }
}

/* -------------------------------------
 * Button Fixes (Override Theme Underlines)
 * ------------------------------------- */
.v-services-wrapper a.v-services-btn,
.v-services-wrapper a.v-services-btn-red,
.v-services-wrapper a.v-services-info-btn,
.v-services-wrapper a.v-services-card-btn,
.v-services-wrapper a.v-services-card-link {
    text-decoration: none !important;
    border-bottom: none !important;
}

.v-services-wrapper a.v-services-btn:hover,
.v-services-wrapper a.v-services-btn-red:hover,
.v-services-wrapper a.v-services-info-btn:hover,
.v-services-wrapper a.v-services-card-btn:hover,
.v-services-wrapper a.v-services-card-link:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}
/* Force remove underline on specific service buttons */
.v-services-btn,
.v-services-btn:hover,
.v-services-btn:focus,
.v-services-btn:active,
.v-srv-btn,
.v-srv-btn:hover,
a.v-services-btn {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Ultimate Underline Destroyer */
.v-services-btn-red,
.v-services-btn-red:hover,
.v-services-hero-btn,
.v-services-hero-btn:hover,
.v-services-hero-btn-alt,
.v-services-hero-btn-alt:hover,
.v-services-card-btn,
.v-services-card-btn:hover,
.v-services-btn,
.v-services-btn:hover,
.v-btn-primary,
.v-btn-primary:hover,
.v-footer-cta-btn,
.v-footer-cta-btn:hover,
.v-hero-btn,
.v-hero-btn:hover,
.v-contact-btn,
.v-contact-btn:hover,
a.v-services-btn-red,
a.v-services-hero-btn,
a.v-services-hero-btn-alt,
a.v-services-card-btn,
a.v-services-btn,
a.v-btn-primary {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important; /* Sometimes themes use box-shadow for underlines */
}

/* Also strip underline from all anchors inside any button wrapper just in case */
.v-services-action a,
.v-services-sticky-content a,
.v-services-hero-action a,
.v-services-card-action a {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
