/* style.css – Following Valley Brand Guidelines from PDF */

:root {
    /* Valley Brand Colors (Primary) */
    --valley-blue: #0093D0;
    /* RAL 5012 / Process Blue */
    --valley-dark: #004B87;
    /* PANTONE 301 */
    --valley-light: #9ADBEB;
    /* PANTONE 304 */

    /* Secondary/Accent Colors */
    --valley-dark-blue: #003B5C;
    /* PANTONE 302 */
    --valley-green: #7A9A01;
    /* PANTONE 377 */
    --valley-orange: #D57600;
    /* PANTONE 1385 */
    --valley-yellow: #DAAA00;
    /* PANTONE 110 */

    /* Neutrals */
    --text-primary: #003b5c;
    /* Using Pantone 302 */
    --text-secondary: #5B6770;
    /* PANTONE 431 */
    --gray-light: #C7C9C7;
    /* PANTONE 420 */
    --gray-warm: #CBC4BC;
    /* PANTONE Warm Grey 2 */
    --gray-dark-warm: #6E6259;
    /* PANTONE Warm Grey 11 */
    --white: #FFFFFF;
    --black: #000000;

    /* Semantic Alises & KSS specific */
    --kss-teal: var(--valley-light);
    --primary-blue: var(--valley-blue);
    --secondary-blue: var(--valley-dark);
    --light-gray: var(--gray-light);
    --dark-text: var(--text-primary);
    --teal: var(--valley-light);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

/* Typography Hierarchy (Per Brand Guidelines) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3rem;
}

/* 48px */
h2 {
    font-size: 2.5rem;
}

/* 40px */
h3 {
    font-size: 2rem;
}

/* 32px */
h4 {
    font-size: 1.5rem;
}

/* 24px */
h5 {
    font-size: 1.25rem;
}

/* 20px */
h6 {
    font-size: 1rem;
}

/* 16px */

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 300;
    color: #FFFFFF;
}

/* Navbar - Brand Compliant */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    transition: all 0.3s;
    z-index: 1050;
    /* Ensure it stays above page headers and other relative content */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: 1rem;
}

/* Logo Standards - Minimum Clear Space */
.logo-kss,
.logo-valley {
    display: block;
}

.logo-kss {
    height: 80px;
    min-height: 40px;
    /* Minimum size per brand guidelines */
}

.logo-valley {
    height: 80px;
    min-height: 35px;
}

/* Logo Separator - Per Brand Guidelines */
.seperator {
    width: 1px;
    height: 45px;
    background: var(--gray-light);
    /* margin: 0 1.5rem; */
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0.5rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--valley-blue);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--valley-blue);
}

/* Regular nav links active state - NO underline */
.navbar-nav .nav-link.active:not(.dropdown-toggle)::after {
    width: 100%;
}

.navbar-nav .nav-link.active:not(.dropdown-toggle) {
    color: var(--valley-blue);
}

/* Hide dropdown-toggle ::after pseudo-element */
.navbar-nav .nav-link.dropdown-toggle::after {
    display: none !important;
}

/* Buttons - Brand Standards */
.btn-primary-custom {
    background: var(--valley-blue);
    border: none;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 147, 208, 0.2);
}

.btn-primary-custom:hover {
    background: var(--valley-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 147, 208, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--valley-blue);
}

/* Icon Buttons */
.btn-search-icon,
.btn-cart-icon,
.btn-language {
    width: 45px;
    height: 45px;
    background: var(--valley-blue);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 147, 208, 0.2);
    position: relative;
    /* For absolute positioned badges */
}

.btn-search-icon:hover,
.btn-cart-icon:hover {
    background: var(--valley-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 147, 208, 0.3);
}

.btn-language {
    background: var(--white);
    border: 2px solid var(--valley-blue);
    color: var(--valley-blue);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-language:hover {
    background: var(--valley-blue);
    color: var(--white);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 2px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--valley-orange) !important;
    color: white !important;
    border: 2px solid var(--white);
    border-radius: 50%;
    z-index: 5;
    line-height: 1;
}

/* Hero Section - Brand Compliant */
/* Ana konteyner artıq fon rəngi daşımır, çünki fon şəkli slaydlarda olacaq */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekranı tam örtməsi üçün */
    min-height: 600px; /* Kiçik ekranlarda minimum hündürlük */
    overflow: hidden;
}

