/*   
Theme Name: Aeternitas
Description: This is the website for Aeternitas
Author: -
Author URI: https://aeternitas.ph/
Version: 1.1.0
Tags: full
License: 
License URI: 
*/

/*

TABLE OF CONTENTS

1. Variables
2. Custom CSS

*/

/*******************************************************
 *
 * 1. Variables
 *
 *******************************************************/




:root {
    /** Font default */
    --font-family-default: "Nunito Sans", sans-serif;
    --font-family-title: "Playfair Display SC", serif;
    --font-family-title-alt: "Playfair Display", serif;
    --font-size-default: 14px;
    --font-size-title: 18px;
    --font-color-default: #000000;
    --font-color-title: #6c757d;
    
    /** Use for input, button, and any other element */
    --primary: #343A73;
    --secondary: #0F6295;
	  --accent: #FFDC00;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #ffffff;
    --dark: #000000;

	--default-transition: all 0.3s ease;
}

/*******************************************************
 *
 * 2. Navigation
 *
 *******************************************************/

/* Sub Menu */
#nav li {
    position:relative;
    display: inline-block;
}

#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: rgba(0,0,0,0.9) url("images/submenu-fixer.png");
    display: none;
    padding: 0;
    position: absolute;
 	width:100%;
 	min-width:180px;
}
#nav .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
}
#nav .sub-menu a:hover {
    background: none repeat scroll 0 0 var(--light);
    color: var(--font-color-default);
    text-decoration: none;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
 	top:0;
}
#nav li:hover > .sub-menu {
    display: block;
}
#nav .sub-menu li {
    position: relative;
}


/*******************************************************
 *
 * 3. Custom CSS
 *
 *******************************************************/

/* Global */
html * {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-default) !important;
  font-size: var(--font-size-default);
  background: #fff;
  color: var(--font-color-default);
  margin: 0;
  /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
  /* -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body.overflow {
  overflow: hidden;
}

.site-canvas {
  display: block;
  width: 100%;
}

.custom-container {
  max-width: 1440px;
  width: 100%;
  margin: auto;
}

a,
a:focus,
a:hover,
a:focus-within {
  text-decoration: none !important;
}

input,
textarea,
button {
	outline: none;
}

.home video {
  cursor: pointer;
}

.rel {
  position: relative;
}

.blk {
  display: block !important;
}

.no-padding {
  padding-right: 0 !important;
}

.disable {
  pointer-events: none;
}

.img-object {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w-bg {
  background: #fff;
}

.img-wrapper {
  position: relative;
}

.img-wrapper canvas {
  display: block;
  width: 100%;
} 

.img-wrapper img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.bg-canvas-rel {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.ios-true .bg-canvas,
.safari .bg-canvas,
.ios-true .bg-fixed,
.safari .bg-fixed {
  background-attachment: scroll !important;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bg-canvas-g {
  filter: grayscale(1);
}

.bg-fixed {
  background-attachment: scroll !important;
}

.bw {
  filter: grayscale(1);
}

.ease {
  transition: var(--default-transition);
  -webkit-transition: var(--default-transition);
  -moz-transition: var(--default-transition);
  -o-transition: var(--default-transition);
}

.ease-1 {
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}

#main-wrapper {
  overflow: hidden;
}

.show-mb {
  display: none !important;
}

.txt-up {
  text-transform: uppercase;
}

.zi-100 {
  z-index: 100;
}

.rel-z {
  position: relative;
  z-index: 100;
}

.hidden {
  display: none !important;
}

.no-margin {
  margin: 0 !important;
}

.n-app {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-progress-appearance: none;
  outline: none;
  background: transparent;
  border: 0;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1170px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

input,
textarea,
button {
  border-radius: 0 !important;
}

.w-sec {
  position: relative;
  z-index: 100;
  background: #fff;
}

/* Flex */
.flex {
  display: flex;
  flex-wrap: wrap;
}

.custom-flex {
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -moz-box;
  display: -ms-flexbox;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
}

.ai-fs {
  align-items: flex-start;
}

.ai-fe {
  align-items: flex-end;
}

.ai-c {
  align-items: center;
}

.jc-fs {
  justify-content: flex-start;
}

.jc-fe {
  justify-content: flex-end;
}

