/*
Theme Name: AGLL Landing
Description: A modern, responsive WordPress theme for AGLL Landing page
Version: 1.0.0
Author: AGLL Development Team
Text Domain: agll-landing
*/

/* CSS Custom Properties for Fonts */
:root {
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-space-grotesk: 'Space Grotesk', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Input Styles */
input {
    padding: 16px 36px;
    border-radius: 80px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #959595;
    outline: none;
    font-family: var(--font-inter);
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-inter);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Font Utility Classes */
.font-inter-400 {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-regular);
}

.font-inter-500 {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
}

.font-inter-700 {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
}

.font-space-grotesk-500 {
    font-family: var(--font-space-grotesk);
    font-weight: var(--font-weight-medium);
}

a {
    text-decoration: none;
}

.wpcf7 form .wpcf7-response-output {
    margin-top: 0;
    color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.6);
}

.header-container {
    height: 125px;
    width: 1334px;
    margin: 0 auto;
    display: grid;
    align-items: center;
    grid-template-columns: 3fr 7fr 3fr;
    padding: 0 20px;
}

/* Header Logo */
.header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header .logo img {
    width: 184px;
    height: auto;
}

/* Footer Styles */
.site-footer {
    background-color: #121D50;
    padding: 26px 0;
}

.footer-container {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    column-gap: 45px;
}

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

.footer-contacts {
    width: 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.footer-contacts a {
    text-decoration: none;
    font-size: 12px;
    line-height: 26px;
    display: flex;
    align-items: center;
    column-gap: 5px;
    color: #999999;
    transition: color 0.3s ease;
}

.footer-contacts a:hover {
    color: #44BCDD;
}

.footer-email {
    color: #44BCDD !important;
}

.footer-title {
    font-size: 14px;
    line-height: 20px;
    color: #CCCCCC;
    margin-bottom: 20px;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
}

.footer-name {
    font-size: 12px;
    line-height: 26px;
    color: #999999;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
}

.footer-address {
    font-size: 12px;
    line-height: 26px;
    color: #999999;
    font-family: var(--font-inter);
}

.footer-pages {
    width: 170px;
    min-width: 170px;
    display: flex;
    flex-direction: column;
}

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

.footer-pages-list li {
    margin-bottom: 4px;
}

.footer-pages-list a {
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    color: #999999;
    transition: color 0.3s ease;
    font-family: var(--font-inter);
}

.footer-pages-list a:hover {
    color: #0E35EB;
}

.footer-form {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
    flex-grow: 1;
}

.footer-form-title {
    font-size: 40px;
    font-weight: 600;
    font-family: var(--font-inter);
    color: #fff;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.footer-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 26px;
}

.footer-inputs input {
    font-family: var(--font-inter);
}

.footer-message textarea {
    width: 100%;
    resize: none;
    padding: 16px 36px;
    border-radius: 27px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #959595;
    outline: none;
    height: 168px;
    font-family: var(--font-inter);
    transition: border-color 0.3s ease;
}

.footer-message textarea:focus {
    border-color: #44BCDD;
}

.footer-submit button {
    color: #fff;
    background-color: #0E35EB;
    border-radius: 32px;
    font-size: 18px;
    width: 100%;
    height: 46px;
    border: none;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-submit button:hover {
    background-color: #0B2BC7;
}

/* Contact Form 7 Styles */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    row-gap: 14px;
}

.wpcf7-form .footer-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 16px;
}

.wpcf7-form .footer-message {
    width: 100%;
}

.wpcf7-form .footer-submit {
    width: 100%;
}

