/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-yellow: #FFC107;
    --primary-yellow-hover: #FFB300;
    --text-color: #333333;
    --light-text: #777777;
    --dark-bg: #222222;
    --footer-bg: #1F2024;
    --blue-color: #4FB5E6;
    --pink-color: #F06584;
    --red-color: #FF6B6B;
    --green-color: #A3CB38;
    /* For Stats section */
    --light-bg: #F9F9F9;
    --white: #ffffff;
    --border-color: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    font-family: 'Nunito', sans-serif;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: #333;
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
}

.btn-warning {
    background-color: var(--primary-yellow);
    color: #333;
}

.btn-yellow-solid {
    background-color: var(--primary-yellow);
    color: #333;
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

/* Top Bar */
.top-bar {
    background-color: #203A6E;
    /* Dark Blue from screenshot */
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    align-items: center;
}

.socials a {
    color: #fff;
    margin-right: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--primary-yellow);
}

.socials .divider {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.socials .messenger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 15px;
    font-size: 13px;
    font-family: 'Nunito', sans-serif;
    /* Explicit font for text */
}

.contact-top {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-top a {
    color: #fff;
}

.contact-top .callback-link {
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.contact-top .callback-link:hover {
    border-bottom-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
}

.phone i {
    font-size: 14px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher a {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.2s;
    text-transform: uppercase;
}

.lang-switcher a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-yellow);
}

.lang-switcher a.active {
    background: var(--primary-yellow);
    color: #203A6E;
    font-weight: 700;
}

.contact-top .divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Header */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: var(--primary-yellow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    color: #555;
    line-height: 1.1;
    margin-left: 10px;
    max-width: 250px;
}

.logo-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    border-radius: 4px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary-yellow);
    color: #333;
}

/* Hero Section */
.hero {
    background-color: #FFF8E1;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text-block {
    flex: 1;
    max-width: 50%;
}

.hero-text-block h1 {
    font-size: 48px;
    line-height: 1.2;
    color: #1A3C75;
    margin-bottom: 20px;
}

.hero-text-block p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.hero-image-block {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: #fff;
}

.welcome-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.welcome-image {
    flex: 1;
    position: relative;
}

.welcome-image .image-wrapper {
    position: relative;
    display: inline-block;
}

.welcome-image img {
    border-radius: 50%;
    width: 400px;
    height: 400px;
    object-fit: cover;
    border: 10px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.trust-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #FF6B6B;
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255, 255, 255, 0.5);
    transform: translate(-20%, -20%);
}

.trust-badge span {
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
}

.trust-badge strong {
    font-size: 20px;
    font-weight: 800;
}

.welcome-text {
    flex: 1.2;
}

.welcome-text .subtitle {
    color: var(--primary-yellow);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.welcome-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.3;
}

.welcome-text p {
    margin-bottom: 20px;
    color: #666;
}

/* Directions Section */
.directions-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.directions-slider-container {
    overflow: hidden;
    padding: 20px 0;
    /* Space for hover lift */
    margin: 0 -20px;
    /* Reset */
    width: calc(100% + 40px);
}

.directions-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    justify-content: flex-start;
    /* Start from left */
}

/* Card Styling */
.direction-card {
    flex: 0 0 calc(25% - 22.5px);
    /* 4 items with 30px gap: (100% - 90px)/4 */
    min-width: 260px;
    height: 420px;
    border-radius: 20px;
    padding: 40px 25px;
    color: #fff;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.direction-card:hover {
    transform: translateY(-15px);
}

.direction-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-transform: none;
    /* or uppercase if desired */
}

.direction-card p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

/* Image Wrapper and Dashed Border */
.card-image-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashed Border Circle */
.card-image-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed #fff;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.5s;
}

/* Rotate on parent hover */
.direction-card:hover .card-image-wrapper::before {
    animation: spin-border 10s linear infinite;
}

@keyframes spin-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    background: #fff;
    padding: 0;
    border: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    /* Subtle inner border */
    box-sizing: border-box;
}