.jc-c {
  justify-content: center;
}

.jc-sb {
  justify-content: space-between;
}

.fd-c{
  flex-direction: column;
}

.fd-rr {
  flex-direction: row-reverse;
}

/* Global Button */
.global-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 220px;
  width: 100%;
  height: 60px;
  border-radius: 10px;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  font-size: clamp(14px,0.83vw,16px);
  letter-spacing: 2.4px;
  background: var(--secondary);
  color: var(--light);
  transition: var(--default-transition);
  position: relative;
}

.global-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  transition: var(--default-transition);
  background: var(--accent);
  border-radius: 10px;
  transform: scale(0);
  opacity: 0;
}

.global-btn span {
  position: relative;
  z-index: 20;
}

.global-btn.white {
  background: var(--light);
  color: var(--secondary);
}

.global-btn.lg {
  max-width: 300px;
}

.global-btn:hover {
  /* background: var(--accent); */
  color: var(--dark);
}

.global-btn:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Global Title */
.global-title {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  flex-direction: column;
  position: relative;
  min-height: 260px;
}

.global-title::after {
  content: '';
  width: 290px;
  height: 247px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  background: url(/wp-content/uploads/2025/08/aeternitas-wreaths-min.png) no-repeat center;
  margin: auto;
}

.global-title h2 {
  font-family: var(--font-family-title-alt);
  font-size: clamp(35px,2.6vw,50px);
  font-weight: 400;
  letter-spacing: 3.5px;
  color: #000;
  margin: 0;
}

.global-title-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0;
}

.global-title-accent i {
  display: block;
  height: 15px;
  width: 15px;
  background: var(--accent);
  transform: rotate(45deg);
  margin: 0 10px;
}

.global-title-accent::before,
.global-title-accent::after {
  content: '';
  height: 2px;
  width: 100px;
  background: var(--secondary);
}

.global-title.white h2 {
  color: var(--light);
}

.global-title.white .global-title-accent::before,
.global-title.white .global-title-accent::after {
  background: var(--light);
}

.global-title.white::after {
  filter: invert(1);
}

.global-title.left {
  text-align: left;
  align-items: flex-start;
}

.global-title.left::after {
  margin: 0;
  left: -20px;
}

/* Header */
.header {
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 15px;
}

.header-container {
    max-width: 1820px;
    width: 100%;
    margin: auto;
}

/* Header Logo */
.header-logo {
  width: clamp(170px,15.1vw,290px);
}

.header-logo a {
    display: flex;
}

.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Header Contact */
.hc-field-wtxt {
    margin: 0 clamp(15px,1.56vw,30px) 0 0;
}

.hc-field-wtxt i {
    font-size: 20px;
    color: #fff;
}

.hc-field-wtxt a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transition: var(--default-transition);
}

.hc-field-wtxt a:hover {
  color: var(--accent);
}

.hc-field-wtxt span {
    font-size: clamp(12px,0.73vw,14px);
    display: block;
    margin: 0 0 0 clamp(10px,0.68vw,13px);
}

.hc-field.smi a {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #fff;
  font-size: 15px;
  color: var(--primary);
  margin: 0 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--default-transition);
}

.hc-field.smi a:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Header Nav */
.header-nav {
  margin: 22px 0 0;
}

.header-nav .main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header-nav .main-menu a {
  color: #fff;
  font-size: clamp(13px,0.78vw,15px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  transition: var(--default-transition);
}

.header-nav .main-menu li {
  padding: 0 22px;
  position: relative;
}

.header-nav .main-menu li:last-child {
  padding-right: 0;
}

.header-nav .main-menu li:hover > a {
  color: var(--accent);
}

.header-nav .main-menu .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: transparent;
    display: none;
    padding: 0;
    position: absolute;
 	width:100%;
 	min-width:180px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 0 0;
  text-align: center;
}

.header-nav .main-menu .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
    background: var(--secondary);
}

.header-nav .main-menu .sub-menu a:hover {
    background: var(--accent);
    color: var(--font-color-default);
    text-decoration: none;
}

.header-nav .main-menu .sub-menu .sub-menu {
    margin-left: 100%;
 	top:0;
}

.header-nav .main-menu li:hover > .sub-menu {
    display: block;
}