/* Floating Label Container */
.wpcf7-form .footer-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.wpcf7-form .footer-input-group label {
    position: absolute;
    top: -8px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #959595;
    font-family: var(--font-inter);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.wpcf7-form .footer-input-group input:focus~label,
.wpcf7-form .footer-input-group input:not(:placeholder-shown)~label,
.wpcf7-form .footer-input-group input:valid~label {
    opacity: 1;
    transform: translateY(0);
}

.wpcf7-form .footer-message-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.wpcf7-form .footer-message-group label {
    position: absolute;
    top: -8px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #959595;
    font-family: var(--font-inter);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.wpcf7-form .footer-message-group textarea:focus~label,
.wpcf7-form .footer-message-group textarea:not(:placeholder-shown)~label,
.wpcf7-form .footer-message-group textarea:valid~label {
    opacity: 1;
    transform: translateY(0);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
    padding: 16px 20px;
    border-radius: 80px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #0B1527;
    background-color: #ffffff;
    outline: none;
    font-family: var(--font-inter);
    width: 100%;
    transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder {
    color: #959595;
}

.wpcf7-form textarea {
    width: 100%;
    resize: none;
    padding: 16px 20px;
    border-radius: 27px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #0B1527;
    background-color: #ffffff;
    outline: none;
    height: 168px;
    font-family: var(--font-inter);
    transition: border-color 0.3s ease;
}

.wpcf7-form textarea::placeholder {
    color: #959595;
}

.wpcf7-form textarea:focus,
.wpcf7-form input:focus {
    border-color: #44BCDD;
}

.wpcf7-form input[type="submit"] {
    color: #fff;
    background-color: #0E35EB;
    border-radius: 32px;
    font-size: 18px;
    width: 100%;
    height: 46px;
    border: none;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    padding: 0;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #0B2BC7;
}

/* Contact Form 7 Validation Messages */
.wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-inter);
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
    font-family: var(--font-inter);
}

/* Fallback Form Styles (when Contact Form 7 is not active) */
.footer-fallback-form .footer-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 26px;
}

