/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/*--------------------------------------------------------------
# Color Style
--------------------------------------------------------------*/

:root {
	--primary-white: #FFFFFF;
	--secondary-gray: #5C5C5C;
	--light-gray:  #bababa;
	--accent-aqua: #00BCD4;
	--accent-aqua-hover: #00ACC1;
	--text-dark: #333333;
	--light-bg: #e1e2e3;
	--dark-gray: #303030;
	--dark-bg: #2c2e30;
}

.futuristic-card {
	background: var(--accent-aqua-hover);
	border: 1px solid rgba(0, 206, 209, 0.15);
	border-radius: 20px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	backdrop-filter: blur(10px);
	height: 100%;	
}

.futuristic-card .card-text
{
	color: var(--primary-white);
}

.futuristic-card:hover {
	border-color: var(--accent-aqua);
	box-shadow: 0 15px 30px rgba(0, 206, 209, 0.4);
}

.icon-box {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--light-bg), #f0fdfd);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	box-shadow: inset 0 0 10px rgba(0, 206, 209, 0.1);
	color: var(--accent-aqua);
}

.card-badge {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	color: var(--primary-white);
	margin-bottom: 0.5rem;
	display: block;
}

.card-img
{
	display: block;
	width: 300px;
	height: 250px;
}

@media (max-width: 991px) {

	.card-img
	{
		display: block;
		width: 100%;
		height: 100%;
	}
	
	.card-heading 
	{
		margin: 0 auto;
		text-align: center;
	}
}

/* ----------------------------------------
   FORM BASE
---------------------------------------- */
#main-contact-form .form-control,
#main-contact-form select {
	background-color: var(--primary-white);
	color: var(--text-dark);
	border: 1px solid var(--light-gray);
	border-radius: 6px;
	padding: 0.6rem 0.75rem;
	font-size: 0.95rem;
	transition: 
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease;
}

#main-contact-form select
{
	width: 100%;
}

/* Remove Bootstrap blue glow */
#main-contact-form .form-control:focus,
#main-contact-form select:focus {
	background-color: var(--primary-white);
	border-color: var(--accent-aqua);
	box-shadow: 0 0 0 0.15rem rgba(0, 188, 212, 0.25);
	outline: none;
}

/* Subtle hover feedback */
#main-contact-form .form-control:hover,
#main-contact-form select:hover {
	border-color: var(--accent-aqua-hover);
}

/* Textarea consistency */
#main-contact-form textarea.form-control {
	resize: vertical;
	min-height: 120px;
}


/*--------------------------------------------------------------
# Global Style
--------------------------------------------------------------*/

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--primary-white);
	color: var(--text-dark);
}

ul
{
	margin-left: 2rem; 
}

.accent
{
	color: var(--accent-aqua) !important;
}

/*--------------------------------------------------------------
# Navigation Styles
--------------------------------------------------------------*/

.navbar {
	background-color: var(--primary-white);
	box-shadow: 0 5px 16px rgba(0,0,0,0.4);
	padding: 1rem 0;
}

.navbar-brand {
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--accent-aqua) !important;
	padding: 0; 
	margin: 0;
}

.navbar-nav .nav-link {
	color: var(--secondary-gray);
	font-weight: 500;
	padding: 0.5rem 1rem;
	transition: color 0.3s ease;
	text-transform: uppercase;
	margin: 0 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
	color: var(--accent-aqua);
}

.navbar-nav .nav-link.active {
	color: var(--accent-aqua);
}

 .navbar-collapse.collapse {
	transition: none !important;
}

/* === Custom MFC Dropdown - Non Bootstrap but compatible === */
.mfc-dropdown {
    position: relative;
}

.mfc-dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.mfc-dropdown-toggle::after {
    display: none !important;
}