.header-nav .main-menu .sub-menu li {
    position: relative;
    padding: 0;
}

/* Fixed Header */
.header.fh {
  background: var(--primary);
  padding: 7px 15px;
}

.header.fh .header-nav {
  margin: 12px 0 0;
}

/* Slider */
.hero-slider {
	width: 100%;
	height: 700px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	z-index: 0;
}

.swiper-slide-img::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: var(--secondary);
	opacity: 0.4;
	z-index: 2;
}

.hero-slider .swiper-slide {
	overflow: hidden;
	color: #fff;
}

.hero-slider .swiper-container {
	width: 100%;
	height: 100%;
	/* position: fixed; */
	left: 0;
	top: 0;
}

.hero-slider .slide-inner {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background-size: cover;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: left;
  opacity: 0.6;
  /* filter: grayscale(1); */
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
	background: transparent;
	width: 55px;
	height: 55px;
	line-height: 53px;
	margin-top: -30px;
	text-align: center;
	border: 2px solid #d4d3d3;
	border-radius: 55px;
	opacity: 0;
	visibility: hidden;
	transition: all .3s ease;
	display: none;
}

.hero-slider:hover .swiper-button-prev,
.hero-slider:hover .swiper-button-next {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
}


.hero-slider .swiper-button-prev {
	left: 25px;
	transform: translateX(50px);
}

.hero-slider .swiper-button-prev:before {
	font-family: "Font Awesome 5 Free";
	content: "\f060";
	font-size: 15px;
	color: #d4d3d3;
	font-style: normal;
	display: inline-block;
	vertical-align: middle;
	font-weight: 900;
}

.hero-slider .swiper-button-next {
	right: 25px;
	transform: translateX(-50px);
}

.hero-slider .swiper-button-next:before {
	font-family: "Font Awesome 5 Free";
	content: "\f061";
	font-size: 15px;
	color: #d4d3d3;
	font-style: normal;
	display: inline-block;
	vertical-align: middle;
	font-weight: 900;
}

.hero-slider .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	text-align: left;
	line-height: 12px;
	font-size: 12px;
	color: #000;
	opacity: 0.3;
	background: #fff;
	transition: all .2s ease;
	display: none;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
}

.hero-slider .swiper-container-horizontal>.swiper-pagination-bullets,
.hero-slider .swiper-pagination-custom,
.hero-slider .swiper-pagination-fraction {
	bottom: 55px;
}

.swiper-slide-img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
  background: #000;
}

.swiper-slide-content {
	position: relative;
	z-index: 10;
	height: 100%;
  padding: 0 clamp(25px,5.21vw,100px);
	display: flex;
	align-items: center;
}

.hero-style {
  height: 100vh;
	transition: var(--default-transition);
	text-align: center;
  min-height: 800px;
}

.hero-style .slide-title h2 {
	font-size: clamp(55px,4.17vw,80px);
	font-weight: 400;
	line-height: 1.2;
	color: #ffffff;
	margin: 100px 0 0;
	text-transform: capitalize;
	transition: var(--default-transition);
	font-family: var(--font-family-title);
}

.hero-style .slide-text p {
  font-size: clamp(18px,1.3vw,25px);
  font-weight: 300;
  line-height: 1.4;
  color: #ffffff;
  margin: 40px auto 60px;
  transition: var(--default-transition);
  max-width: 1090px;
  width: 100%;
  letter-spacing: 2.3px;
}

.slide-btns > a:first-child {
  margin: 0 30px 0 0;
}

.hero-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
}

#aeternitas-kuula iframe {
  width: 100%;
}

#aeternitas-kuula a {
  margin: 30px auto 0;
}

/* Our Story */
.story-img {
  width: 51.7708%;
}

.story-img::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  z-index: 100;
}

.story-img canvas {
  min-height: 963px;
}

.story-txt {
    width: 48.2292%;
    padding: 12px 15px 15px;
}

.story-desc {
    max-width: 600px;
    width: 100%;
    margin: 30px auto 0;
    text-align: center;
    font-size: clamp(16px,1.15vw,22px);
    line-height: 1.3;
    font-weight: 300;
}

.story-desc p {
    margin: 0 0 23px;
}

.story-btn a {
    margin: 25px auto 0;
}

