/* =========================================================
   Edu Connections — modern design layer
   Loaded after style.css. Changes look only, not content.
   ========================================================= */

:root {
    --ec-brand: #6a1a21;
    --ec-brand-dark: #4a1015;
    --ec-gold: #f5a425;
    --ec-ink: #1f2430;
    --ec-text: #5b6170;
    --ec-line: #eceef2;
    --ec-soft: #f7f8fa;
    --ec-radius: 18px;
    --ec-shadow: 0 10px 30px rgba(17, 24, 39, .07);
    --ec-shadow-hover: 0 18px 40px rgba(17, 24, 39, .12);
    --secondary: var(--ec-gold);
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--ec-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--ec-ink); }

/* ---------- Section headings ---------- */
.section-title {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--ec-brand) !important;
    margin-bottom: .75rem;
}

section h1.text-center {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.01em;
}

/* ---------- Header ---------- */
.header-area {
    background: rgba(20, 10, 12, .45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-area .main-nav .nav li a {
    font-weight: 500;
    letter-spacing: .02em;
    position: relative;
}

.header-area .main-nav .nav li:last-child a {
    background: var(--ec-gold);
    color: #1f1408 !important;
    display: inline-flex;
    align-items: center;
    height: 40px !important;
    line-height: 1 !important;
    padding: 0 20px !important;
    border-radius: 999px;
    transition: background .25s ease, transform .25s ease;
}

.header-area .main-nav .nav li:last-child a:hover {
    background: #fff;
    transform: translateY(-1px);
}

.background-header {
    background: rgba(255, 255, 255, .92) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(17, 24, 39, .08) !important;
}

.background-header .main-nav .nav li:hover a,
.background-header .nav li a.active { color: var(--ec-brand) !important; }

.background-header .main-nav .nav li:last-child a { color: #1f1408 !important; }

/* ---------- Hero ---------- */
#bg-image {
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    max-height: none;
}

.main-banner .img-overlay {
    /* one light shade for every screen size: darker only right behind the text */
    background: linear-gradient(90deg, rgba(25, 8, 12, .42) 0%, rgba(25, 8, 12, .2) 45%, rgba(25, 8, 12, 0) 80%);
}

.main-banner .caption1 p,
.main-banner .caption p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 34rem;
    padding-left: 0;
    margin: 1.5rem 0 1.75rem;
    text-align: left !important;
}

/* one clean left edge for heading, text, icons and button (replaces old per-size padding) */
.main-banner .caption.caption1 img {
    position: static !important;
    width: min(30rem, 82vw) !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 0 0 calc(min(30rem, 82vw) * -.118) !important;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35)) !important;
}

.main-banner .caption.caption1 > p { padding: 0 !important; }

.main-banner .caption.caption1 .d-flex,
.main-banner .caption.caption1 .main-button-red { padding: 0 !important; }

.main-banner .caption.caption1 .main-button-red ul { margin: 0; padding: 0; }

.main-banner .caption .btn-square {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, .95);
    border: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transition: transform .25s ease;
}

.main-banner .caption .btn-square:hover { transform: translateY(-3px); }

.main-banner .caption .main-button-red { margin-top: 1.75rem; }

.main-button-red a {
    background: var(--ec-brand);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 15px 34px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(106, 26, 33, .45);
}

.main-button-red a:hover {
    opacity: 1;
    background: var(--ec-gold);
    color: #1f1408;
    transform: translateY(-2px);
}

/* ---------- About ---------- */
.about-us .container-fluid { padding-top: 5rem !important; }

.about-us .feature-text > h1 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem !important;
}

