/* GLOBAL FONT */
html,
body {
  height: 100%;
}
body {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
}
h1 {
  font-size: clamp(30px, 2.5vw, 63px);
  line-height: clamp(40px, 2.5vw, 70px);
}
h2 {
  font-size: clamp(30px, 2.5vw, 44px);
  line-height: clamp(40px, 2.5vw, 50px);
}
.btn-text{
  color: #fff;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: inline-block;
  max-width: 100%;

}
@media (max-width: 767px) {
  .btn-text {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
/* 7-1-26 design changed start */
.container {
        max-width: 1400px;
}
@media (min-width:1921px) {
     .container {
        max-width: 1800px;
    }
}
@media (max-width:1366px) {
     .container {
        max-width: calc(100% - 30px);
    }
}
@media (max-width:991px) {
     .container {
        max-width: 100%;
    }
}

.page-template-complaints-and-compliments .diversity-content-card a.btn.btn-green {
    padding: 10px 25px;
}
 
/* 7-1-26 design changed end */

body,
p,
ul,
li,
ul li,
ol li,
table,
table tr,
table tr td,
table tbody {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: clamp(20px, 2.5vw, 22px);
}
a:hover,
a:focus,
a:active {
  color: #b4914f !important;
}
.btn {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: clamp(20px, 2.5vw, 22px);
  padding: 12px 40px;
}
.btn-white {
  background-color: #ffffff;
  color: #5c1119;
  border: 1px solid #5c1119;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
}
.btn-white:hover {
  background-color: #5c1119;
  border-color: #FFF;
  color: #fff;
}
.btn-yellow {
  background-color: #b4914f;
  border: 1px solid #b4914f;
  color: #ffffff;
  border-radius: 30px;
}
.btn-yellow:hover {
  background-color: #fff;
  color: #b4914f;
  border-color: #b4914f;
}

.btn-green {
  background-color: #3c6503;
  border: 1px solid #3c6503;
  color: #ffffff;
  border-radius: 30px;
}
.btn-green:hover {
  background-color: #fff;
  color: #3c6503;
  border-color: #3c6503;
}
.section-top {
  padding-top: 80px;
}
.section-bottom {
  padding-bottom: 80px;
}
.section-py {
  padding-top: 80px;
  padding-bottom: 80px;
}
/* =========================
   Header  CSS start
 ========================= */

/* MOBILE FIX */
@media (max-width: 991px) {
	.dropdown-menu {
		position: static !important;
		max-height: none !important;
		overflow: visible !important;
		transform: none !important;
		box-shadow: none;
	}
}
/* ===== MOBILE MEGA MENU FIX ===== */
@media (max-width: 991px) {

	/* Mega menu column layout for mobile */
	.mega-menu {
		display: block !important;   /* remove grid */
		min-width: 100%;
		padding: 15px;
	}

	.mega-menu li {
		width: 100%;
	}

	.mega-menu a,
	.mega-menu .dropdown-item {
		display: block;
		width: 100%;
		text-align: left;
		padding: 10px 0;
		border-bottom: 1px solid #eee;
	}

	.mega-menu a:last-child {
		border-bottom: none;
	}

	/* Remove Bootstrap scroll issue */
	.dropdown-menu {
		position: static !important;
		max-height: none !important;
		overflow: visible !important;
		transform: none !important;
		box-shadow: none;
	}
}

.mega-menu,
.mega-menu a,
.mega-menu .dropdown-item {
	color: #5C1119 !important;
}

/* Hover effect */
.mega-menu a:hover,
.mega-menu .dropdown-item:hover {
	color: #8a1a27; 
}
/* Desktop only hover */
@media (min-width: 992px) {
	.nav-item.has-mega-menu > .dropdown-menu {
		display: none;
	}

	.nav-item.has-mega-menu:hover > .dropdown-menu {
		display: block;
	}
}



/* Mega menu styling */
.mega-menu {
	/* min-width: 350px; */
	padding: 25px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.mega-menu a {
	color: #5C1119;
	font-weight: 500;
}


/* TOP BAR */
.top-bar {
  background-color: #5c1119;
  color: #f7f0f0;
}

/* LOGO SIZE */
.custom-logo {
  width: 367px;
  height: auto;
  max-width: 100%;
}
/* a:visited {
  color: #fff;
} */
 a:visited {
  color: inherit;
}
/* FACEBOOK ICON */
.facebook-icon {
  width: 44px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f7f0f0;
  font-size: 22px;
  text-decoration: none;
}

/* CONTACT TEXT */
.contact-text {
  color: #f7f0f0;
}

.contact-text a {
  color: #f7f0f0;
  text-decoration: none;
}

/* BUTTON */
.virtual-btn {
  background-color: #b4914f;
  color: #fff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 16px;
  white-space: nowrap;
}

.virtual-btn:hover {
  background-color: #a37f3f;
  color: #fff !important;
}

/* SEARCH */
.search-form {
  position: relative;
}

.search-form input {
  border-radius: 25px;
  padding: 8px 15px 8px 45px;
  min-width: 220px;
  background-image: var(--search-icon);
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: 18px;
}


/* HR */
.header-divider {
  border-top: 1px solid #ffffff;
  margin: 0;
}

/* MENU */
.main-menu {
  background-color: #5c1119;
}

.main-menu .navbar-nav li a {
  color: #ffffff;
  font-size: 16px;
  padding: 12px 10px;
  text-decoration: none;
}

.main-menu .navbar-nav li a:hover,
.main-menu .navbar-nav li a:active {
  color: #b4914f;
}
.main-menu .navbar-nav li a:active {
  background-color: transparent;
}
/* ===========================
   HOME HERO  SECTION 1 Start
============================ */
/* =========================
   Outer white wrapper
========================= */
.home-hero-outer {
  background-color: #ffffff;
  padding: 15px 15px 0;
}

/* =========================
   Hero image
========================= */
.home-hero-section {
  position: relative;
  height: 747px;
  border-radius: 42px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================
   Overlay
========================= */
.hero-overlay {
  position: absolute;
  top: 50%;
  inset: 0;
  background: rgba(92, 17, 25, 0.4);
  z-index: 1;
}

/* =========================
   Content wrapper (TOP CENTER)
========================= */
.hero-content {
  position: absolute;
  z-index: 2;
  text-align: left;
  top: 50%;
}

/* =========================
   Heading
========================= */
.hero-content h1 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.home-hero-section .btn-white {
  border: 0;
}

/* ======================================
   HOME Bespoke Education Section  2 Start
====================================== */

.bespoke-section {
  position: relative;
  border-radius: 42px;
  /* padding: 160px 30px; */
  padding: 0;
  min-height: 630px;
  display: flex;
  align-items: center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Content */
.bespoke-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

/* Title */
.bespoke-content h2 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #5c1119;
}

/* Content text */
.bespoke-text {
  color: #000000;
}

/* =========================================
   Home Section 3 : Child Behavior start
========================================= */

/* Outer spacing */
.child-behavior-outer {
  background-color: #ffffff;
}

/* Inner container */
.child-behavior-section {
  background-color: #5c1119;
  border-radius: 42px;
}

/* Title */
.child-behavior-title {
  font-weight: 500;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 50px;
  color: #ffffff;
}

/* Content */
.child-behavior-text {
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
}
.child-behavior-buttons .btn-white:hover {
  border-color: #fff !important;
}

/* Image */
.child-behavior-image img {
  max-width: 100%;
}

/* ==========================================================
   Home Section 5 : Testimonials Section
======================================================= */

.testimonial-wrapper {
  background-size: cover;
  background-position: center;
  /* min-height: 730px; */
  border-radius: 42px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px 0;
}

/* Top Button */
.testimonial-top-btn {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 10px 26px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.testimonial-top-btn:hover {
  background: #5c1119;
  color: #ffffff;
}

/* Slider alignment */
.testimonial-slider {
  max-width: 760px;
  background-color: #fff;
  padding-bottom: 60px;
  background: #ffffff;
  border-radius: 42px;
}

/* Card */
.testimonial-slider .slick-slide {
  display: block;
  border-radius: 42px;
}
.testimonial-card {
  border-radius: 42px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Content */
.testimonial-content {
  font-size: 18px;
  line-height: 28px;
  color: #FFF;
}

/* Title */
.testimonial-title {
  font-size: 16px;
  font-weight: 500;
  color: #FFF;
}

/* ===============================
   Slick Dots INSIDE card
================================ */
.slick-dots {
  bottom: 30px !important;
  left: 40px;
  right: 0;
  width: auto;
  text-align: left;
}
.testimonial-card .slick-dots {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: auto;
  text-align: right;
}

.testimonial-card .slick-dots li {
  margin: 0 3px;
}

.testimonial-card .slick-dots li button:before {
  font-size: 10px;
  color: #000000;
  opacity: 0.3;
}

.testimonial-card .slick-dots li.slick-active button:before {
  color: #3c6503;
  opacity: 1;
}

/* REMOVE active slide color change */
.slick-current .testimonial-card {
  background: #ffffff;
}

.slick-current .testimonial-content,
.slick-current .testimonial-title {
  color: #000000;
}

/* ===============================
   Responsive
================================ */

/* =========================================
   Home Section 6 : Education & Ethos
========================================= */

.education-ethos-card {
  position: relative;
  border-radius: 42px;
  padding: 150px 120px 60px 60px;
  /* min-height: 560px; */
  /* overflow: hidden; */
  width: 88%;
  height: 100%;
}

/* IMAGE – FLOATING TOP RIGHT */
.education-ethos-image {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  z-index: 2;
}

.education-ethos-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

/* CONTENT */
.education-ethos-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.education-ethos-content h3 {
  font-weight: 400;
  font-size: 36px;
  line-height: 46px;
  margin-bottom: 20px;
}

.education-ethos-text {
  font-size: 16px;
  font-weight: 300;
  min-height: 245px;
}
/* BUTTON */
.education-ethos-btn {
  background: #ffffff;
  color: #000;
  padding: 10px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
}
.education-ethos-btn:hover {
  border: 2px solid #ffffff;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 991px) {
  .education-ethos-card {
    padding: 150px 40px 50px 40px;
    text-align: center;
    height: auto;
    margin: 0 auto 80px;
    width: 100%;
    max-width: 500px;
  }
  .education-ethos-image {
    width: 200px;
    height: 200px;
    top: -70px;
    right: 0;
    left: 0;
    margin: 0 auto;
  }

  .education-ethos-content h3 {
    font-size: 30px;
    line-height: 40px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  /* .education-ethos-card {
        padding: 35px 25px;
        border-radius: 24px;
    } */

  /* .education-ethos-image {
        width: 150px;
        height: 150px;
        top: -50px;
        right: -50px;
    } */

  .education-ethos-content h3 {
    font-size: 24px;
    line-height: 34px;
  }
}

/* ====================================
 Home Section 7 :  Diversity Section Start
========================================= */
/* MAIN CONTAINER */
.diversity-main-container {
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  min-height: 600px;
  background-color: #3c6503;
}
.leadership-main-container {
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  min-height: 600px;
  background-color: #b4914f;
}

/* LEFT IMAGE COLUMN */
.diversity-image-col {
  padding: 0;
}

/* IMAGE WRAPPER (RIGHT SIDE RADIUS ONLY) */
.diversity-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top-right-radius: 42px;
  border-bottom-right-radius: 42px;
}

/* IMAGE */
.diversity-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RIGHT GREEN BACKGROUND */
.diversity-bg-col {
  background-color: #3c6503;
}
.leadership-bg-col {
  background-color: #b4914f;
}

/* CENTER CONTENT CARD */
.diversity-content-card {
  position: absolute;
  top: 50%;
  left: auto;
  right: 60px;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 42px;
  padding: 40px;
  width: 85%;
  max-width: 800px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ================================================
   Home Section 8 : Our Aims Section Home page
=================================================== */
/* CARD */
.our-aims-card {
  background-color: #b4914f;
  border-radius: 42px;
  padding: 60px 55px;
  color: #fff;
}

/* MAIN TITLE */
.our-aims-main-title {
  font-size: 36px;
  line-height: 46px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* AIM ITEM */
.aim-item {
  margin-bottom: 20px;
  padding: 15px 25px;
}

/* AIM TITLE */
.aim-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* AIM CONTENT */
.aim-content {
  font-size: 15px;
  line-height: 26px;
  min-height: 80px;
}

/* ==========================================================
   Approach Page Start
========================================================== */
.dedication-title {
  font-size: 44px;
  line-height: 52px;

}
.dedication-content {
  font-size: 18px;
  line-height: 26px;
}

/* ==========================================================
   Our Testimonial Listing Page Start
========================================================== */

.our-testimonial-page {
  background-color: #FFF;
}

/* Title */
.our-testimonial-title {
  font-weight: 700;
  font-size: 52px;
  color: #5c1119;
}

/* Card */
.testimonial-list-card {
  background: #ffffff;
  border-radius: 42px;
  padding: 35px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Hover effect */
.testimonial-list-card:hover {
  transform: translateY(-6px);
}

/* Content */
.testimonial-list-content {
  font-size: 18px;
  line-height: 28px;
  color: #000000;
}

/* Title */
.testimonial-list-title {
  font-size: 16px;
  font-weight: 500;
  color: #000000;
}

/* =========================
   FOOTER  CSS start
 ========================= */
#page,
.site {
  flex: 1 0 auto;
}
.site-footer {
  flex-shrink: 0;
}

/* ===== TOP FOOTER ===== */
.footer-top {
  background-color: #5c1119;
  color: #f7f0f0;
}

.footer-top a {
  color: #f7f0f0;
  text-decoration: none;
}

.footer-top a:hover {
  text-decoration: underline;
}

.footer-title {
  font-size: 18px;
  font-weight: 300;
}

.footer-text {
  font-size: 18px;
  line-height: 25px;
}

.footer-small {
  font-size: 18px;
  line-height: 24px;
  font-weight: 100;
  opacity: 0.9;
}

.footer-heading {
  font-size: 18px;
  /* font-weight: 500; */
  margin-bottom: 15px;
  color: #f7f0f0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 16px;
}

/* ===== BOTTOM FOOTER ===== */
.footer-bottom-text {
  font-size: 26px;
  line-height: 40px;
  font-weight: 400;
  color: #000;
}

.footer-logo {
  max-height: 90px;
  width: auto;
}

/* Footer css end */

.slick-dots li {
  padding: 0;
  width: 11px;
  height: 11px;
}
.testimonial-slider {
    margin-bottom: 0 !important;
}

.slick-dots li button {
  width: 100%;
  height: 100%;
  background: #3c6503;
  border-radius: 50%;
}

.slick-dots li button:before {
  content: none;
}

.slick-dots li.slick-active button {
  background: #5c1119;
}

@media (max-width: 1367px) {
  .section-top {
    padding-top: 60px;
  }
  .section-bottom {
    padding-bottom: 60px;
  }
  .section-py {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .education-ethos-image {
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
  }
  .education-ethos-card {
    padding: 110px 50px 30px 50px;
  }
  .bespoke-section {
    min-height: 480px;
  }
}
@media (max-width: 1025px) {
  .aim-title {
    min-height: 60px;
  }
  .aim-content {
    min-height: 105px;
  }
}
@media (max-width: 992px) {
  .section-top {
    padding-top: 40px;
  }
  .section-bottom {
    padding-bottom: 40px;
  }
  .section-py {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .testimonial-wrapper {
    min-height: auto;
    background-position: right;
    gap: 50px 0;
  }

  .testimonial-card {
    padding: 28px;
  }
  .education-ethos-outer .col-md-12:first-child {
    margin-bottom: 70px;
  }
  .diversity-content-card {
    position: unset;
    transform: unset;
    margin: 40px auto;
  }
  .aim-content {
    min-height: inherit;
  }
  .aim-item {
    margin-bottom: 0;
  }
  .child-behavior-image img {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
  .education-ethos-card {
    padding: 150px 50px 30px 50px;
    margin: 0 auto;
  }
  .education-ethos-image {
    right: 0;
  }
}

@media (max-width: 576px) {
  .testimonial-wrapper,
  .testimonial-card {
    border-radius: 24px;
  }
  .testimonial-card .slick-dots {
    bottom: 15px;
    right: 20px;
  }
  .education-ethos-card {
    padding: 150px 30px 30px 30px;
  }
  .diversity-content-card {
    padding: 30px 20px;
  }
}

section.home-hero-section:after {
  /* background-image: url("/rosewood.resolveddevelopment.co.uk/wp-content/uploads/2025/12/dots.png"); */
   background-image: url("../../../../uploads/2025/12/dots.png");
  content: "";
  display: block;
  position: absolute;
  right: 13.5%;
  top: 85%;
  background-repeat: no-repeat;
  background-size: 100%;
  max-width: 230px;
  height: 250px;
  width: 100%;
}
.page-hero-outer .home-hero-section {
  overflow: unset;
}
.page-hero-outer .hero-overlay {
  border-radius: 42px;
}
@media (max-width: 768px) {
  section.home-hero-section:after {
    max-width: 140px;
    height: 150px;
  }
}

/* repeter section title content  */

.support-hub-card {
  background-color: #5c1119;
  color: #ffffff;
  padding: 45px;
  border-radius: 42px;
  margin-bottom: 50px;
}

.support-hub-title {
  font-size: 34px;
  margin-bottom: 15px;
  color: #ffffff;
}

.support-hub-content {
  font-size: 16px;
  color: #ffffff;
  font-weight: 300;
}

/* =========================
   Our school page css start
 ========================= */

.our-title-link-title {
  color: #5c1119;
  font-weight: 600;
}


/* =========================
   Contact us page
 ========================= */

    .contain-background{
       background-color:  #B4914F;
       border-radius: 42px;
    padding: 10px 80px;
    }
    .contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.diversity-content-card.contact-details a {
    display: inline-block;
    color: #000;
    text-decoration: none;
}
.contact-form input[type="submit"] {
    background-color: #3c6503;
    border: 1px solid #3c6503;
    color: #ffffff;
    border-radius: 30px;
    width: auto;
    padding: 15px 70px;
}
.contact-form input[type="submit"]:hover {
    background-color: #ffffff;
    color: #3c6503;
    border-color: #3c6503;
}


/* =========================
   Staff page
 ========================= */

.our-teaching-title {
  
    font-weight: 500; 
    font-size: 44px;

}

.our-teaching-content {
    font-weight: 400; 
    font-size: 18px;
    max-width: 100%;
}

.support-team-card {
    background-color: #5C1119;
    color: #ffffff;
    border-radius: 42px;
    padding: 40px 40px;
    height: 100%;
}

.support-team-title {

    font-weight: 700; 
    font-size: 26px;
}

.support-team-subtitle {
    font-weight: 400; 
    font-size: 18px;
}

@media (max-width: 768px) {
    .our-teaching-title {
        font-size: 36px;
    }
}

/* button setting  */
.btn:focus, 
.btn:active, 
.btn.active {
    outline: none !important;
    box-shadow: none !important;
}
.btn:focus-visible {
    border-color: inherit;
}


a.btn.btn-white:visited {
    color:#000;
}

/* a.btn.btn-green.text-start {
    color: #fff;
}
a.btn.btn-green.build-maintain-btn {
    color: #fff;
} */
a.btn.btn-green {
    color: #fff;
        padding: 10px 70px
}

.page-template-our-curriculum .child-behavior-section .child-behavior-buttons a.btn.btn-white:visited,
.page-template-our-curriculum .child-behavior-section .child-behavior-buttons a.btn.btn-white {
  color: #000;
}
.page-template-our-curriculum .child-behavior-buttons {
  justify-content: center;
}