:root {
    --av-primary: #5793c5;
    --av-primary-dark: #326f9f;
    --av-primary-light: #dcecf8;
    --av-accent: #7bb5df;
    --av-dark: #253746;
    --av-text: #4a5b68;
    --av-muted: #73838f;
    --av-light: #f5f9fc;
    --av-white: #fff;
    --av-border: #dce7ef;
    --av-shadow: 0 18px 45px rgba(36, 73, 103, .10);
    --av-radius: 22px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--av-text);
    background: var(--av-white);
    font-family: "Lato", sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--av-dark);
    font-family: "Nunito", sans-serif;
    font-weight: 800;
}

.av-section {
    padding: 100px 0;
}

.av-section-label {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--av-primary-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.av-section-title {
    max-width: 800px;
    margin-bottom: 22px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.13;
}

.av-section-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.av-section-heading.text-center {
    margin-right: auto;
    margin-left: auto;
}

.av-lead {
    color: var(--av-dark);
    font-size: 20px;
    font-weight: 600;
}

.av-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 13px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .2s ease,
        background-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.av-btn:hover {
    transform: translateY(-2px);
}

.av-btn-primary {
    color: var(--av-white);
    background: var(--av-primary);
    box-shadow: 0 12px 26px rgba(87, 147, 197, .28);
}

.av-btn-primary:hover {
    color: var(--av-white);
    background: var(--av-primary-dark);
}

.av-btn-outline {
    color: var(--av-white);
    border-color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.av-btn-outline:hover {
    color: var(--av-primary-dark);
    background: var(--av-white);
}

/* HERO */

.av-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 760px;
    overflow: hidden;
    color: var(--av-white);
    background:
        url("../images/hero.png")
        center center / cover no-repeat;
}

.av-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(30, 64, 91, .92) 0%,
            rgba(46, 103, 148, .76) 46%,
            rgba(46, 103, 148, .18) 100%
        );
}

.av-hero-container {
    position: relative;
    z-index: 2;
}

.av-hero-content {
    max-width: 720px;
    padding: 120px 0;
}

.av-eyebrow {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.av-hero h1 {
    margin-bottom: 26px;
    color: var(--av-white);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
}

.av-hero p {
    max-width: 650px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, .92);
    font-size: 20px;
}

.av-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.av-scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--av-white);
    background: rgba(255, 255, 255, .14);
    text-decoration: none;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
    animation: avBounce 2s infinite;
}

@keyframes avBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -9px);
    }

    60% {
        transform: translate(-50%, -4px);
    }
}

/* ABOUT */

.av-about {
    background: var(--av-white);
}

.av-image-wrapper {
    position: relative;
    padding: 0 32px 32px 0;
}

.av-about-image {
    width: 100%;
    min-height: 590px;
    border-radius: var(--av-radius);
    object-fit: cover;
    box-shadow: var(--av-shadow);
}

.av-image-message {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 290px;
    padding: 22px;
    border-radius: 18px;
    color: var(--av-white);
    background: var(--av-primary);
    box-shadow: var(--av-shadow);
    font-family: "Nunito", sans-serif;
    font-weight: 800;
}

.av-image-message i {
    font-size: 30px;
}

.av-about-points {
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.av-about-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--av-dark);
    font-weight: 700;
}

.av-about-point i {
    color: var(--av-primary);
}

/* TARGET CARDS */

.av-targets {
    background: var(--av-light);
}

.av-target-card {
    height: 100%;
    padding: 38px 32px;
    border: 1px solid var(--av-border);
    border-radius: var(--av-radius);
    background: var(--av-white);
    box-shadow: 0 10px 30px rgba(36, 73, 103, .05);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.av-target-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--av-shadow);
}

.av-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 20px;
    color: var(--av-primary-dark);
    background: var(--av-primary-light);
    font-size: 30px;
}

.av-target-card h3 {
    margin-bottom: 14px;
    font-size: 26px;
}

/* ACTIVITIES */

.av-activity-card {
    display: flex;
    gap: 20px;
    height: 100%;
    padding: 28px;
    border-radius: 18px;
    background: var(--av-white);
    box-shadow: 0 10px 30px rgba(36, 73, 103, .07);
}