.footer-fallback-form .footer-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-fallback-form .footer-input-group label {
    position: absolute;
    top: -8px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #959595;
    font-family: var(--font-inter);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.footer-fallback-form .footer-input-group input:focus~label,
.footer-fallback-form .footer-input-group input:not(:placeholder-shown)~label,
.footer-fallback-form .footer-input-group input:valid~label {
    opacity: 1;
    transform: translateY(0);
}

.footer-fallback-form .footer-message-group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-fallback-form .footer-message-group label {
    position: absolute;
    top: -8px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #959595;
    font-family: var(--font-inter);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.footer-fallback-form .footer-message-group textarea:focus~label,
.footer-fallback-form .footer-message-group textarea:not(:placeholder-shown)~label,
.footer-fallback-form .footer-message-group textarea:valid~label {
    opacity: 1;
    transform: translateY(0);
}

.footer-fallback-form input[type="text"],
.footer-fallback-form input[type="email"],
.footer-fallback-form input[type="tel"] {
    padding: 16px 36px;
    border-radius: 80px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #0B1527;
    background-color: #ffffff;
    outline: none;
    font-family: var(--font-inter);
    width: 100%;
    transition: border-color 0.3s ease;
}

.footer-fallback-form input[type="text"]::placeholder,
.footer-fallback-form input[type="email"]::placeholder,
.footer-fallback-form input[type="tel"]::placeholder {
    color: #959595;
}

.footer-fallback-form textarea {
    width: 100%;
    resize: none;
    padding: 16px 36px;
    border-radius: 27px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #0B1527;
    background-color: #ffffff;
    outline: none;
    height: 168px;
    font-family: var(--font-inter);
    transition: border-color 0.3s ease;
}

.footer-fallback-form textarea::placeholder {
    color: #959595;
}

.footer-fallback-form textarea:focus,
.footer-fallback-form input:focus {
    border-color: #44BCDD;
}

/* Quotation Form Styles */
.quotation-page {
    background-color: #1A296E;
    background-image: url('/wp-content/uploads/2025/09/map-bg.png');
    background-size: 1082px 551px;
    background-position: center 250px;
    background-repeat: no-repeat;
}

.quotation-form-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 896px;
    margin: 0 auto;
    padding: 28px 0;
}

.quotation-title {
    color: #ffffff;
    font-size: 48px;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    margin: 0 0 14px 0;
    position: relative;
    z-index: 2;
}

.quotation-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 26px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.quotation-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.quotation-input-group label {
    position: absolute;
    top: -8px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #959595;
    font-family: var(--font-inter);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.quotation-input-group input:focus~label,
.quotation-input-group input:not(:placeholder-shown)~label,
.quotation-input-group input:valid~label,
.quotation-input-group select:focus~label,
.quotation-input-group select:not([value=""])~label {
    opacity: 1;
    transform: translateY(0);
}

.quotation-message-group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.quotation-message-group label {
    position: absolute;
    top: -8px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #959595;
    font-family: var(--font-inter);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.quotation-message-group textarea:focus~label,
.quotation-message-group textarea:not(:placeholder-shown)~label,
.quotation-message-group textarea:valid~label {
    opacity: 1;
    transform: translateY(0);
}

.quotation-submit {
    grid-column: 1 / -1;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Quotation Form Input Styles */
.quotation-form-wrapper input[type="text"],
.quotation-form-wrapper input[type="email"],
.quotation-form-wrapper input[type="tel"],
.quotation-form-wrapper input[type="date"],
.quotation-form-wrapper select {
    padding: 16px 36px;
    border-radius: 80px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #0B1527;
    background-color: #ffffff;
    outline: none;
    font-family: var(--font-inter);
    width: 100%;
    transition: border-color 0.3s ease;
}

.quotation-form-wrapper input[type="text"]::placeholder,
.quotation-form-wrapper input[type="email"]::placeholder,
.quotation-form-wrapper input[type="tel"]::placeholder,
.quotation-form-wrapper input[type="date"]::placeholder {
    color: #959595;
}

.quotation-form-wrapper select {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23959595"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

.quotation-form-wrapper textarea {
    width: 100%;
    resize: none;
    padding: 16px 36px;
    border-radius: 80px;
    border: 1px solid #5F5F5F;
    font-size: 16px;
    color: #0B1527;
    background-color: #ffffff;
    outline: none;
    height: auto;
    font-family: var(--font-inter);
    transition: border-color 0.3s ease;
}

.quotation-form-wrapper textarea::placeholder {
    color: #959595;
}

.quotation-form-wrapper textarea:focus,
.quotation-form-wrapper input:focus,
.quotation-form-wrapper select:focus {
    border-color: #44BCDD;
}

.quotation-form-wrapper input[type="submit"] {
    color: #fff;
    background-color: #0E35EB;
    border-radius: 32px;
    font-size: 18px;
    width: 100%;
    height: 46px;
    border: none;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quotation-form-wrapper input[type="submit"]:hover {
    background-color: #0B2BC7;
}

/* Quotation Form Validation Messages */
.quotation-form-wrapper .wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-inter);
    position: relative;
    z-index: 2;
}

.quotation-form-wrapper .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.quotation-form-wrapper .wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.quotation-form-wrapper .wpcf7-spam-blocked {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.quotation-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.5rem;
    font-family: var(--font-inter);
}

/* Banner Component Styles */
.banner {
    padding: 196px 0 168px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.banner.no-darken::before {
    display: none;
}

.banner .container {
    width: 1272px;
    max-width: 100%;
    margin: 0 auto;
    padding: 70px 40% 0 20px;
    position: relative;
    z-index: 2;
}

.banner h2 {
    font-size: 60px;
    line-height: 1.13;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: var(--font-inter);
}

.banner .description {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
    color: #ffffff;
    font-family: var(--font-inter);
}

.banner a {
    text-decoration: none;
    background-color: #0D66FB;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    padding: 6px 18px;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    display: inline-block;
    transition: background-color 0.3s ease;
}

.banner a:hover {
    background-color: #0B5CE6;
}

/* Banner Items (only on front page) */
.banner-items {
    background-color: #1A296E;
    padding: 60px 0;
    color: #ffffff;
}

.banner-items .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-items .items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.banner-items .item {
    padding: 20px;
}

.banner-items .item-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.banner-items .item-description {
    font-size: 16px;
    color: #CEC6C6;
    line-height: 1.6;
    margin: 0;
}

/* Banner Items Responsive */
@media (max-width: 768px) {
    .banner .container {
        padding: 50px 10% 50px 16px;
    }

    .banner-items .items-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .banner-items .item-title {
        font-size: 20px;
    }

    .banner-items .item-description {
        font-size: 14px;
    }
}

/* Banner Component Responsive Design */
@media (max-width: 1400px) {
    .banner .container {
        width: 100%;
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .banner {
        padding: 120px 0 100px;
    }

    .banner h2 {
        font-size: 40px;
        line-height: 1.2;
        max-width: 100%;
    }

    .banner .description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .banner a {
        font-size: 13px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 80px 0 60px;
    }

    .banner h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .banner .description {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .banner a {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* Quotation Form Responsive Design */
@media (max-width: 768px) {
    .quotation-form-wrapper {
        padding: 30px 15px 40px;
    }

    .quotation-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .quotation-form-grid {
        width: 280px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quotation-input-group {
        margin-bottom: 15px;
    }

    .quotation-form-wrapper input[type="text"],
    .quotation-form-wrapper input[type="email"],
    .quotation-form-wrapper input[type="tel"],
    .quotation-form-wrapper input[type="date"],
    .quotation-form-wrapper select {
        padding: 14px 24px;
        font-size: 14px;
    }

    .quotation-form-wrapper textarea {
        height: 100px;
        padding: 14px 24px;
        font-size: 14px;
    }

    .quotation-form-wrapper input[type="submit"] {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .quotation-title {
        font-size: 45px;
        padding: 0;
        text-transform: none;
        text-align: center;
    }

    .quotation-form-wrapper input[type="text"],
    .quotation-form-wrapper input[type="email"],
    .quotation-form-wrapper input[type="tel"],
    .quotation-form-wrapper input[type="date"],
    .quotation-form-wrapper select {
        padding: 12px 20px;
        font-size: 13px;
    }

    .quotation-form-wrapper textarea {
        height: 80px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .quotation-form-wrapper input[type="submit"] {
        font-size: 14px;
        height: 40px;
    }
}

main>div:first-child {
    margin-top: -125px;
    padding-top: 125px;
}

.contacts {
    background-color: #1A296E;
    padding-top: 0;
}

.contacts h1 {
    text-align: center;
    color: #ffffff;
    font-size: 55px;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
    margin: 0;
    padding: 0;
}

.contacts .container {
    width: 1322px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    column-gap: 30px;
    padding: 40px 20px 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.contacts .item {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background-color: #ffffff;
    padding: 54px 17px 17px;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    text-align: center;
}

.contacts .title {
    font-size: 30px;
    line-height: 32px;
    font-weight: 700;
    font-family: var(--font-inter);
    color: #121D50;
    margin-bottom: 8px;
    text-align: left;
}

.contacts .value {
    font-size: 12px;
    color: #000;
    margin-bottom: 15px;
    font-family: var(--font-inter);
    text-align: left;
}

.contacts .links {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    row-gap: 10px;
}

.contacts .links a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-inter);
    font-size: 12px;
    transition: color 0.3s ease;
}

.contacts .links a:hover {
    color: #0D66FB;
}

.contacts .links img {
    width: 12px;
    height: 12px;
}

.contacts .button {
    background-color: #0D66FB;
    border-radius: 18px;
    color: #ffffff;
    text-transform: uppercase;
    align-self: center;
    padding: 8px 32px;
    border: none;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    font-size: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contacts .button:hover {
    background-color: #0B5CE6;
}

/* Contact Page Responsive Design */
@media (max-width: 1400px) {
    .contacts .container {
        width: 100%;
        max-width: 1200px;
        padding: 40px 20px 60px;
    }

    .contacts .item {
        min-width: 250px;
        max-width: 300px;
    }
}

@media (max-width: 1200px) {
    .contacts .container {
        max-width: 900px;
        column-gap: 20px;
    }

    .contacts .item {
        min-width: 200px;
        max-width: 280px;
        padding: 40px 15px 15px;
    }

    .contacts .title {
        font-size: 24px;
        line-height: 26px;
    }

    .contacts .links {
        column-gap: 20px;
    }
}

@media (max-width: 768px) {
    .contacts h1 {
        font-size: 40px;
        padding: 145px 0 0 0;
        /* 125px (header overlap) + 20px (original padding) */
    }

    .contacts .container {
        flex-direction: column;
        column-gap: 0;
        row-gap: 20px;
        padding: 30px 15px 40px;
        max-width: 100%;
    }

    .contacts .item {
        width: 100%;
        max-width: 400px;
        min-width: auto;
        padding: 30px 20px 20px;
    }

    .contacts .title {
        font-size: 22px;
        line-height: 24px;
    }

    .contacts .value {
        font-size: 11px;
    }

    .contacts .links {
        flex-direction: column;
        column-gap: 0;
        row-gap: 15px;
    }

    .contacts .links a {
        justify-content: center;
        font-size: 13px;
    }

    .contacts .button {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .contacts h1 {
        font-size: 45px;
        padding: 0;
    }

    .contacts .container {
        padding: 20px 25px 45px;
    }

    .contacts .item {
        padding: 25px 15px 15px;
    }

    .contacts .title {
        font-size: 30px;
        line-height: 32px;
        font-weight: 700;
    }

    .contacts .value {
        font-size: 12px;
        font-weight: 500;
        line-height: 35px;
    }

    .contacts .links {
        flex-direction: row;
        gap: 30px;
    }

    .contacts .links a {
        font-size: 14px;
    }

    .contacts .button {
        padding: 10px 32px;
        font-size: 12px;
    }
}


.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu li a {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-inter);
    color: #fff;
    text-transform: uppercase;
    transition: text-decoration 0.3s ease;
}

.menu li a.active,
.menu li a:hover {
    text-decoration: underline;
}

/* Submenu Styles */
.menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu .sub-menu li {
    display: block;
    margin: 0;
}

.menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333 !important;
    font-size: 14px !important;
    text-transform: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.menu .sub-menu li:last-child a {
    border-bottom: none;
}

.menu .sub-menu li a:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.menu li {
    position: relative;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact a {
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #0D66FB;
    border-radius: 18px;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-bold);
    font-size: 12px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.contact a:hover {
    background-color: #0B5CE6;
}

/* Header Font Enhancements */
.header {
    font-family: var(--font-inter);
}

.logo {
    font-family: var(--font-inter);
}

.menu-toggle {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Ensure proper font rendering */
.menu li a,
.contact a,
.menu-toggle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Hero Section - Removed */

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */

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

.footer-section h3 {
    color: #2563eb;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .header-container {
        width: 100%;
        max-width: 1334px;
        padding: 0 20px;
    }

    .footer-container {
        width: 100%;
        max-width: 1400px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 100%;
        grid-template-columns: 1fr auto 1fr;
        padding: 1rem 20px;
        gap: 1rem;
    }

    .header-left {
        display: none;
    }

    .logo {
        justify-content: center;
        grid-column: 2;
    }

    .main-navigation {
        grid-column: 3;
        justify-content: flex-end;
    }

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

    .contact {
        justify-content: center;
        order: 2;
    }

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

    /* Footer Mobile Styles */
    .footer-container {
        padding: 0 16px;
        flex-direction: row;
    }

    .footer-contacts {
        flex-basis: 40%;
    }

    .footer-form-title {
        font-size: 40px;
        font-weight: 600;
        text-align: left;
    }

    .footer-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wpcf7-form .footer-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .header-left {
        display: none;
    }

    .logo {
        grid-column: 2;
    }

    .main-navigation {
        grid-column: 3;
    }

    .logo img {
        width: 150px;
    }

    .menu li a {
        font-size: 14px;
    }

    .contact a {
        font-size: 11px;
        padding: 5px 15px;
    }
}

/* WordPress Specific Styles */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Footer Responsive Styles */
@media (max-width: 1200px) {
    .footer-container {
        width: 100%;
        max-width: 1200px;
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: space-between;
    }

    .footer-logo {
        width: 100%;
        text-align: center;
        order: 1;
    }

    .footer-contacts {
        width: calc(50% - 20px);
        min-width: auto;
        order: 2;
    }

    .footer-pages {
        width: calc(50% - 20px);
        min-width: auto;
        order: 3;
    }

    .footer-form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        order: 4;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 40px 20px 0;
    }

    .footer-logo {
        width: 100%;
        text-align: center;
        order: 4;
    }

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

    .footer-contacts {
        text-align: center;
        order: 2;
    }

    .footer-contacts .footer-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-contacts .footer-name {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-address {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .footer-contacts a {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 8px;
        justify-content: center;
    }

    .footer-pages {
        text-align: center;
        flex-basis: 40%;
        order: 3;
    }

    .footer-pages .footer-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-pages-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 30px;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-pages-list a {
        font-size: 14px;
        text-align: center;
    }

    .footer-form {
        width: 100%;
        max-width: 500px;
        order: 1;
        row-gap: 0;
    }

    .footer-form-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-fallback-form .footer-inputs {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-input-group {
        margin-bottom: 0;
    }


    .footer-message-group {
        margin: 14px 0;
    }

    .footer-submit {
        text-align: center;
    }

    .footer-submit button {
        width: 100%;
        max-width: 200px;
        padding: 15px 30px;
        font-size: 16px;
    }

    .wpcf7-form {
        row-gap: 0;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 30px 15px 0;
        gap: 30px;
    }

    .footer-form-title {
        font-size: 40px;
        font-weight: 600;
        text-align: left;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .footer-pages-list {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0;
        gap: 0;
    }

    .footer-contacts .footer-title,
    .footer-pages .footer-title {
        font-size: 16px;
    }

    .footer-contacts .footer-name {
        font-size: 14px;
    }

    .footer-address,
    .footer-contacts a {
        font-size: 12px;
    }

    .footer-pages-list a {
        font-size: 12px;
    }
}