/* Overrides for custom sections inside Elementor page wrapper (loads after theme CSS) */

.elementor.elementor-11740 .unnayan-about-funology__philosophy .unnayan-about-funology__philosophy-content {
    color: #f5f5f5;
}

.elementor.elementor-11740 .unnayan-about-funology__philosophy h3.unnayan-about-funology__philosophy-title {
    color: #ffffff;
}

.elementor.elementor-11740 .unnayan-about-funology__philosophy p.unnayan-about-funology__philosophy-text {
    color: rgba(255, 255, 255, 0.92);
}

.elementor.elementor-11740 .unnayan-about-funology__philosophy p.unnayan-about-funology__philosophy-callout {
    color: rgba(255, 255, 255, 0.95);
}

.elementor.elementor-11740 .unnayan-about-funology__philosophy p.unnayan-about-funology__philosophy-callout strong {
    color: #ff9a9c;
}

/* Hero → About UNNAYAN: soft fade into light section */
.elementor.elementor-11740 .unnayan-hero {
    position: relative;
}

.elementor.elementor-11740 .unnayan-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #f3f1ec);
    pointer-events: none;
    z-index: 3;
}

/* Student Experience — reset theme heading margins/sizes inside cards */
.elementor.elementor-11740 .unnayan-student-experience__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.elementor.elementor-11740 .unnayan-student-experience__card-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.elementor.elementor-11740 .unnayan-student-experience__card-text {
    margin: 0;
}

/* Header Register CTA */
#rs-header .unnayan-header-register .rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 11px 24px !important;
    background: #af1c1e !important;
    background-image: none !important;
    color: #fff !important;
    border: 2px solid #af1c1e !important;
    border-radius: 999px !important;
    font-family: Kanit, sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none !important;
    overflow: visible !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#rs-header .unnayan-header-register .rs-btn span {
    color: #fff !important;
}

#rs-header .unnayan-header-register .rs-btn:hover {
    background: #fff !important;
    color: #af1c1e !important;
}

#rs-header .unnayan-header-register .rs-btn:hover span {
    color: #af1c1e !important;
}