.av-activity-icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--av-white);
    background:
        linear-gradient(
            135deg,
            var(--av-primary),
            var(--av-primary-dark)
        );
    font-size: 23px;
}

.av-activity-card h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.av-activity-card p {
    margin: 0;
}

/* IMPACT */

.av-impact {
    position: relative;
    padding: 130px 0;
    color: var(--av-white);
    background:
        url("../images/Contact.png")
        center center / cover fixed no-repeat;
}

.av-impact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 76, 108, .82);
}

.av-impact-container {
    position: relative;
    z-index: 2;
}

.av-impact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.av-impact-content > i {
    margin-bottom: 25px;
    font-size: 50px;
}

.av-impact blockquote {
    margin-bottom: 25px;
    color: var(--av-white);
    font-family: "Nunito", sans-serif;
    font-size: clamp(31px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.2;
}

.av-impact p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .87);
    font-size: 18px;
}

/* GRANTS */

.av-grants {
    background: var(--av-light);
}

.av-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    max-width: none;
}

.av-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 22px;
    color: var(--av-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.av-empty-state {
    padding: 65px 30px;
    border: 1px dashed #b6cad8;
    border-radius: var(--av-radius);
    background: var(--av-white);
    text-align: center;
}

.av-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 50%;
    color: var(--av-primary-dark);
    background: var(--av-primary-light);
    font-size: 31px;
}

.av-empty-state h3 {
    font-size: 27px;
}

.av-empty-state p {
    max-width: 620px;
    margin: 0 auto;
}

/* CONTACT */

.av-contact {
    background: var(--av-white);
}

.av-contact-form-wrapper {
    padding: 45px;
    border: 1px solid var(--av-border);
    border-radius: var(--av-radius);
    box-shadow: var(--av-shadow);
}

.av-form-control {
    min-height: 52px;
    border: 1px solid var(--av-border);
    border-radius: 12px;
    background: #fbfdff;
}

textarea.av-form-control {
    min-height: 160px;
}

.av-form-control:focus {
    border-color: var(--av-primary);
    box-shadow: 0 0 0 4px rgba(87, 147, 197, .14);
}

.av-contact-card {
    position: sticky;
    top: 120px;
    padding: 42px;
    border-radius: var(--av-radius);
    color: rgba(255, 255, 255, .86);
    background:
        linear-gradient(
            145deg,
            var(--av-primary-dark),
            #244e70
        );
    box-shadow: var(--av-shadow);
}

.av-contact-card h3 {
    margin-bottom: 15px;
    color: var(--av-white);
    font-size: 30px;
}

.av-contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 25px;
    border-radius: 18px;
    color: var(--av-white);
    background: rgba(255, 255, 255, .14);
    font-size: 28px;
}

.av-contact-list {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.av-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px;
    border-radius: 14px;
    color: var(--av-white);
    background: rgba(255, 255, 255, .09);
    text-decoration: none;
    transition: background-color .2s ease;
}

.av-contact-item:hover {
    color: var(--av-white);
    background: rgba(255, 255, 255, .16);
}

.av-contact-item > i {
    width: 23px;
    font-size: 21px;
    text-align: center;
}

.av-contact-item span,
.av-contact-item strong {
    display: block;
}

.av-contact-item span {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    text-transform: uppercase;
}

.av-contact-item strong {
    overflow-wrap: anywhere;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .av-section {
        padding: 78px 0;
    }

    .av-hero {
        min-height: 680px;
        background-position: 62% center;
    }

    .av-hero-overlay {
        background: rgba(31, 69, 98, .82);
    }

    .av-about-image {
        min-height: 470px;
    }

    .av-contact-card {
        position: static;
    }

    .av-impact {
        background-attachment: scroll;
    }
}

@media (max-width: 767px) {
    .av-section {
        padding: 65px 0;
    }

    .av-hero {
        min-height: 620px;
    }

    .av-hero-content {
        padding: 95px 0 80px;
    }

    .av-hero h1 {
        font-size: 45px;
    }

    .av-hero p {
        font-size: 17px;
    }

    .av-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .av-hero-actions .av-btn {
        width: 100%;
    }

    .av-section-title {
        font-size: 34px;
    }

    .av-image-wrapper {
        padding: 0 14px 50px 0;
    }

    .av-about-image {
        min-height: 380px;
    }

    .av-image-message {
        right: 0;
        max-width: 260px;
    }

    .av-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .av-text-link {
        padding-bottom: 0;
    }

    .av-contact-form-wrapper,
    .av-contact-card {
        padding: 28px 22px;
    }

    .av-activity-card {
        padding: 23px;
    }
}



