/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
	--background-color: #c8bda4; /* Background color for the entire website, including individual sections */
	--default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
	--heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
	--accent-color: #007dbb; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
	--surface-color: #000000; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
	--contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
	--nav-color: #ffffff; /* The default color of the main navmenu links */
	--nav-hover-color: #007dbb; /* Applied to main navmenu links when they are hovered over or active */
	--nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
	--nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
	--nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
	--nav-dropdown-hover-color: #007dbb; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
	--background-color: #232121;
	--surface-color: #000000;
}

.dark-background {
	--background-color: #2c2f2f;
	--default-color: #ffffff;
	--heading-color: #ffffff;
	--surface-color: #292a2b;
	--contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
	scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
	color: var(--default-color);
	background-color: var(--background-color);
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: color-mix(in srgb, var(--accent-color), transparent 25%);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color);
	font-family: 'Dancing Script', cursive;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
	display: none;
	background: #df1529;
	color: #ffffff;
	text-align: left;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.php-email-form .sent-message {
	display: none;
	color: #ffffff;
	background: #059652;
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.php-email-form .loading {
	display: none;
	background: var(--surface-color);
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
}

.php-email-form .loading:before {
	content: '';
	display: inline-block;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: 0 10px -6px 0;
	border: 3px solid var(--accent-color);
	border-top-color: var(--surface-color);
	animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
	--background-color: rgba(0, 0, 0, 0);
	--default-color: #ffffff;
	--heading-color: #ffffff;
	color: var(--default-color);
	background-color: black;
	padding: 10px 0;
	transition: all 0.5s;
	z-index: 997;
	border-bottom: 1px solid
		color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .logo {
	line-height: 1;
}

.header .logo img {
	max-height: 36px;
	margin-right: 8px;
}

.header .logo h1 {
	font-size: 35px;
	margin: 0;
	font-weight: 700;
	color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
	color: var(--contrast-color);
	background: var(--accent-color);
	font-size: 18px;
	padding: 8px 26px;
	margin: 0;
	border-radius: 50px;
	transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
	color: var(--contrast-color);
	background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
	.header .logo {
		order: 1;
	}

	.header .logo h1 {
		font-size: 30px;
	}

	.header .cta-btn {
		order: 2;
		margin: 0 15px 0 0;
		padding: 6px 20px;
	}

	.header .navmenu {
		order: 3;
	}
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
	--background-color: rgba(40, 40, 40, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
	.navmenu {
		padding: 0;
	}

	.navmenu ul {
		margin: 0;
		padding: 0;
		display: flex;
		list-style: none;
		align-items: center;
	}

	.navmenu li {
		position: relative;
	}

	.navmenu > ul > li {
		white-space: nowrap;
		padding: 15px 14px;
	}

	.navmenu > ul > li:last-child {
		padding-right: 0;
	}

	.navmenu a,
	.navmenu a:focus {
		color: color-mix(in srgb, var(--nav-color), transparent 30%);
		font-size: 20px;
		padding: 0 2px;
		font-family: 'Dancing Script', cursive;
		font-weight: 400;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: 0.3s;
		position: relative;
	}

	.navmenu a i,
	.navmenu a:focus i {
		font-size: 18px;
		line-height: 0;
		margin-left: 5px;
		transition: 0.3s;
	}

	.navmenu > ul > li > a:before {
		content: '';
		position: absolute;
		height: 2px;
		bottom: -27px;
		left: 0;
		background-color: var(--nav-hover-color);
		visibility: hidden;
		width: 0px;
		transition: all 0.3s ease-in-out 0s;
	}

	.navmenu a:hover:before,
	.navmenu li:hover > a:before,
	.navmenu .active:before {
		visibility: visible;
		width: 100%;
	}

	.navmenu li:hover > a,
	.navmenu .active,
	.navmenu .active:focus {
		color: var(--nav-color);
	}

	.navmenu .dropdown ul {
		margin: 0;
		padding: 10px 0;
		background: var(--nav-dropdown-background-color);
		display: block;
		position: absolute;
		visibility: hidden;
		left: 14px;
		top: 130%;
		opacity: 0;
		transition: 0.3s;
		border-radius: 4px;
		z-index: 99;
		box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	}

	.navmenu .dropdown ul li {
		min-width: 200px;
	}

	.navmenu .dropdown ul a {
		padding: 10px 20px;
		font-size: 19px;
		text-transform: none;
		color: var(--nav-dropdown-color);
	}

	.navmenu .dropdown ul a i {
		font-size: 18px;
	}

	.navmenu .dropdown ul a:hover,
	.navmenu .dropdown ul .active:hover,
	.navmenu .dropdown ul li:hover > a {
		color: var(--nav-dropdown-hover-color);
	}

	.navmenu .dropdown:hover > ul {
		opacity: 1;
		top: 100%;
		visibility: visible;
	}

	.navmenu .dropdown .dropdown ul {
		top: 0;
		left: -90%;
		visibility: hidden;
	}

	.navmenu .dropdown .dropdown:hover > ul {
		opacity: 1;
		top: 0;
		left: -100%;
		visibility: visible;
	}
}

/* Mobile Navigation */
@media (max-width: 1199px) {
	.mobile-nav-toggle {
		color: var(--nav-color);
		font-size: 35px;
		line-height: 0;
		margin-right: 10px;
		cursor: pointer;
		transition: color 0.3s;
	}

	.navmenu {
		padding: 0;
		z-index: 9997;
	}

	.navmenu ul {
		display: none;
		list-style: none;
		position: absolute;
		inset: 60px 20px 20px 20px;
		padding: 10px 0;
		margin: 0;
		border-radius: 6px;
		background-color: var(--nav-mobile-background-color);
		border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
		box-shadow: none;
		overflow-y: auto;
		transition: 0.3s;
		z-index: 9998;
	}

	.navmenu a,
	.navmenu a:focus {
		color: var(--nav-dropdown-color);
		padding: 10px 20px;
		font-family: 'Dancing Script', cursive;
		font-size: 25px;
		font-weight: 500;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: 0.3s;
	}

	.navmenu a i,
	.navmenu a:focus i {
		font-size: 16px;
		line-height: 0;
		margin-left: 5px;
		width: 30px;
		height: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		transition: 0.3s;
		background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
	}

	.navmenu a i:hover,
	.navmenu a:focus i:hover {
		background-color: var(--accent-color);
		color: var(--contrast-color);
	}

	.navmenu a:hover,
	.navmenu .active,
	.navmenu .active:focus {
		color: var(--nav-dropdown-hover-color);
	}

	.navmenu .active i,
	.navmenu .active:focus i {
		background-color: var(--accent-color);
		color: var(--contrast-color);
		transform: rotate(180deg);
	}

	.navmenu .dropdown ul {
		position: static;
		display: none;
		z-index: 99;
		padding: 10px 0;
		margin: 10px 20px;
		background-color: var(--nav-dropdown-background-color);
		transition: all 0.5s ease-in-out;
	}

	.navmenu .dropdown ul ul {
		background-color: rgba(33, 37, 41, 0.1);
	}

	.navmenu .dropdown > .dropdown-active {
		display: block;
		background-color: rgba(33, 37, 41, 0.03);
	}

	.mobile-nav-active {
		overflow: hidden;
	}

	.mobile-nav-active .mobile-nav-toggle {
		color: #fff;
		position: absolute;
		font-size: 35px;
		top: 15px;
		right: 15px;
		margin-right: 0;
		z-index: 9999;
	}

	.mobile-nav-active .navmenu {
		position: fixed;
		overflow: hidden;
		inset: 0;
		background: rgba(33, 37, 41, 0.8);
		transition: 0.3s;
	}

	.mobile-nav-active .navmenu > ul {
		display: block;
	}
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
	color: var(--default-color);
	background-color: var(--background-color);
	font-size: 16px;
	text-align: center;
	padding: 30px 0;
	position: relative;
}

.footer h3 {
	font-size: 40px;
	font-weight: 700;
	position: relative;
	padding: 0;
	margin: 0 0 15px 0;
}

.footer p {
	font-size: 18px;
	font-style: italic;
	padding: 0;
	margin: 0 0 30px 0;
}

.footer .social-links {
	margin: 0 0 30px 0;
}

.footer .social-links a {
	font-size: 19px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-color);
	color: var(--contrast-color);
	line-height: 1;
	margin: 0 4px;
	border-radius: 50%;
	text-align: center;
	width: 36px;
	height: 36px;
	transition: 0.3s;
}

.footer .social-links a:hover {
	background: color-mix(in srgb, var(--accent-color), transparent 20%);
	text-decoration: none;
}

.footer .copyright {
	padding-top: 25px;
	border-top: 1px solid
		color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
	font-size: 15px;
	padding-top: 5px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	[data-aos-delay] {
		transition-delay: 0 !important;
	}
}

/*
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 60px 0;
	scroll-margin-top: 72px;
	overflow: clip;
}

@media (max-width: 1199px) {
	section,
	.section {
		scroll-margin-top: 57px;
	}
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
	padding-bottom: 60px;
	position: relative;
}

.section-title h2 {
	font-size: 35px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.section-title p {
	margin-bottom: 0;
	color: color-mix(in srgb, var(--default-color) 90%, white 50%);
}

/*--------------------------------------------------------------
# school-all Section
--------------------------------------------------------------*/
.school-all {
	width: 100%;
	min-height: 100vh;
	position: relative;
	padding: 80px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.school-all img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.school-all:before {
	content: '';
	background: color-mix(in srgb, var(--background-color), transparent 30%);
	position: absolute;
	inset: 0;
	z-index: 2;
}

.school-all .container {
	position: relative;
	z-index: 3;
}

.school-all h2 {
	margin: 0;
	font-size: 49px;
	font-weight: 700;
}

.school-all p {
	color: color-mix(in srgb, var(--default-color), transparent 20%);
	margin: 10px 0 20px 0;
	font-size: 25px;
}

@media (max-width: 768px) {
	.school-all h2 {
		font-size: 34px;
		line-height: 36px;
	}

	.school-all p {
		font-size: 19px;
		line-height: 24px;
	}
}

/*--------------------------------------------------------------
# school-story Section
--------------------------------------------------------------*/

.school-story-container {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	padding: 6rem 2rem;
	background: radial-gradient(circle, #fffdfd 0%, #f9f3f3 100%);

	color: #007dbb;
	position: relative;
	overflow: hidden;
	border-radius: 16px;
}

.school-story-right {
	flex: 1 1 40%;
	min-width: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.school-story-right img {
	max-width: 100%;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
	transition:
		transform 0.5s ease,
		box-shadow 0.5s ease;
}

.school-story-right img:hover {
	transform: scale(1.03);
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.school-story-left {
	flex: 1 1 55%;
	min-width: 300px;
	padding: 0 1rem;
}

.section-title h2 {
	font-size: 55px;
	color: #007dbb;
	font-weight: 400;
	margin-bottom: 0.4rem;
}

.section-title p {
	font-size: 25px;
	color: #007dbb;
	font-style: italic;
	margin-bottom: 2.2rem;
}

.school-story .container > p {
	font-size: 20px;
	color: #007dbb;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.school-story ul {
	list-style: none;
	padding-left: 0;
	margin-top: 1.5rem;
	margin-bottom: 2rem;
}

.school-story ul li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1.2rem;
}

.school-story ul li i {
	color: #007dbb;
	font-size: 25px;
	margin-right: 12px;
	margin-top: 4px;
}

.school-story ul li span {
	font-size: 16.5px;
	font-weight: 400;
	color: #007dbb;
	line-height: 1.6;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
	.school-story-container {
		flex-direction: column;
		padding: 3rem 1.5rem;
	}

	.school-story-left,
	.school-story-right {
		flex: 1 1 100%;
		text-align: center;
	}

	.school-story .container {
		padding-left: 0;
		padding-right: 0;
	}

	.section-title h2 {
		font-size: 43px;
	}
}

/*--------------------------------------------------------------
# school-serv Section
--------------------------------------------------------------*/
.school-serv {
	position: relative;
	background: radial-gradient(circle, #fffdfd 0%, #f9f3f3 100%);
	color: #5c4a4a;
	padding: 80px 0;
}

.school-serv .subheading {
	text-align: center;
	margin-bottom: 50px;
}

.school-serv .subheading h3 {
	font-family: 'Parisienne', cursive;
	font-size: 48px;
	color: #007dbb;
	font-weight: 400;
	text-transform: none;
}

.school-serv .subheading p {
	font-size: 19px;
	color: #007dbb;
	max-width: 620px;
	margin: 0 auto;
	font-style: italic;
	line-height: 1.6;
}

.school-serv-item {
	background: #ffffff;
	border-radius: 20px;
	padding: 40px 25px;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
	border-bottom: 4px solid #007dbb;
}

.school-serv-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 50px rgba(202, 166, 165, 0.25);
}

.school-serv-item span {
	display: block;
	font-size: 49px;
	font-weight: 700;
	color: #007dbb;
	margin-bottom: 12px;
}

.school-serv-item p {
	font-size: 19px;
	font-weight: 500;
	color: #007dbb;
	margin: 0;
	text-transform: none;
	letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# school-ask Section
--------------------------------------------------------------*/

.school-ask {
	background: radial-gradient(circle, #fffdfd 0%, #f9f3f3 100%);
	color: #007dbb;
	padding: 80px 0;
	font-family: 'Playfair Display', serif;
}

.school-ask .content h3 {
	font-weight: 400;
	font-size: 45px;
	color: #007dbb;
	margin-bottom: 15px;
	text-align: center;
}

.school-ask .content p {
	font-size: 15px;
	color: #007dbb;
	font-style: italic;
	line-height: 1.6;
	text-align: center;
	max-width: 620px;
	margin: 0 auto 40px;
}

.school-ask .school-ask-container {
	margin-top: 20px;
}

.school-ask .school-ask-item {
	background-color: #ffffff;
	border-left: 5px solid #007dbb;
	position: relative;
	padding: 25px 20px 25px 55px;
	margin-bottom: 20px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.school-ask .school-ask-item:hover {
	transform: translateY(-3px);
}

.school-ask .school-ask-item h3 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 30px 0 0;
	cursor: pointer;
	color: #007dbb;
	transition: 0.3s;
}

.school-ask .school-ask-item h3:hover {
	color: #15303d;
}

.school-ask .school-ask-content {
	display: grid;
	grid-template-rows: 0fr;
	transition: 0.4s ease;
	visibility: hidden;
	opacity: 0;
	padding-left: 5px;
}

.school-ask .school-ask-content p {
	margin-top: 10px;
	color: #007dbb;
	font-size: 14px;
	line-height: 1.6;
	overflow: hidden;
}

.school-ask .school-ask-icon {
	position: absolute;
	top: 28px;
	left: 20px;
	font-size: 22px;
	color: #007dbb;
}

.school-ask .school-ask-toggle {
	position: absolute;
	top: 25px;
	right: 20px;
	font-size: 19px;
	color: #aaa;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.school-ask .school-ask-toggle:hover {
	color: #007dbb;
}

.school-ask-active h3 {
	color: #007dbb;
}

.school-ask-active .school-ask-content {
	grid-template-rows: 1fr;
	visibility: visible;
	opacity: 1;
}

.school-ask-active .school-ask-toggle {
	transform: rotate(90deg);
	color: #007dbb;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
	background: radial-gradient(circle, #fffdfd 0%, #f9f3f3 100%);
	font-family: 'Playfair Display', serif;
	color: var(--default-color);
	padding: 80px 0;
}

.contact .section-title h2 {
	font-family: 'Parisienne', cursive;
	font-size: 49px;
	color: #007dbb;
	font-weight: 400;
	margin-bottom: 0.6rem;
}

.contact .section-title p {
	font-size: 19px;
	color: #007dbb;
	font-style: italic;
	max-width: 620px;
	margin: 0 auto 3rem auto;
	line-height: 1.6;
	text-align: center;
}

.contact .php-email-form input[type='text'],
.contact .php-email-form input[type='email'],
.contact .php-email-form textarea {
	font-size: 17px;
	padding: 12px 16px;
	background-color: var(--surface-color);
	color: var(--default-color);
	border: 1px solid rgba(92, 74, 74, 0.15);
	border-radius: 12px;
	transition: border 0.3s ease;
}

.contact .php-email-form input[type='text']:focus,
.contact .php-email-form input[type='email']:focus,
.contact .php-email-form textarea:focus {
	border-color: var(--accent-color);
	outline: none;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.4);
	font-style: italic;
}

.contact .php-email-form button[type='submit'] {
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	padding: 12px 40px;
	border-radius: 30px;
	font-size: 17px;
	font-weight: 500;
	transition: background-color 0.3s ease;
	font-family: 'Playfair Display', serif;
}

.contact .php-email-form button[type='submit']:hover {
	background-color: #007dbb;
}

.footer-48201 {
	padding: 7rem 0;
	background-color: #2c2c29;
	color: #fff;
}
.footer-48201 .footer-site-logo {
	font-size: 1.5rem;
	color: #fff;
}
.footer-48201 .nav-links li {
	margin-bottom: 10px;
}
.footer-48201 .nav-links li a {
	color: #fff;
}
.footer-48201 .nav-links li a:hover {
	color: #fff;
}
.footer-48201 .btn.btn-tertiary {
	background-color: #e42c64;
	color: #fff;
	border-radius: 30px;
	border: none;
	padding: 10px 20px;
}
.footer-48201 .social li {
	display: inline-block;
}
.footer-48201 .social li a {
	color: gray;
	padding: 7px;
}
.footer-48201 .social li a:hover {
	color: #fff;
}
.footer-48201 .copyright {
	border-top: 1px solid #007dbb;
}

#cookie-popup {
	position: fixed;
	bottom: 30px;

	background: #ffffff;
	color: #333;
	padding: 20px 30px;
	font-family: 'Dancing Script', cursive;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	font-size: 16px;
	display: none;
	opacity: 0; /* Initially invisible */
	transform: translateY(50px); /* Slide up effect */
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
	max-width: 450px;
	z-index: 9999;
}

#cookie-popup.show {
	opacity: 1;
	transform: translateY(0);
}

#cookie-popup p {
	margin: 0;
	padding: 0;
}

#cookie-popup .popup-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#cookie-popup button {
	background: #007dbb;
	color: white;
	border: none;
	padding: 12px 25px;
	border-radius: 50px;
	cursor: pointer;
	font-size: 16px;
	transition:
		background-color 0.3s ease,
		transform 0.3s ease;
}

#cookie-popup button:hover {
	background: #007dbb;
	transform: scale(1.05);
}

#cookie-popup .popup-message {
	max-width: 80%;
}

#cookie-popup .popup-message a {
	color: #007dbb;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s ease;
}

#cookie-popup .popup-message a:hover {
	color: #007dbb;
}
