/* =========================================================
   visaoasistheme — CMS glue / bridging stylesheet
   Maps legacy plugin markup onto the Visaway (visaoasis) theme.
   Theme tokens (from main.css :root):
     --theme:#c2422f  --theme-2:#01767F  --header:#151A26
     --text:#535761   --bg:#F8F8F9      --border:#C9C9C9
   Fonts: Space Grotesk (headings) / Inter (body)
   ========================================================= */

:root{
  --vo-theme:#c2422f;
  --vo-theme-2:#01767F;
  --vo-header:#151A26;
  --vo-text:#535761;
  --vo-bg:#F8F8F9;
  --vo-border:#e6e6e9;
  --vo-radius:10px;
  --vo-shadow:0px 10px 40px rgba(21,26,38,.08);
  --vo-head-font:"Space Grotesk", sans-serif;
  --vo-body-font:"Inter", sans-serif;
}

/* ---------- Base typography fallback ---------- */
body, .main, p, li, td, span, label, input, textarea, select, blockquote{
  font-family: var(--vo-body-font);
  color: var(--vo-text);
}
h1,h2,h3,h4,h5,h6,
.head, .heading-title, .heading__title, .sec-title, .service-title,
.section-title .title, .widget-title, .text-block-title{
  font-family: var(--vo-head-font);
  color: var(--vo-header);
  font-weight: 600;
}
a{ color: var(--vo-theme-2); transition: all .3s ease; }
a:hover{ color: var(--vo-theme); }

/* RTE / dynamic content blocks inherit theme look */
.wr-rte img{ max-width:100%; height:auto; border-radius:10px; }
.wr-rte ul{ padding-left:1.1rem; }
.wr-rte a{ color: var(--vo-theme); text-decoration: underline; }

/* ---------- Global image safety net ---------- */
/* Never let any image exceed its container (prevents oversized logos
   blowing out cards/sections across the site). */
img{ max-width:100%; height:auto; }

/* ---------- University / College listing cards ---------- */
/* The 1000_content_area plugin outputs .country-* markup. Constrain the
   logo box so large uploads don't blow out the flex card. */
