/* ============================================
   UTS Frontend Main Page Styles
   ============================================ */

:root {
    /* Blue colors */
    --primary-blue: #0066cc;
    --dark-blue: #003d7a;
    --light-blue: #4a9eff;
    --bs-gradient: #4a9eff;
    --bs-gradient2: #2f88ee;
    --dark-gray-footer: #2f3338;
    
    /* Green colors */
    --primary-green: #159132;
    --teal-green: #20c997;
    
    /* Neutral colors */
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #212529;
    --secondary: #6c757d;
    
    /* Shadows and effects */
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 102, 204, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-hero: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-green: 0 4px 12px rgba(40, 167, 69, 0.2);
    --shadow-focus: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
    --shadow-btn: 0 5px 15px rgba(0, 102, 204, 0.3);
    
    /* Transparent colors */
    --white-80: rgba(255, 255, 255, 0.8);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-10: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-success {
    --bs-bg-opacity: 1;
    background-color: #0a4588 !important;
  }
  .text-white {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb),var(--bs-text-opacity)) !important;
 }

 .btn-outline-success {
    --bs-btn-color: #2f88ee;
    --bs-btn-border-color: #2f88ee;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2f88ee;
    --bs-btn-hover-border-color: #2f88ee;
    --bs-btn-focus-shadow-rgb: 25,135,84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2f88ee;
    --bs-btn-active-border-color: #2f88ee;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #2f88ee;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #2f88ee;
    --bs-gradient: none;
  }
  .btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2f88ee;
    --bs-btn-border-color: #2f88ee;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0066cc;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #2f88ee;
    --bs-btn-disabled-border-color: #2f88ee;
  }
  .bg-primary {
    --bs-bg-opacity: 1;
    color: #000 !important;
    background-color: #fff !important;
  }
  .btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #0d6efd;
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
  }
  .btn-outline-primary2{
    --bs-btn-color: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #0d6efd;
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0d6efd;
    --bs-gradient: none;
  }

  .btn-outline-secondary {
     border-radius: 2px;
      padding: 0.1rem 1rem;
    --bs-btn-color: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-focus-shadow-rgb: 108,117,125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #fff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-gradient: none;
  }
 .btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #0d6efd;
    border-color: var(--bs-btn-hover-border-color);
  }

.news-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.news-section .section-title {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.news-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0d6efd;
}

.news-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.news-card .card-title a {
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.news-card:hover .card-title a {
    color: #0d6efd !important;
}

.news-card .btn-sm {
    transition: all 0.3s ease;
}

.news-card:hover .btn-sm {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
}
/* Global Form Styles */
form {
    display: block;
}

form label {
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 6px;
    display: block;
}

form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
form select,
form textarea {
    width: 100%;
    border: 1px solid rgba(0, 61, 122, 0.2);
    border-radius: 8px;
    background-color: var(--white);
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: none;
}

form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):focus,
form select:focus,
form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    outline: none;
    background-color: var(--white);
}

form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):disabled,
form select:disabled,
form textarea:disabled {
    background-color: rgba(248, 249, 250, 0.8);
    cursor: not-allowed;
    opacity: 0.7;
}

form textarea {
    min-height: 140px;
    resize: vertical;
}

form .form-group {
    margin-bottom: 20px;
}

form .form-actions {
    margin-top: 24px;
}

form .form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

form .form-inline > * {
    flex: 1 1 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 61, 122, 0.7); /* dark-blue with 70% opacity */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.search-box {
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
    box-shadow: var(--shadow-hero);
    animation: fadeInUp 0.8s ease 0.4s both;
    position: relative;
    z-index: 50;
}

.search-box input {
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    width: 100%;
}

.search-box input:focus {
    outline: none;
}

.search-box .btn {
    border-radius: 10px;
    padding: 10px 34px;
    font-weight: 600;
}