/* Hər bir slaydın fon tənzimləməsi */
.swiper-slide .hero-slide-item {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

/* Sizin gradient effektini şəklin üzərinə overlay kimi əlavə edirik */
.hero-slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 74, 135, 0.4) 0%, rgba(0, 146, 208, 0.6) 100%);
    z-index: 1;
}

/* Mətnin overlay-in üzərində qalması üçün */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5); /* Şəkil üzərində daha aydın görünsün */
}

/* Üst hissədəki o 4px-lik mavi xətt */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--valley-blue);
    z-index: 10;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0, 147, 208, 0.9) 0%, rgba(0, 75, 135, 0.95) 100%),
        url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1920') center/cover;
    min-height: 400px;
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
    z-index: 1;
    /* Keep it low so it doesn't overlap sidebar/navbar */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--valley-blue);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    color: var(--valley-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

/* AboutResource Section Specifics */
.about-section {
    position: relative;
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0)),
        url('../images/hero/valley_header_01-min.jpg') no-repeat center center / cover;
    z-index: 1;
}

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

.about-section .section-subtitle {
    color: var(--valley-blue);
    /* Updated to Valley Blue */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: inline-block;
    border-bottom: 2px solid var(--valley-blue);
    padding-bottom: 2px;
}

.about-section .section-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--valley-dark-blue);
    /* Dark Navy per guidelines */
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.brand-blue {
    color: var(--valley-blue) !important;
}

.about-section .lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 3rem !important;
}

.btn-primary-custom {
    background: var(--valley-blue);
    /* Primary brand blue */
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--valley-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: var(--white);
}

.highlight-text {
    font-weight: 700;
    color: var(--valley-dark-blue);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    background: var(--white);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 147, 208, 0.15);
}

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

