﻿:root {
    --primary-color: #d4a574;
    --primary-dark: #b8915f;
    --navy-blue: #1e2952;
    --navy-dark: #151d3b;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--navy-blue);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    opacity: 0.9;
}

    .nav-link:hover {
        color: var(--primary-color);
        opacity: 1;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
    }

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    margin-top: 104px;
    min-height: 600px;
    background: linear-gradient(to right, rgba(30, 41, 82, 0.95) 0%, rgba(30, 41, 82, 0.5) 40%, transparent 70%), url('/img/portcut3.WEBP');
    background-size: cover;
    background-position: 75% 8%;
    background-repeat: no-repeat;
}

    .hero .container {
        position: relative;
        z-index: 1;
    }

.hero-content {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-title1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    color: white !important;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-features {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

    .feature-item:hover {
        background: rgba(212, 165, 116, 0.2);
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

.feature-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-text {
    color: var(--white);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}
.features-divider {
    position: relative;
    width: 100%;
    padding-bottom: 20%; /* Співвідношення висоти до ширини */
    overflow: hidden;
}
    .features-divider iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 8px solid #1e2952;
    }

/* Section Titles */
.section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding-left: 40px;
}

.about-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-education {
    margin-top: 30px;
    padding: 25px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

    .about-education h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

    .about-education ul {
        list-style: none;
        padding: 0;
    }

    .about-education li {
        padding: 8px 0;
        color: var(--text-light);
        position: relative;
        padding-left: 25px;
    }

        .about-education li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: bold;
        }

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    text-align: center;
    border-top: 4px solid transparent;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border-top-color: var(--primary-color);
    }

.service-icon {
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.service-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.service-card-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}
.card-below{
    margin-top:20px;
}

/* Consultation Section */
.consultation {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-blue) 100%);
    position: relative;
}

.form-control {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 16px;
}

    .form-control::placeholder {
        color: rgba(0, 0, 0, 0.4);
    }

    .form-control:focus {
        background: var(--white);
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
        color: var(--text-dark);
        outline: none;
    }

/* Footer */
.footer {
    background-color: var(--navy-blue);
    padding: 60px 0 30px;
    color: var(--white);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.8;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.5);
        margin: 0;
    }

/* Alert */
.alert {
    padding: 15px;
    border-radius: 4px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 43px;
    }

    .hero-title1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .services-menu {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        margin-top: 220px;
        min-height: 500px;
        background: linear-gradient(to top, rgba(30, 41, 82, 0.98) 0%, rgba(30, 41, 82, 0.7) 50%, transparent 80%), url('/img/portmobile.WEBP');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
    .hero .col-lg-7 {
        max-width: 60%;
    }

    
    .hero-features {
        gap: 15px;
        margin-top: 30px;
    }

    .feature-item {
        justify-content: center;
        padding: 12px 20px;
        flex: 1 1 calc(50% - 10px);
        min-width: 150px;
    }

    .feature-text {
        font-size: 13px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
  

    .divider-text {
        font-size: 18px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .features-wrapper {
        gap: 15px;
    }

    .features-divider {
        padding-bottom: 60%; /* Вище на мобілках */
    }

   .features-divider iframe {
            border: 4px solid #1e2952;
    }
    .services,
    .about,
    .consultation {
        padding: 60px 0;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card-title {
        font-size: 20px;
    }

    .service-card-text {
        font-size: 15px;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 40px !important;
    }

    .hero-title1 {
        font-size: 30px;
    }
    .hero-subtitle {
        font-size: 14px;
       
    }

    .features-divider {
        padding-bottom: 75%; /* Ще вище на маленьких екранах */
    }

        .features-divider iframe {
            border: 3px solid #1e2952;
        }
    .btn-lg {
        padding: 12px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .service-category-title {
        font-size: 24px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