/* Services */
.services-wrap {
  padding: 70px 0 0;
}

.services-holder {
    margin: 77px 0 0;
}

.services-item {
  min-height: 600px;
  display: flex;
  padding: 15px;
  overflow: hidden;
}

.services-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #043B8B;
  background: linear-gradient(90deg, rgba(4, 59, 139, 1) 0%, rgba(15, 98, 149, 1) 100%);
  z-index: 5;
  opacity: 0.5;
}

.services-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #043B8B;
  background: linear-gradient(90deg, rgba(4, 59, 139, 1) 0%, rgba(4, 59, 139, 0) 100%);
  z-index: 6;
  opacity: 0.9;
}

.services-item-content {
  max-width: 1632px;
  width: 100%;
  margin: auto;
  padding: 0 46px;
}

.services-item h3 {
  font-family: var(--font-family-title-alt);
  font-size: clamp(28px,1.82vw,35px);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  margin: 0;
  transition: var(--default-transition);
}

.services-item h3::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 0;
  bottom: 0;
  height: 20px;
  width: 20px;
  margin: auto;
  transform: rotate(45deg);
  background: var(--accent);
  transition: var(--default-transition);
}

.services-item-desc {
  font-size: clamp(16px,1.15vw,22px);
  font-weight: 300;
  line-height: 1.3;
  color: #fff;
  margin: 40px 0 37px;
}

.services-item-content-inner {
  max-width: clamp(400px,33.85vw,650px);
  width: 100%;
}

.services-item:nth-child(even) .services-item-content-inner {
  margin: 0 0 0 auto;
}

.services-item:nth-child(even)::before {
  background: linear-gradient(270deg, rgba(4, 59, 139, 1) 0%, rgba(15, 98, 149, 1) 100%);
}

.services-item:nth-child(even)::after {
   background: linear-gradient(270deg, rgba(4, 59, 139, 1) 0%, rgba(4, 59, 139, 0) 100%);
}

/* Hover */
.services-item:hover > .bg-canvas {
  transform: scale(1.2);
}

.services-item:hover h3 {
  padding: 0 0 0 41px;
}

.services-item:hover h3::before {
  left: 0;
}

/* Memorial Accommodations */
.ma-wrap {
  padding: 130px 0;
}

.ma-container {
    max-width: 1920px;
    width: 100%;
    margin: auto;
}

.ma-left {
  width: 36.7708%;
  min-height: 800px;
  background: var(--secondary);
  padding: 50px 15px 15px;
}

.ma-left .bg-canvas {
  opacity: 0.1;
}

.ma-left .ma-col-inner {
    max-width: 500px;
    width: 100%;
    margin: auto;
}

.ma-btn-item {
    /* min-width: 300px; */
    /* margin: 0 30px 0 0; */
}

.ma-navs-holder button {
  padding: 0;
  margin: 10px;
}

.ma-navs-holder button i {
  font-size: 30px;
  color: #fff;
  transition: var(--default-transition);
  cursor: pointer;
}

.ma-navs-holder button:hover i {
  color: var(--accent);
}

.ma-navs-holder {
  width: 93px;
}

.ma-btn-holder-wrap {
  width: calc(100% - 93px);
}

.ma-desc {
  font-size: clamp(16px,1.15vw,22px);
  font-weight: 300;
  color: #fff;
  margin: 30px 0 50px;
}

.ma-lg-item-inner {
  max-width: 970px;
  width: 100%;
}

.ma-lg-item-img {
  /* overflow: hidden; */
  transition: var(--default-transition);
}

.ma-lg-item-img span {
  position: absolute;
  left: 0;
  bottom: -30px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-family-title-alt);
  font-size: clamp(18px,1.25vw,24px);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 24px 24px;
  transition: var(--default-transition);
}

.ma-lg-item-img img {
  transition: var(--default-transition);
}

.ma-lg-item-content-desc {
  font-size: clamp(16px,1.15vw,22px);
  line-height: 1.3;
  font-weight: 400;
  color: #000;
  width: 70.9278%;
  padding: 0 50px;
}

.ma-lg-item-content-btn {
  width: 29.0722%;
}

.ma-lg-item-content {
    padding: 60px 0 0;
}

