/* Crown Abroad Consultants — modern public-site overrides */
:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --navy: #0f172a;
    --navy-soft: #172554;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --accent: #f59e0b;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(15, 23, 42, .09);
}

html { scroll-behavior: smooth; }

body {
    color: var(--ink);
    background: var(--surface);
    font-family: "Muli", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    letter-spacing: -.025em;
    line-height: 1.2;
}

a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:hover { color: var(--brand); }
img { max-width: 100%; }

.container { max-width: 1200px; }
.cmt-row { padding: 92px 0; }

/* Header */
.top_bar { background: var(--navy) !important; }
.top_bar .container > .row > div > .d-flex { min-height: 44px; gap: 22px; }
.top_bar_contact_item { font-size: 13px; opacity: .92; }
.top_bar_contact_item a { color: #fff; }
.top_bar_icon { color: #93c5fd; }
.top_bar .cmt-bgcolor-skincolor { background: var(--brand) !important; }
.top_bar_social a { display: grid !important; place-items: center; width: 30px; height: 30px; border-radius: 50%; }

#site-header-menu {
    background: rgba(255,255,255,.97) !important;
    border-bottom: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 8px 28px rgba(15,23,42,.05);
}

.site-navigation { min-height: 84px; }
.site-branding img { max-height: 64px; width: auto; }
.main-menu ul.menu > li > a {
    color: var(--navy) !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.main-menu ul.menu > li > a:hover,
.main-menu ul.menu > li.active > a { color: var(--brand) !important; }
.main-menu ul.menu > li > a:before { background: var(--brand) !important; }
.main-menu .mega-submenu {
    border: 0 !important;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 8px 0 !important;
}
.main-menu .mega-submenu a { padding: 10px 18px !important; }

/* Floating contact actions */
.side-buttons { right: 18px; display: flex; flex-direction: column; gap: 10px; }
.side-buttons a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: var(--brand) !important;
    box-shadow: 0 10px 24px rgba(37,99,235,.28);
}
.side-buttons a:first-child,
.side-buttons a:nth-child(2) { background: #22c55e !important; }
.side-buttons a:hover { transform: translateY(-3px); }

/* Hero and moving ribbon */
rs-module-wrap, rs-module { overflow: hidden !important; }
.admission-ribbon {
    border: 0 !important;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand)) !important;
    box-shadow: 0 10px 30px rgba(37,99,235,.18);
}
.ribbon-item { color: #fff !important; font-weight: 700; letter-spacing: .02em; }

/* Reusable headings and controls */
.section-title .title-header h5 {
    color: var(--brand) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.section-title .title-header h2.title { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.section-title .title-header h2 strong { color: var(--brand); font-weight: 800; }
.section-title .title-desc p { color: var(--muted); font-size: 17px; }

.cmt-btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
}
.cmt-btn-color-skincolor,
.cmt-btn-style-fill.cmt-btn-color-skincolor { background: var(--brand) !important; border-color: var(--brand) !important; }
.cmt-btn-color-skincolor:hover { background: var(--brand-dark) !important; border-color: var(--brand-dark) !important; }
.cmt-bgcolor-skincolor { background-color: var(--brand) !important; }
.cmt-textcolor-skincolor { color: var(--brand) !important; }

/* Cards */
.categories-section { background: var(--surface-soft) !important; }
.category-card-main,
.featured-icon-box.style4,
.featured-icon-box.style5,
.featured-imagebox,
.sidebar .widget,
.blog-classic,
.cmt-box-post-date,
.accordion .toggle {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15,23,42,.055);
}
.category-card-main { overflow: hidden; height: 100%; }
.category-card-main:hover,
.featured-icon-box.style4:hover,
.featured-icon-box.style5:hover,
.featured-imagebox:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.category-image-box { height: 235px !important; }
.category-image-box img { width: 100%; height: 100%; object-fit: cover; }
.category-content { padding: 25px !important; }
.category-content h4 { font-size: 22px; font-weight: 700; }
.category-btn { color: var(--brand) !important; font-weight: 700; }

.features_2-section { background: #fff !important; }
.featured-icon-box.style4,
.featured-icon-box.style5 { padding: 34px 28px !important; height: calc(100% - 30px); transition: .25s ease; }
.featured-icon-box .featured-desc p { color: var(--muted); }
.featured-icon-box .featured-icon img { max-height: 58px; }

/* Main home sections */
.introduction-section { margin-top: 0 !important; background: var(--surface-soft); }
.introduction-section .spacing-5 { padding: 20px 35px 20px 0 !important; }
.ttm_single_image-wrapper img { border-radius: var(--radius); box-shadow: var(--shadow); }

.services-section {
    background-color: var(--navy) !important;
    background-blend-mode: multiply;
}
.services-section .featured-icon-box.style5 { background: rgba(255,255,255,.97); }
.services-section .section-title h2 { color: #fff !important; }

.cta-section { padding-top: 0; padding-bottom: 0; }
.cta-section .spacing-2 {
    padding: 36px 44px !important;
    border: 0 !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 18px 45px rgba(37,99,235,.22);
}

.featured-imagebox-country .featured-thumbnail img { width: 100%; height: 330px; object-fit: cover; }
.featured-imagebox-country { overflow: hidden; }
.featured-imagebox-country .featured-content { background: #fff !important; }

.testimonial_2-section { background-color: var(--surface-soft) !important; }
.testimonial_2-section .spacing-3 { border-radius: var(--radius); box-shadow: var(--shadow); }
.testimonial-text { color: var(--muted) !important; font-size: 16px !important; }
.testimonial-img img { width: 62px; height: 62px; object-fit: cover; border-radius: 50%; }
.blog_2-section { margin-top: 0 !important; }
.featured-imagebox-post { overflow: hidden; }
.featured-imagebox-post .featured-content { padding: 28px !important; }
.featured-imagebox-post .post-meta img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }

/* Inner pages */
.cmt-page-title-row { background-color: var(--navy) !important; background-blend-mode: multiply; }
.cmt-page-title-row .title-box h1 { font-weight: 800; letter-spacing: -.03em; }
.breadcrumb-wrapper a { color: #bfdbfe !important; }
.pagination-block .page-numbers { border-radius: 10px !important; }
.pagination-block .current { background: var(--brand) !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
    min-height: 50px;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 12px 15px !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

/* Footer */
.footer { background: var(--navy) !important; }
.footer .first-footer { padding-top: 75px; padding-bottom: 55px; }
.footer .widget-title { color: #fff !important; font-size: 18px; }
.footer p, .footer a, .footer li { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.second-footer { background: #111d35 !important; }
.second-footer .cmt-bgcolor-skincolor { background: var(--brand) !important; }
.bottom-footer-text { border-top: 1px solid rgba(255,255,255,.1); background: #0b1220 !important; }
#totop { background: var(--brand) !important; border-radius: 12px 12px 0 0; }

@media (max-width: 991px) {
    .cmt-row { padding: 68px 0; }
    .top_bar .container > .row > div > .d-flex { flex-wrap: wrap; padding: 8px 0; gap: 6px 14px; }
    .top_bar_contact_item:nth-child(2) { display: none; }
    .site-navigation { min-height: 72px; }
    .site-branding img { max-height: 54px; }
    .main-menu { background: #fff !important; border-radius: 0 0 14px 14px; box-shadow: var(--shadow); }
    .main-menu ul.menu > li > a { padding: 13px 20px !important; }
    .introduction-section .spacing-5 { padding: 0 !important; }
    .testimonial_2-section .col-bg-img-three { min-height: 430px; }
}

@media (max-width: 767px) {
    body { font-size: 15px; }
    .cmt-row { padding: 54px 0; }
    .section-title .title-header h2.title { font-size: 30px; }
    .top_bar_social, .top_bar .cmt-right-span { display: none !important; }
    .top_bar .d-flex { justify-content: flex-start !important; }
    .category-image-box { height: 210px !important; }
    .cta-section .spacing-2 { padding: 30px 24px !important; }
    .side-buttons { top: auto; right: 10px; bottom: 75px; }
    .side-buttons a { width: 43px; height: 43px; }
    .footer .first-footer { padding-top: 55px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