.country-wrap{ position:relative; background:#fff; border-radius:8px; padding:30px; }
.country-item{
  display:flex; align-items:center; gap:15px;
  background:var(--vo-bg, #f8f8f9);
  border:1px solid var(--vo-border, #e6e6e9);
  border-radius:10px; padding:15px 16px; height:100%;
}
.country-img{ width:100px; flex:0 0 100px; }
.country-img img{ width:100%; height:auto; object-fit:contain; }
.country-content{ flex:1; min-width:0; }
.country-content h4{ font-size:18px; margin:0 0 4px; color:var(--vo-header, #151a26); }
.country-content p{ margin:5px 0 7px; line-height:1.4; font-size:14px; }
.country-item .theme-btn{ padding:4px 12px; }

/* ---------- Image gallery slider (.visa-slider / Swiper) ---------- */
/* University & Course photo galleries (1000_content_area plugin). */
.visa-area{ border-radius:16px; }
.visa-slider{ position:relative; overflow:hidden; }
.visa-slider .swiper-wrapper{ align-items:stretch; }
.visa-item{
  background:#fff; border:1px solid var(--vo-border, #e6e6e9);
  border-radius:14px; overflow:hidden; height:auto;
}
.visa-img{ overflow:hidden; }
.visa-img img{
  width:100%; height:200px; object-fit:cover; display:block;
  transition:transform .4s ease;
}
.visa-item:hover .visa-img img{ transform:scale(1.06); }
.visa-content{ padding:12px 14px; }
.visa-title{ font-size:15px; margin:0; color:var(--vo-header, #151a26); line-height:1.3; }
.visa-slider-arrows{ display:flex; gap:10px; justify-content:center; margin-top:18px; }
.visa-slider-arrows .array-prev,
.visa-slider-arrows .array-next{
  width:42px; height:42px; border-radius:50%; cursor:pointer;
  border:1px solid var(--vo-border, #e6e6e9); background:#fff;
  color:var(--vo-header, #151a26); display:inline-flex;
  align-items:center; justify-content:center; transition:all .3s ease;
}
.visa-slider-arrows .array-prev:hover,
.visa-slider-arrows .array-next:hover{
  background:var(--vo-theme, #c2422f); color:#fff;
  border-color:var(--vo-theme, #c2422f);
}
.visa-slider .swiper-button-disabled{ opacity:.45; cursor:default; }

/* ---------- Hero banner embedded enquiry form ---------- */
.hero-form-wrap{ max-width:440px; margin-left:auto; }
.hero-form-wrap .homeformwrapper .widget-area{
  background:#fff; border-radius:var(--vo-radius, 16px);
  box-shadow:var(--vo-shadow, 0 10px 40px rgba(21,26,38,.08));
  /*padding:26px 24px;*/ position:relative;
}
.hero-form-wrap .prt-col-wrapper-bg-layer{ display:none; }
.hero-form-wrap .widget-search .title{
  font-size:22px; margin:0 0 16px; color:var(--vo-header, #151a26);
  font-family:var(--vo-head-font, "Space Grotesk", sans-serif);
}
.hero-form-wrap .form-group{ margin-bottom:14px; }
.hero-form-wrap .form-control{
  width:100%; height:48px; padding:10px 14px;
  border:1px solid var(--vo-border, #e6e6e9); border-radius:10px;
  background:var(--vo-bg, #f8f8f9); color:var(--vo-header, #151a26);
  font-size:15px;
}
.hero-form-wrap textarea.form-control{ height:auto; min-height:90px; }
.hero-form-wrap .form-control:focus{
  outline:none; border-color:var(--vo-theme, #c2422f);
  background:#fff;
}
.hero-form-wrap .theme-btn{ width:100%; justify-content:center; cursor:pointer; border:none; }
@media (max-width: 991px){
  .hero-form-wrap{ margin:30px auto 0; }
}

/* ---------- Section spacing legacy helpers ---------- */
.py-100{ padding-top:100px; padding-bottom:100px; }
.sec-spacer{ padding:80px 0; }
.padding-30-0{ padding:30px 0; }
.pt-90{ padding-top:90px; } .pt-60{ padding-top:60px; }
.pb-130{ padding-bottom:130px; } .pb-60{ padding-bottom:60px; } .pb-80{ padding-bottom:80px; }
.bg-gray, .bg-base-grey, .grey-wrapper, .bg-light{ background-color: var(--vo-bg) !important; }
.white-wrapper, .bg-base-white{ background-color:#fff !important; }

/* ---------- Legacy headings ("head" + yellow dot, general-title, sec-title) ---------- */
.general-title h2,
.heading-layout2 .heading-title,
.heading-title,
.sec-title,
.section .wrapper .head,
.head{
  font-family: var(--vo-head-font);
  color: var(--vo-header);
  font-weight: 600;
  line-height: 1.2;
}
.general-title hr{ display:none; }
.general-title, .heading-layout2, .sec-title{ margin-bottom:30px; }
.dot.yellow, .dot{ color: var(--vo-theme); }
.heading-subtitle, .title-tag, .heading__pre-title,
.section-title h3, .title-header h3, .sub-title, .heading-divider{
  color: var(--vo-theme);
  font-family: var(--vo-head-font);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:15px;
  display:inline-block;
  margin-bottom:10px;
}
.section-title .title, .title-header .title{ color: var(--vo-header); }
.text-base-skin, .section-title .title span, .heading-title span, h2 span{ color: var(--vo-theme); }
.left-border{ border-left:3px solid var(--vo-theme); padding-left:18px; }

/* ---------- Buttons: unify all legacy buttons to .theme-btn look ---------- */
.btn-primary, .btn-secondary, .theme-btn2,
.button--filled, .button--blue, .button,
.prt-btn, .cta-button a, .btn.btn-slider,
.stories-item__button, .btn-white,
.next-slide-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background-color: var(--vo-theme);
  color:#fff !important;
  border:none;
  border-radius:10px;
  padding:14px 28px;
  font-family: var(--vo-head-font);
  font-weight:500;
  font-size:15px;
  line-height:1;
  transition: all .35s ease;
  cursor:pointer;
}
.btn-primary:hover, .btn-secondary:hover, .theme-btn2:hover,
.button--filled:hover, .button--blue:hover, .button:hover,
.prt-btn:hover, .btn.btn-slider:hover, .btn-white:hover,
.stories-item__button:hover{
  background-color: var(--vo-header);
  color:#fff !important;
}
.btn-secondary, .button--blue{ background-color: var(--vo-theme-2); }
.theme-btn.style-2, .theme-btn2{ background-color: var(--vo-theme-2); }

/* ---------- Generic card treatment for plugin items ---------- */
.blog-item, .blog-carousel, .coaching-item, .service-item,
.fancybox-item, .testimonial-item, .stories-item,
.card.box, .feature-content, .news-card-item, .testimonial-box,
.popup-gallery-item, .gallery-img, .black-box-style-1, .entry{
  /*background:#fff;*/
  border-radius: var(--vo-radius);
  box-shadow: var(--vo-shadow);
  overflow:hidden;
}
.news-card-item .news-image img,
.blog-item-img img, .blog-img img, .coaching-img img, .gallery-img img{
  width:100%; height:100%; object-fit:cover; transition: transform .5s ease;
}
.news-card-item:hover .news-image img,
.blog-item:hover .blog-item-img img,
.gallery-img:hover img{ transform: scale(1.06); }

.news-card-item .news-content{ padding:24px; }
.news-card-item .news-content h3{ font-size:20px; margin:10px 0 16px; }
.news-card-item .news-content h3 a{ color: var(--vo-header); }
.news-card-item .news-content h3 a:hover{ color: var(--vo-theme); }
.news-card-item .list span{ color: var(--vo-theme); font-size:13px; }
.link-btn{ color: var(--vo-theme); font-family:var(--vo-head-font); font-weight:500; display:inline-flex; gap:6px; align-items:center; }

/* ---------- Testimonial card (legacy) ---------- */
.testimonial-box{ padding:30px; }
.testimonial-box .star i{ color:#f5b301; }
.testimonial-box .info-item{ display:flex; align-items:center; gap:14px; margin-top:18px; }
.testimonial-box .client-image img{ width:56px; height:56px; border-radius:50%; object-fit:cover; }
.testimonial-box .content h5{ margin:0; font-size:17px; }
.testimonial-box .content span{ color: var(--vo-theme); font-size:13px; }
.rating{ list-style:none; display:flex; gap:3px; padding:0; margin:0; }
.rating li i, .testimonial-rate i{ color:#f5b301; }

/* ---------- About / two-column sections ---------- */
.about-section .about-image img{ border-radius: var(--vo-radius); }
.about-banner{ background: var(--vo-theme); color:#fff; padding:14px 20px; border-radius:10px; display:inline-block; margin-top:-30px; position:relative; }
.about-banner .banner-text{ color:#fff !important; }

/* ---------- Accordion / FAQ ---------- */
.accordion-item{
  background:#fff;
  border:1px solid var(--vo-border);
  border-radius:12px !important;
  margin-bottom:16px;
  overflow:hidden;
}
.accordion-button, .accordion-title{
  font-family: var(--vo-head-font);
  font-weight:500;
  color: var(--vo-header);
}
.accordion-button:not(.collapsed){ background: var(--vo-theme); color:#fff; box-shadow:none; }
.accordion-header.accordion-title, .accordion-title{ padding:18px 20px; display:block; }
.accordion-body{ color: var(--vo-text); }

/* ---------- Icon grid (1066 HeadingWithBoxIcons) ---------- */
.icons ul{ list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:20px; }
.icons.n-4-cols ul li{ width:calc(25% - 20px); }
.icons.n-3-cols ul li{ width:calc(33.333% - 20px); }
.icons ul li a{
  display:flex; align-items:flex-end; min-height:180px;
  border-radius: var(--vo-radius); color:#fff !important; font-weight:600;
  padding:18px; background-size:cover; background-position:center;
  position:relative; box-shadow: var(--vo-shadow);
}
.icons ul li a::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0),rgba(21,26,38,.7)); border-radius: var(--vo-radius); }
.icons ul li a > *{ position:relative; z-index:1; }
@media(max-width:991px){ .icons.n-4-cols ul li,.icons.n-3-cols ul li{ width:calc(50% - 20px); } }
@media(max-width:575px){ .icons ul li{ width:100% !important; } }

/* ---------- Forms (contact + home form) ---------- */
.contact-form, .contact-form-wrap, .contact__panel-form, .homeformwrapper, .contact-form2{
  background:#fff;
  border-radius: var(--vo-radius);
  box-shadow: var(--vo-shadow);
  padding:0;
}
.contact-form-header h2, .contact-form-header h3{ font-family:var(--vo-head-font); color:var(--vo-header); margin-bottom:8px; }
.form-control, .form-select, .nice-select{
  border:1px solid var(--vo-border) !important;
  border-radius:10px !important;
  padding:18px 20px !important;
  background:#fff;
  color: var(--vo-header);
  width:100%;
  min-height:50px;
}

.form-control:focus{ border-color: var(--vo-theme) !important; box-shadow:none; outline:none; }
.form-group{ margin-bottom:18px; position:relative; }
.alert-success{ background:#e8f6ec; color:#1c7c3b; border:none; border-radius:10px; }
.alert-danger{ background:#fdeaea; color:#c0392b; border:none; border-radius:10px; }

/* ---------- Contact info blocks ---------- */
.contact-info .icon, .offcanvas__contact-icon{ color: var(--vo-theme); }
.contact-map iframe{ width:100%; border:0; border-radius: var(--vo-radius); min-height:320px; }

/* ---------- Blog sidebar / widgets ---------- */
.blog-sidebar .widget, .widget-area aside.widget{
  background:#fff; border-radius: var(--vo-radius); box-shadow: var(--vo-shadow);
  padding:26px; margin-bottom:26px;
}
.widget-title{ font-size:20px; margin-bottom:18px; position:relative; padding-bottom:12px; }
.widget-title::after{ content:""; position:absolute; left:0; bottom:0; width:46px; height:3px; background:var(--vo-theme); }
.widget-post li{ display:flex; gap:12px; margin-bottom:16px; }
.widget-post .post-img img{ width:70px; height:70px; object-fit:cover; border-radius:10px; }

/* ---------- Pagination ---------- */
.pagination .page-link, .page-numbers{
  border:1px solid var(--vo-border); color: var(--vo-header); border-radius:8px; margin:0 4px; padding:8px 14px;
}
.pagination .active .page-link, .page-numbers.current{ background: var(--vo-theme); color:#fff; border-color: var(--vo-theme); }

/* ---------- Misc legacy wrappers ---------- */
.bg-overlay::before{ display:none; }            /* drop heavy legacy overlays */
.bg-parallax{ background-attachment:scroll !important; }
.footer-text-menu p strong a{ color: var(--vo-theme); }

/* Search autocomplete (header) */
.autocomplete-results{ background:#fff; border:1px solid var(--vo-border); border-radius:10px; margin-top:6px; }
.autocomplete-item a{ display:block; padding:10px 14px; color: var(--vo-header); }
.autocomplete-item a:hover{ background: var(--vo-bg); color: var(--vo-theme); }

/* Breadcrumb tweaks */
.breadcrumb-list li, .breadcrumb-menu li{ color:#fff; }
.breadcrumb-list a, .breadcrumb-menu a{ color:#fff; }
.breadcrumb-list a:hover{ color: var(--vo-theme); }

/* Hero slide content (dynamic slider) */
.hero-section.hero-1 .swiper-slide{ border-radius: var(--vo-radius); overflow:hidden; }
.hero-section.hero-1 .hero-content{ padding:40px; }


.header-logo-2{
  
}
.header-logo-2 img{
  max-width: 180px;
}

.footer-list-item a img{
  max-width: 150px;
}

.contact-from-wrapper .form-clt .nice-select span{
  margin: 0;
}



/* Content Area CSS */
.content p{
  margin-bottom: 10px;
}
.content h1, .content h1 strong{
  font-size: 21px;
  margin-bottom: 15px;
  font-weight: 600;
}
.content h2, .content h2 strong{
  font-size: 21px;
  margin-bottom: 15px;
  font-weight: 600;
}
.content h3, .content h3 strong{
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
}
.content h4{
  font-size: 16px;
}
.content h5{
  font-size: 15px;
}
.content h6{
  font-size: 14px;
}

.content ul{
  list-style: disc !important;
  padding-left: 15px;
  margin-bottom: 15px;
}
.content ul li{
  list-style: disc !important;
}

.content ul li p{
  margin-bottom: 0px;
}

/* Tables inside .content only */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

/* Table header */
.content table thead {
    background-color: #235576;
    color: #ffffff;
}

.content table thead th {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid #1e4863;
}

/* Table body cells */
.content table tbody td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
}

/* Zebra striping */
.content table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.content table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

/* Optional: hover effect (very subtle) */
.content table tbody tr:hover {
    background-color: #eef4f8;
}

/* Responsive tables inside .content */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}