/*
Theme Name: Nova - Child
Version: 587
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

/* Carousel */
@import url("../mts_schema/style.css");

/* general */

/* New */
.top-bar * {
    color: inherit !important;
}

.home .header-spacer {
    display: none;
}

#header .logo-wrap {
    float: none;
}

.logo-wrap {
    margin: 0px !important;
}

.logo-wrap img {
    max-width: 300px;
    display: block;
    filter: brightness(0);
}

:root {
	--text-dark: #13253e;       
	--text-light: #5a6b7c;      
	--white: #ffffff;
	--light-bg: #f4f7fa;         
	--shadow: 0 10px 30px rgba(19, 37, 62, 0.08);
	--radius: 16px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	line-height: 1.6;
	background-color: var(--white);
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Animation Classes */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.8s ease-out;
}
.reveal-left.active { opacity: 1; transform: translateX(0); }

.reveal-right {
	opacity: 0;
	transform: translateX(50px);
	transition: all 0.8s ease-out;
}
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* Buttons */
html .btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 1px;
	border: none;
	color: #fff;
	text-align: center;
	background: linear-gradient(135deg, var(--pColor), var(--aColor));
}

html .btn-primary {
	background: linear-gradient(135deg, var(--pColor), var(--aColor));
	color: var(
	--white);
	box-shadow: 0 4px 15px rgba(50, 97, 163, 0.3);
	border-radius: 50px;
}

.btn-primary:hover {
	background: linear-gradient(135deg, var(--sColor), var(--pColor));
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(50, 97, 163, 0.4);
	color: #fff;
}

.btn-outline {
	background-color: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-outline:hover {
	background-color: var(--white);
	color: var(--pColor);
}

/* Top Bar */
.top-bar {
	background-color: var(--sColor);
	color: var(--white);
	padding: 8px 0;
	font-size: 1.1rem;
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.contact-info span {
	margin-right: 25px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	opacity: 0.9;
}

.contact-info i { color: var(--aColor); }

/* Navbar */
.navbar {
	background: var(--white);
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 0.5rem 0;
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--sColor);
	display: flex;
	align-items: center;
	gap: 12px;
	letter-spacing: -0.5px;
}

.logo i {
	color: var(--pColor);
	font-size: 1.8rem;
}

.nav-menu {
	display: flex;
	list-style: none;
	align-items: center;
	gap: 30px;
	margin: 0px;
	padding: 0px;
}

.nav-menu a {
	font-weight: 600;
	color: var(--text-dark);
	font-size: 0.95rem;
	position: relative;
}

/* Nav link hover effect */
.nav-menu > li > a:not(.btn)::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -4px;
	left: 0;
	background-color: var(--aColor);
	transition: width 0.3s;
}

.nav-menu > li > a:not(.btn):hover::after {
	width: 100%;
}

.nav-menu a:hover {
	color: var(--pColor);
}

/* Dropdown Menu Styles */
.dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--white);
	width: 240px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	transition: all 0.3s ease;
	list-style: none;
	padding: 10px 0;
	z-index: 1100;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu li {
	margin: 0;
}

.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: var(--text-dark);
	font-size: 0.9rem;
	border-bottom: 1px solid rgba(0,0,0,0.03);
	transition: all 0.2s;
}

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

.dropdown-menu a:hover {
	background-color: var(--light-bg);
	color: var(--pColor);
	padding-left: 25px;
}

/* Dropdown arrow rotation */
.dropdown > a i {
	transition: transform 0.3s;
}
.dropdown:hover > a i {
	transform: rotate(180deg);
}

/* Mobile Menu */
.hamburger {
	display: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: var(--sColor);
	transition: all 0.3s ease;
}

/* Hero Section */
.hero {
	position: relative;
	background: linear-gradient(var(--sColor), var(--pColor));
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	color: var(
	--white);
}

.hero-content {
	max-width: 800px;
	animation: fadeIn 1s ease-out;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0px;
	right: 0px;
	max-width: 1200px;
	margin: 0px auto;
	padding: 0px 15px;
}

