/* Імпорт шрифтів Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Приховування скроллбару для різних браузерів */
::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;  /* IE та Edge */
    scrollbar-width: none;  /* Firefox */
}

:root {
    --ukraine-blue: #0057B7;
    --ukraine-yellow: #FFD700;
    --ukraine-blue-dark: #00408C;
    --ukraine-yellow-dark: #E6C200;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #ECECEC;
    --dark-gray: #333333;
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    --transition: all 0.3s ease;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Анімації */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

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

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s forwards;
}

/* Header Styles */
.header {
    background-color: var(--ukraine-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

/* Приховуємо основне меню */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem;
}

.nav-links a:hover {
    color: var(--ukraine-yellow);
}

/* Бургер меню */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Мобільне меню */
.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--ukraine-blue);
}

/* Медіа запити для адаптивності */
@media (max-width: 768px) {
    .nav {
        padding: 0.8rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 999;
    }

    .overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    .burger-menu {
        width: 25px;
        height: 18px;
    }
}

/* Hero Section з глибшими тінями та переходами */
.hero {
    background: linear-gradient(135deg, var(--ukraine-blue) 0%, var(--ukraine-yellow) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
    opacity: 0;
    animation: fadeIn 1s forwards 0.3s;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    text-shadow: var(--text-shadow);
    opacity: 0;
    animation: fadeIn 1s forwards 0.6s;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.cta-button {
    background-color: var(--ukraine-yellow);
    color: var(--ukraine-blue-dark);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-medium);
    opacity: 0;
    animation: fadeIn 1s forwards 0.9s, gentlePulse 3s infinite 2s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
    background-color: var(--ukraine-yellow-dark);
}

/* About Section з покращеними візуальними ефектами */
.about {
    padding: 7rem 2rem;
    background: linear-gradient(45deg, var(--ukraine-blue), var(--ukraine-yellow));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0L100,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 30px 30px;
}

.section-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.8rem;
    text-shadow: var(--text-shadow);
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--white);
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: var(--box-shadow-sm);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-text {
    background-color: #b4e8b6;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow-lg);
    transition: transform var(--transition-medium);
}

.about-text:hover {
    transform: translateY(-10px);
}

.about-text > p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--dark-gray);
    line-height: 1.8;
}

.about-mission {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(to right, rgba(0, 87, 183, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 12px;
    transition: all var(--transition-medium);
    border-left: 4px solid var(--ukraine-blue);
    overflow: hidden;
}

.about-mission:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-sm);
}

.about-mission h3 {
    color: var(--ukraine-blue);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    word-wrap: break-word;
}

.about-mission h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--ukraine-blue);
    margin-top: 0.8rem;
    border-radius: 2px;
}

.about-mission p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark-gray);
    word-wrap: break-word;
}

.about-goals {
    padding: 2rem;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1), rgba(0, 87, 183, 0.1));
    border-radius: 12px;
    transition: all var(--transition-medium);
    border-right: 4px solid var(--ukraine-yellow);
    overflow: hidden;
}

.about-goals:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-sm);
}

.about-goals h3 {
    color: var(--ukraine-blue);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    word-wrap: break-word;
}

.about-goals ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0;
}

.about-goals li {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--dark-gray);
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 2rem;
    transition: transform var(--transition-fast);
    word-wrap: break-word;
}

.about-goals li:hover {
    transform: translateX(5px);
}

.about-goals li:before {
    content: "✓";
    color: var(--ukraine-blue);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.about-goals li:last-child {
    margin-bottom: 0;
}

/* Services Section з покращеним дизайном карток */
.services {
    padding: 7rem 2rem;
    background-color: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, var(--ukraine-blue) 50%, var(--ukraine-yellow) 50%);
}

.services h2 {
    text-align: center;
    color: var(--ukraine-blue);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all var(--transition-medium);
    box-shadow: var(--box-shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--ukraine-blue), var(--ukraine-yellow));
    z-index: -1;
    transition: height var(--transition-medium);
}

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

