/**
* Template Name: DevFolio - Glassmorphism Edition
* Original Template URL: https://bootstrapmade.com/devfolio-bootstrap-portfolio-html-template/
* Restyled with Glassmorphism by Fourth House Development
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors */
:root {
  --background-color: #0a0a0f;
  --default-color: #ffefbe;
  --heading-color: #ffcc34;
  --accent-color: #ffcc34;
  --surface-color: rgba(255, 239, 190, 0.05);
  --contrast-color: #0a0a0f;
  
  /* Glass effect variables */
  --glass-bg: rgba(255, 239, 190, 0.05);
  --glass-bg-hover: rgba(255, 239, 190, 0.1);
  --glass-border: rgba(255, 239, 190, 0.1);
  --glass-border-hover: rgba(255, 204, 52, 0.3);
  --glass-blur: 20px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Nav Menu Colors */
:root {
  --nav-color: #ffefbe;
  --nav-hover-color: #ffcc34;
  --nav-mobile-background-color: rgba(23, 20, 23, 0.95);
  --nav-dropdown-background-color: rgba(23, 20, 23, 0.95);
  --nav-dropdown-color: #ffefbe;
  --nav-dropdown-hover-color: #ffcc34;
}

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

/*--------------------------------------------------------------
# Glassmorphism Base Styles
--------------------------------------------------------------*/
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  transition: all 0.4s ease;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 204, 52, 0.1);
}

/*--------------------------------------------------------------
# Background with Animated Gradient & Orbs
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1520 25%, #0f0a12 50%, #151015 75%, #0a0a0f 100%);
  background-attachment: fixed;
  font-family: var(--default-font);
  position: relative;
  min-height: 100vh;
}

/* Floating background orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: 500px;
  height: 500px;
  background: rgba(255, 204, 52, 0.12);
  top: -150px;
  right: -150px;
  animation: floatOrb 25s ease-in-out infinite;
}

body::after {
  width: 400px;
  height: 400px;
  background: rgba(255, 239, 190, 0.08);
  bottom: -100px;
  left: -100px;
  animation: floatOrb 30s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #ffe066;
  text-decoration: none;
}

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

/*--------------------------------------------------------------
# PHP Email Form Messages
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: rgba(223, 21, 41, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 6px;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: rgba(5, 150, 82, 0.9);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 6px;
}

.php-email-form .loading {
  display: none;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 6px;
}

.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: transparent;
  animation: php-email-form-loading 1s linear infinite;
}

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

/*--------------------------------------------------------------
# Global Header - Glassmorphism
--------------------------------------------------------------*/
.header {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 239, 190, 0.08);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 99999;
}

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

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

.header .logo h1,
.header .logo p.sitename {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(255, 204, 52, 0.3);
}

/* Show full name on desktop, short on mobile */
.header .logo .sitename-short {
  display: none;
}

@media (max-width: 768px) {
  .header .logo .sitename-full {
    display: none;
  }
  .header .logo .sitename-short {
    display: block;
  }
}

.scrolled .header {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: rgba(10, 10, 15, 0.95);
}

/*--------------------------------------------------------------
# Navigation Menu - Glassmorphism
--------------------------------------------------------------*/
@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: 8px 16px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    border-radius: 4px;
  }

  .navmenu a:hover,
  .navmenu li:hover>a,
  .navmenu .active {
    color: var(--nav-hover-color);
    background: rgba(255, 204, 52, 0.1);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 15px;
    background: rgba(23, 20, 23, 0.95);
    backdrop-filter: blur(20px);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    z-index: 99;
    box-shadow: var(--glass-shadow);
  }

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

  .navmenu .dropdown ul a {
    padding: 12px 20px;
    font-size: 14px;
    color: var(--nav-dropdown-color);
    border-radius: 4px;
  }

  .navmenu .dropdown ul a:hover {
    color: var(--nav-dropdown-hover-color);
    background: rgba(255, 204, 52, 0.1);
  }

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

/* Mobile Navigation */
@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;
  }

  .navmenu ul {
    display: none;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 15px 20px;
    font-family: var(--nav-font);
    font-size: 18px;
    font-weight: 500;
    display: block;
    transition: 0.3s;
    border-radius: 4px;
  }

  .navmenu a:hover,
  .navmenu .active {
    color: var(--nav-dropdown-hover-color);
    background: rgba(255, 204, 52, 0.1);
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: fixed;
    font-size: 32px;
    top: 20px;
    right: 25px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.95);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-active .navmenu ul {
    display: block;
    list-style: none;
    padding: 30px;
    margin: 0;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    width: 280px;
  }

  .mobile-nav-active .navmenu ul li {
    margin: 8px 0;
  }
}