.hero h2 {
	font-size: 3.8rem;
	line-height: 1;
	margin-bottom: 25px;
	color: var(--white);
	text-shadow: 0 2px 10px rgba(0,0,0,0.2);
	margin-bottom: 10px;
}

.hero p {
	font-size: 1.25rem;
	margin-bottom: 30px;
	opacity: 0.95;
	max-width: 600px;
	font-weight: 300;
	margin-top: 15px;
}

/* Services Grid - Modern Image Cards */
.services {
	padding: 100px 0;
	background-color: #9b7ea11c;
}

.section-header {
	margin-bottom: 70px;
}

.section-header h2 {
	font-size: 2.8rem;
	margin-bottom: 15px;
	color: var(--sColor);
}

.section-header .subtitle {
	display: block;
	color: var(--aColor);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.section-header p {
	color: var(--text-light);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

/* Modern Image Service Card */
.service-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(19, 37, 62, 0.15);
}

.service-img-wrapper {
	height: 220px;
	overflow: hidden;
	position: relative;
}

.service-img-wrapper img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
	transform: scale(1.05);
}

.service-overlay {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: linear-gradient(to top, rgba(19, 37, 62, 0.4), transparent);
}

.service-content {
	padding: 30px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--sColor);
}

.service-card p {
	color: var(--text-light);
	margin-bottom: 25px;
	font-size: 0.95rem;
	flex-grow: 1;
}

.service-link {
	color: var(--pColor);
	font-weight: 700;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.service-link i {
	font-size: 0.8rem;
	transition: transform 0.3s;
}

.service-link:hover i {
	transform: translateX(5px);
}

/* About Section */
.about {
	padding: 120px 0;
	position: relative;
	/* Simple yet impactful background pattern - Modern Dot Grid */
	background-color: #9b7ea12b;
	background-image: radial-gradient(rgb(0 0 0 / 15%) 1.5px, transparent 1.5px);
	background-size: 30px 30px;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0; /* Removing gap for seamless look, or keep small gap for card look */
	align-items: stretch; /* CRITICAL: Forces equal height for image and text */
	background: white;
	border-radius: var(--radius);
	box-shadow: 0 20px 50px rgba(0,0,0,0.1);
	overflow: hidden; /* Round corners for children */
}

.about-img {
	position: relative;
	height: 100%;
	min-height: 450px; /* Ensure height on mobile */
}

.about-img img {
	width: 100%;
	height: 100% !important; /* Stretch to fill container */
	object-fit: cover; /* Crop to fit */
	display: block;
	object-position: 82% 50%;
}

.about-text {
	padding: 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--white);
}

.about-text h4 {
	color: var(--aColor);
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.about-text h2 {
	margin-bottom: 25px;
	line-height: 1.2;
}

.about-text .lead {
	font-size: 1.15rem;
	color: var(--pColor);
	font-weight: 600;
	margin-bottom: 20px;
}

.about-text p {
	color: var(--text-light);
	margin-bottom: 15px;
}

.check-list {
	list-style: none;
	margin: 30px 0;
	padding: 0px;
}

.check-list li {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--text-dark);
	font-weight: 500;
	font-size: 14px;
}

.check-list i {
	color: var(--aColor);
	background: rgba(14, 151, 125, 0.1);
	padding: 5px;
	border-radius: 50%;
}

/* Testimonials Section */
.testimonials {
	padding: 100px 0;
	background-color: var(--sColor); /* Dark Navy BG */
	color: var(--white);
	text-align: center;
}

.testimonials h2 { color: var(--white); }
.testimonials p { color: rgba(255,255,255,0.7); }

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 60px;
}

.testimonial-card {
	background: rgba(255,255,255,0.05); /* Glassmorphism effect */
	backdrop-filter: blur(10px);
	padding: 40px;
	border-radius: var(--radius);
	border: 1px solid rgba(255,255,255,0.1);
	text-align: left;
}

.testimonial-card i.quote-icon {
	font-size: 2rem;
	color: var(--aColor);
	margin-bottom: 20px;
	display: block;
}

.testimonial-text {
	font-style: italic;
	font-size: 1.1rem;
	margin-bottom: 25px;
	color: rgba(255,255,255,0.9);
	line-height: 1.7;
}

