* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.navbar {
    background-color: #1a3c6e;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links a {
    margin-left: 1.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #4dabf7;
}

.callback-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.callback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a3c6e 0%, #2c5282 100%);
    color: white;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #c5d5f3;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
    object-fit: cover;
}

.hero-image img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1a3c6e;
    position: relative;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #1a3c6e, #4dabf7);
    border: none;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top: 5px solid #1a3c6e;
}

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

.service-icon {
    font-size: 3rem;
    color: #1a3c6e;
    margin-bottom: 1rem;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1a3c6e;
    min-height: 60px;
    line-height: 1.3;
}

.service-description-short {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 60px;
}

.service-card p {
    margin-bottom: 0.3rem;
    color: #555;
}

.service-card i {
    color: #1a3c6e;
    margin-right: 10px;
    width: 20px;
}

.service-btn {
    display: block;
    background-color: #1a3c6e;
    color: white;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: auto;
    transition: background-color 0.3s;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.service-btn:hover {
    background-color: #2c5282;
    color: white;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #ff6b6b;
    background-color: #f8f9fa;
}

.modal-content h3 {
    color: #1a3c6e;
    font-size: 1.8rem;
    padding: 2rem 2rem 1rem;
    margin: 0;
    border-bottom: 2px solid #f0f0f0;
}

.modal-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-body {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

.modal-body ul,
.modal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.organization-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.org-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.org-card h3 {
    color: #1a3c6e;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.org-card h3 i {
    margin-right: 10px;
}

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

.requisites {
    margin-top: 1rem;
}

.requisites p {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.req-label {
    font-weight: bold;
    color: #555;
    min-width: 150px;
    display: inline-block;
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background-color: white;
    padding: 2rem;
    text-align: center;
}

.map-container p {
    color: #666;
    font-size: 1.1rem;
}

footer {
    background-color: #1a3c6e;
    color: white;
    padding: 4rem 2rem 0;
    margin-top: 2rem;
}

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

footer .section-title {
    color: white;
}

footer .section-divider {
    background: linear-gradient(to right, #4dabf7, #a5d8ff);
}

.contacts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.contact-card,
.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-card h3,
.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.contact-card h3 i,
.contact-form h3 i {
    margin-right: 10px;
}

.contact-card p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.contact-card a {
    color: #a5d8ff;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    background-color: white;
}

.footer-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #a5d8ff;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a5d8ff;
    font-size: 0.9rem;
}

.contact-instructions {
    margin-top: 1rem;
}

.contact-instructions p {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.contact-instructions p strong {
    color: #4dabf7;
}

.contact-features {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-features p {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.map-placeholder {
    text-align: center;
    padding: 2rem;
}

.map-placeholder h3 {
    color: #1a3c6e;
    margin-bottom: 1rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    background-color: white;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    height: 0;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