.mfc-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    border: none;
    box-shadow: 0 5px 16px rgba(0,0,0,0.4);
    border-radius: 8px;
    background-color: var(--primary-white);
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.mfc-dropdown.show > .mfc-dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mfc-dropdown-item {
    color: var(--secondary-gray);
    padding: 0.55rem 1.2rem;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

.mfc-dropdown-item:hover,
.mfc-dropdown-item:focus {
    background-color: var(--accent-aqua);
    color: var(--primary-white);
}

/* Desktop */
@media (min-width: 992px) {
    .mfc-dropdown-menu {
        position: absolute;
        /*top: 100%;  no extra gap */
        left: 0;
        min-width: 12rem;
        pointer-events: none;
		
		top: calc(100% + 2rem); 
    }
    .mfc-dropdown:hover > .mfc-dropdown-menu,
    .mfc-dropdown.show > .mfc-dropdown-menu {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
	
	.navbar .mfc-dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 2rem;
    }
}

/* Mobile */
@media (max-width: 991px) {
    .mfc-dropdown-menu {
        position: static;
        margin-top: 0.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
        background-color: var(--primary-white);
    }
	
	.navbar-brand
	{
		width: 80%;
	}
	
	.navbar-brand img {		
		width: 80%;
		height: auto;
	}
}

/*--------------------------------------------------------------
# Admin Accordion — Dark Theme (Bootstrap 5)
--------------------------------------------------------------*/

.accordion {
  margin: 0 auto;
  background: transparent;
  border: none;
}

/* Accordion Item */
.accordion-item {
  background: transparent;
  border: none;
}

/* Accordion Header */
.accordion-header {
  margin: 0;
}

/* Accordion Button */
.accordion-button {
  background-color: var(--accent-aqua);
  color: var(--primary-white);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none !important;
  box-shadow: none;
	
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Remove Bootstrap’s default arrow */
.accordion-button::after {
  display: none !important;
}

/* Hover, Active, and Expanded states */
.accordion-button:hover,
.accordion-button:not(.collapsed),
.accordion-button:focus {
  background-color: var(--dark-bg);
  color: var(--accent-aqua);
  outline: none !important;
  box-shadow: none;
}

/* Accordion Body */
.accordion-body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  padding: 15px 20px;
}

/* Font Awesome icons inside buttons */
.accordion-button .fa,
.accordion-button .fab {
  margin-right: 12px;
}

/*--------------------------------------------------------------
# Back to Top Styles
--------------------------------------------------------------*/

.back-to-top
{
    position: fixed;
    display: none;	
	background-color: color-mix(in srgb, var(--accent-aqua) 50%, white 10%);	
	color: #FFFFFF;
	right: 45px;
    bottom: 45px;
    z-index: 99;	
	border: none;
	text-aligh: center;
	margin: 0 auto;	
}
.back-to-top:hover
{
	background: var(--accent-aqua);
	color: #FFFFFF;
}
@media(max-width: 990px)
{
	.back-to-top
	{
		right: 5px;
		bottom: 5px;	
	}
}

/* Desktop */
@media (min-width: 992px) {
    section[id] {
        scroll-margin-top: 100px; /* desktop nav height */
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    section[id] {
        scroll-margin-top: 100px; /* adjust if nav is taller on tablet */
    }
}

/* Mobile */
@media (max-width: 767px) {
    section[id] {
        scroll-margin-top: 80px; /* adjust for mobile nav height */
    }
}

/*--------------------------------------------------------------
# Carousel Hero
--------------------------------------------------------------*/

.carousel-item img
{
    height: 75vh;
    object-fit: cover;
}

.carousel-caption
{
	text-shadow: 1px 1px 2px #212121;
	z-index: 999;
}

.carousel-caption h2
{
	color: #d60c00;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero-section {
	background: linear-gradient(135deg, var(--accent-aqua) 0%, #0097A7 100%);
	color: var(--primary-white);
	padding: 4rem 0;	
	text-align: center;
}

/* Wave bottom edge */
.wave {
    position: relative;
    overflow: hidden;
    padding-bottom: 8rem;
}

.wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z' fill='%23ffffff' /%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

.wave-light {
    position: relative;
    overflow: hidden;
    padding-bottom: 8rem;
}
.wave-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z' fill='%23E1E2E3' /%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}


.hero-section h1 {
	font-size: 2.5rem;
	font-weight: 700;	
}

.hero-section p {
	margin-top: 1.5rem;
	font-size: 1.25rem;	
}

/* Buttons */
.btn-aqua {
	background-color: var(--accent-aqua);
	color: var(--primary-white);
	border: none;
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.25s ease;
}

.btn-aqua:hover {
	background-color: var(--primary-white);
	color: var(--accent-aqua-hover);
	box-shadow: 0 4px 8px rgba(0,188,212,0.3);
}

.btn-outline-aqua {
	border: 2px solid var(--accent-aqua);
	color: var(--accent-aqua);
	background-color: transparent;
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.btn-outline-aqua:hover {
	background-color: var(--accent-aqua);
	color: var(--primary-white);
}

/*--------------------------------------------------------------
# Content Sections
--------------------------------------------------------------*/

.content-section {
	padding: 80px 0;
}

.section-title {
	font-size: 2.0rem;
	font-weight: 600;
	color: var(--accent-aqua);
	margin-bottom: 1rem;
	text-align: center;
}

.section-subtitle {
	font-size: 1.125rem;
	color: var(--secondary-gray);
	text-align: center;
	margin-bottom: 3rem;
}

/*--------------------------------------------------------------
# Alternate background sections
--------------------------------------------------------------*/

.bg-light-section {
	background-color: var(--light-bg) !important;
}

/*--------------------------------------------------------------
# Futuristic White Card with Masked Notch Animation
--------------------------------------------------------------*/

.service-card
{
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem 1.5rem;
	border-radius: 16px;
	background: var(--accent-aqua-hover);
	border: 1px solid #d3d3d3; /* light gray border */
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.service-card:hover
{
	box-shadow: 0 16px 40px rgba(0,188,212,0.5);
	border-color: var(--accent-aqua);
}

/* Notch container: the “hole” in the card */
.service-card .notch
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
	height: 100px;
	overflow: hidden; /* mask the animation inside */
	clip-path: polygon(0 0, 100% 0, 0 100%); /* triangle shape */
	z-index: 2;
	background: transparent; /* just the container, animation is inside */
}

/* Animated gradient inside notch */
.service-card .notch .notch-animation
{
	position: absolute;
	top: -50%;
	left: -50%;
	width: 150%;
	height: 150%;
	background: linear-gradient(
		120deg,
		rgba(0,172,193,0.8),
		rgba(0,224,255,0.6),
		rgba(0,188,212,0.4),
		rgba(0,172,193,0.8)
	);
	animation: notch-slide 2s linear infinite;
}

@keyframes notch-slide {
	0% { transform: translate(0, 0) rotate(0deg); }
	50% { transform: translate(30%, 30%) rotate(0deg); }
	100% { transform: translate(0, 0) rotate(0deg); }
}

/* Card content */
.service-card .title
{
	color: var(--text-dark);
	font-size: 1.2rem;
	text-align: center;
	margin-bottom: 1rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	z-index: 10;
}

.service-card p
{
	text-align: center;
	font-size: 1rem;
	line-height: 1.5rem;
	color: var(--primary-white);
	opacity: 0.85;
}

.service-card .btn
{
	margin-top: auto;
	align-self: center;
	background: linear-gradient(90deg, #00bcd4, #00e0ff);
	color: #fff;
	padding: 0.75rem 2rem;
	font-weight: 600;
	border-radius: 50px;
	border: none;
	box-shadow: 0 4px 15px rgba(0,188,212,0.2);
	transition: all 0.25s ease;
}

.service-card .btn:hover
{
	background: linear-gradient(90deg, #00e0ff, #00bcd4);
	box-shadow: 0 8px 25px rgba(0, 188, 212,0.3);
	color: #fff;
}

/* Responsive Grid */
.service-grid
{
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
}

.service-grid .service-card
{
	flex: 1 1 24%; /* desktop: 4 per row */
	min-width: 260px;
}

@media (max-width: 991px)
{
	.service-grid .service-card { flex: 1 1 48%; } /* tablet: 2 per row */
}

@media (max-width: 575px)
{
	.service-grid .service-card { flex: 1 1 100%; } /* mobile: full width */
}



/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--primary-white);
  background-color: var(--dark-gray);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 50px 0;
  background-color: color-mix(in srgb, var(--dark-gray) 90%, white 10%);
}

@media (max-width: 575px)
{
	.footer-about
	{
		margin-bottom: 25px;
	}
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 10px;
  text-decoration: none;  
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--accent-aqua);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a 
{
	color: color-mix(in srgb, var(--primary-white), transparent 30%);
	background-color: color-mix(in srgb, var(--primary-white) 5%, white 10%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	font-size: 16px;
	margin-right: 10px;
	transition: 0.3s;
	text-decoration: none;  
}

.footer .social-links a:hover 
{
	text-decoration: none;
	color: var(--primary-white);
	background: var(--accent-aqua);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links
{
  margin-bottom: 30px;
}

.footer .footer-links ul
{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i 
{
  margin-right: 4px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-aqua);
}

.footer .footer-links ul li 
{
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--primary-white), transparent 30%);
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: var(--accent-aqua);
  text-decoration: none;
}

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

.footer .copyright 
{
  padding: 30px 0;
  text-decoration: none;  
}

.footer .copyright p 
{
  margin-bottom: 0;
}

.footer .credits a
{
	text-decoration: none;
	color: #C1C1C1;
}

.footer .credits a:hover
{
	text-decoration: none;
	color: var(--accent-aqua);
}

.footer .credits 
{
	margin-top: 5px;
	font-size: 13px;   

}