.client-info .testimonialname{
	font-size: 1.1rem;
	margin-bottom: 5px;
	color: var(--white);
}

.client-info span {
	color: var(--aColor);
	font-size: 0.9rem;
	font-weight: 600;
}

/* Contact Section & Form */
.contact-section {
	padding: 100px 0;
	background-color: var(--light-bg);
}

.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.contact-info-panel {
	background-color: var(--pColor);
	color: var(--white);
	padding: 60px;
	position: relative;
	overflow: hidden;
}

.contact-info-panel::after {
	content: '';
	position: absolute;
	bottom: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
}

.contact-info-panel h3 {
	color: var(--white);
	margin-bottom: 20px;
	font-size: 1.8rem;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 30px;
}

.info-item i {
	font-size: 1.4rem;
	color: #fff;
	background: rgba(255,255,255,0.1);
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	margin-top: -5px;
}

.info-item h4 {
	color: var(--white);
	margin-bottom: 5px;
	font-size: 1.1rem;
}

.info-item p {
	color: rgba(255,255,255,0.8);
	font-size: 0.95rem;
	margin-bottom: 0;
}

.contact-form-panel {
	padding: 40px;
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	color: var(--sColor);
	font-size: 0.9rem;
}

.form-control {
	width: 100%;
	padding: 15px 20px;
	border: 2px solid #edf2f7;
	border-radius: 10px;
	font-family: var(--font-body);
	font-size: 1rem;
	transition: 0.3s;
	background-color: #fcfcfc;
}

.form-control:focus {
	outline: none;
	border-color: var(--pColor);
	background-color: var(--white);
	box-shadow: 0 0 0 4px rgba(50, 97, 163, 0.1);
}

textarea.form-control {
	resize: vertical;
	min-height: 140px;
}

/* Footer */
footer {
	background-color: var(--sColor);
	color: #bdc3c7;
	padding: 80px 0 20px;
}

.footer-content {
	/* display: flex; */
	/* gap: 50px; */
	margin-bottom: 60px;
	align-items: flex-start;
}

.footer-col h3 {
	color: var(--white);
	font-size: 1.3rem;
	margin-bottom: 25px;
	position: relative;
	display: inline-block;
}

.footer-col h3::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 40px;
	height: 3px;
	background-color: var(--aColor);
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 15px;
}

.footer-col ul li a {
	color: #a0aec0;
	transition: 0.3s;
}

.footer-col ul li a:hover {
	color: var(--aColor);
	padding-left: 5px;
}

.social-links a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,0.1);
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-right: 10px;
	transition: 0.3s;
	color: var(--white);
}

.social-links a:hover {
	background: var(--pColor);
	transform: translateY(-3px);
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 30px;
	text-align: center;
	font-size: 0.9rem;
	color: #718096;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 { font-size: 2.8rem; }
	.about-content { grid-template-columns: 1fr; gap: 0; box-shadow: none; background: transparent; }
	.about-content > div { border-radius: var(--radius); }
	.about-img { height: 300px; min-height: 0; margin-bottom: 20px; }
	.about-text { padding: 30px; box-shadow: var(--shadow); }

	.contact-wrapper { grid-template-columns: 1fr; }
	.contact-info-panel, .contact-form-panel { padding: 40px 20px; }
	.top-bar .container { justify-content: center; flex-direction: column; gap: 8px; }
	.contact-info { display: none; }
	.hamburger { display: block; }

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 104px;
		flex-direction: column;
		background-color: var(--white);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		padding: 30px 0;
		box-shadow: 0 15px 30px rgba(0,0,0,0.1);
		border-top: 1px solid #eee;
		overflow-y: auto;
		padding: 0px;
		height: calc(100vh - 104px);
	}

	.nav-menu.active { left: 0; }

	/* Mobile Dropdown styles */
	.nav-menu { gap: 0; }
	.nav-menu > li {width: 100%;text-align: left;}
	.nav-menu > li > a { 
		display: block; 
		padding: 15px; 
		border-bottom: 1px solid #eee;
	}
	.nav-menu > li > a:not(.btn)::after { display: none; } /* Remove hover underline on mobile */

	.dropdown-menu {
		position: static;
		visibility: visible;
		opacity: 1;
		transform: none;
		box-shadow: none;
		width: 100%;
		padding: 0;
		background-color: #f9f9f9;
		display: block; /* Show default for now on mobile */
	}

	.dropdown-menu a {
		padding-left: 30px;
		font-size: 0.85rem;
	}
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/**/