.about-us .feature-text > .d-flex {
    background: var(--ec-soft);
    border-left: 4px solid var(--ec-brand);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.25rem !important;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.about-us .feature-text > .d-flex:hover {
    background: #fff;
    box-shadow: var(--ec-shadow);
    transform: translateX(4px);
}

.about-us .feature-text > .d-flex > i:empty { display: none; }

.about-us .feature-text h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.about-us .feature-text p {
    color: var(--ec-text);
    font-size: .95rem !important;
    line-height: 1.75;
    margin-top: .6rem !important;
}

.about-us .position-relative img {
    border-radius: 24px !important;
    box-shadow: 0 24px 50px rgba(17, 24, 39, .18) !important;
}

/* ---------- Services ---------- */
.our-service { background: #fff; }

.our_room { padding: 6rem 0 4.5rem; }

.our_room .room {
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    overflow: hidden;
    box-shadow: var(--ec-shadow);
    margin-bottom: 2rem;
    height: calc(100% - 2rem);
    transition: transform .35s ease, box-shadow .35s ease;
}

.our_room .room:hover,
#serv_hover:hover.room {
    transform: translateY(-6px);
    box-shadow: var(--ec-shadow-hover);
}

.our_room .room .room_img figure img {
    height: 220px;
    object-fit: cover;
    transition: transform .6s ease;
}

.our_room .room .room_img figure img:hover,
.our_room .room:hover .room_img figure img { transform: scale(1.06); }

.our_room .room .bed_room { padding: 1.6rem 1.6rem 1.9rem; }

.our_room .room .bed_room h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: .6rem;
}

.our_room .room .bed_room p {
    font-size: .92rem;
    line-height: 1.65;
    color: var(--ec-text);
    margin: 0;
}

/* ---------- Destination countries ---------- */
.topic-area.section-padding40 { padding: 6rem 0 2rem; }

.topic-area .single-topic {
    border-radius: var(--ec-radius);
    overflow: hidden;
    box-shadow: var(--ec-shadow);
    transition: transform .35s ease, box-shadow .35s ease;
}

.topic-area .single-topic:hover {
    transform: translateY(-6px);
    box-shadow: var(--ec-shadow-hover);
}

.topic-area .single-topic::before {
    border-radius: 0;
    background: linear-gradient(180deg, rgba(106, 26, 33, .15), rgba(106, 26, 33, .55));
}

.topic-area .single-topic .topic-img { border-radius: 0; }

.topic-area .single-topic .topic-img img {
    display: block;
    height: 230px;
    object-fit: cover;
    border-radius: 0;
    filter: none;
    transition: transform .6s ease;
}

.topic-area .single-topic:hover .topic-img img { transform: scale(1.06); }

.topic-area .single-topic .topic-content-box {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(15, 8, 10, .72) 100%);
}

.topic-area .single-topic .topic-content-box .topic-content {
    top: auto;
    bottom: 1.25rem;
    transform: none;
    margin-top: 0 !important;
}

.topic-area .single-topic .topic-content-box .topic-content h3 { margin: 0; }

.topic-area .single-topic .topic-content-box .topic-content h3 a {
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: .01em;
    margin: 0;
}

/* ---------- Partner logos ---------- */
.services {
    position: relative;
    margin-top: 0;
    padding: 2rem 0 5rem;
}

.services .owl-service-item { margin-bottom: 0 !important; }

.services .owl-stage { padding: .75rem 0; }

.services .item {
    width: auto;
    max-width: 11rem;
    height: 6.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: 16px;
    padding: .9rem 1rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.services .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--ec-shadow);
}

.services .item .down-content { width: 100%; }

.services .item img {
    width: 100% !important;
    height: 4rem;
    object-fit: contain;
}