.product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card h5 {
    color: var(--valley-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Button always stays at bottom */
.product-card .btn-card {
    margin-top: auto;
}

.btn-card {
    background: var(--valley-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-card:hover {
    background: var(--valley-dark);
    color: var(--white);
    transform: translateX(4px);
}

/* Feature Boxes */
.feature-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 147, 208, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    /*background: var(--valley-blue);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-box h4 {
    color: var(--valley-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer - Brand Compliant */
footer {
    background-color: var(--valley-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

footer h5 {
    color: var(--valley-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--valley-light);
}

.social-links a {
    display: flex;
    margin-right: 1rem;
    text-decoration: none;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 147, 208, 0.97) 0%, rgba(0, 75, 135, 0.98) 100%);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: -70px;
    right: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    background: var(--white);
    color: var(--valley-blue);
    transform: rotate(90deg);
}

.search-input-group {
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 0.75rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    outline: none;
    background: transparent;
    color: var(--text-primary);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-button {
    background: var(--valley-blue);
    border: none;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-button:hover {
    background: var(--valley-dark);
}

@media (max-width: 576px) {
    .search-input-group {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .search-input {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .search-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .search-overlay {
        padding-top: 80px;
    }

    .search-close {
        top: -60px;
        width: 40px;
        height: 40px;
    }
}

.search-suggestions {
    text-align: center;
    color: var(--white);
    margin-top: 3rem;
}

.suggestions-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.suggestion-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.suggestion-tag:hover {
    background: var(--white);
    color: var(--valley-blue);
    transform: translateY(-3px);
}

body.search-open {
    overflow: hidden;
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    min-width: 180px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.language-option:hover {
    background: var(--gray-light);
    color: var(--valley-blue);
}

.language-option.active {
    background: var(--valley-blue);
    color: var(--white);
}

.flag-icon {
    font-size: 1.5rem;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 99999 !important;
    box-shadow: -5px 0 24px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease-out;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0 !important;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--valley-blue) 0%, var(--valley-dark) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.sidebar-close:hover {
    background: var(--white);
    color: var(--valley-blue);
    transform: rotate(90deg);
}

.sidebar-content {
    padding: 1.5rem;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h4 {
    color: var(--valley-blue);
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

/* Sidebar Quick Actions */
.sidebar-quick-actions {
    display: flex;
    justify-content: space-around;
    padding: 1.25rem;
    background: var(--gray-light);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.sidebar-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--valley-blue);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.sidebar-action-item i {
    font-size: 1.5rem;
}

.sidebar-action-item:hover {
    color: var(--valley-dark);
}

/* Sidebar Nav */
.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: var(--gray-light);
    color: var(--valley-blue);
    padding-left: 1.5rem;
}

.sidebar-nav a.active {
    background: var(--valley-blue) !important;
    color: var(--white) !important;
    font-weight: 600;
}

/* Mobile Sidebar Service Navigation - Sub-services Styling */

/* Main services toggle link */
.sidebar-content .services-toggle-link {
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 8px;
}

.sidebar-content .services-toggle-link:hover {
    background: var(--gray-light);
    color: var(--valley-blue);
}

/* Chevron arrow animation for main services - MUST work */
.sidebar-content .services-chevron {
    transition: transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
    display: inline-block !important;
    transform-origin: center;
}

/* Down arrow (default) */
.sidebar-content .services-toggle-link[aria-expanded="false"] .services-chevron {
    transform: rotate(0deg);
}

/* Up arrow (expanded) */
.sidebar-content .services-toggle-link[aria-expanded="true"] .services-chevron {
    transform: rotate(180deg);
}

/* Service parent link with chevron right */
.sidebar-content .sidebar-subnav li a.service-parent-link {
    color: var(--text-primary);
    padding: 0.5rem 0.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sidebar-content .sidebar-subnav li a.service-parent-link:hover {
    color: var(--valley-blue);
    padding-left: 0.25rem;
}

.sidebar-content .sidebar-subnav li a.service-parent-link i {
    transition: transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
    font-size: 0.8rem;
    display: inline-block;
    transform-origin: center;
}

/* Right arrow (default) */
.sidebar-content .sidebar-subnav li a.service-parent-link[aria-expanded="false"] i {
    transform: rotate(0deg);
}

/* Down arrow (expanded) */
.sidebar-content .sidebar-subnav li a.service-parent-link[aria-expanded="true"] i {
    transform: rotate(90deg);
}

/* Service child links */
.sidebar-content .sidebar-subnav .service-child-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.4rem 0;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
}

.sidebar-content .sidebar-subnav .service-child-link:hover {
    color: var(--valley-blue);
    padding-left: 1rem;
    border-left-color: var(--valley-blue);
}

.sidebar-subnav li {
    transition: all 0.3s ease;
}

.sidebar-subnav li:hover {
    background: rgba(0, 147, 208, 0.05);
    border-radius: 4px;
    padding: 0 0.25rem;
}

/* Smooth collapse animation for sub-services */
.sidebar-nav .collapse {
    transition: all 0.35s ease;
}

.sidebar-nav .collapse.show {
    animation: slideDown 0.35s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar Toggle Adjustments */
.navbar .btn-menu-toggle {
    border: none;
    padding: 0.5rem;
    color: var(--text-primary);
    background: transparent;
}

.navbar .btn-menu-toggle:focus {
    outline: none;
}

.language-select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--valley-blue);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230093D0' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.language-select:focus {
    outline: none;
    border-color: var(--valley-dark);
    box-shadow: 0 0 0 3px rgba(0, 147, 208, 0.1);
}

/* Sidebar Language Grid */
.sidebar-lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.sidebar-lang-grid .language-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-light);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    gap: 0.25rem;
}

.sidebar-lang-grid .language-option.active {
    background: var(--valley-blue);
    color: var(--white);
}

.cart-items {
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.cart-item-quantity {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--valley-orange);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.cart-empty i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--gray-light);
}

.btn-checkout {
    width: 100%;
    background: var(--valley-blue);
    color: var(--white);
    padding: 1.125rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.btn-checkout:hover {
    background: var(--valley-dark);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile Navbar Adjustments */
@media (max-width: 991px) {
    .navbar {
        padding: 0.75rem 0;
    }

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

    .btn-menu-toggle {
        order: 1;
        border: none;
        padding: 0.5rem;
    }

    .mobile-actions {
        order: 1;
        display: flex;
        gap: 0.5rem;
    }

    .navbar-brand {
        order: 2;
        margin: 0;
        flex-grow: 1;
        justify-content: center;
    }

    .logo-kss {
        height: 35px;
    }

    .logo-valley {
        height: 35px;
        display: block;
    }

    .seperator {
        display: block;
        height: 25px;
        margin: 0 0.75rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        z-index: 1000;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        margin-top: 0.75rem;
    }

    .navbar-nav {
        padding: 1.5rem 0;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.875rem 1rem;
        margin: 0;
    }

    .btn-search-icon,
    .btn-sidebar-toggle {
        width: 42px;
        height: 42px;
        margin-left: 0;
    }

    .btn-sidebar-toggle {
        background: var(--valley-blue);
        border: none;
        border-radius: 50%;
        color: var(--white);
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .mobile-actions {
        display: none !important;
    }

    .mobile-sidebar,
    .sidebar-overlay,
    .btn-sidebar-toggle {
        display: none !important;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-content h1,
    .page-header h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .section {
        padding: 60px 0;
    }
}

/* Product Price */
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--valley-blue);
    margin: 1rem 0;
}

.add-to-cart-btn {
    background: var(--valley-blue);
    border: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background: var(--valley-dark);
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}


/* Extra Classes */

/* Add these styles to your style.css file or update existing .section class */

/* Section Spacing - Professional Layout */
.section {
    padding: 120px 0;
    position: relative;
}

/* Different section backgrounds for visual separation */
.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--gray-light);
}

.section-light {
    background: var(--gray-light);
}

/* Add extra spacing between major sections */
.section+.section {
    margin-top: 0;
    /* Remove default margin, use padding instead */
}

/* Hero to first section spacing */
.hero-section+.section {
    padding-top: 140px;
}

/* Page header to first section */
.page-header+.section {
    padding-top: 140px;
}

/* Section Title Spacing */
.section .container>.text-center {
    margin-bottom: 80px;
}

.section-title-wrapper {
    margin-bottom: 80px;
}

/* Inner section spacing for better readability */
.section .row+.row {
    margin-top: 60px;
}

/* Card grid spacing */
.product-card,
.feature-box,
.service-card {
    margin-bottom: 40px;
}

/* Large section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-light), transparent);
    margin: 80px auto;
    max-width: 200px;
}

/* Visual section separator with decoration */
.section-separator {
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--valley-blue);
    opacity: 0.05;
    border-radius: 50%;
}

/* Alternating section backgrounds for better separation */
.about-section {
    padding: 140px 0;
    background: var(--white);
}

.products-section {
    padding: 140px 0;
    background: var(--gray-light);
}


.features-section {
    padding: 140px 0;
    background: var(--white);
}

/* Stats Section Spacing */
.stats-section {
    padding: 40px 0;
}

/* Contact Info Section */
.contact-info-section {
    padding: 100px 0;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

/* Info Card Container - Flex layout */
.contact-info-section .col-lg-4,
.contact-info-section .col-md-6 {
    display: flex;
    flex-direction: column;
}

/* Info Card - Take full height */
.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--valley-blue), var(--valley-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.info-card h4 {
    color: var(--valley-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.info-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.info-card a {
    color: var(--valley-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.info-card a:hover {
    color: var(--valley-dark);
    text-decoration: underline;
}

/* Buttons - Always at bottom */
.contact-info-section .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    margin: 80px 0 0 0;
}

/* Service Cards Section */
.main-services {
    padding: 140px 0;
    background: var(--gray-light);
}

.services-overview {
    padding: 140px 0;
    background: var(--white);
}

.process-section {
    padding: 140px 0;
    background: var(--white);
}

.why-choose {
    padding: 140px 0;
}

.packages-section {
    padding: 140px 0;
    background: var(--gray-light);
}

.testimonials-section {
    padding: 140px 0;
    background: var(--white);
}

/* Company Info Sections */
.company-info {
    padding: 60px 0;
    background: var(--white);
}

.mission-vision {
    padding: 140px 0;
    background: var(--gray-light);
}

.values-section {
    padding: 140px 0;
    background: var(--white);
}

.timeline-section {
    padding: 140px 0;
    background: var(--gray-light);
}

.team-section {
    padding: 140px 0;
    background: var(--white);
}

/* Contact Form Section */
.contact-form-section {
    padding: 140px 0;
    background: var(--white);
}

.map-section {
    padding: 0;
    margin: 80px 0;
}

.faq-section {
    padding: 140px 0;
    background: var(--gray-light);
}

.social-section {
    padding: 100px 0;
}

/* Footer spacing from last section */
footer {
    margin-top: 80px;
    padding: 80px 0 40px;
}

/* Add breathing room between content blocks */
.content-block+.content-block {
    margin-top: 60px;
}

/* Section header spacing */
.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-header .section-subtitle {
    margin-bottom: 1rem;
}

.section-header .section-title {
    margin-bottom: 1.5rem;
}

.section-header p.lead {
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Section Spacing */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .hero-section+.section,
    .page-header+.section {
        padding-top: 80px;
    }

    .about-section,
    .products-section,
    .custom-section,
    .features-section,
    .services-overview,
    .main-services,
    .process-section,
    .why-choose,
    .packages-section,
    .testimonials-section,
    .company-info,
    .mission-vision,
    .values-section,
    .timeline-section,
    .team-section,
    .contact-form-section,
    .faq-section {
        padding: 80px 0;
    }

    .section .container>.text-center,
    .section-title-wrapper,
    .section-header {
        margin-bottom: 50px;
    }

    .section .row+.row {
        margin-top: 40px;
    }

    .stats-section,
    .cta-section {
        padding: 60px 0;
        margin: 60px 0;
    }

    footer {
        margin-top: 60px;
        padding: 60px 0 30px;
    }

    .map-section {
        margin: 60px 0;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .hero-section+.section,
    .page-header+.section {
        padding-top: 60px;
    }

    .about-section,
    .products-section,
    .custom-section,
    .features-section,
    .services-overview,
    .main-services,
    .process-section,
    .why-choose,
    .packages-section,
    .testimonials-section,
    .company-info,
    .mission-vision,
    .values-section,
    .timeline-section,
    .team-section,
    .contact-form-section,
    .faq-section {
        padding: 60px 0;
    }

    .section .container>.text-center,
    .section-title-wrapper,
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 991px) {

    /* AboutResource Section Mobile Enhancements */
    .about-section {
        padding: 80px 0;
        text-align: center;
        display: block;
    }

    .about-section::after {
        width: 100%;
        opacity: 0.15;
        background: url('../images/hero/valley_header_01-min.jpg') no-repeat center center / cover;
    }

    .about-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .about-section .lead {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 100%;
        margin-bottom: 2.5rem !important;
    }

    .about-section .btn-primary-custom {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 576px) {
    .about-section .section-title {
        font-size: 2rem;
    }
}

/* === Contact Page Styles === */
.page-header-contact {
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.9), rgba(77, 184, 172, 0.9)),
        url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600') center/cover;
}

.contact-form-section {
    padding: 100px 0;
    background: white;
}

.contact-form {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

textarea.form-control {
    min-height: 150px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border: none;
    color: white;
    padding: 1rem 3rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.map-section {
    padding: 0;
    background: var(--light-gray);
}

.map-container {
    height: 500px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hours-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hours-card h3 {
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-day {
    font-weight: 500;
}

.hour-time {
    font-weight: 300;
}

.faq-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    color: var(--dark-text);
    font-weight: 600;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}

.social-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.95), rgba(77, 184, 172, 0.95)),
        url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1600') center/cover;
    color: white;
    text-align: center;
}

.social-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: start;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-link2 {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-link {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: white;
    transform: translateY(-10px);
}

.social-link i {
    font-size: 2rem;
    color: white;
    transition: color 0.3s;
}

.social-link:hover i {
    color: var(--primary-blue);
}

/* === Services Page Styles === */
.page-header-services {
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.9), rgba(77, 184, 172, 0.9)),
        url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1600') center/cover;
}

.services-overview {
    background: white;
    padding: 100px 0;
}

.main-services {
    background: var(--light-gray);
    padding: 100px 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
}

.service-features li i {
    color: var(--teal);
    margin-right: 0.5rem;
}

.btn-service {
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-service:hover {
    background: linear-gradient(135deg, var(--teal), var(--valley-blue));
    color: white;
    transform: translateX(5px);
}

.process-section {
    background: white;
    padding: 100px 0;
}

.process-step {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
}

.why-choose {
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.95), rgba(77, 184, 172, 0.95)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600') center/cover;
    padding: 100px 0;
    color: white;
}

.benefit-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.benefit-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-box h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.packages-section {
    background: var(--light-gray);
    padding: 100px 0;
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--teal));
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.package-card.featured {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    transform: scale(1.05);
}

.package-card.featured h3,
.package-card.featured .package-price,
.package-card.featured .package-features li {
    color: white;
}

.package-badge {
    background: var(--teal);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.package-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.package-period {
    color: #999;
    margin-bottom: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--text-secondary);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    margin-right: 0.5rem;
}

.package-features li i.fa-check {
    color: var(--teal);
}

.package-features li i.fa-times {
    color: var(--gray-light);
}

.btn-package {
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-package:hover {
    background: var(--secondary-blue);
    color: white;
    transform: scale(1.05);
}

.package-card.featured .btn-package {
    background: white;
    color: var(--primary-blue);
}

.package-card.featured .btn-package:hover {
    background: rgba(255, 255, 255, 0.9);
}

.testimonials-section {
    background: white;
    padding: 100px 0;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-blue);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--dark-text);
}

.author-position {
    color: #999;
    font-size: 0.9rem;
}

.stars {
    color: var(--valley-yellow);
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.95), rgba(77, 184, 172, 0.95)),
        url('https://images.unsplash.com/photo-1560250097-0b93528c311a?w=1600') center/cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .package-card.featured {
        transform: scale(1);
    }
}

/* Image Fixes for AboutResource & Services Pages */
.company-img,
.team-img,
.service-image,
.service-card img,
.team-card img,
.company-info img,
.team-section img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {

    .company-img,
    .team-img,
    .service-image {
        width: 100%;
        margin-bottom: 2rem;
    }
}

<!-- Galery -->

.filtering span {
    border-bottom: 2px solid transparent;
    color: #282b2d;
    cursor: pointer !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 20px;
    display: inline-block;
    margin-bottom: 5px;
}
.filtering span:last-child {
    margin: 0;
}
.filtering .active {
    border-color: rgba(34, 116, 253, 0.75);
    color: rgba(34, 116, 253, 0.75);
}
.portfolio-wrapper {
    position: relative;
    overflow: hidden;
}
.portfolio-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transition: all 500ms ease;
}
.portfolio-wrapper .portfolio-image img {
    transform: scale(1.2);
    will-change: transform;
    transition: all 0.5s ease;
    width: 100%;
}
.portfolio-wrapper:hover .portfolio-image img {
    transform: none;
}
.portfolio-overlay:before {
    position: absolute;
    display: inline-block;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid rgba(0, 0, 0, 0.36);
    content: "";
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(0.85);
}
.portfolio-overlay .portfolio-content {
    position: absolute;
    bottom: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    padding: 0 35px;
}
.portfolio-content h4 {
    color: #000;
    font-weight: 600;
    font-size: 20px;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.portfolio-content p {
    color: #000;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0;
}
.portfolio-content > a {
    line-height: 42px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 800;
}
.portfolio-wrapper:hover .portfolio-overlay {
    background-color: rgba(204, 222, 2, 0.85);
}
.portfolio-wrapper:hover .portfolio-overlay:before {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.portfolio-wrapper:hover .portfolio-overlay .portfolio-content {
    transform: translateY(50%);
    transition: transform 0.5s ease;
    opacity: 1;
}
@media screen and (max-width: 1199px) {
    .portfolio-content h4 {
        font-size: 18px;
    }
}
@media screen and (max-width: 991px) {
    .portfolio-content h4 {
        margin-bottom: 10px;
    }
    .portfolio-content p {
        font-size: 15px;
    }
    .portfolio-content > a {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 767px) {
    .portfolio-content h4 {
        font-size: 17px;
    }
    .portfolio-content p {
        font-size: 14px;
    }
}
@media screen and (max-width: 575px) {
    .portfolio-content h4 {
        font-size: 16px;
    }
}
.grid .grid-item {
    position: relative;
    overflow: hidden;
}
.grid .grid-item .portfolio-wrapper {
    position: relative;
    overflow: hidden;
}
.grid .grid-item .portfolio-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transition: all 500ms ease;
}
.grid .grid-item .portfolio-wrapper .portfolio-image img {
    transform: none;
    will-change: transform;
    transition: none;
    width: 100%;
}
.grid .grid-item .portfolio-wrapper:hover .portfolio-image img {
    transform: none;
}
.grid .grid-item .portfolio-overlay:before {
    position: absolute;
    display: inline-block;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid rgba(0, 0, 0, 0.36);
    content: "";
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(0.85);
}
.grid .grid-item .portfolio-overlay .portfolio-content {
    position: absolute;
    bottom: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
}
.grid .grid-item .portfolio-content h4 {
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 20px;
    margin-bottom: 10px;
}
.grid .grid-item .portfolio-content p {
    color: #000;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 0;
}
.grid .grid-item .portfolio-content a {
    line-height: 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #000;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
}
.grid .grid-item .portfolio-wrapper:hover .portfolio-overlay {
    background-color: rgba(204, 222, 2, 0.85);
}
.grid .grid-item .portfolio-wrapper:hover .portfolio-overlay:before {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.grid .grid-item .portfolio-wrapper:hover .portfolio-overlay .portfolio-content {
    transform: translateY(50%);
    transition: transform 0.5s ease;
    opacity: 1;
}
@media screen and (max-width: 1199px) {
    .grid .grid-item .portfolio-content h4 {
        font-size: 18px;
    }
}
@media screen and (max-width: 991px) {
    .grid .grid-item .portfolio-content h4 {
        margin-bottom: 10px;
    }
    .grid .grid-item .portfolio-content p {
        font-size: 15px;
    }
    .grid .grid-item .portfolio-content a {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 767px) {
    .grid .grid-item .portfolio-content h4 {
        font-size: 17px;
    }
    .grid .grid-item .portfolio-content p {
        font-size: 14px;
    }
}
@media screen and (max-width: 575px) {
    .grid .grid-item .portfolio-content h4 {
        font-size: 16px;
    }
    .grid .grid-item .portfolio-overlay:before {
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
    }
}


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

/* Filter buttons (using <span> as buttons) */
.button-group.filter-button-group {
    text-align: center;
    margin-bottom: 2rem;
}

.button-group span {
    background: none;
    border: none;
    color: #333;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    font-size: 1rem;
}

/* Hover effect: transition underline */
.button-group span:hover {
    color: #0093D0;  /* Valley blue for hover */
}

.button-group span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0093D0;  /* Valley blue underline */
    transition: width 0.3s ease;
}

.button-group span:hover::after {
    width: 100%;
}

/* Active button: add underline */
.button-group span.is-checked {
    color: #0093D0;
}

.button-group span.is-checked::after {
    width: 100%;
}

/* Grid container for Isotope */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.grid-item {
    width: 250px;     /* Same width */
    height: 200px;    /* Same height */
    overflow: hidden;
   margin-right: 2px ;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* auto-fit image, no stretching */
    display: block;
}

.grid-item:hover img {
    transform: scale(1.05);  /* Hover zoom on image */
}

/* Isotope transitions */
.isotope-item {
    transition-property: transform, opacity;
}

/* Hide filtered items smoothly */
.isotope-hidden {
    opacity: 0;
    transform: scale(0.9);
}

/* Planşet (Tablet) ölçüsü: 3 sütun */
@media (max-width: 992px) {
    .grid-item {
        width: 33.333%;
        height: 180px; /* Ekran kiçildikcə hündürlüyü bir az azaltmaq olar */
    }
}

/* Kiçik Planşet/Böyük Telefon: 2 sütun */
@media (max-width: 768px) {
    .grid-item {
        width: 50%;
        height: 160px;
    }

    .filter-button-group {
        justify-content: flex-start; /* Mobildə soldan başlasın ki, skrol edilsin */
        padding-left: 15px; /* Kənardan bir az boşluq */
        padding-right: 15px;
    }

    .filter-button-group span {
        padding: 6px 15px;
        font-size: 13px;
    }
}

/* Mobil telefon: 1 sütun */
@media (max-width: 480px) {
    .grid-item {
        width: 100%;
        height: 220px; /* Mobil telefonda tək şəkil daha dolğun görünsün */
    }
}


.brands-section {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    /* Flex daxil edirik ki, daxilindəki konteyner tam mərkəzlənsin */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px; /* Bölmənin çox sıxılmaması üçün */
}

.brand-swiper {
    width: 100%;
    padding: 20px 0;
}

/* Əsas mərkəzləmə nöqtəsi */
.brand-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Bütün slaydlar üçün sabit hündürlük */
    width: 160px;  /* Bütün slaydlar üçün sabit en (slidesPerView-dan asılıdır) */
    padding: 10px;
    background-color: transparent;
}

.brand-logo-img {
    /* Loqoların hamısını bu ölçüyə sığdırırıq */
    width: 120px !important;  /* Sabit en */
    height: 60px !important;  /* Sabit hündürlük */

    /* Əsas sirr buradadır: Şəkli deformasiya etmədən qutuya sığdırır */
    object-fit: contain !important;

    background-color: transparent !important;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.brand-logo-img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Hamar axın üçün */
.brand-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.brand-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Bütün slaydlar üçün sabit hündürlük */
    width: 160px;  /* Bütün slaydlar üçün sabit en (slidesPerView-dan asılıdır) */
    padding: 10px;
    background-color: transparent;
}

/* Main Services Dropdown Arrow */
.navbar-nav .dropdown-toggle .services-main-chevron {
    display: inline-block !important;
    transition: transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-origin: center;
}

.navbar-nav .dropdown-toggle[aria-expanded="false"] .services-main-chevron {
    transform: rotate(0deg);
}

.navbar-nav .dropdown-toggle[aria-expanded="true"] .services-main-chevron {
    transform: rotate(180deg);
}

/* Nested Dropdown Submenu Styling for Sub-Services */
.navbar .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-submenu > .dropdown-toggle::after {
    display: none;
}

.navbar .dropdown-submenu .dropdown-submenu-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
    margin-top: -0.5rem;
    display: none;
    position: absolute;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    min-width: 200px;
    animation: slideRight 0.3s ease-out;
    z-index: 1001;
}

.navbar .dropdown-submenu:hover > .dropdown-submenu-menu,
.navbar .dropdown-submenu > .dropdown-toggle[aria-expanded="true"] ~ .dropdown-submenu-menu {
    display: block;
}

.navbar .dropdown-submenu > .dropdown-toggle[aria-expanded="true"] {
    background-color: transparent;
    color: var(--text-primary);
    border-left-color: transparent;
}

/* Sub-menu items styling */
.navbar .dropdown-submenu-menu .dropdown-item {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-left: none;
    border-bottom: none;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.navbar .dropdown-submenu-menu .dropdown-item:hover {
    background-color: rgba(0, 147, 208, 0.05);
    color: var(--valley-blue);
    transform: none;
}

/* Sub-menu ACTIVE item - background color with 98% width */
.navbar .dropdown-submenu-menu .dropdown-item.active {
    background-color: var(--valley-blue);
    color: var(--white);
    font-weight: 600;
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    border-radius: 0.25rem;
}

/* Show submenu on hover over parent */
.navbar .dropdown-submenu:hover > .dropdown-submenu-menu {
    display: block !important;
}

/* Chevron arrow for submenu items in navbar */
.navbar .dropdown-submenu .dropdown-toggle .service-submenu-chevron {
    display: inline-block !important;
    transition: transform 0.3s ease;
    margin-left: auto;
    margin-right: 0;
    transform-origin: center;
}

.navbar .dropdown-submenu .dropdown-toggle[aria-expanded="false"] .service-submenu-chevron {
    transform: rotate(0deg);
}

.navbar .dropdown-submenu .dropdown-toggle[aria-expanded="true"] .service-submenu-chevron {
    transform: rotate(90deg);
}

/* Active state for SERVICES LABEL ONLY - WITH UNDERLINE */
.navbar-nav .nav-link.dropdown-toggle.active {
    color: var(--valley-blue);
    border-bottom: 3px solid var(--valley-blue);
    padding-bottom: 0.5rem;
}

.navbar-nav .nav-link.dropdown-toggle.active::after {
    display: none;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive - Submenu Stack */
@media (max-width: 991px) {
    .navbar .dropdown-submenu .dropdown-submenu-menu {
        position: static;
        background: var(--gray-light);
        box-shadow: none;
        margin-left: 1.5rem;
        margin-top: 0;
        padding: 0.25rem 0;
    }

    .navbar .dropdown-submenu:hover > .dropdown-submenu-menu {
        display: none;
    }

    .navbar .dropdown-submenu > .dropdown-toggle[aria-expanded="true"] ~ .dropdown-submenu-menu {
        display: block;
    }

    /* Mobile: sub-menu active shows background */
    .navbar .dropdown-submenu-menu .dropdown-item.active {
        background-color: var(--valley-blue);
        color: var(--white);
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        border-radius: 0.25rem;
    }
}


.error-container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: var(--valley-blue);
    position: relative;
    display: inline-block;
}

/* 404 rəqəminin üzərində kiçik bir effekt */
.error-code::after {
    content: '404';
    position: absolute;
    left: 2px;
    top: 2px;
    color: var(--valley-dark);
    z-index: -1;
    opacity: 0.2;
}

.btn-home {
    background-color: var(--valley-blue);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 147, 208, 0.3);
}

.btn-home:hover {
    background-color: var(--valley-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 75, 135, 0.4);
}

.illustration {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--valley-dark);
    opacity: 0.1;
    position: absolute;
    z-index: -1;
    transform: translate(-50%, -50%);
}
