/**
* Site: FindBargain.online
* Description: Performance marketing & affiliate technology (Europe-focused, global reach)
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# 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: "Quicksand", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root {
  --background-color: #05071e;
  --default-color: #e8e7f7;
  --heading-color: #ffffff;

  /* FindBargain accent (trust + performance) */
  --accent-color: #2f6bff;

  --surface-color: #131428;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: #c8c6e3;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #03051f;
  --nav-dropdown-background-color: #1f2240;
  --nav-dropdown-color: #c8c6e3;
  --nav-dropdown-hover-color: #ffffff;
}

/* Presets */
.light-background {
  --background-color: #0c114a;
  --surface-color: #131b76;
}

.dark-background {
  --background-color: #01020e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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: var(--heading-font);
}

p {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/*--------------------------------------------------------------
# PHP Email Form Messages (Contact page)
--------------------------------------------------------------*/
.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(255, 255, 255, 0);
  --surface-color: #1b1933;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .header-container {
  background: var(--surface-color);
  border-radius: 50px;
  padding: 5px 25px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

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

.header .logo img:not(.brand-logo) {
  max-height: 100px;
  width: auto;
  margin-right: 10px;
  display: block;
}



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

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

@media (max-width: 1200px) {
  .header { padding-top: 10px; }
  .header .header-container {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 5px 10px 15px;
  }
  .header .logo { order: 1; }
  .header .btn-getstarted {
    order: 2;
    margin: 0 10px 0 0;
    padding: 6px 15px;
  }
  .header .navmenu { order: 3; }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop */
@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: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    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-hover-color);
  }
}

/* Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    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%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

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

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    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: 14px;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-top { padding-top: 50px; }

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

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

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

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

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

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

.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(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

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

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

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

.footer .copyright p { margin-bottom: 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 #ffffff;
  border-color: var(--accent-color) transparent var(--accent-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;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 20px 0;
}

.page-title .breadcrumbs { margin-bottom: 1.5rem; }

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active { color: var(--accent-color); }

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 { font-size: 2rem; }
  .page-title .title-wrapper p { font-size: 1rem; }
}

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

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title p { margin-bottom: 0; }

/*--------------------------------------------------------------
# Hero Section (Home)
--------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  padding: 120px 0;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero .hero-content h1 { font-size: 2.5rem; }
}

.hero .hero-content p {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero .hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero .hero-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.hero .hero-buttons .btn.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.hero .hero-buttons .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

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

.hero .hero-buttons .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content .subtitle {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about .content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 2rem;
}

.about .content .features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.about .content .features-list li {
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  font-weight: 500;
}

.about .content .features-list li i {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-right: 0.75rem;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services .service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #8b5cf6 30%));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.services .service-icon i {
  font-size: 36px;
  color: var(--contrast-color);
}

.services h4 {
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 700;
}

.services p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Why Us / Feature Card (used on starter + other pages)
--------------------------------------------------------------*/
.feature-card {
  background: var(--surface-color);
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.feature-card .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.feature-card .icon-wrapper i {
  color: var(--accent-color);
  font-size: 26px;
}

.feature-card h4 { margin-bottom: 6px; }
.feature-card p { margin: 0; }

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact {
  background: linear-gradient(135deg, var(--background-color), color-mix(in srgb, var(--accent-color), transparent 97%));
}

.contact .contact-form-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form-card .form-header {
  text-align: center;
  margin-bottom: 35px;
}

.contact .contact-form-card .form-header h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact .contact-form-card .php-email-form .form-control {
  height: 52px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background-color: color-mix(in srgb, var(--surface-color), var(--background-color) 30%);
  color: var(--default-color);
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact .contact-form-card .php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 90%);
  background-color: var(--surface-color);
  outline: none;
}

.contact .contact-form-card .php-email-form textarea.form-control {
  height: 120px;
  resize: vertical;
  font-family: inherit;
}

.contact .contact-form-card .php-email-form .submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 30%));
  color: var(--contrast-color);
  border: none;
  padding: 16px 30px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact .contact-form-card .php-email-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px color-mix(in srgb, var(--accent-color), transparent 75%);
}

@media (max-width: 768px) {
  .contact .contact-form-card { padding: 30px 25px; }
}

/*--------------------------------------------------------------
# Terms / Privacy pages (simple readable text)
--------------------------------------------------------------*/
.terms-of-service .tos-content,
.privacy .privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.terms-of-service .content-section h3,
.privacy .content-section h2 {
  margin-top: 28px;
}

.privacy .privacy-header {
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 30px;
}

/*--------------------------------------------------------------
# Error 404 Page
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}

.error-404 .error-number {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 300;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  line-height: 0.8;
  margin-bottom: 40px;
  font-family: var(--heading-font);
}

.error-404 .error-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.error-404 .error-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 35px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 576px) {
  .error-404 .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

/*--------------------------------------------------------------
# Starter Section (kept for future custom page styling)
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}


/* ===== FindBargain Header Brand (FINAL) ===== */
.header .logo {
  line-height: 1;
}

/* Brand name */
.header .logo .sitename {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  letter-spacing: 0.2px;
}

.header .logo .brand-main {
  color: var(--heading-color);
}

