/* ===============================================
   VARIABLES & BASE STYLES
   =============================================== */
:root {
    /* Color Palette - Modern Tech Colors */
    --primary-color: #FF6B35;
    --primary-dark: #E5552D;
    --secondary-color: #0A2540;
    --secondary-light: #1E3A5F;
    --accent-color: #FFB830;
    --text-dark: #1A1A1A;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FFB830 100%);
    --gradient-dark: linear-gradient(135deg, #0A2540 0%, #1E3A5F 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(30, 58, 95, 0.8) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Commissioner', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.highlight {
    color: var(--primary-color);
    position: relative;
}

/* ===============================================
   HEADER SECTION
   =============================================== */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

/* Top Bar */
.top-bar {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}


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

.contact-info a,
.social-links a {
    color: var(--white);
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Main Navigation */
.main-navbar {
    padding: 0.1rem 0;
    background: var(--white) !important;
}

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

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-placeholder i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.0rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

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

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
    
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
    
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero-section {
    position:relative;
}



/* фон */
.hero-section .carousel-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
	    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* затемнение */
.hero-section .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #1E3A5F;
    opacity: 0.8;
    z-index: 2;
}

/* ВОТ ЭТО САМОЕ ВАЖНОЕ */
.carousel-caption {
	background: transparent !important;
    position: relative;
    z-index: 3;
}

.carousel-caption h1,
.carousel-caption p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.slide-1 {
    background-image: url('/img/pic1.jpg');
}

.slide-2 {
    background-image: url('/img/pic2.jpg');
}

.slide-3 {
    background-image: url('/img/pic3.jpg');
}




.carousel-placeholder {
   
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #1E3A5F;
    
}

.carousel-placeholder i {
    font-size: 2rem;
    color: rgb(151, 140, 140);
    opacity: 0.3; 
}



.carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-45%);
    background: #1E3A5F;
    padding: 0rem 0;
}

.caption-content {
    text-align: center;
    color: var(--white);
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}



.carousel-caption .lead {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-weight: 900;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    background: transparent;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   STATS SECTION
   =============================================== */
.stats-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    transform: rotate(45deg);
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--white);
    transform: rotate(-45deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* ===============================================
   SECTION STYLES
   =============================================== */
section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===============================================
   SERVICES SECTION
   =============================================== */
.services-section {
    background: white;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--gradient-dark);
    color: var(--white);
}

.service-card.featured .service-title,
.service-card.featured .service-description {
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transform: rotate(45deg);
}

.service-card.featured .service-icon {
    background: var(--white);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--white);
    transform: rotate(-45deg);
}

.service-card.featured .service-icon i {
    color: var(--primary-color);
}

.service-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card.featured .service-link {
    color: var(--accent-color);
}