.service-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.service-icon {
    font-size: 3rem;
    color: var(--ukraine-blue);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ukraine-blue);
    transition: color var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--ukraine-blue-dark);
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

/* Meetings Section з плавними ховер-ефектами */
.meetings {
    padding: 7rem 2rem;
    background: linear-gradient(135deg, var(--ukraine-blue), var(--ukraine-yellow));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
}

.meetings::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,128L48,144C96,160,192,192,288,197.3C384,203,480,181,576,165.3C672,149,768,139,864,149.3C960,160,1056,192,1152,192C1248,192,1344,160,1392,144L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.4;
    pointer-events: none;
}

.meetings h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
    text-shadow: var(--text-shadow);
    position: relative;
    z-index: 1;
}

.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Стилі для першої картки в сітці зустрічей */
.meetings-grid .meeting-card:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
    max-width: 100%;
}

.meeting-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    background-color: var(--light-gray);
}

.meeting-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.meeting-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
    padding: 3rem 1.5rem 1.5rem;
    color: var(--white);
    transform: translateY(70%);
    transition: transform var(--transition-medium);
}

.meeting-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow-lg);
}

.meeting-card:hover .meeting-img {
    transform: scale(1.15);
}

.meeting-card:hover .meeting-overlay {
    transform: translateY(0);
}

.meeting-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    text-shadow: var(--text-shadow);
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-medium) 0.1s;
}

.meeting-overlay p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium) 0.2s;
}

.meeting-card:hover .meeting-overlay h3,
.meeting-card:hover .meeting-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Section з м'якими переходами */
.contact {
    padding: 5rem 1.5rem;
    background: linear-gradient(45deg, var(--ukraine-blue), var(--ukraine-yellow));
    background-size: 300% 300%;
    animation: gradientFlow 12s ease infinite;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 40px 40px;
}

.contact h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    text-shadow: var(--text-shadow);
    position: relative;
    z-index: 1;
    font-size: 2.2rem;
}

.contact-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
    padding: 0 0.6rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 100%;
}

.contact-image {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    position: relative;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-medium);
}

.contact-image img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: var(--box-shadow-lg);
}

.contact-details {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--box-shadow-md);
    transition: transform var(--transition-medium);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.contact-details::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--ukraine-blue), var(--ukraine-yellow));
    border-radius: 15px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity var(--transition-medium);
}

.contact-details:hover {
    transform: translateY(-10px);
}

.contact-details:hover::before {
    opacity: 1;
}

.contact-details h3 {
    color: var(--ukraine-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-details h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--ukraine-blue), var(--ukraine-yellow));
    margin: 0.8rem auto 0;
    border-radius: 2px;
    transition: width var(--transition-medium);
}

.contact-details:hover h3::after {
    width: 100px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    transition: transform var(--transition-fast);
    padding: 0.4rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}

.contact-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ukraine-blue), var(--ukraine-yellow));
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

.contact-item i.fa-envelope {
    background: linear-gradient(135deg, #EA4335, #ff6b6b);
}

.contact-item i.fa-phone {
    background: linear-gradient(135deg, #34A853, #4CAF50);
}

.contact-item i.fab.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link {
    color: var(--ukraine-blue);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
    padding: 0.2rem 0;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width var(--transition-fast);
}

.contact-item:nth-child(1) .social-link::after {
    background: #EA4335;
}

.contact-item:nth-child(2) .social-link::after {
    background: #34A853;
}

.contact-item:nth-child(3) .social-link::after {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-item:hover .social-link::after {
    width: 100%;
}

.contact-item:hover .social-link {
    color: var(--ukraine-blue-dark);
}

.contact-images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    width: 100%;
}

.contact-image-large {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    background-color: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.contact-image-large img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-medium);
    display: block;
}

.contact-image-large img:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-lg);
}

/* Медіа-запити для адаптивності */
@media screen and (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .contact-images-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .contact-image-large {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        background-color: var(--light-gray);
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
    }

    .contact-image-large img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 12px;
        box-shadow: var(--box-shadow-md);
        transition: all var(--transition-medium);
        display: block;
    }

    .contact-image-large img:hover {
        transform: scale(1.02);
        box-shadow: var(--box-shadow-lg);
    }
}