.services .owl-nav .owl-prev,
.services .owl-nav .owl-next {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid var(--ec-line) !important;
    box-shadow: 0 6px 16px rgba(17, 24, 39, .08);
    color: var(--ec-brand) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.services .owl-nav { left: 0; right: 0; width: auto !important; }
.services .owl-nav .owl-prev { left: -58px; }
.services .owl-nav .owl-next { right: -58px; }

.services .owl-nav .owl-prev:before,
.services .owl-nav .owl-next:before {
    background: transparent;
    color: inherit;
    width: auto;
    height: auto;
    line-height: 1;
    font-size: 20px;
}

@media (max-width: 1399px) {
    .services .owl-service-item { padding: 0 52px; }
    .services .owl-nav .owl-prev { left: 0; }
    .services .owl-nav .owl-next { right: 0; }
}

.services .owl-nav .owl-prev:hover,
.services .owl-nav .owl-next:hover {
    background: var(--ec-brand) !important;
    color: #fff !important;
    opacity: 1;
}

/* ---------- Testimonials ---------- */
#testimonial { margin-top: 0 !important; padding: 6rem 0 5rem !important; background: #fff; }

/* ---------- Contact ---------- */
section.contact-us { background: #fff; }

section.contact-us .form-control {
    border: 1px solid #e3e5ea;
    border-radius: 12px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

section.contact-us .form-control:focus {
    border-color: var(--ec-brand);
    box-shadow: 0 0 0 4px rgba(106, 26, 33, .1);
}

section.contact-us .form-floating > label { color: #8a8f9c; }

section.contact-us .btn-primary {
    background: var(--ec-brand);
    border: 0;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    box-shadow: 0 12px 26px rgba(106, 26, 33, .28);
    transition: background .25s ease, transform .25s ease;
}

section.contact-us .btn-primary:hover,
section.contact-us .btn-primary:focus {
    background: var(--ec-brand-dark);
    transform: translateY(-2px);
}

section.contact-us .right-info {
    background: linear-gradient(150deg, var(--ec-brand) 0%, var(--ec-brand-dark) 100%);
    border-radius: 22px;
    padding: 2.4rem 2.2rem;
    box-shadow: 0 22px 44px rgba(106, 26, 33, .28);
    position: relative;
    overflow: hidden;
}

section.contact-us .right-info::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(245, 164, 37, .14);
}

section.contact-us .right-info ul { margin: 0; padding: 0; position: relative; z-index: 1; }

section.contact-us .right-info ul li {
    display: block;
    border-bottom-color: rgba(255, 255, 255, .14);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

section.contact-us .right-info ul li h6 {
    color: var(--ec-gold);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .45rem;
}

section.contact-us .right-info ul li span {
    color: #fff;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
#footer .footer {
    background: #16131c !important;
    margin-top: 0 !important;
}

#footer .footer h4 {
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: .8rem;
}

#footer .footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--ec-gold);
}

#footer .footer p,
#footer .footer .btn.btn-link {
    color: #a9acb6;
    font-size: .9rem;
}

#footer .footer .btn.btn-link:hover { color: var(--ec-gold); }

#footer .footer .btn-square {
    width: 38px;
    height: 38px;
    transition: transform .25s ease;
}

#footer .footer .btn-square:hover { transform: translateY(-3px); }

#footer .copyright {
    background: #0f0d13 !important;
    color: #8a8d96;
    font-size: .88rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

#footer .copyright a:hover { color: var(--ec-gold) !important; }

/* ---------- Small screens ---------- */
@media (max-width: 991px) {
    .header-area .main-nav .nav li:last-child a {
        display: block;
        height: 50px !important;
        line-height: 50px !important;
        border-radius: 0;
        padding: 0 !important;
    }

    .our_room,
    .topic-area.section-padding40,
    #testimonial { padding-top: 4rem !important; }
}