/* Hero Section Buttons */
.hero-section .btn-outline-light {
    position: relative;
    z-index: 2;
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.hero-section .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Categories Grid */
.categories-section {
    padding: 70px 0px 0 0px;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
  /*   transition: all 0.3s ease; */
    cursor: pointer;
    height: 100%;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.category-card .icon {
    width: 121px;
    height: auto;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
  /*   transition: all 0.3s ease; */
}

.category-card:hover .icon {
/*     transform: rotate(360deg); */
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.category-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-section .row {
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
 /*    transition: transform 0.3s ease; */
}

.stat-item:hover {
   /*  transform: scale(1.05); */
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.9;
 /*    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease; */
}

.stat-item:hover .stat-icon {
  /*   transform: scale(1.2) translateY(-5px); */
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    display: block;
}

/* Float animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Staggered animation delays for each stat item */
/* .stat-item:nth-child(1) .stat-icon {
    animation-delay: 0s;
}

.stat-item:nth-child(2) .stat-icon {
    animation-delay: 0.3s;
}

.stat-item:nth-child(3) .stat-icon {
    animation-delay: 0.6s;
}

.stat-item:nth-child(4) .stat-icon {
    animation-delay: 0.9s;
}
 */
/* Geography Section */
.geography-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-container {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.office-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.office-item {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.office-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.office-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.office-item:hover a {
    color: var(--white);
}

/* Map Styles */
.map-wrapper {
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

#geography-map {
    width: 100%;
    height: 500px;
    border-radius: 10px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f1f1f1;
    color: #2b2b2b;
    padding: 18px 0;
    border-top: 1px solid #d7d7d7;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    z-index: 1100;
    /* Видимость: html.uts-cookie-required в main.blade.php (inline в <head>) */
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1 1 60%;
    font-size: 0.95rem;
    color: #3c3c3c;
}

.cookie-banner__text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-banner__button {
    background: #d6d6d6;
    border: 1px solid #bfbfbf;
    color: #2b2b2b;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-banner__button:hover,
.cookie-banner__button:focus {
    background: #c6c6c6;
    color: #111;
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__button {
        width: 100%;
        text-align: center;
    }
}

/* Certificates Section */
.certificates-section {
    padding: 80px 0;
    background: var(--white);
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.certificate-card img {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.certificate-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-form {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 20px;
    background: var(--white);
    transition: all 0.3s ease;
    resize: none;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-focus);
}

.btn-submit {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-video {
        min-width: 100%;
        min-height: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .category-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: 400px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-overlay {
        background: rgba(0, 61, 122, 0.8); /* Darker on mobile for better readability */
    }

    .categories-section,
    .about-section,
    .geography-section,
    .certificates-section,
    .news-section,
    .contact-form-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Footer adjustments for frontend */
.footer-frontend {
    background: var(--dark-gray-footer);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-frontend h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-frontend ul {
    list-style: none;
    padding: 0;
}

.footer-frontend ul li {
    margin-bottom: 10px;
}

.footer-frontend a {
    color: var(--white-80);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-frontend a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--white-10);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: var(--white-70);
}

/* All Spheres Page Styles */
.bg-gradients,.bg-products-gradient {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
}

.alphabet-filter .btn {
    min-width: 40px;
    font-weight: 500;
}

.sphere-item .hover-shadow {
    transition: all 0.3s ease;
    background: white;
}

.sphere-item .hover-shadow:hover {
    box-shadow: var(--shadow-green);
    transform: translateX(5px);
    border-color: var(--primary-green) !important;
}

.sphere-item .hover-shadow:hover .sphere-arrow {
    transform: translateX(5px);
}

.sphere-arrow {
    transition: transform 0.3s ease;
}
.text-center-btn {
    text-align: center;
}

/* All Products Page Styles */
.bg-products-gradient {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.search-box-products {
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-hero);
}

.search-box-products .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.search-box-products input {
    font-size: 1rem;
    padding: 12px 10px;
}

.search-box-products input:focus {
    box-shadow: none;
}

.product-item .hover-shadow-product {
    transition: all 0.3s ease;
    background: white;
}

.product-item .hover-shadow-product:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transform: translateX(5px);
    border-color: var(--primary-blue) !important;
}

.product-item .hover-shadow-product:hover .product-arrow {
    transform: translateX(5px);
}

.product-arrow {
    transition: transform 0.3s ease;
}

.product-icon {
    transition: transform 0.3s ease;
}

.product-item .hover-shadow-product:hover .product-icon {
    transform: scale(1.1);
}
.navbar {
    background-color: #005da3 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.1rem 0;
    transition: box-shadow 0.2s ease;
}

.navbar.navbar-light.sticky-top {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.navbar-nav .nav-link {
    color: #fafafa;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #ecf5fc;
    transform: translateY(-2px);
}

.navbar-nav .dropdown-menu {
    border-radius: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 0.35rem 0;
}

.navbar-nav .dropdown-item {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
    color: #0f172a;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: rgba(0, 93, 163, 0.12);
    color: #005da3;
}

.navbar-logo {
    width: 140px;
    height: auto;
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: translateY(-1px);
}

.navbar-toggler:hover {
    color: #ffca05;

}
.navbar-toggler {
    background-color: #ffca05;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}
.category-menu-toggle:hover{
 color: #ffca05 !important;
}
.category-menu-toggle{
    background-color: #ffca05;
}
 @media (min-width: 992px) {
    .category-menu-toggle,.left-menu-btn {
      display: none;
    }
}
.autocomplete-form {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: #eeecec;
    color: #005da3;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    max-height: 250px;
    overflow-y: visible;
}

.search-suggestions__empty {
    padding: 0.75rem 1rem;
    color: #005da3;
    font-size: 0.9rem;
}

.search-suggestions__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.search-suggestions__item:hover,
.search-suggestions__item:focus,
.search-suggestions__item.is-active {
    background-color: rgba(0, 93, 163, 0.12);
    color: #005da3;
}

.search-suggestions__title {
    font-weight: 600;
    font-size: 1rem;
}

.search-suggestions__meta--category {
    color: var(--primary-blue, #0066cc);
    font-weight: 600;
}

.search-suggestions__meta {
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 576px) {
    .search-suggestions {
        max-height: 220px;
        border-radius: 0.6rem;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    }

    .search-suggestions__item {
        padding: 0.65rem 0.9rem;
    }

    .search-suggestions__title {
        font-size: 0.95rem;
    }

    .search-suggestions__meta {
        font-size: 0.8rem;
    }
}

.parent{

	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	height: 100%;
	margin-top:30px;
	margin-bottom:30px;

	.child{
	text-align:center;
	width: 33%;
	margin-bottom:20px;
		 @media(max-width: 700px) {
		  width: 48%;
		  margin-right: 10px;
		 }
	}
	.child:nth-child(2n){
		 @media(max-width: 700px) {
		  margin-right: 0px;
		 }
	}
	.child img{
		  background-color: #ffcd00;
		  width: 200px;
		  height: 150px;
		  border-radius: 10px;
		 @media(max-width: 700px) {
		  max-width: 100%;
		 }
	}
	.text{ 
		color:#04589e;
		p{
		line-height: 1.2 !important;
		}

		strong{
		font-size:25px;
		font-weight:bold;
		}
	}

}

/* Блок офисных контактов под «Ваши менеджеры» */
.ContDopNamber ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.ContDopNamber li {
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
}

.ContDopNamber li:last-child {
	margin-bottom: 0;
}

.manager-phone {
	color: var(--primary-color, #0066cc);
	text-decoration: none;
}

.manager-phone:hover {
	text-decoration: underline;
}

.manager-extra-contacts__toggle {
	color: var(--primary-color, #0066cc);
	text-decoration: none;
	background: transparent;
	border: none;
	box-shadow: none;
}

.manager-extra-contacts__toggle:hover,
.manager-extra-contacts__toggle:focus,
.manager-extra-contacts__toggle:active,
.manager-extra-contacts__toggle:focus-visible {
	color: var(--primary-color, #0066cc);
	text-decoration: underline;
	background: transparent !important;
	border: none;
	box-shadow: none;
	outline: none;
}