@media screen and (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 500px;
    }

    .contact-image {
        max-width: 250px;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        padding: 2rem;
        transition: var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-nav-links {
        list-style: none;
    }

    .mobile-nav-links li {
        margin-bottom: 1rem;
    }

    .mobile-nav-links a {
        color: var(--dark-gray);
        text-decoration: none;
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem 0;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 1000;
    }

    .overlay.active {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .meetings-grid,
    .help-grid,
    .rest-grid,
    .help-outside-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .meeting-card,
    .help-card,
    .rest-card,
    .help-outside-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .contact-image img {
        max-height: 300px;
    }

    .contact-image-large {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        background-color: var(--light-gray);
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
    }

    .contact-image-large img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 12px;
        box-shadow: var(--box-shadow-md);
        transition: all var(--transition-medium);
        display: block;
    }

    .contact-image-large img:hover {
        transform: scale(1.02);
        box-shadow: var(--box-shadow-lg);
    }

    .news-img {
        height: 250px;
    }

    .meetings-grid .meeting-card:first-child {
        aspect-ratio: 16/9;
        max-width: 100%;
    }

    .contact-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-goals {
        padding: 1.5rem;
    }

    .about-goals h3 {
        font-size: 1.5rem;
    }

    .about-goals li {
        font-size: 1rem;
        padding-left: 1.8rem;
    }

    .about-mission {
        padding: 1.5rem;
    }

    .about-mission h3 {
        font-size: 1.5rem;
    }

    .about-mission p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 576px) {
    .contact {
        padding: 3rem 0.8rem;
    }

    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-container {
        padding: 0 0.4rem;
    }

    .contact-image {
        max-width: 220px;
    }

    .contact-image img {
        max-height: 250px;
    }

    .contact-image-large {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        background-color: var(--light-gray);
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
    }

    .contact-image-large img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 12px;
        box-shadow: var(--box-shadow-md);
        transition: all var(--transition-medium);
        display: block;
    }

    .contact-image-large img:hover {
        transform: scale(1.02);
        box-shadow: var(--box-shadow-lg);
    }

    .news-img {
        height: 200px;
    }

    .meetings-grid .meeting-card:first-child {
        aspect-ratio: 16/9;
        max-width: 100%;
    }

    .about-goals {
        padding: 1.2rem;
    }

    .about-goals h3 {
        font-size: 1.3rem;
    }

    .about-goals li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
        line-height: 1.6;
    }

    .about-mission {
        padding: 1.2rem;
    }

    .about-mission h3 {
        font-size: 1.3rem;
    }

    .about-mission p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Help, Rest та Help Outside Sections */
.help, .rest, .help-outside {
    padding: 7rem 2rem;
    background: linear-gradient(to right, var(--ukraine-blue), var(--ukraine-yellow));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
}

.help::before, .rest::before, .help-outside::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 20%);
}

.help h2, .rest h2, .help-outside h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
    text-shadow: var(--text-shadow);
    position: relative;
    z-index: 1;
}

.help-grid, .rest-grid, .help-outside-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.help-card, .rest-card, .help-outside-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-medium);
    background-color: var(--light-gray);
}

.help-card:hover, .rest-card:hover, .help-outside-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow-lg);
}

.help-img, .rest-img, .help-outside-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.help-card:hover .help-img,
.rest-card:hover .rest-img,
.help-outside-card:hover .help-outside-img {
    transform: scale(1.15);
}

.help-overlay, .rest-overlay, .help-outside-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
    padding: 3rem 1.5rem 1.5rem;
    color: var(--white);
    transform: translateY(70%);
    transition: transform var(--transition-medium);
}

.help-card:hover .help-overlay,
.rest-card:hover .rest-overlay,
.help-outside-card:hover .help-outside-overlay {
    transform: translateY(0);
}

.help-overlay h3, .rest-overlay h3, .help-outside-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    text-shadow: var(--text-shadow);
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-medium) 0.1s;
}