@media (max-width: 991px) {
    section.contact-us .container-xxl,
    section.contact-us .container-xxl .container { padding-left: 0 !important; padding-right: 0 !important; }
    section.contact-us .container-xxl .container { padding-top: 3.5rem !important; }
    section.contact-us .col-md-7,
    section.contact-us .col-md-5 { flex: 0 0 100%; max-width: 100%; }
    section.contact-us .right-info { margin-top: 2rem !important; }
    #footer .footer .row > div { margin-bottom: 2.25rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .our_room .col-md-4,
    .topic-area .col-md-4 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .header-area .main-nav .logo img { width: 11rem !important; height: 2.75rem !important; }
    .header-area .main-nav .nav li { padding-left: 9px; padding-right: 0; }
    .header-area .main-nav .nav li a { font-size: 12.5px; letter-spacing: 0; }
    .header-area .main-nav .nav li:last-child a { height: 34px !important; padding: 0 13px !important; }
}

@media (max-width: 767px) {
    .main-banner .caption p { padding: 0; font-size: .95rem; }
    .our_room .room .room_img figure img { height: 200px; }
    .topic-area .single-topic .topic-img img { height: 200px; }
    section.contact-us .right-info { margin-top: 2rem !important; }
}

/* tablet menu: show Eligibility Check as gold text in line with the other links */
@media (min-width: 768px) and (max-width: 991px) {
    .header-area .main-nav .nav li:last-child a {
        background: transparent;
        color: var(--ec-gold) !important;
        display: block;
        height: 40px !important;
        line-height: 40px !important;
        padding: 0 !important;
        border-radius: 0;
    }
    .background-header .main-nav .nav li:last-child a { color: var(--ec-brand) !important; }
}

/* =========================================================
   Eligibility Check page
   ========================================================= */
.header-area.ec-solid-header {
    background: #16131c !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-area.ec-solid-header.background-header { background: rgba(255, 255, 255, .92) !important; }

section.ec-eligibility {
    margin-top: 0 !important;
    padding-top: 80px;
    background: #fff;
}

section.ec-eligibility .container-xxl > .container { padding-bottom: 5rem !important; }

section.ec-eligibility h4.text-center {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 2.25rem !important;
}

section.ec-eligibility .col-md-7 { flex: 0 0 auto; width: min(100%, 820px); max-width: 820px; }

section.ec-eligibility .col-md-7 > div {
    margin-top: 0 !important;
    background: #fff;
    border: 1px solid var(--ec-line);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(17, 24, 39, .08);
    position: relative;
    overflow: hidden;
}

section.ec-eligibility .col-md-7 > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ec-brand), var(--ec-gold));
}

section.contact-us .form-select {
    border: 1px solid #e3e5ea;
    border-radius: 12px;
    background-color: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

section.contact-us .form-select:focus {
    border-color: var(--ec-brand);
    box-shadow: 0 0 0 4px rgba(106, 26, 33, .1);
}

section.ec-eligibility .alert {
    max-width: calc(min(100%, 820px) - 1.5rem);
    margin: 0 auto 1.5rem;
    border: 0;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    line-height: 1.6;
}

section.ec-eligibility .alert-success { background: #eaf7ef; color: #1d6b3a; border-left: 4px solid #2f9e5b; }
section.ec-eligibility .alert-danger { background: #fdeeee; color: #8a1f24; border-left: 4px solid var(--ec-brand); }

@media (max-width: 767px) {
    section.ec-eligibility { padding-top: 100px; }
    section.ec-eligibility .col-md-7 > div { padding: 1.75rem 1.25rem; border-radius: 18px; }
}

/* =========================================================
   Hero heading — "success light" glow
   ========================================================= */
.ec-hero-glow {
    position: relative;
    display: inline-block;
    isolation: isolate;
    width: min(30rem, 82vw);
    margin-left: calc(min(30rem, 82vw) * -.118);
}

.main-banner .caption.caption1 .ec-hero-glow img {
    margin: 0 !important;
    width: 100% !important;
    position: relative !important;
    top: 0 !important;
    display: block;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(255, 214, 120, .55)) drop-shadow(0 0 28px rgba(245, 164, 37, .45)) !important;
    animation: ec-text-glow 4s ease-in-out infinite;
}

/* ---------- success light on the sun (top-right of the photo) ---------- */
.main-banner { position: relative; }

.ec-sun {
    position: absolute;
    left: 70%;
    top: 0;
    width: clamp(560px, 85vw, 1500px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.ec-sun-rays {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg,
        rgba(255, 255, 255, 0) 0deg,
        rgba(255, 255, 255, .7) 5deg,
        rgba(255, 255, 255, 0) 10deg,
        rgba(255, 255, 255, 0) 24deg);
    filter: blur(4px);
    -webkit-mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .6) 40%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .6) 40%, transparent 100%);
    mix-blend-mode: screen;
    animation: ec-sun-spin 60s linear infinite;
}

