body {
    background-color: #f8f9fa;
}



.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.navbar-brand-text {
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Навігаційні посилання */
.nav-link-styled {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem !important;
    position: relative;
    color: rgba(255,255,255,0.85) !important;
    transition: color 0.2s ease;
}

.nav-link-styled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.25s ease;
}

.nav-link-styled:hover {
    color: #fff !important;
}

.nav-link-styled:hover::after {
    width: 70%;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

/* Паралелограм — картки під кутом 100° */
.tilted-cards .card {
    transform: skewX(-10deg);
    border-radius: 0;
    overflow: hidden;
}

.tilted-cards .card > * {
    transform: skewX(10deg);
}

.tilted-cards .card:hover {
    transform: skewX(-10deg) translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
}

.progress {
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* ===== МОБІЛЬНА АДАПТАЦІЯ ===== */

/* Лого на головній */
.hero-logo-img {
    max-height: 400px;
}

/* Заголовок hero */
.hero-heading {
    font-size: clamp(1.5rem, 5vw, 2.8rem);
    line-height: 1.2;
}

/* Tilted-cards — прибрати нахил на мобільному */
@media (max-width: 767px) {
    .tilted-cards .card {
        transform: none;
        border-radius: 0.5rem;
    }
    .tilted-cards .card > * {
        transform: none;
    }
    .tilted-cards .card:hover {
        transform: translateY(-4px);
    }

    /* Лого менше на мобільному */
    .hero-logo-img {
        max-height: 220px;
    }

    /* Navbar відступи у розгорнутому меню */
    .nav-link-styled {
        padding: 0.5rem 0.75rem !important;
    }

    /* Footer текст */
    footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Реквізити — стекінг на малих екранах */
@media (max-width: 575px) {
    .req-row {
        flex-direction: column;
        gap: 0.2rem;
    }
    .req-label {
        min-width: unset;
    }

    /* Фото засновника — менша висота */
    .founder-profile-photo-wrap,
    .founder-profile-photo,
    .founder-profile-photo-placeholder {
        min-height: 220px;
    }
}

/* ═══════════════════════════════════════
   СТОРІНКА «КОНТАКТИ»
═══════════════════════════════════════ */

.contact-card {
    border-top: 3px solid #e9ecef;
    transition: box-shadow .2s;
}
.contact-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08) !important;
}

.contact-icon-wrap {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-icon--blue   { background:rgba(13,110,253,.12); color:#0d6efd; }
.contact-icon--green  { background:rgba(25,135,84,.12);  color:#198754; }
.contact-icon--orange { background:rgba(253,126,20,.12); color:#fd7e14; }
.contact-icon--purple { background:rgba(111,66,193,.12); color:#6f42c1; }

.contact-icon-sm {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(13,110,253,.08);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .95rem;
    color: #333;
}
.contact-row:last-child { border-bottom: none; }

/* Соцмережі */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}
.social-btn:hover { opacity: .85; transform: translateY(-1px); }
.social-btn--fb { background:#1877f2; color:#fff; }
.social-btn--ig { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff; }
.social-btn--tg { background:#229ed9; color:#fff; }
.social-btn--yt { background:#ff0000; color:#fff; }

/* Реквізити */
.requisites-grid { display: flex; flex-direction: column; gap: 0; }

.req-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid #f3f3f3;
    font-size: .9rem;
}
.req-row:last-child { border-bottom: none; }
.req-row--iban { background: rgba(13,110,253,.03); border-radius: 6px; padding: .55rem .5rem; margin: 0 -.5rem; }

.req-label {
    min-width: 110px;
    color: #888;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
}
.req-value { color: #1a1a2e; }
.req-mono  { font-family: 'Courier New', monospace; font-size: .92rem; letter-spacing: .5px; }
.req-iban  { color: #0d6efd; font-weight: 700; word-break: break-all; }

.req-note {
    background: #fffbf0;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .85rem;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: .4rem;
}

/* ═══════════════════════════════════════
   СТОРІНКА «ПРО НАС»
═══════════════════════════════════════ */

/* Hero */
.about-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0854c7 60%, #063a9e 100%);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-hero-inner {
    position: relative;
    max-width: 720px;
}

.about-hero-label {
    font-size: .85rem;
    letter-spacing: 2px;
}

.about-hero .opacity-90 {
    opacity: .9;
}

/* Заголовок розділу */
.about-section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

/* Текст про фонд */
.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #3a3a4a;
}

/* Картки місія/цінності */
.about-block {
    border-left: 4px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease;
}

.about-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09) !important;
}

.about-block--blue  { border-left-color: #0d6efd; }
.about-block--green { border-left-color: #198754; }

.about-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.about-icon--blue   { background: rgba(13,110,253,.1);  color: #0d6efd; }
.about-icon--green  { background: rgba(25,135,84,.1);   color: #198754; }
.about-icon--orange { background: rgba(253,126,20,.1);  color: #fd7e14; }
.about-icon--purple { background: rgba(111,66,193,.1);  color: #6f42c1; }

/* Блок напрямків діяльності */
.about-activities-box {
    border-left: 4px solid #fd7e14;
}

/* Картка засновника (grid — для головної сторінки) */
.founder-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.founder-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.13) !important;
}
.founder-photo-wrap {
    position: relative;
    overflow: hidden;
}
.founder-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.founder-photo-placeholder {
    height: 320px;
    background: linear-gradient(135deg, #e8f0fe, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(13,110,253,.25);
}
.founder-position-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 16px;
    background: linear-gradient(to top, rgba(13,27,62,.75) 0%, transparent 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Вступний блок засновників — на всю ширину */
.founders-intro-block {
    background: linear-gradient(135deg, rgba(111,66,193,.07) 0%, rgba(13,110,253,.06) 100%);
    border-left: 4px solid #6f42c1;
    position: relative;
}
.founders-intro-quote {
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(111,66,193,.2);
    display: block;
    margin-bottom: .5rem;
}
.founders-intro-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2d2d3a;
    font-style: italic;
}

/* ── Профіль засновника (горизонтальний — для сторінки «Про нас») ── */
.founder-profile {
    border-left: 4px solid #6f42c1;
    transition: box-shadow .25s ease;
}
.founder-profile:hover {
    box-shadow: 0 8px 28px rgba(111,66,193,.13) !important;
}

.founder-profile-photo-wrap {
    min-height: 360px;
    overflow: hidden;
}
.founder-profile-photo {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.founder-profile-photo-placeholder {
    height: 100%;
    min-height: 360px;
    background: linear-gradient(160deg, #ede7f6, #d1c4e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(111,66,193,.3);
}

.founder-profile-badge {
    display: inline-block;
    background: rgba(111,66,193,.1);
    color: #6f42c1;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
}

.founder-bio-text {
    font-size: .93rem;
    line-height: 1.8;
    color: #444;
}

.founder-email {
    color: #6c757d;
    transition: color .2s;
}
.founder-email:hover {
    color: #6f42c1;
}