.header .logo .brand-domain {
  color: #00cfff; /* or use var(--accent-color) */
  margin-left: 2px;
}

/* Tagline */
.header .logo .brand-tagline {
  font-size: 10px;
  letter-spacing: 1px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-top: 3px;
  white-space: nowrap;
}

.header .logo .highlight-text {
  color: #ff9f1a;
  font-weight: 700;
  position: relative;
  padding-bottom: 2px;
}

.header .logo .highlight-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 159, 26, 0),
    rgba(255, 159, 26, 0.95),
    rgba(255, 159, 26, 0)
  );
  box-shadow: 0 0 8px rgba(255, 159, 26, 0.3);
}
/* Mobile: hide tagline */
@media (max-width: 992px) {
  .header .logo .brand-tagline {
    display: none;
  }
}

/* Blue fading line under whole logo block */
.header .logo {
  position: relative;
  padding-bottom: 8px;
}

.header .logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 650px;  /* adjust length if needed */
  background: linear-gradient(
    90deg,
    rgba(0, 207, 255, 0.95) 0%,
    rgba(0, 207, 255, 0.6) 40%,
    rgba(0, 207, 255, 0) 100%
  );
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.25);
}

/* Underline under FindBargain.online */
.header .logo .sitename {
  position: relative;
  padding-bottom: 4px;
}

.header .logo .sitename::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 207, 255, 0.8),
    rgba(0, 207, 255, 0)
  );
}
/* ===== Header Logo Image ===== */
.header .logo{
  gap: 10px;
  align-items: center;
}

.header .brand-logo{
  width: 52px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.45));
}

  /* Optional glow effect */
  filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.45));
}

/* Wrap text nicely */
.header .brand-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
/* Header: icon + text */
.header .logo{
  gap: 10px;
  align-items: center;
}

.header .brand-logo{
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.45));
}

.header .brand-wrap{
  display:flex;
  flex-direction:column;
  line-height:1;
}

/* IMPORTANT: stop the template from forcing the old logo size */
.header .logo .logo-img{
  display:none;
}
/* Fix input text visibility */
.contact .php-email-form .form-control {
  color: #ffffff !important;
}

/* Fix placeholder visibility */
.contact .php-email-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

/* Fix textarea placeholder */
.contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

/* =========================================================
   Contact Page Upgrade (Premium / SaaS style)
   ========================================================= */

/* 1) Make the contact section background richer */
.contact.section {
  background:
    radial-gradient(900px 420px at 20% 25%, rgba(0, 207, 255, 0.10), transparent 60%),
    radial-gradient(900px 420px at 80% 30%, rgba(47, 107, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 30, 0.0) 0%, rgba(5, 7, 30, 0.7) 35%, rgba(5, 7, 30, 0.0) 100%);
}

/* 2) Improve page title (Contact heading area) */
.page-title .title-wrapper h1 {
  letter-spacing: 0.4px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.page-title .title-wrapper p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.72);
}

/* 3) Glass card style for both left + right panels */
.contact .contact-form-card,
.contact .contact-info-area {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

/* 4) Add a subtle “top glow line” on the form card */
.contact .contact-form-card {
  position: relative;
  overflow: hidden;
}

.contact .contact-form-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(0,207,255,0.9), rgba(0,207,255,0.2), transparent);
  box-shadow: 0 0 18px rgba(0,207,255,0.25);
}

/* 5) Make the form icon/header feel more “alive” */
.contact .contact-form-card .header-icon i {
  color: #00cfff;
  filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.35));
}

/* 6) Inputs: clearer text, brighter placeholder, better focus */
.contact .contact-form-card .php-email-form .form-control {
  background-color: rgba(10, 12, 30, 0.55);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}

.contact .contact-form-card .php-email-form .form-control::placeholder {
  color: rgba(255,255,255,0.55);
  opacity: 1;
}

.contact .contact-form-card .php-email-form .form-control:focus {
  border-color: rgba(0,207,255,0.75);
  box-shadow: 0 0 0 4px rgba(0,207,255,0.12);
  background-color: rgba(10, 12, 30, 0.70);
}

/* 7) Button: more premium gradient + hover lift */
.contact .contact-form-card .php-email-form .submit-btn {
  background: linear-gradient(135deg, rgba(47,107,255,1), rgba(0,207,255,0.75));
  box-shadow: 0 18px 40px rgba(47,107,255,0.25);
}

.contact .contact-form-card .php-email-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0,207,255,0.22);
}

/* 8) Emails area: make method cards look clickable */
.contact .contact-info-area {
  padding: 34px;
  border-radius: 24px;
}

.contact .contact-methods .method-card {
  background: rgba(10, 12, 30, 0.40);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact .contact-methods .method-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,207,255,0.28);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.contact .contact-methods .method-card .card-icon i {
  color: #00cfff;
  filter: drop-shadow(0 0 10px rgba(0, 207, 255, 0.25));
}

/* 9) Make email text more readable */
.contact .contact-methods .method-card p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
}

/* 10) Reduce “dull empty space” by tightening vertical rhythm */
.contact.section {
  padding-top: 45px;
  padding-bottom: 70px;
}