.ec-sun-rays--2 {
    background: repeating-conic-gradient(from 9deg,
        rgba(255, 255, 255, 0) 0deg,
        rgba(255, 255, 255, .5) 3deg,
        rgba(255, 255, 255, 0) 6deg,
        rgba(255, 255, 255, 0) 17deg);
    animation: ec-sun-spin 90s linear infinite reverse;
    opacity: .85;
}

.ec-sun-core {
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, .95) 0%,
        rgba(255, 255, 255, .6) 18%,
        rgba(255, 255, 255, .22) 45%,
        rgba(255, 255, 255, 0) 70%);
    filter: blur(8px);
    mix-blend-mode: screen;
    animation: ec-halo-pulse 4.5s ease-in-out infinite;
}

/* twinkling glints around the sun */
.ec-spark {
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, .85) 30%, transparent 62%);
    -webkit-clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95));
    opacity: 0;
    animation: ec-twinkle 3.4s ease-in-out infinite;
}

.ec-spark.s1 { left: 30%; top: 62%; animation-delay: .2s; }
.ec-spark.s2 { left: 64%; top: 70%; width: 12px; height: 12px; animation-delay: 1.2s; }
.ec-spark.s3 { left: 22%; top: 48%; width: 10px; height: 10px; animation-delay: 2.1s; }
.ec-spark.s4 { left: 74%; top: 56%; animation-delay: 2.8s; }
.ec-spark.s5 { left: 46%; top: 80%; width: 11px; height: 11px; animation-delay: .8s; }

@keyframes ec-sun-spin { to { transform: rotate(360deg); } }

@keyframes ec-halo-pulse {
    0%, 100% { opacity: .65; transform: scale(.96); }
    50%      { opacity: 1;   transform: scale(1.05); }
}

@keyframes ec-text-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(255, 214, 120, .45)) drop-shadow(0 0 22px rgba(245, 164, 37, .35)); }
    50%      { filter: drop-shadow(0 0 14px rgba(255, 224, 140, .8)) drop-shadow(0 0 38px rgba(245, 164, 37, .6)); }
}

@keyframes ec-shine-sweep {
    0%   { background-position: 160% 0; }
    55%, 100% { background-position: -60% 0; }
}