.contact-form{
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}
.contact-form input,
.contact-form textarea{

    width:100%;
    border:1px solid #dfe5df;
    border-radius:12px;
    padding:14px 18px;
    transition:.25s;
}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:#2E7D32;
    box-shadow:0 0 0 4px rgba(46,125,50,.15);
    outline:none;
}
.contact-submit-btn{

    background:#2E7D32;
    color:white;
    border:none;
    padding:15px 40px;
    border-radius:999px;
    font-weight:700;
    transition:.25s;
}

.contact-submit-btn:hover{

    background:#256628;
    transform:translateY(-2px);
}

.contact-section{
    background:#f5faf6;
    padding:100px 0;
}

.contact-wrapper{

    background:#fff;
    border-radius:28px;

    padding:60px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);

}

.contact-side{

    background:linear-gradient(
        180deg,
        #4CAF50,
        #2E7D32
    );

    color:#fff;

    border-radius:22px;

    padding:40px;

    height:100%;
}

.contact-side h3{

    color:#fff;

    margin-bottom:20px;

    font-size:32px;
}

.contact-side p{

    opacity:.9;

    margin-bottom:15px;

    line-height:1.2;
}

.contact-item{

    display:flex;

    gap:18px;

    margin-bottom:30px;

    align-items:flex-start;
}

.contact-icon{

    width:52px;

    height:52px;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    flex-shrink:0;
}

.contact-item strong{

    display:block;

    margin-bottom:0px;

    color:#fff;
}


.site-footer{

    position:relative;

    background:url("../images/footer.png") center center/cover no-repeat;

    color:#fff;

    margin-top:100px;
}

.footer-overlay{

    background:rgba(15,50,90,.82);

    padding:80px 0 30px;
}

.footer-logo{

    max-width:220px;

    margin-bottom:25px;
}

.footer-about{

    color:rgba(255,255,255,.9);

    line-height:1.8;
}

.site-footer h5{

    color:#fff;

    font-weight:700;

    margin-bottom:25px;

    letter-spacing:.5px;
}

.footer-contact p{

    display:flex;

    gap:14px;

    align-items:flex-start;

    margin-bottom:18px;
}

.footer-contact i{

    color:#9fd7ff;

    width:22px;

    margin-top:3px;
}

.footer-menu li{

    margin-bottom:14px;
}

.footer-menu a{

    color:rgba(255,255,255,.88);

    text-decoration:none;

    transition:.25s;
}

.footer-menu a:hover{

    color:#fff;

    padding-left:8px;
}

.footer-bottom{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.2);

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    color:rgba(255,255,255,.75);

    font-size:14px;
}



#palyazatok{
    padding:90px 0;
    background:#f7fafc;
}

#palyazatok .container{
    max-width:1000px;
}

.section-header{
    text-align:center;
    margin-bottom:70px;
}

.section-subtitle{
    display:inline-block;
    padding:8px 20px;
    border-radius:30px;
    background:#e8f5e9;
    color:#2e7d32;
    font-weight:700;
    margin-bottom:20px;
}

.section-header h2{
    font-size:48px;
    font-weight:800;
    color:#17395d;
    margin-bottom:20px;
}

.section-header p{
    max-width:760px;
    margin:auto;
    font-size:18px;
    color:#6c757d;
    line-height:1.9;
}

.grant-item{

    position:relative;

    background:#fff;

    border-radius:22px;

    padding:40px;

    margin-bottom:35px;

    box-shadow:0 12px 35px rgba(0,0,0,.08);

    transition:.3s;
}

.grant-item:hover{

    transform:translateY(-6px);

    box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.grant-item::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:7px;

    height:100%;

    border-radius:22px 0 0 22px;

    background:#4CAF50;

}

.grant-id{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:25px;

    background:#eef7ff;

    color:#2563eb;

    font-size:14px;

    font-weight:700;

    margin-bottom:20px;
}

.grant-item h3{

    margin:0;

    font-size:28px;

    line-height:1.4;

    color:#17395d;

    font-weight:700;
}