/*--------------------------------------------------------------
# Global Footer - Glassmorphism
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

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

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 18px;
  color: var(--default-color);
  margin: 0 8px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 204, 52, 0.3);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #0a0a0f;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 4px solid var(--accent-color);
  border-top-color: transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
  box-shadow: 0 0 30px rgba(255, 204, 52, 0.5);
}

@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 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: none !important;
  background-color: transparent !important;
  padding: 80px 0;
  scroll-margin-top: 92px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

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

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

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-shadow: 0 0 30px rgba(255, 204, 52, 0.3);
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 2px;
}

.section-title p {
  margin-bottom: 0;
  color: rgba(255, 239, 190, 0.7);
  font-size: 1.1rem;
}

/*--------------------------------------------------------------
# Hero Section - Transparent with Logo Background
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 92px);
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

/* Logo as semi-transparent overlay */
.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

/* Dark overlay for readability */
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.85);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  text-shadow: 0 0 40px rgba(255, 204, 52, 0.5);
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 36px;
  font-weight: 600;
}

.hero p span {
  letter-spacing: 1px;
  color: rgba(255, 204, 52, 0.68);
  text-shadow: 0 0 18px rgba(255, 204, 52, 0.22);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# About Section - Glassmorphism
--------------------------------------------------------------*/
.about .container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  padding: 50px;
}

.about .img-fluid {
  border-radius: 6px;
  border: 2px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about .about-info {
  margin-top: 25px;
}

.about .about-info p {
  margin-bottom: 8px;
}

.about .about-me h4 {
  font-size: 28px;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
  font-weight: 700;
}

.about .about-me h4:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  left: 0;
  bottom: 0;
  border-radius: 2px;
}

.about .about-me p {
  color: rgba(255, 239, 190, 0.85);
  line-height: 1.8;
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Resume Section - Glassmorphism
--------------------------------------------------------------*/
.resume .container:not(.section-title) {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  padding: 50px;
}

.resume .resume-title {
  color: var(--accent-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
  transition: all 0.3s ease;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #0a0a0f;
  border: 2px solid var(--accent-color);
}

.resume .resume-item h4 {
  line-height: 1.4;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 14px;
  padding: 8px 16px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 15px;
  background: rgba(255, 204, 52, 0.15);
  border-radius: 4px;
  color: var(--accent-color);
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
  color: rgba(255, 239, 190, 0.8);
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item p em {
  color: rgba(255, 239, 190, 0.7);
}

/*--------------------------------------------------------------
# Services Section - Glassmorphism
--------------------------------------------------------------*/
.services .service-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 50px 30px;
  transition: all 0.4s ease;
  border-radius: 6px;
  height: 100%;
  text-align: center;
}

.services .service-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 204, 52, 0.15);
}

.services .service-item .icon {
  background: linear-gradient(135deg, rgba(255, 204, 52, 0.3), rgba(255, 204, 52, 0.1));
  border: 1px solid rgba(255, 204, 52, 0.4);
  margin: 0 auto 25px auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.services .service-item:hover .icon {
  background: var(--accent-color);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 204, 52, 0.5);
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 32px;
  transition: all 0.3s ease;
}

.services .service-item:hover .icon i {
  color: var(--contrast-color);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 0;
  color: rgba(255, 239, 190, 0.8);
}

/*--------------------------------------------------------------
# Portfolio Section - Glassmorphism
--------------------------------------------------------------*/
.col-lg-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 991.98px) {
  .col-lg-2-4 {
    width: 50%;
  }
}

@media (max-width: 575.98px) {
  .col-lg-2-4 {
    width: 100%;
  }
}

.portfolio .portfolio-item {
  position: relative;
  margin-bottom: 30px;
}

.portfolio .portfolio-image-link {
  display: block;
  text-decoration: none;
  transition: all 0.4s ease;
  border-radius: 6px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.portfolio .portfolio-image-link:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 204, 52, 0.1);
}

.portfolio .portfolio-image-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.portfolio .portfolio-image-link:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-url-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  text-align: center;
  margin: 12px 0 5px 0;
  padding: 0;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.portfolio .portfolio-url-heading:hover {
  color: #ffe066;
  text-shadow: 0 0 10px rgba(255, 204, 52, 0.5);
}

/* Hidden portfolio items */
.portfolio .portfolio-hidden {
  display: none;
}

.portfolio.show-all .portfolio-hidden {
  display: block;
}

/* Show More Button - Glassmorphism Style */
.btn-show-more {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--accent-color);
  border: 1px solid var(--glass-border);
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-show-more:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 204, 52, 0.15);
  color: #ffe066;
}

/*--------------------------------------------------------------
# Pricing Section - Glassmorphism
--------------------------------------------------------------*/
.pricing .pricing-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 25px 30px;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing .pricing-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateX(5px);
}

.pricing .pricing-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  margin: 0;
  font-size: 18px;
  color: #ffefbe;
  font-weight: 700;
}

/*--------------------------------------------------------------
# FAQ Section - Glassmorphism
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content h3 span {
  color: rgba(255, 239, 190, 0.7);
}

.faq .content h3 strong {
  color: var(--accent-color);
}

.faq .content p {
  font-size: 15px;
  color: rgba(255, 239, 190, 0.6);
}

.faq .faq-container .faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  position: relative;
  padding: 25px 30px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq .faq-container .faq-item:hover {
  border-color: var(--glass-border-hover);
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 8px;
  font-size: 20px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
  color: rgba(255, 239, 190, 0.8);
  line-height: 1.7;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 18px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
  color: rgba(255, 239, 190, 0.6);
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 15px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section - Transparent with Logo Background
--------------------------------------------------------------*/
.testimonials {
  padding: 100px 0;
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Logo as semi-transparent overlay */
.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

/* Subtle dark overlay for readability */
.testimonials .testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.15);
  z-index: 2;
}