@keyframes ec-twinkle {
    0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
    45%      { opacity: 1; transform: scale(1.1) rotate(45deg); }
    70%      { opacity: 0; transform: scale(.6) rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ec-sun-rays, .ec-sun-core, .ec-shine, .ec-spark,
    .main-banner .caption.caption1 .ec-hero-glow img { animation: none; }
    .ec-spark { opacity: .8; }
}

/* clickable contact details */
section.contact-us .right-info a.ec-contact-link {
    color: #fff;
    text-decoration: none;
    background-image: linear-gradient(var(--ec-gold), var(--ec-gold));
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: color .2s ease, background-size .25s ease;
}

section.contact-us .right-info a.ec-contact-link:hover,
section.contact-us .right-info a.ec-contact-link:focus-visible {
    color: var(--ec-gold);
    background-size: 100% 2px;
    outline: none;
}

/* error page */
section.ec-error .container-xxl > .container { min-height: 45vh; display: flex; align-items: center; justify-content: center; }
section.ec-error .alert { width: 100%; text-align: center; font-size: 1.05rem; padding: 1.5rem 1.75rem; }

/* =========================================================
   Responsive fixes (from device check)
   ========================================================= */

/* laptops 1200–1399px: keep the menu on one line beside the logo */
@media (min-width: 1200px) and (max-width: 1399px) {
    .header-area .main-nav .logo img { width: 13rem !important; height: 3.25rem !important; }
    .header-area .main-nav .nav li { padding-left: 14px; padding-right: 0; }
    .header-area .main-nav .nav li a { font-size: 14px; letter-spacing: 0; }
}

/* keep each phone number / email whole instead of breaking mid-number */
section.contact-us .right-info a.ec-contact-link { white-space: nowrap; }

/* phones: smaller logo so it never runs into the menu button */
@media (max-width: 767px) {
    .header-area .main-nav .logo img { width: min(13rem, 58vw) !important; height: auto !important; }
}

/* very small phones: tighter section labels so they stay on one line */
@media (max-width: 400px) {
    .section-title { font-size: .75rem; letter-spacing: .08em; }
    .section-title span:first-child { margin-right: 22px; width: 18px; }
    .section-title span:last-child { margin-left: 22px; width: 18px; }
    .section-title span:first-child::after, .section-title span:last-child::after { width: 10px; }
    .section-title span:first-child::after { right: -15px; }
    .section-title span:last-child::after { left: -15px; }
}

/* menu (hamburger) button: white on the dark header, dark on the white scrolled header */
.header-area .main-nav .menu-trigger:not(.active) span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after { background-color: #fff; }

.background-header .main-nav .menu-trigger:not(.active) span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after { background-color: #1e1e1e; }
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after { background-color: #fff; }
.background-header .main-nav .menu-trigger.active span:before,
.background-header .main-nav .menu-trigger.active span:after { background-color: #1e1e1e; }

/* brighter hero: lift the photo a little and keep text crisp with a soft shadow */
#bg-image { filter: brightness(1.1) saturate(1.08); }
.main-banner .caption p { text-shadow: 0 0 14px rgba(15, 5, 8, .7), 0 1px 3px rgba(0, 0, 0, .6); }

/* =========================================================
   Even spacing between homepage sections (all-white page)
   One gap size for every section; scales down on phones.
   ========================================================= */
:root { --ec-section-gap: clamp(72px, 8vw, 112px); }

.about-us .container-fluid { padding-top: calc(var(--ec-section-gap) + 7px) !important; padding-bottom: 0 !important; }
.about-us .container.feature { padding-top: 0 !important; padding-bottom: 0 !important; }

.our_room { padding: var(--ec-section-gap) 0 0 !important; }

.topic-area.section-padding40 { padding: calc(var(--ec-section-gap) - 32px) 0 0 !important; } /* minus card margin above */

section.services { padding: calc(var(--ec-section-gap) - 30px) 0 0 !important; } /* minus card margin above */
section.services .section-title { bottom: 0 !important; }

#testimonial { padding: calc(var(--ec-section-gap) - 24px) 0 0 !important; } /* minus slider padding above */
#testimonial > .container { padding-top: 0 !important; padding-bottom: 0 !important; }

section.contact-us:not(.ec-eligibility) .container-xxl { padding-top: 0 !important; padding-bottom: 0 !important; }
section.contact-us:not(.ec-eligibility) .container-xxl > .container {
    padding-top: var(--ec-section-gap) !important;
    padding-bottom: var(--ec-section-gap) !important;
}

/* About Us cards: white like every other card on the page */
.about-us .feature-text > .d-flex {
    background: #fff;
    border: 1px solid var(--ec-line);
    border-left: 4px solid var(--ec-brand);
    box-shadow: 0 6px 20px rgba(17, 24, 39, .05);
}
.about-us .feature-text > .d-flex:hover { box-shadow: var(--ec-shadow-hover); }