.help-overlay p, .rest-overlay p, .help-outside-overlay p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium) 0.2s;
}

.help-card:hover .help-overlay h3,
.help-card:hover .help-overlay p,
.rest-card:hover .rest-overlay h3,
.rest-card:hover .rest-overlay p,
.help-outside-card:hover .help-outside-overlay h3,
.help-outside-card:hover .help-outside-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    width: 100%;
    margin-top: auto;
    background-color: var(--ukraine-blue);
    color: var(--white);
    padding: 2rem 1rem;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to right bottom, transparent 49%, var(--ukraine-blue-dark) 50%);
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid rgba(255,255,255,0.3);
    transition: transform var(--transition-medium);
}

.footer-logo img:hover {
    transform: rotate(10deg);
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--ukraine-yellow);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--ukraine-yellow);
    position: relative;
}

.footer-links h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--ukraine-yellow);
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-fast);
    display: inline-block;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition-medium);
}

.social-icon:hover {
    background-color: var(--ukraine-yellow);
    color: var(--ukraine-blue-dark);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
}

/* Scroll до верху кнопка */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ukraine-blue), var(--ukraine-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--box-shadow-md);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-medium);
    z-index: 999;
}

.scroll-top.visible {
    transform: translateY(0);
    opacity: 1;
}

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

/* Додаткові загальні стилі та анімації */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

.underline-link {
    position: relative;
    text-decoration: none;
    color: var(--ukraine-blue);
    font-weight: 500;
}

.underline-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ukraine-yellow);
    transition: width var(--transition-medium);
}

.underline-link:hover::after {
    width: 100%;
}

/* Кастомна кнопка */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background-color: var(--ukraine-blue);
    color: var(--white);
    box-shadow: var(--box-shadow-sm);
}

.btn-primary:hover {
    background-color: var(--ukraine-blue-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.btn-secondary {
    background-color: var(--ukraine-yellow);
    color: var(--dark-gray);
    box-shadow: var(--box-shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--ukraine-yellow-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--ukraine-blue);
    color: var(--ukraine-blue);
}

.btn-outline:hover {
    background-color: var(--ukraine-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

/* Анімовані лінії */
.animated-border {
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.animated-border::before,
.animated-border::after {
    content: '';
    position: absolute;
    background-color: var(--ukraine-blue);
}

.animated-border::before {
    width: 100%;
    height: 2px;
    top: 0;
    left: -100%;
    transition: left var(--transition-medium);
}

.animated-border::after {
    width: 2px;
    height: 100%;
    top: -100%;
    right: 0;
    transition: top var(--transition-medium);
}

.animated-border:hover::before {
    left: 0;
}

.animated-border:hover::after {
    top: 0;
}

/* Контейнер з картками з ефектом 3D-нахилу */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform var(--transition-medium);
}

.tilt-card-inner {
    transform: translateZ(20px);
    transition: transform var(--transition-medium);
}

/* Модальне вікно з анімацією */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 2000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    transform: translateY(50px) scale(0.9);
    transition: all var(--transition-medium);
    position: relative;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--ukraine-blue);
    transform: rotate(90deg);
}

/* Кастомні селектори форм */
.custom-select {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.custom-select select {
    display: none;
}

.select-selected {
    background-color: var(--light-gray);
    border-radius: 5px;
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.select-selected:hover {
    background-color: var(--medium-gray);
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: var(--box-shadow-md);
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.select-items div {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.select-items div:hover {
    background-color: var(--light-gray);
    color: var(--ukraine-blue);
}

/* Кастомний скроллбар */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--ukraine-blue), var(--ukraine-yellow));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--ukraine-blue-dark), var(--ukraine-yellow-dark));
}

/* Статті/новини */
.news-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    transition: all var(--transition-medium);
}

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

.news-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-medium);
    background-color: var(--light-gray);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--ukraine-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
}

.news-card:hover .news-title {
    color: var(--ukraine-blue);
}