@media (max-width: 768px) {
  .testimonials .testimonials-overlay {
    background: rgba(10, 10, 15, 0.85);
  }
}

.testimonials .container {
  position: relative;
  z-index: 4;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 239, 190, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: rgba(255, 239, 190, 0.6);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 239, 190, 0.4);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 239, 190, 0.5);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffefbe;
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 85%;
  }
}

/*--------------------------------------------------------------
# Contact Section - Glassmorphism
--------------------------------------------------------------*/
.contact .info-wrap {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  box-shadow: var(--glass-shadow);
  padding: 40px;
  margin-bottom: 30px;
}

.contact .info-item {
  padding: 25px;
  background: rgba(255, 239, 190, 0.03);
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact .info-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

.contact .info-item i {
  font-size: 22px;
  color: var(--accent-color);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 204, 52, 0.2), rgba(255, 204, 52, 0.05));
  border: 1px solid rgba(255, 204, 52, 0.3);
  margin-right: 20px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 0 25px rgba(255, 204, 52, 0.5);
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 15px;
  color: rgba(255, 239, 190, 0.8);
}

.contact .php-email-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  box-shadow: var(--glass-shadow);
  padding: 40px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 25px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 15px;
  padding: 16px 20px;
  box-shadow: none;
  border-radius: 4px;
  color: var(--default-color);
  background: rgba(255, 239, 190, 0.05);
  border: 1px solid var(--glass-border);
  transition: all 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);
  background: rgba(255, 239, 190, 0.08);
  box-shadow: 0 0 20px rgba(255, 204, 52, 0.15);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: rgba(255, 239, 190, 0.4);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), #e6b82e);
  border: 0;
  padding: 14px 40px;
  transition: all 0.4s ease;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.contact .php-email-form button[type=submit]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.contact .php-email-form button[type=submit]:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 204, 52, 0.4);
}

.contact .php-email-form button[type=submit]:hover::before {
  left: 100%;
}

/*--------------------------------------------------------------
# AI Agents CTA (home page)
--------------------------------------------------------------*/
.ai-agents-cta .ai-agents-cta-fluid {
  max-width: 100%;
  width: 100%;
  padding-left: clamp(0.65rem, 2vw, 1.25rem);
  padding-right: clamp(0.65rem, 2vw, 1.25rem);
}

@media (min-width: 1400px) {
  .ai-agents-cta .ai-agents-cta-fluid {
    padding-left: clamp(1rem, 3vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 2.5rem);
  }
}

.ai-agents-cta .ai-agents-cta-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.5rem, 4vw, 3.75rem) clamp(1.25rem, 3vw, 3.25rem);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ai-agents-cta .ai-agents-cta-inner:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 204, 52, 0.08);
}

.ai-agents-cta .ai-agents-cta-icon {
  font-size: 2.25rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 204, 52, 0.35);
}

.ai-agents-cta .ai-agents-cta-inner h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.ai-agents-cta .ai-agents-cta-inner h2::after {
  display: none;
}

.ai-agents-cta .ai-agents-cta-inner p {
  color: rgba(255, 239, 190, 0.85);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: min(70rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.ai-agents-cta .btn-ai-agents-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), #e6b82e);
  border: 0;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ai-agents-cta .btn-ai-agents-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.ai-agents-cta .btn-ai-agents-cta:hover {
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 204, 52, 0.4);
}

.ai-agents-cta .btn-ai-agents-cta:hover::before {
  left: 100%;
}

@media (max-width: 575px) {
  .ai-agents-cta .ai-agents-cta-inner {
    padding: 2.25rem 1.25rem;
  }

  .ai-agents-cta .ai-agents-cta-inner p {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Stats Section (if used)
--------------------------------------------------------------*/
.stats {
  position: relative;
  padding: 100px 0;
}

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

.stats .stats-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.stats .stats-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 10px 0 0 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 239, 190, 0.7);
}

/*--------------------------------------------------------------
# Portfolio Details (if needed)
--------------------------------------------------------------*/
.portfolio-details .portfolio-info {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 30px;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 12px 35px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
  transition: 0.3s;
  font-weight: 600;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: #ffe066;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 204, 52, 0.4);
}

/*--------------------------------------------------------------
# Service Details (if needed)
--------------------------------------------------------------*/
.service-details .services-list {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 20px 30px;
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 12px 0 12px 20px;
  border-left: 3px solid transparent;
  margin: 15px 0;
  color: rgba(255, 239, 190, 0.8);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.service-details .services-list a.active {
  color: var(--accent-color);
  font-weight: 700;
  border-color: var(--accent-color);
  background: rgba(255, 204, 52, 0.1);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
  background: rgba(255, 204, 52, 0.05);
}