.service-link:hover {
    gap: 15px;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.about-section {
    background: white;
}

.about-image-placeholder {
    background: white;
    border-radius: 20px;
   
    text-align: center;
    color: var(--white);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.about-image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.about-content {
    padding-left: 2rem;
}

.about-features {
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateX(10px);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 15px;
}

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

.about-feature-content h5 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.about-feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* ===============================================
   ADVANTAGES SECTION
   =============================================== */
.advantages-section {
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    
}

.advantage-card:hover::before {
    opacity: 0.1;
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.advantage-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===============================================
   GALLERY SECTION
   =============================================== */
.gallery-section {
    background: var(--bg-light);
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-placeholder {
    background: var(--gradient-dark);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    padding: 1.5rem;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===============================================
   TESTIMONIALS SECTION
   =============================================== */
.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.author-info h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 15px;
    margin-bottom: 1rem;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.contact-info-card p {
    color: var(--text-light);
    margin: 0;
}

.contact-info-card a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-info-card a:hover {
    color: var(--primary-dark);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    color: var(--secondary-color);
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.1);
}

.form-floating > label {
    color: var(--text-light);
}

.map-placeholder {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

/* ===============================================
   FOOTER SECTION
   =============================================== */
.footer-section {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    max-height: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===============================================
   SCROLL TO TOP BUTTON
   =============================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-top-btn i {
    font-size: 1.5rem;
}

.scroll-top-btn.show {
    display: flex;
}

/* ===============================================
   RESPONSIVE STYLES
   =============================================== */


@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }
    
	
	
	
.header-section {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: transparent;
        box-shadow: none;
        transform: translateY(0);
        transition: transform 1.28s ease;
        will-change: transform;
    }

    .header-section.header-hidden {
        transform: translateY(-100%);
    }

    .top-bar {
        position: relative;
        z-index: 1002;
    }

    .main-navbar {
        position: relative;
        z-index: 1001;
    }


	
	
	
	
	
	
	
    .contact-info{
    font-size: 13px;
}
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        color: var(--secondary-color);
    }
    
    .cta-button {
        margin-top: 1rem;
        width: 100%;
    }

	

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

	.logo-text {
    font-family: var(--font-display);
    font-size: 1.0rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
	
	
.carousel-caption {
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    transform: translateY(-45%);
    background: #1E3A5F;
    padding: 0rem 0;
}



    .row22 {
        flex-direction: column;
        gap: 10px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }
	   .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .row22,.carousel-caption .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .top-bar {
        text-align: center;
    }
    
    .row22 {
        flex-direction: column;
        gap: 10px;
    }



    .carousel-caption {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-45%);
    background: #1E3A5F;
    padding: 0rem 0;
}
     
    .contact-info,
    .social-links {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .carousel-placeholder {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 2rem 0;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
	
	 .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        
    }
    
    .hero-buttons .btn {
        width: 70%;
       margin:auto
 
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
}




@media (max-width: 575px) {
.contact-info{
    font-size: 10px;
}
    
    .row22 {
        flex-direction: column;
        gap: 10px;
    }


    .carousel-caption {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-45%);
    background: #1E3A5F;
    padding: 0rem 0;
}
 .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .social-links {
        
    }
    
    .service-card,
    .contact-info-card,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}




/* ===============================================
   HAMBURGER MENU ANIMATION
   =============================================== */
.navbar-toggler {
    border: none;
    padding: 8px;
    width: 50px;
    height: 50px;
    position: relative;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Убираем стандартную иконку */
.navbar-toggler-icon {
    display: none;
}

/* Линии гамбургера */
.hamburger .line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease; /* ← Проверьте это значение */
}


.hamburger .line-1 {
    top: 14px;
}

.hamburger .line-2 {
    top: 23px;
}

.hamburger .line-3 {
    top: 32px;
}

/* Анимация при открытии (гамбургер → крестик) */
.hamburger[aria-expanded="true"] .line-1 {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--primary-color);
}

.hamburger[aria-expanded="true"] .line-2 {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.hamburger[aria-expanded="true"] .line-3 {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
    background: var(--primary-color);
}

/* Hover эффект */
.hamburger:hover .line {
    background: var(--primary-color);
}

.hamburger[aria-expanded="true"]:hover .line {
    background: var(--primary-dark);
}




@media (max-width: 325px) {
	
 .carousel-caption h3 {
        font-size: 1.5rem;
    }
	
	.logo-text {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

    .logo-img {
    max-height: 40px;
    width: 15x;
  
}

.contact-info{
    font-size: 8px;
}
}



@media (max-width: 225px) {

.carousel-caption {
    position: absolute;
    top:40%;
    left: 0;
    right: 0;
    transform: translateY(-45%);
    background: #1E3A5F;
    padding: 0rem 0;
}
	
	
	
	.navbar-toggler {
    border: none;
    padding: 8px;
    width: 30px;
    height: 30px;
    position: relative;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
	
    .logo-img {
    max-height: 30px;
    width: 15px;
  
}

		.logo-text {
    font-family: var(--font-display);
    font-size: 0.4rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
	
	
.contact-info{
    font-size: 10px;
}
}
 .carousel-caption h3 {
        font-size: 1.5rem;
    }

/* ===============================================
   ANIMATIONS
   =============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading Animation */
.animate-slide-up {
    animation: fadeInUp 0.8s ease-out;
}



/* ===============================================
   MAP SCROLL PROTECTION
   =============================================== */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.05);
    backdrop-filter: blur(1px);
    z-index: 10;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.map-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.map-overlay-text {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

.map-overlay-text i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Альтернатива - простой overlay без текста */
.map-container.scroll-locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: default;
}

/* Убираем блокировку когда пользователь кликнул на карту */
.map-container.unlocked::after {
    display: none;
}
    

/* Whatsapp */

    [data-wa] {
    all: initial;
    position: fixed;
    bottom: 150px;
    right: 10px;
    z-index: 2147483647;
    display: block;
  }

  [data-wa-circle] {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow:
      0 4px 15px rgba(37, 211, 102, .4),
      0 2px 6px rgba(0, 0, 0, .15);
    transition: opacity .4s, visibility .4s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
    animation: wa-float 1s ease-in-out infinite;
  }

  [data-wa-circle] svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
    transition: transform .3s ease;
  }

  [data-wa-circle]:hover svg {
    transform: rotate(-15deg) scale(1.1);
  }

  [data-wa-circle]:hover {
    animation: none;
    transform: scale(1.15);
    box-shadow:
      0 6px 25px rgba(37, 211, 102, .5),
      0 3px 10px rgba(0, 0, 0, .2);
  }

  /* Пульсация */
  [data-wa-circle]::before,
  [data-wa-circle]::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, .25);
    animation: wa-pulse 1.5s ease-out infinite;
    pointer-events: none;
  }
  [data-wa-circle]::after {
    animation-delay: 1.25s;
  }

  /* Тултип */
  [data-wa-tip] {
    position: absolute;
    right: 74px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    pointer-events: none;
  }
  [data-wa-tip]::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
    border-right: none;
  }
  [data-wa-circle]:hover + [data-wa-tip] {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }

  /* Скрытие */
  [data-wa-circle].hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(.2) rotate(120deg);
    pointer-events: none;
    animation: none;
  }
  [data-wa-circle].hide::before,
  [data-wa-circle].hide::after {
    animation: none;
  }

  /* Язычок */
  [data-wa-peek] {
    position: absolute;
    bottom: 12px;
    right: 0;
    width: 25px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s, width .2s;
    display: grid;
    place-items: center;
  }
  [data-wa-peek] svg { width: 15px; height: 20px; }
  [data-wa-peek].show { opacity: .75; pointer-events: auto; }
  [data-wa-peek]:hover { opacity: 1; width: 28px; }

  

  /* Плавание вверх-вниз */
  @keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  /* Пульс */
  @keyframes wa-pulse {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(2.2); opacity: 0; }
  }