.ma-right {
    width: 63.2292%;
    padding: 33px 0 0 58px;
}

.ma-lg-holder:not(.slick-initialized) .ma-lg-item:nth-child(n + 1) ~ div {
  display: none;
}

.ma-btn-holder:not(.slick-initialized) .ma-btn-item:nth-child(n + 1) ~ div {
  display: none;
}

/* Hover */
.ma-lg-item:hover .ma-lg-item-img span {
  bottom: 0;
  background: var(--secondary);
}

.ma-lg-item:hover .ma-lg-item-img {
  /* overflow: hidden; */
}

.ma-lg-item:hover .ma-lg-item-img img {
  transform: scale(1.1);
}

/* Testimonials */
.test-wrap {
  padding: 103px 0 202px;
}

.test-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 75%;
  z-index: 10;
  background: #ffffff;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 38%);
}

.test-wrap > .bg-canvas.sec-bg {
  opacity: 0.05;
  height: 75%;
}

.test-container {
  max-width: 1610px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

.test-content {
  width: 39.2406%;
  padding: 25px 15px 15px 0;
}

.test-content .test-top-col-inner {
  max-width: 496px;
  width: 100%;
}

.test-top-desc {
  font-size: clamp(16px,1.15vw,22px);
  font-weight: 400;
  line-height: 1.3;
  margin: 38px 0 45px;
  color: #000;
}

.test-slider {
  width: 60.7594%;
  min-height: 737px;
  padding: 218px 30px 50px;
  background: var(--secondary);
}

.test-slider .bg-canvas {
  transition: var(--default-transition);
}

.test-slider-bg {
  max-width: 825px;
  width: 100%;
  margin: auto;
  min-height: 415px;
  background: #fff;
}

.test-slider-bg::before {
  content: '';
  position: absolute;
  left: -13px;
  top: -13px;
  width: 80%;
  height: calc(100% + 13px);
  background: var(--accent);
  z-index: -1;
}

.test-slider-quote {
  position: absolute;
  left: 0;
  top: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.test-slider-quote::after {
  content: '“';
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translateX(-50%) translateY(-50%);
  font-family: var(--font-family-title-alt);
  font-size: 200px;
  color: var(--primary);
}

.test-slider-holder-wrap {
  background: #fff;
  /* left: 0;
  top: 0; */
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 15px;
  position: relative;
}

.test-slider-holder {
  max-width: 587px;
  width: 100%;
  margin: auto;
}

.test-slider-holder:not(.slick-initialized) .test-slider-item:nth-child(n + 1) ~ div {
  display: none;
}

.test-slider-item p {
  font-size: clamp(16px,1.15vw,22px);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 20px;
  color: #000;
  text-align: justify;
}

.test-slider-item span {
  display: block;
  font-family: var(--font-family-title-alt);
  font-size: clamp(16px,1.15vw,22px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.test-slider-nav {
    max-width: 825px;
    width: 100%;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.test-slider-nav button {
    font-size: 30px;
    color: #fff;
    padding: 0;
    margin: 0 0 0 15px;
    transition: var(--default-transition);
    cursor: pointer;
}

.test-slider-nav button:hover {
  color: var(--accent);
}

.test-bot-slider {
  max-width: 1600px;
  width: 100%;
  margin: 44px auto 0;
}

.test-bot-slider-holder {
  margin: 0 -10px;
}

.test-bot-slider-holder:not(.slick-initialized) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.test-bot-slider-item {
  width: calc(100% / 5);
  padding: 0 10px;
}

.test-bot-slider-item a {
  overflow: hidden;
  display: flex;
  border-radius: 0;
  transition: var(--default-transition);
}

.test-bot-slider-item a .img-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0F6295;
  background: linear-gradient(0deg, rgba(15, 98, 149, 1) 0%, rgba(52, 58, 115, 1) 100%);
  transition: var(--default-transition);
  opacity: 0;
  z-index: 10;
}


.test-bot-slider-item a img {
  transition: var(--default-transition);
}

/* Hover */
.test-bot-slider-item a:hover img {
  transform: scale(1.1);
}

.test-bot-slider-item a:hover .img-wrapper::before {
  opacity: 0.5;
}

.test-bot-slider-item a:hover {
  border-radius: 20px;
}

.test-slider:hover .bg-canvas {
  opacity: 0.2;
} 

/* Blogs */
.blog-wrap {
  padding: 0 30px;
}

.blog-wrap-inner {
    padding: 80px 15px 96px;
}

.blog-wrap .sec-bg {
  height: 70%;
  opacity: 0.1;
}

.blog-wrap-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 70%;
  background: var(--secondary);
  z-index: 0;
}

.blog-wrap-inner::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 70%;
  background: #ffffff;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80%);
  z-index: 3;
}

.blog-container {
  max-width: 1670px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

.blog-holder-wrap {
    padding: 76px 0 0;
}

.blog-holder {
  margin: 0 clamp(-15px,-1.82vw,-35px);
}

.blog-item {
  width: calc(100% / 3);
  padding: 0 clamp(15px,1.82vw,35px);
}

.blog-item a {
  display: block;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #fff;
  transition: var(--default-transition);
}

.blog-item a .img-wrapper {
  overflow: hidden;
}

.blog-item a .img-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0F6295;
  background: linear-gradient(0deg, rgba(15, 98, 149, 1) 0%, rgba(52, 58, 115, 1) 100%);
  transition: var(--default-transition);
  opacity: 0;
  z-index: 10;
}

.blog-item a img {
  transition: var(--default-transition);
}

.blog-item-content {
  border-top: 4px solid var(--accent);
  padding: 20px 35px 15px;
  min-height: 335px;
}

.blog-item-content h3 {
  text-transform: uppercase;
  line-height: 1.35;
  font-size: clamp(20px,1.3vw,25px);
  font-weight: 700;
  color: #000;
  position: relative;
  margin: 0 0 14px;
  min-height: clamp(54px,3.54vw,68px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-item-content h3::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  height: 15px;
  width: 15px;
  background: var(--accent);
  transform: rotate(45deg);
}

.blog-item-content-inner {
  max-width: 382px;
  width: 100%;
  margin: auto;
}

.blog-item-date {
  font-size: clamp(16px,1.15vw,22px);
  font-family: var(--font-family-title-alt);
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #000;
}

.blog-item-desc {
  min-height: 84px;
  font-size: clamp(16px,1.15vw,22px);
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #000;
  line-height: 1.25;
  margin: 30px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-item-btn {
  font-size: clamp(16px,1.15vw,22px);
  font-family: var(--font-family-title-alt);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #000;
  text-transform: uppercase;
  transition: var(--default-transition);
}

.blog-btn {
  margin: 50px 0 0;
}

.blog-btn a {
    margin: auto;
}

/* Hover */
.blog-item a:hover img {
  transform: scale(1.2);
} 

.blog-item a:hover .blog-item-btn {
  color: var(--accent);
}

.blog-item a:hover {
  transform: translateY(-15px);
}

.blog-item a:hover .img-wrapper::before {
  opacity: 0.5;
}

/* Contact */
.contact-wrap {
  background: var(--secondary);
  padding: 139px 0 136px;
}

.contact-wrap .sec-bg {
  opacity: 0.1;
}

.contact-container {
  max-width: 1170px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

.contact-content {
  width: 35.0878%;
}

.contact-txt {
  color: #fff;
  font-size: clamp(18px,1.35vw,26px);
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 30px 0 45px;
}

.contact-form {
  width: 64.9122%;
}

.contact-form-wrap {
    background: var(--light);
    padding: 90px 15px 66px;
}

.contact-form-inner {
    /* min-height: 525px; */
    max-width: 614px;
    width: 100%;
    margin: auto;
    position: relative;
}

.cf-half {
  margin: 0 -7px;
}

.cf-half .cf-field {
  width: 50%;
  padding: 0 7px;
}

.cf-row {
    margin-bottom: 20px;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  height: 46px;
  border: 0;
  border-bottom: 1px solid var(--dark);
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-family-default);
  text-transform: uppercase;
  color: var(--dark);
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--dark);
  opacity: 1; /* Firefox */
}

.cf-field input::-ms-input-placeholder,
.cf-field textarea::-ms-input-placeholder { /* Edge 12 -18 */
  color: var(--dark);
}

.cf-field textarea {
  height: 70px;
  resize: none;
  margin: 16px 0 0;
}

.cf-field input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 220px;
  width: 100%;
  height: 60px;
  border-radius: 10px !important;
  font-family: var(--font-family-title);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 2.4px;
  background: var(--secondary);
  color: var(--light);
  border: 0;
  transition: var(--default-transition);
  cursor: pointer;
}

.cf-field input[type="submit"]:hover {
  background: var(--accent);
  color: var(--dark);
}

.cf-field-submit input {
    margin: 0 0 0 auto;
}

.contact-form-box p {
  margin: 0;
}

.contact-form-txt {
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-family-title-alt);
  letter-spacing: 1.1px;
  color: #000;
  margin: 0;
}

.cf-field-submit .wpcf7-spinner {
  position: absolute;
  margin: 0;
}

.contact-form .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    left: 15px;
    top: 0;
    width: auto;
}

