/**
* Template Name: Maundy
* Template URL: https://bootstrapmade.com/maundy-free-coming-soon-bootstrap-theme/
* Updated: August 21 2025 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
* Enhanced: August 21, 2025 for About section fixes and header styling revert
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* 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;
}

/* Global Colors */
:root {
  --background-color: #ffffff;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #24b7a4;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Color Presets */
.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.transparent-background {
  --background-color: rgba(255, 255, 255, 0);
  --contrast-color: #5b5b5b;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  background: url(../img/bg.jpg) top center no-repeat;
  background-size: cover;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(49, 71, 89, 0.7);
  z-index: -1;
}

@media (min-width: 1200px) {
  body {
    background-attachment: fixed;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* PHP Email Form Messages */
.php-email-form .error-message,
.php-email-form .sent-message,
.php-email-form .loading {
  display: none;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
  font-size: 14px;
}

.php-email-form .error-message {
  background: #df1529;
  color: #ffffff;
}

.php-email-form .sent-message {
  background: #059652;
  color: #ffffff;
}

.php-email-form .loading {
  background: var(--surface-color);
}

.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); }
}

/* Form Styling */
.hero-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.hero-newsletter input[type="text"],
.hero-newsletter input[type="email"] {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  color: var(--default-color);
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.hero-newsletter input[type="text"]::placeholder,
.hero-newsletter input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.hero-newsletter input[type="text"]:focus,
.hero-newsletter input[type="email"]:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  box-shadow: 0 0 8px rgba(36, 183, 164, 0.3);
}

.hero-newsletter input[name="how_found_us"] {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-newsletter input[name="how_found_us"]:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 10px rgba(36, 183, 164, 0.4);
}

.hero-newsletter input[name="how_found_us"]::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.hero-newsletter input[type="submit"] {
  background: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  cursor: pointer;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-newsletter input[type="submit"]:hover,
.hero-newsletter input[type="submit"]:focus {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
  box-shadow: 0 0 8px rgba(36, 183, 164, 0.3);
}

@media (max-width: 400px) {
  .hero-newsletter form {
    max-width: 100%;
    padding: 0 15px;
  }

  .hero-newsletter input[name="how_found_us"],
  .hero-newsletter input[type="email"],
  .hero-newsletter input[type="submit"] {
    font-size: 14px;
    padding: 10px 12px;
  }

  .hero-newsletter input[name="how_found_us"] {
    padding: 12px 14px;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.mobile-nav-toggle {
  color: var(--default-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  transition: color 0.3s ease;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  --background-color: rgba(255, 255, 255, 0.1);
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  backdrop-filter: blur(4px);
  z-index: 1;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 18px;
  color: var(--default-color);
  margin-right: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.footer .social-links a:hover,
.footer .social-links a:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.2);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

@media (max-width: 400px) {
  .footer {
    padding: 20px 0;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s ease;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover,
.scroll-top:focus {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --background-color: rgba(255, 255, 255, 0);
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }
}

.hero .countdown {
  margin-top: 25px;
  flex-wrap: wrap;
}

.hero .countdown div {
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  margin: 10px;
  width: 100px;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.hero .countdown div h3 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 10px;
}

.hero .countdown div h4 {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 400px) {
  .hero .countdown div {
    width: 80px;
    padding: 10px 0;
    margin: 8px;
  }
  .hero .countdown div h3 {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .hero .countdown div h4 {
    font-size: 14px;
    font-weight: 500;
  }
}

.hero .hero-newsletter {
  margin-top: 25px;
}

.hero .hero-newsletter p {
  font-size: 18px;
  margin: 0 0 15px 0;
}

.hero .social-links {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 18px;
  color: var(--default-color);
  margin-right: 10px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.hero .social-links a:hover,
.hero .social-links a:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.2);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 60px 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.about .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-align: center;
}

.about .section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.about .section-title p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 15px;
  color: var(--default-color);
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

@media (max-width: 400px) {
  .about {
    padding: 40px 15px;
  }

  .about .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .about .section-title p {
    font-size: 15px;
    max-width: 100%;
    padding: 10px;
  }
}