.info-item a {
    color: #fff;
}

ul#menu-main-menu .btn a {
    color: #fff !important;
}

header.hero > video {
    height: 100% !important;
    width: 100% !important;
    position: absolute;
    top: 0px;
    left: 0px;
    object-fit: cover;
    opacity: 0.2;
}

html #blog div#page {
    padding: 0px !important;
}

header {
    float: none;
}

.mobile_cta_buttons.hide-d.mobile-btn {
    padding: 20px;
    text-align: center;
    @media (min-width: 881px) {
        display: none;
    }
}

.mobile_cta_buttons.hide-d.mobile-btn p a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
}

.dm-flex.footer-content h3 {
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    color: #fff;
}

.dm-flex.footer-content a {
    color: #fff;
}

.dm-flex.footer-content p {
    margin-bottom: 10px;
}

footer#site-footer {
    margin: 0px;
}

.dm-flex.footer-content .social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    color: var(--white);
}

footer#site-footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--aColor);
}

.footer-bottom p {
    margin: 0px 0px 5px;
}

.footer-bottom * {
    color: #fff;
}

.footer-bottom a {
    font-weight: bold;
}

.sub-footer .container {
    width: 100%;
}

span.hiddenRest {
    display: none;
    padding-left: 5px;
}

p.testimonial-text span.read_more {
    font-weight: bold;
}

@media (max-width: 880px) {
	div.header-social-icons {
		background: transparent;
	}

	ul#menu-main-menu .btn {
		padding: 0px;
		border-radius: 0px;
	}
	.top-bar {
	    display: none;
	}
	
	#logo {
	    margin: 0px;
	}
	
	.logo-wrap img {
	    max-width: 250px;
	    margin: 0px auto;
	    margin-left: 0px !important;
	    display: block;
	}
	
	div.header-social-icons {
	    background: transparent;
	    float: none;
	}
	
	a.sticks {
	    border: 0px;
	    background: var(--aColor);
	}
	
	a.sticks + a {
	    background: var(--sColor);
	}
}

.contact-form-panel li input {
    height: 40px;
    border-radius: 20px;
}

.contact-form-panel #field_2_6 input {
    height: auto;
}

.contact-form-panel li textarea {
    border-radius: 20px;
}

html .mobile-menu-active .main-container {
    left: 0px;
}

.trigger-menu {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    background: var(--pColor);
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.nav-menu > li {
    position: relative;
}

@media (min-width: 881px) {
	#menu-main-menu li .sub-menu li a {
    padding: 10px;
}
	#menu-main-menu li .sub-menu .sub-menu {
    top: 0px;
    left: 100% !important;
}
	.trigger-menu {
		display: none;
	}
  #menu-main-menu li .sub-menu {
    position: absolute;
    left: 0px;
    top: 100%;
    background: #fff;
    padding: 0px;
    margin: 0px;
    width: 200px;
    box-shadow: 0px 1px 10px #0000000d;
    left: 0px !important;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  #menu-main-menu li {
    position: relative;
  }
  #menu-main-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 880px) {
  .sub-menu {
    background: var(--pColor);
    padding: 10px 20px;
    list-style: none;
    display: none;
  }
  .sub-menu * {
    color: #fff !important;
  }
}

.primary-ser-container.clearfix.hide-xs {
    width: 100%;
}

.newCon {
    opacity: 0.3;
}

.slide-c p a {
    color: #fff;
    font-weight: bold;
}

li#menu-item-728.btn-primary a {
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff !important;
}


.section-header p:nth-child(1) {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#logo img:nth-child(2) {
    filter: none;
    max-width: 200px;
    display: block;
    margin: 0px auto;
    position: relative;
    top: -10px;
}

#logo {
    margin: 0px;
}

#logo a {
    display: block;
}

.hero-content > * {
    max-width: 700px;
}