.contact-form .wpcf7 form .wpcf7-response-output {
    margin: 0;
    text-align: center;
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
}

.contact-btn i {
  margin: 0 10px 0 0;
  position: relative;
  z-index: 10;
}

/* Footer */
.footer {
  background: var(--secondary);
  padding: 125px 0 38px;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

.footer-left {
  width: 365px;
}

.footer-logo a {
    display: flex;
    max-width: 365px;
    width: 100%;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-right {
  width: calc(100% - 365px);
}

.footer-logo-txt {
  font-size: clamp(15px,1.04vw,20px);
  font-weight: 400;
  letter-spacing: 1.4px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin: 26px 0 0;
}

.footer-right-col h3 {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--font-family-title-alt);
  letter-spacing: 1.4px;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 30px;
}

.footer-right-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.footer-right-col ul a {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
}

.footer-right-col {
  margin: 0 clamp(25px,4.17vw,80px) 0 0;
}

.footer-right-col:last-child {
  margin: 0;
}

.fcontact ul li:last-child {
  margin: 30px 0 0;
}

.footer-copyright {
  letter-spacing: 0.8px;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  border-top: 1px solid #fff;
  margin: 30px 0 0;
  padding: 30px 0 0;
}

.footer a {
  transition: var(--default-transition);
}

.footer a:hover {
  color: var(--accent);
}

/* Mobile */
/*Mobile header*/
.mobile-header{
  position: fixed;
  left: 0;
  /* top: 0; */
  width: 100%;
  background: #fff;
  font-size: 0;
  display: none;
  z-index: 1040;
  box-shadow: 0px -4px 19px rgba(0, 0, 0, 0.35);
}

  .mobile-field{
    display: inline-block;
    vertical-align: top;
    width:33.33333%;
    height: 50px;
    text-align: center;
  }

  .mobile-field-email{
    border-left: 1px solid #f9f9f9;
    border-right: 1px solid #f9f9f9;
  }

  .mobile-field a{
    display: block;
    height: 100%;
    color: var(--primary);
  }

  .mobile-field i{
    font-size: 23px;
    display: inline-block;
    line-height: 50px;
  }

.mobile-nav-wrap{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 1035;
    padding-top: 70px;
    text-align: center;
    display: none;
	height: 100%;
	overflow: auto;
}

.mobile-nav .main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav .main-menu li{
  display: block;
}

.mobile-nav .main-menu li a{
  font-size: 18px;
  text-transform: uppercase;
  display: block;
  color: var(--primary);
  padding: 7px 3px !important;
  border-top: 1px solid #fdfdfd;
}

.mobile-contact a {
  color: #fff;
  font-size: 16px;
  display: inline-block;
}

.mobile-contact {
  padding-top: 10px;
  display: none;
}

.mobile-nav .main-menu .sub-menu {
  padding: 0;
  display: none;
}

/* IP Banner */
.ip-banner {
    position: relative;
    width: 100%;
}

.ip-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    background: #0F6295;
    background: linear-gradient(0deg, rgba(15, 98, 149, 1) 0%, rgba(52, 58, 115, 1) 100%);
    opacity: 0.8;
  }

