*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #fff; color: #333; }

/* ─── HERO ─── */
#section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 0;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(142,69,245,.87) 0%, rgba(74,20,160,.84) 100%);
    z-index: 1;
}
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.13;
    margin-bottom: 18px;
}
.hero-title span { color: var(--uni-yellow); }
.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 500px;
}
.hero-benefits {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.92);
    font-size: 1.02rem;
    font-weight: 600;
}
.hero-benefits li::before {
    content: '';
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--uni-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23290097' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-yellow {
    background: var(--uni-yellow);
    color: var(--uni-purple) !important;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
}
.btn-yellow:hover { transform: translateY(-2px); opacity: .92; }
.btn-outline-white {
    border: 2px solid rgba(255,255,255,.55);
    color: #fff !important;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.btn-outline-white:hover { border-color: #fff; transform: translateY(-2px); }

/* Hero sağ tərəf kartı */
.hero-card {
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    padding: 32px 28px;
    color: #fff;
}
.hero-card-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--uni-yellow);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 20px;
}
.hero-stat-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hero-stat-cell { text-align: center; flex: 1; }
.hero-stat-cell .num { display: block; font-size: 2rem; font-weight: 900; color: var(--uni-yellow); line-height: 1; margin-bottom: 4px; }
.hero-stat-cell .lbl { font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600; }
.hero-card-divider { border: none; border-top: 1px solid rgba(255,255,255,.2); margin: 0 0 18px; }
.hero-card p { font-size: .93rem; color: rgba(255,255,255,.75); line-height: 1.65; margin: 0; }

/* ─── STATS ─── */
#section-stats { background: var(--uni-purple); padding: 38px 0; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.6rem; font-weight: 900; color: var(--uni-yellow); line-height: 1; margin-bottom: 6px; }
.stat-label { color: rgba(255,255,255,.75); font-size: 1rem; font-weight: 600; }