.news-excerpt {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.news-readmore {
    display: inline-block;
    color: var(--ukraine-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.news-readmore:hover {
    color: var(--ukraine-yellow);
    transform: translateX(5px);
}

/* Додаткова анімація для підзаголовків */
.subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--ukraine-yellow);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.subtitle::before,
.subtitle::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--ukraine-yellow);
    top: 50%;
}

.subtitle::before {
    left: -40px;
}

.subtitle::after {
    right: -40px;
}

/* Анімація пульсації */
.pulse {
    animation: pulse 2s infinite;
}

/* Паралакс-ефект для фону */
.parallax {
    position: relative;
    overflow: hidden;
    height: 450px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.parallax-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
}

.parallax-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: var(--text-shadow);
}

/* Ефект підсвітки на картках */
.glow-on-hover {
    position: relative;
    overflow: hidden;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.glow-on-hover:hover::after {
    opacity: 1;
}

/* Стилі для мобільного меню */
.mobile-menu {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Стилі для затемнення фону при відкритому меню */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Приховуємо основне меню */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

/* Adaptive styling */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.8rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-mission, .about-goals {
        padding: 1.5rem;
    }

    .meetings-grid,
    .help-grid,
    .rest-grid,
    .help-outside-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-image-large {
        min-height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after {
        margin: 0.5rem auto 0;
    }
}

@media (max-width: 576px) {
    .nav {
        padding: 0.6rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
    }

    .service-card, .about-text, .contact-details {
        padding: 1.5rem;
    }

    .about-mission h3, .about-goals h3, .contact-details h3 {
        font-size: 1.5rem;
    }

    .subtitle::before, .subtitle::after {
        display: none;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .nav {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-container {
        gap: 0.3rem;
    }

    .burger-menu {
        width: 25px;
        height: 18px;
    }
}

/* Додаткові стилі для запобігання горизонтального скролу */
.contact-container,
.contact-info,
.contact-image,
.contact-details,
.contact-image-large {
    max-width: 100%;
    overflow: hidden;
}

.contact-item {
    flex-wrap: wrap;
}

.social-link {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Додаткові стилі для запобігання горизонтального скролу */
.container, 
.section,
.hero,
.about,
.meetings,
.help,
.rest,
.help-outside,
.contact {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Додаємо стилі для контейнерів зображень */
.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    padding: 1rem;
}

/* Медіа-запити для екранів менше 300px */
@media screen and (max-width: 300px) {
    .nav {
        padding: 0.3rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .logo-img {
        width: 25px;
        height: 25px;
    }

    .burger-menu {
        width: 20px;
        height: 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-text > p {
        font-size: 1rem;
    }

    .about-mission h3, 
    .about-goals h3 {
        font-size: 1.3rem;
    }

    .about-mission p, 
    .about-goals li {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .meeting-card,
    .help-card,
    .rest-card,
    .help-outside-card {
        aspect-ratio: 4/3;
    }

    .meeting-overlay h3,
    .help-overlay h3,
    .rest-overlay h3,
    .help-outside-overlay h3 {
        font-size: 1.2rem;
    }

    .meeting-overlay p,
    .help-overlay p,
    .rest-overlay p,
    .help-outside-overlay p {
        font-size: 0.9rem;
    }

    .contact-container {
        padding: 0 0.5rem;
    }

    .contact-details {
        padding: 1rem;
    }

    .contact-details h3 {
        font-size: 1.3rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .footer {
        padding: 1rem 0.5rem;
    }

    .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .footer-logo h3 {
        font-size: 1.4rem;
    }

    .footer-links h4 {
        font-size: 1.1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .scroll-top {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        bottom: 0.5rem;
        right: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .news-card {
        margin: 0 0.5rem;
    }

    .news-content {
        padding: 1rem;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .news-excerpt {
        font-size: 0.9rem;
    }

    .mobile-menu {
        width: 100%;
        max-width: none;
        padding: 4rem 1rem 1rem;
    }

    .mobile-nav-links a {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 90%;
        max-width: 250px;
        margin: 0 auto;
    }
}