.ip-banner canvas {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 250px;
    background-color: var(--dark);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(1);
}

.ip-banner-title {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 100;
    padding: 0 15px;
}

.ip-banner-breadcrumbs,
.ip-banner-breadcrumbs a {
  color: #fff;
}

#breadcrumbs {
    margin: 20px 0 0;
    font-size: clamp(14px,0.89vw,17px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#breadcrumbs .breadcrumb_last {
  font-weight: 700;
  color: var(--accent);
}

.entry-title-banner {
    font-family: var(--font-family-title-alt);
    font-size: clamp(35px, 2.6vw, 50px);
    font-weight: 400;
    letter-spacing: 3.5px;
    color: var(--light);
    line-height: 1;
    text-align: center;
    margin: 50px 0 0;
}

.entry-content {
    min-height: 500px;
    font-size: 16px;
}

#inner-page-wrapper {
    padding: 30px 0;
}

@media only screen and (max-width : 1024px) {
  /* Global */
  .hidden-mb {
    display: none !important;
  }

  .entry-title-banner {
    margin: 0;
  }

  /* Header */
  .header {
    position: relative;
    background: var(--primary);
    padding: 62px 15px 10px;
  }

  .header-logo {
    width: 250px;
    margin: auto;
  }
  
  .mobile-header{
	    display: block;
	}
	
	.mobile-contact{
		display: block;
	}
	
	.mobile-nav{
		overflow: auto;
	}
	
	.mobile-nav .main-menu .sub-menu{
		position: relative;
		min-width: 100%;
	}
	
	.mobile-nav .main-menu .sub-menu li a{
		background: var(--secondary);
    color: #fff;
	}

  .mobile-nav .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
  }

	.menu{
		margin: 0;
	}

  /* Hero Slider */
  .hero-style .slide-title h2 {
    margin: auto;
    font-size: clamp(45px,4.17vw,80px);
  }

  .slide-btns {
    flex-direction: column;
  }

  .slide-btns > a:first-child {
    margin: 0 0 15px;
  }

  .swiper-slide-content {
    padding: 0;
  }

  /* About Us */
  .story-col {
    width: 100%;
  }

  .story-img {
    padding: 30px 15px;
  }

  .story-img::before {
    display: none;
  }

  .story-img .img-wrapper {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }

  .story-img canvas {
    min-height: auto;
  }

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

  /* Memorial Accommodation */
  .ma-wrap {
    padding: 50px 0;
  }

  .ma-col {
    width: 100%;
  }

  .ma-left {
    min-height: auto;
    padding: 50px 15px;
  }

  .ma-right {
    padding: 15px;
  }

  .ma-lg-item-inner {
    max-width: 100%;
  }

  .ma-lg-item-img span {
    width: 100%;
    text-align: center;
  }

  .ma-lg-item-content-desc {
    padding: 0 15px 30px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    margin: auto;
  }

  .ma-lg-item-content-btn {
    width: 100%;
  }

  .ma-lg-item-content-btn a {
    margin: auto;
  }

  .ma-navs-holder {
    width: 100%;
  }

  .ma-btn-holder-wrap {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
  }

  .ma-desc {
    text-align: center;
  }

  .ma-left .global-title.left {
    text-align: center;
    align-items: center;
  }

  .ma-left .global-title.left::after {
    margin: auto;
    left: 0;
  }

  /* Testimonials */
  .test-top-col {
    width: 100%;
  }
  
  .test-wrap {
    padding: 50px 0;
  }

  .test-content .test-top-col-inner {
    max-width: 100%;
  }
  
  .test-content {
    padding: 0 0 30px;
  }

  /* Blog */
  .blog-wrap {
    padding: 0;
  }

  .blog-wrap-inner {
    padding: 80px 0 96px;
  }

  .blog-item {
    width: 100%;
    margin: 0 auto 20px;
    padding: 0;
  }

  .blog-holder {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }

  /* Contact */
  .contact-col .global-title.left {
    text-align: center;
    align-items: center;
  }

  .contact-col .global-title.left::after {
    margin: auto;
    left: 0;
  }

  .contact-col {
    width: 100%;
  }

  .contact-content {
    padding: 0 0 30px;
    text-align: center;
  }

  .cf-half .cf-field {
    width: 100%;
  }

  .contact-btn a {
    margin: auto;
  }

  /* Footer */
  .footer-left {
    width: 100%;
  }

  .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .footer-right {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-right-col {
    margin: 30px auto 0 !important;
    text-align: center;
  }
}