/* Vibrant Colors */
.card-cyan {
    background: #29B6F6;
    /* Brighter Light Blue */
}

.card-blue {
    background: #3F51B5;
    /* Deep Indigo/Blue */
}

.card-pink {
    background: #F44336;
    /* Vibrant Pink/Red */
}

.card-salmon {
    background: #FF7043;
    /* Deep Orange/Salmon */
}

.card-yellow {
    background: #FFCA28;
    /* Amber */
}

.card-green {
    background: #9CCC65;
    /* Light Green */
}

/* Slider Controls */
.slider-controls {
    margin-top: 30px;
}

.slider-controls button {
    background: #fff;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    margin: 0 10px;
    color: #888;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.slider-controls button:hover {
    border-color: var(--blue-color);
    color: var(--blue-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Why Us Section */
.why-us-section {
    padding: 60px 0;
    background: #F9F9F9;
    text-align: center;
    position: relative;
    padding-bottom: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-blue {
    background: #1A3C75;
}

.icon-lightblue {
    background: #4FB5E6;
}

.icon-red {
    background: #FF6B6B;
}

.icon-yellow {
    background: #FFC107;
}

.icon-green {
    background: #A3CB38;
}

.icon-pink {
    background: #F06584;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 13px;
    color: #666;
}

.grass-decor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: transparent;
    border-bottom: 10px solid #A3CB38;
}

/* Stats Section */
.stats-section {
    background-color: #BCD65D;
    padding: 60px 0;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 200px;
}

.stats-section .container {
    width: 100%;
}

.stats-title {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-size: 28px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Nunito', sans-serif;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

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

/* ... existing code ... */

/* News Card Styles */
.news-card {
    text-align: left;
    background: #faf8f3;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.news-card .news-image {
    position: relative;
    width: 100%;
    padding-top: 70%;
    overflow: hidden;
    border-radius: 12px;
    margin: 12px 12px 0 12px;
}

.news-card .news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-card .news-content {
    padding: 24px;
}

.news-card .news-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card .news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7c3aed;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #7c3aed;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.news-card .read-more:hover {
    color: #6d28d9;
    border-bottom-color: #6d28d9;
}

.news-card .read-more i {
    font-size: 12px;
}

/* News Detail Page Styles */
.news-detail-section .container {
    padding-top: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.share-icon.vk {
    background: #4a76a8;
}

.share-icon.odnoklassniki {
    background: #ee8208;
}

.share-icon.mail {
    background: #168de2;
}

.news-detail-content {
    display: flex;
    gap: 40px;
}

.text-content {
    flex: 1.5;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.text-content p {
    margin-bottom: 20px;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .news-detail-content {
        flex-direction: column-reverse;
        /* Image on top usually or bottom */
    }

    .text-content {
        text-align: left;
    }
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFC107;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 600;
}

.news-content {
    padding: 20px 0;
}

.news-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.read-more {
    font-size: 13px;
    color: #4FB5E6;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
.main-footer {
    background: #252525;
    color: #aaa;
    padding-top: 60px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.about-col {
    flex: 0.75;
}

.menu-col {
    flex: 1;
}

.contact-col {
    flex: 1;
}

.footer-logo {
    font-size: 30px;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.brand-name {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
}

/* Document Styles */
.docs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doc-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-yellow);
    text-align: left;
}

.doc-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-item h3 i {
    color: var(--primary-yellow);
}

.doc-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.menu-col ul li {
    margin-bottom: 10px;
}

.menu-col ul li a:hover {
    color: #fff;
}

.contact-col p {
    margin-bottom: 10px;
}

.footer-phone {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.footer-socials {
    margin-top: 20px;
}

.footer-socials a {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #333;
    color: #fff;
    text-align: center;
    line-height: 30px;
    margin-right: 5px;
    border-radius: 2px;
}

.footer-socials a:hover {
    background: var(--primary-yellow);
    color: #333;
}

.cta-col {
    flex: 1;
}

.sub-cta {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.4;
}

.footer-bottom {
    background: #1F1F1F;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
}

.developer span {
    color: #fff;
    text-decoration: underline;
}

/* Inner Pages Styles */
.page-header {
    background: #f4f4f4;
    padding: 30px 0;
    margin-bottom: 40px;
}

.breadcrumbs {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumbs li {
    display: inline-block;
    list-style: none;
}

.breadcrumbs a {
    color: #333;
}

.breadcrumbs i {
    font-size: 12px;
    margin: 0 5px;
}

.content-section {
    padding-bottom: 80px;
}

.about-content p {
    margin-bottom: 20px;
}

.full-width-img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* Directions Page Grid */
.directions-grid-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.directions-grid-page .direction-card {
    width: calc(25% - 30px);
    min-width: 250px;
    margin-bottom: 20px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.review-header h3 {
    color: #333;
    margin: 0;
    font-size: 18px;
}

.quote-icon {
    color: var(--primary-yellow);
    font-size: 24px;
}

.review-body p {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.read-full {
    font-size: 13px;
    text-decoration: underline;
    color: var(--blue-color);
}

/* Contacts */
.contacts-grid {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.contacts-info,
.contact-form-block {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-item i {
    color: var(--primary-yellow);
    width: 20px;
    text-align: center;
}

.contact-socials-block {
    margin: 20px 0;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    margin-right: 10px;
    font-size: 14px;
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.telegram {
    background: #0088cc;
}

.social-icons-row a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #4A76A8;
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 5px;
    border-radius: 3px;
}

.social-icons-row a:nth-child(2) {
    background: #3b5998;
}

.social-icons-row a:nth-child(3) {
    background: #1da1f2;
}

.social-icons-row a:nth-child(4) {
    background: #E1306C;
}

.legal-info {
    margin-top: 40px;
}

.legal-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.legal-info p {
    font-size: 13px;
    margin-bottom: 5px;
    color: #555;
}

/* Form */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.checkbox-row {
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 900px) {
    .header-container {
        /* Keep row for logo and burger */
        flex-direction: row;
        gap: 15px;
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile Nav */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 1000;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        width: 100%;
        margin: 0;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Dropdowns in mobile */
    .main-nav ul li ul {
        position: static;
        box-shadow: none;
        background: #f9f9f9;
        display: none;
        /* JS or hover logic needed, but standard hover works poorly on touch */
    }

    .main-nav ul li:hover>ul {
        display: block;
    }

    /* Hero */
    .hero-content {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .hero-text-block {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-text-block h1 {
        font-size: 28px;
        /* Smaller font */
    }

    .hero-text-block p {
        font-size: 16px;
    }

    .hero-image-block {
        justify-content: center;
    }

    /* Welcome */
    .welcome-container {
        flex-direction: column;
    }

    .welcome-image img {
        width: 280px;
        height: 280px;
        margin: 0 auto;
        display: block;
    }

    .welcome-image {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    /* Grids */
    .directions-grid {
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
        /* Single column */
    }

    .stats-grid {
        flex-wrap: wrap;
        gap: 20px;
        flex-direction: column;
        /* Stack stats */
        align-items: center;
    }

    .stat-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col {
        width: 100%;
        margin-bottom: 0;
    }

    .contacts-grid {
        flex-direction: column;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .directions-grid-page .direction-card {
        width: 100%;
    }

    /* Hide slider arrows or make small */
    .main-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .main-slider-arrow.prev-arrow {
        left: 10px;
    }

    .main-slider-arrow.next-arrow {
        right: 10px;
    }
}

/* Dropdown Menu Desktop Styles (Restored partially) */
.main-nav ul li {
    position: relative;
}

.main-nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 1001;
    gap: 0;
}

.main-nav ul li:hover>ul {
    display: flex;
}

.main-nav ul li ul li {
    width: 100%;
    margin: 0;
}

.main-nav ul li ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: #333;
    font-weight: 600;
    border-radius: 0;
    white-space: nowrap;
}

.main-nav ul li ul li a:hover {
    background: #f9f9f9;
    color: var(--primary-yellow);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.team-subtitle {
    color: var(--primary-yellow);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.team-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
}

.team-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.team-slider-mask {
    overflow: hidden;
    width: 960px;
    /* 3 * 300 + 2 * 30 */
    max-width: 100%;
    padding: 10px 0;
    /* Space for shadows */
}

.team-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease-in-out;
}

.team-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
    /* Simulate the wavy bottom? for now simple radius */
}

.team-name {
    font-size: 18px;
    color: #1a3c75;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.team-role {
    font-size: 13px;
    color: #777;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid #1a3c75;
    border-radius: 50%;
    background: transparent;
    color: #1a3c75;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: #1a3c75;
    color: #fff;
}

/* Specialists Grid (Page and Section) */
.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.specialist-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 5px solid transparent;
}

.specialist-card:hover {
    transform: translateY(-10px);
}

.specialist-image {
    height: 320px;
    overflow: hidden;
    /* Zigzag bottom border effect can be added with mask or svg, simple border radius for now */
    border-bottom-left-radius: 20px;
    /* Or wavy effect */
    border-bottom-right-radius: 20px;
    margin-bottom: 20px;
    position: relative;
}

/* Optional Wavy effect via clip-path or background image could go here, keeping it simple clean for now
   as per requested "image look". The user image shows jagged bottom.
*/
.specialist-image::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: radial-gradient(circle, transparent 70%, #fff 72%) 0 0/20px 20px repeat-x;
    transform: rotateX(180deg);
}

.specialist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-info {
    padding: 0 20px 30px;
}

.specialist-info h3 {
    font-size: 18px;
    color: #1A3C75;
    /* Dark Blue */
    margin-bottom: 5px;
}

.specialist-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.team-btn-container {
    margin-top: 50px;
}

/* Main Hero Slider */
/* Main Hero Slider */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}



.main-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    /* Fixed height can be adjusted */
}

.main-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-slide {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeEffect 1s;
}

/* Show the active slide */
.main-slide.active-slide {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align to left container logic handles centering */
}

.hero-text-block {
    max-width: 600px;
    padding: 0;
    /* No extra padding needed if container works */
}

.hero-text-block h1 {
    font-size: 42px;
    color: #1A3C75;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.hero-text-block p {
    font-size: 18px;
    color: #444;
    /* Darker text for readability if bg is light */
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

/* Hide old image block logic */
.hero-image-block {
    display: none;
}

/* Optional shadow if needed */

/* Main Slider Arrows */
.main-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 1px solid #C4C4C4;
    border-radius: 50%;
    background: transparent;
    color: #C4C4C4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 20;
}

.main-slider-arrow:hover {
    border-color: #1A3C75;
    color: #1A3C75;
}

.main-slider-arrow.prev-arrow {
    left: 50px;
}

.main-slider-arrow.next-arrow {
    right: 50px;
}

.btn-yellow-solid {
    background-color: var(--primary-yellow);
    color: #1A3C75;
    border: none;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: none;
    /* As per screenshot */
}

.btn-yellow-solid:hover {
    background-color: #FFC107;
    color: #333;
}

@media (max-width: 900px) {
    .main-slider-arrow.prev-arrow {
        left: 10px;
    }

    .main-slider-arrow.next-arrow {
        right: 10px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-block {
        margin: 0 auto;
    }
}

@media (max-width: 650px) {

    /* Directions Slider Mobile */
    .direction-card {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        margin-right: 0;
    }

    /* Team Slider Mobile */
    .team-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .team-slider-mask {
        width: 100%;
    }

    .team-slider-container,
    .directions-slider-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-link {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.gallery-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* SimpleLightbox Custom Styles */
.sl-overlay {
    background: #000 !important;
    opacity: 0.9 !important;
}

.sl-wrapper .sl-image {
    width: 80vw !important;
    height: 80vh !important;
    max-width: 1200px !important;
    max-height: 900px !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.sl-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sl-image.sl-image {
    display: block !important;
    margin: 0 auto !important;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
    color: #fff !important;
}

/* Gallery Grid - Equal Height Items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #fff;
    height: 280px;
    /* Fixed height for equal sizing */
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: #fff;
    font-size: 2rem;
}