/* ─── ÜMUMI ─── */
.section-label {
    display: inline-block;
    color: var(--uni-purple);
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 900; color: #0d0028; margin-bottom: 14px; }
.section-sub { color: #666; font-size: 1.1rem; line-height: 1.75; max-width: 580px; margin: 0 auto 52px; }
.small-divider { width: 48px; height: 4px; background: var(--uni-purple); border-radius: 2px; margin: 14px auto 0; }

/* ─── ABOUT ─── */
#section-about { padding: 88px 0; background: #fff; }
.about-text p { color: #555; font-size: 1.03rem; line-height: 1.8; margin-bottom: 16px; }
.about-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--uni-purple);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 8px;
}
.about-link:hover { opacity: .75; }
.about-highlight {
    background: #f4eeff;
    border-radius: 20px;
    padding: 36px 30px;
}
.about-highlight-title {
    font-size: .92rem;
    font-weight: 800;
    color: var(--uni-purple);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 24px;
}
.about-point { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.about-point:last-child { margin-bottom: 0; }
.about-point-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--uni-purple);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.about-point-text strong { display: block; font-size: 1rem; font-weight: 800; color: #0d0028; margin-bottom: 3px; }
.about-point-text span { font-size: .92rem; color: #666; line-height: 1.55; }

/* ─── BENEFITS ─── */
#section-benefits { padding: 88px 0; background: #f4eeff; }
.feature-box { text-align: center; padding: 28px 18px; }
.feature-icon {
    width: 78px; height: 78px;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    color: var(--uni-purple);
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(142,69,245,.12);
    transition: transform .25s;
}
.feature-box:hover .feature-icon { transform: scale(1.08); }
.feature-title { font-size: 1.08rem; font-weight: 800; color: #0d0028; margin-bottom: 10px; }
.feature-desc { color: #666; font-size: .97rem; line-height: 1.65; }

/* ─── EVENTS ─── */
#section-events { padding: 88px 0; background: #fff; }
.events-sub-label {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--uni-purple);
    padding-bottom: 12px;
    border-bottom: 2px solid #f4eeff;
    margin-bottom: 24px;
}
.event-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 2px 16px rgba(142,69,245,.08);
    border: 1px solid rgba(142,69,245,.07);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(142,69,245,.14); }
.event-card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: #f4eeff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--uni-purple);
    margin-bottom: 14px;
}
.badge-date {
    display: inline-block;
    background: #f4eeff;
    color: var(--uni-purple);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .87rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.event-card-title { font-size: 1.05rem; font-weight: 800; color: #0d0028; margin-bottom: 8px; }
.event-card-desc  { color: #666; font-size: .94rem; line-height: 1.6; margin-bottom: 14px; }
.event-card-link  { color: var(--uni-purple); font-weight: 700; font-size: .94rem; text-decoration: none; }
.event-card-link:hover { opacity: .75; }

/* ─── CONTACT ─── */
#section-contact { padding: 0; }
.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 42px 28px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(142,69,245,.07);
    height: 100%;
}
.contact-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: #f4eeff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--uni-purple);
    margin: 0 auto 20px;
}
.contact-card-title {
    font-size: .95rem;
    font-weight: 800;
    color: #0d0028;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.contact-card p { color: #555; font-size: 1rem; line-height: 1.75; margin: 0; }
.contact-card a { color: var(--uni-purple); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.contact-card a:hover { opacity: .75; }

/* ─── CTA ─── */
.cta-box {
    background: linear-gradient(135deg, var(--uni-purple) 0%, #4a0080 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: #fff;
    text-align: center;
}
.cta-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; margin-bottom: 14px; }
.cta-sub { opacity: .8; font-size: 1.1rem; line-height: 1.7; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    gap: 12px;
}
.faq-question span { font-weight: 700; color: #0d0028; font-size: 1rem; font-family: var(--font-main); }
.faq-chevron { color: var(--uni-purple); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding-bottom: 16px; }
.faq-answer p { color: #666; font-size: .97rem; line-height: 1.7; margin: 0; }

/* ── Sections moved from inline styles ── */
#section-process    { padding: 88px 0; background: #fff; }
#section-testimonials { padding: 88px 0; background: #f4eeff; }
#section-faq        { padding: 88px 0; background: #fff; }
#section-events     { padding: 88px 0; background: #f7f8fc; }
#section-cta        { padding: 72px 0; background: #fff; }

/* Process section */
.process-col-left   { padding-right: 40px; margin-bottom: 40px; }
.process-title      { font-size: 2rem; font-weight: 900; color: #0d0028; font-family: var(--font-main); line-height: 1.2; margin-bottom: 14px; }
.process-steps      { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.process-arrow      { flex-shrink: 0; padding-top: 26px; color: #ccc; font-size: 1.5rem; line-height: 1; }

/* Grid utility */
.g-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Contact section */
.contact-inner      { position: relative; z-index: 1; padding: 88px 0; }
.contact-flex       { display: flex; gap: 32px; flex-wrap: wrap; align-items: stretch; }
.contact-form-box   { flex: 1; min-width: 320px; background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,.18); padding: 40px; }
.contact-map-box    { flex: 1; min-width: 320px; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.18); min-height: 480px; }
.contact-map-box iframe { border: 0; display: block; width: 100%; height: 100%; min-height: 480px; }

/* Full-width form: 2-col row for paired fields */
.contact-field-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.contact-field-row .form-control { margin-bottom: 0; }

@media (max-width: 768px) {
    .header-main { padding: 10px 16px; gap: 12px; }
    .nav-links { display: none; }
    .hero-btns { flex-direction: column; }
    .stat-item { margin-bottom: 24px; }
    .hero-card { margin-top: 40px; }
    .about-highlight { margin-top: 36px; }
    .cta-box { padding: 40px 22px; }
    .contact-card { margin-bottom: 22px; }
    #section-hero { padding-top: 90px; padding-bottom: 60px; min-height: auto; }
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    #section-about,
    #section-benefits,
    #section-process,
    #section-testimonials,
    #section-faq,
    #section-events,
    #section-cta        { padding: 56px 0; }
    .contact-inner      { padding: 56px 0; }

    .process-steps      { flex-direction: column; align-items: center; gap: 24px; }
    .process-arrow      { display: none; }
    .process-col-left   { padding-right: 0; }

    .contact-form-box   { padding: 24px; min-width: 0; width: 100%; }
    .contact-map-box    { min-width: 0; width: 100%; min-height: unset; height: 280px; }
    .contact-map-box iframe { min-height: unset; }
    .contact-field-row  { grid-template-columns: 1fr; gap: 14px; }

    /* Submit button full-width on mobile */
    #send_message       { width: 100%; box-sizing: border-box; }

    /* iOS: background-attachment:fixed not supported in mobile Safari */
    #section-contact    { background-attachment: scroll !important; }

    #section-testimonials h2,
    #section-faq h2     { font-size: 1.8rem !important; }
    #section-events .section-title { font-size: 1.8rem; }

    /* Hero: reduce card spacing when stacked */
    .hero-card          { margin-top: 24px; }
}

@media (max-width: 600px) {
    .g-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    #section-about,
    #section-benefits,
    #section-process,
    #section-testimonials,
    #section-faq,
    #section-events,
    #section-cta        { padding: 40px 0; }
    .contact-inner      { padding: 40px 0; }

    #section-testimonials h2,
    #section-faq h2     { font-size: 1.5rem !important; }
    .contact-form-box   { padding: 16px; }

    /* Stats: smaller font on tiny screens */
    .stat-number        { font-size: 2rem; }
    .stat-label         { font-size: .88rem; }

    /* Hero card compact on small phone */
    .hero-card          { padding: 22px 16px; }
    .hero-stat-cell .num { font-size: 1.7rem; }
}
