/*
Theme Name: Brandsmaya New
Theme URI: https://brandsmaya.com/
Author: Antigravity
Author URI: https://brandsmaya.com/
Description: A premium, ultra-modern custom WordPress theme with gorgeous typography, micro-animations, and striking layouts built for brands.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brandsmaya-new
*/

/* ----------------------------------------------------
   1. DESIGN SYSTEM & VARIABLE DEFINITIONS
   ---------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #EE4329;
  --color-dark: #32302E;
  --color-light: #F2F4F6;
  --color-white: #FFFFFF;

  /* Font Sizes (STRICT: Only 64px, 46px, 26px, 18px, 16px are used) */
  --size-64: 4rem;
  /* 64px */
  --size-46: 2.875rem;
  /* 46px */
  --size-26: 1.625rem;
  /* 26px */
  --size-18: 1.125rem;
  /* 18px */
  --size-16: 1rem;
  /* 16px */

  /* Typography */
  --font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-width: 1400px;
  --header-height: 80px;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ----------------------------------------------------
   2. BASE & RESET STYLES
   ---------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

/* Enforce 700 weight for all headings */
h1,
h2,
h3,
h4,
h5,
h6,
.text-64,
.text-46,
.text-26 {
  font-weight: 700 !important;
}

body {
  font-family: var(--font-family);
  font-size: var(--size-18);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-dark);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Selection */
::selection {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ----------------------------------------------------
   3. TYPOGRAPHY CLASSES
   ---------------------------------------------------- */
.text-64 {
  font-size: var(--size-64);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.text-46 {
  font-size: var(--size-46);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-26 {
  font-size: var(--size-26);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-18 {
  font-size: var(--size-18);
  line-height: 1.6;
  font-weight: 400;
}

.text-18-caps {
  font-size: var(--size-18);
  line-height: 1.6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-16 {
  font-size: var(--size-16);
  line-height: 1.5;
  font-weight: 400;
}

/* Responsive typography scale overrides (adjusting letter/line height but strictly keeping the size limits or adjusting values on small viewports)
   Wait! To prevent huge headers on mobile, we can scale down, but to strictly adhere to the prompt's sizes, we should step h1 down to 46px and h2 to 26px on mobile viewports. */
@media (max-width: 768px) {
  .text-64 {
    font-size: var(--size-46);
  }

  .text-46 {
    font-size: var(--size-26);
  }

  .text-26 {
    font-size: var(--size-18);
  }
}

/* ----------------------------------------------------
   4. LAYOUT COMPONENTS
   ---------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 30px;
}

.section-padding {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* ----------------------------------------------------
   5. HEADER NAVIGATION
   ---------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  border-bottom: none;
  z-index: 1000;
  transition: var(--transition-smooth);
}

/* Adjust header position when WP Admin Bar is present */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Scrolled state OR default non-home pages (solid background header) */
.site-header.scrolled,
body:not(.home) .site-header {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.site-branding .logo-link {
  display: flex;
  align-items: center;
}

.site-branding .logo-white,
.site-branding .logo-dark {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.site-branding .logo-dark {
  display: none;
}

/* Scrolled/Non-home logo toggles */
.site-header.scrolled .logo-white,
body:not(.home) .site-header .logo-white {
  display: none;
}

.site-header.scrolled .logo-dark,
body:not(.home) .site-header .logo-dark {
  display: block;
}

/* Navigation Menu styling */
.main-navigation {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0 28px;
  height: 45px;
  max-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.site-header.scrolled .main-navigation,
body:not(.home) .site-header .main-navigation {
  background-color: rgba(50, 48, 46, 0.05);
  border-color: rgba(50, 48, 46, 0.12);
}

.main-navigation ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-navigation a {
  font-size: var(--size-18);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);
  position: relative;
  padding: 0;
  transition: var(--transition-smooth);
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a {
  color: var(--color-white);
}

/* Scrolled/Non-home link colors */
.site-header.scrolled .main-navigation a,
body:not(.home) .site-header .main-navigation a {
  color: rgba(50, 48, 46, 0.60);
}

.site-header.scrolled .main-navigation a:hover,
.site-header.scrolled .main-navigation li.current-menu-item a,
body:not(.home) .site-header .main-navigation a:hover,
body:not(.home) .site-header .main-navigation li.current-menu-item a {
  color: var(--color-dark);
}

.header-cta {
  display: inline-flex;
}

.header-cta .btn {
  height: 45px;
  max-height: 45px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-18);
  /* 18px */
  border-radius: 50px;
  background-color: var(--color-white);
  color: var(--color-dark);
  transition: var(--transition-bounce);
  box-sizing: border-box;
  border: none;
}

.header-cta .btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(238, 67, 41, 0.2);
}

/* Scrolled state OR default non-home pages (solid white background header) */
.site-header.scrolled .header-cta .btn,
body:not(.home) .site-header .header-cta .btn {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.site-header.scrolled .header-cta .btn:hover,
body:not(.home) .site-header .header-cta .btn:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1010;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled .mobile-nav-toggle span,
body:not(.home) .site-header .mobile-nav-toggle span,
.mobile-nav-toggle[aria-expanded="true"] span {
  background-color: var(--color-dark) !important;
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }

  /* Reset and style the mobile navigation drawer */
  .site-header.scrolled .main-navigation,
  body:not(.home) .site-header .main-navigation,
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh !important;
    max-height: none !important;
    background-color: var(--color-white) !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    padding: 100px 40px;
    transition: var(--transition-smooth);
    z-index: 1005;
    display: block !important;
    border-radius: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .main-navigation.active {
    right: 0;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 24px;
    display: flex;
    align-items: flex-start;
  }

  /* Enforce readable link color and weight on mobile drawer */
  .site-header.scrolled .main-navigation a,
  body:not(.home) .site-header .main-navigation a,
  .main-navigation a {
    font-size: var(--size-26);
    font-weight: 400 !important;
    color: var(--color-dark) !important;
  }

  .site-header.scrolled .main-navigation a:hover,
  .site-header.scrolled .main-navigation li.current-menu-item a,
  body:not(.home) .site-header .main-navigation a:hover,
  body:not(.home) .site-header .main-navigation li.current-menu-item a,
  .main-navigation a:hover,
  .main-navigation li.current-menu-item a {
    color: var(--color-primary) !important;
  }

  .header-cta {
    display: none;
  }
}

/* ----------------------------------------------------
   6. BUTTONS & INTERACTIVE ELEMENTS
   ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: var(--size-18);
  font-weight: 400;
  transition: var(--transition-bounce);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(238, 67, 41, 0.2);
}

.btn-secondary {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(50, 48, 46, 0.15);
}

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

.btn-outline:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-3px);
}

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

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* Micro-animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBorder {
  0% {
    box-shadow: 0 0 0 0 rgba(238, 67, 41, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(238, 67, 41, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(238, 67, 41, 0);
  }
}

/* ----------------------------------------------------
   7. HOMEPAGE SECTIONS (FRONT-PAGE)
   ---------------------------------------------------- */

/* Hero Section */
.hero-section {
  height: 100vh;
  max-height: 800px;
  background-color: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Parallax Container & Layers */
.hero-parallax-section {
  height: 100vh;
  max-height: 700px;
  width: 100%;
}

.parallax-layer {
  position: absolute;
  bottom: -4%;
  left: -4%;
  width: 108%;
  height: 108%;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;
}

.layer-1 {
  z-index: 1;
}

.layer-2 {
  z-index: 2;
}

.layer-mascot {
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 25%;
  padding-bottom: 5%;
  background-image: none !important;
}

.layer-3 {
  z-index: 4;
}

.layer-4 {
  z-index: 5;
}

/* Content Container overlay */
.hero-content-container {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  padding-bottom: 80px;
  padding-top: var(--header-height);
}

.hero-banner-inner {
  max-width: 780px;
  position: relative;
  z-index: 20;
  pointer-events: auto;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-vector-wrapper {
  width: 100%;
  max-width: 420px;
  position: relative;
}

.hero-vector-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.08)) drop-shadow(0 0 40px rgba(238, 67, 41, 0.18));
  animation: floatMascot 8s ease-in-out infinite;
  transform-origin: center;
  transition: var(--transition-smooth);
}

.hero-vector-wrapper svg path {
  animation: glowPath 4s ease-in-out infinite;
  transition: var(--transition-smooth);
}

/* Hover Interactive glow effect */
.hero-vector-wrapper:hover svg {
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 60px rgba(238, 67, 41, 0.45));
  transform: scale(1.05) rotate(1deg);
}

.hero-vector-wrapper:hover svg path {
  fill-opacity: 0.8 !important;
}

/* Animations */
@keyframes floatMascot {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1.5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes glowPath {
  0% {
    fill-opacity: 0.35;
  }

  50% {
    fill-opacity: 0.65;
  }

  100% {
    fill-opacity: 0.35;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: var(--size-16);
  font-weight: 400;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  margin-top: 30px;
}

.hero-desc {
  max-width: 620px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-hero-primary,
.btn-hero-secondary {
  height: 45px;
  max-height: 45px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--size-18);
  font-weight: 400;
  border-radius: 100px;
  gap: 10px;
  transition: var(--transition-bounce);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
  width: 20px;
  height: 20px;
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover svg,
.btn-hero-secondary:hover svg {
  transform: translate(2px, -2px);
}

.btn-hero-primary {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn-hero-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(238, 67, 41, 0.25);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: var(--color-white);
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.btn-hero-secondary:hover {
  background-color: var(--color-white) !important;
  color: var(--color-dark) !important;
  border-color: var(--color-white) !important;
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .hero-section {
    padding: 120px 0 80px 0;
    height: auto;
    min-height: auto;
    max-height: none;
    background-image: url('img/banner-background.jpg');
    background-size: cover;
    background-position: center;
  }

  .parallax-layer {
    display: none !important;
  }

  .hero-content-container {
    padding-top: 0;
    height: auto;
    pointer-events: auto;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 20px;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
}

/* Stats / Tech Partner Section */
.stats-section {
  background-color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 50px;
  align-items: center;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background-color: var(--color-light);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(50, 48, 46, 0.05);
}

.stat-value {
  margin: 0;
  line-height: 1;
  color: var(--color-primary);
  font-weight: 700;
}

.stat-label {
  margin: 0;
  line-height: 1.4;
  color: var(--color-dark);
  font-weight: 500;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }
}

/* Fail Section */
.fail-section {
  background-color: var(--color-white);
}

.fail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fail-card {
  background-color: var(--color-light);
  padding: 30px 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.fail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(50, 48, 46, 0.05);
}

.fail-card-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.fail-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fail-card-title {
  color: var(--color-primary);
  margin: 0;
}

.fail-card-desc {
  margin: 0;
  color: var(--color-dark);
  opacity: 0.8;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .fail-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .fail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Feature/Services Section */
.services-section {
  background-color: var(--color-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  color: var(--color-dark);
  margin-bottom: 20px;
}

.section-header p {
  color: var(--color-dark);
  opacity: 0.8;
}

.new-services-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 0 auto;
}

.new-service-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(50, 48, 46, 0.05);
  box-shadow: 0 10px 30px rgba(50, 48, 46, 0.02);
  transition: var(--transition-smooth);
  text-decoration: none;
  color: var(--color-dark);
}

.new-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(50, 48, 46, 0.06);
  border-color: rgba(238, 67, 41, 0.15);
}

.service-num {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.12;
  transition: var(--transition-smooth);
  width: 100px;
  user-select: none;
}

.new-service-card:hover .service-num {
  opacity: 0.25;
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.service-title {
  margin: 0;
  color: var(--color-dark);
  transition: var(--transition-smooth);
}

.new-service-card:hover .service-title {
  color: var(--color-primary);
}

.service-desc {
  margin: 0;
  color: var(--color-dark);
  opacity: 0.75;
  max-width: 750px;
  line-height: 1.5;
}

.service-desc p {
  margin: 0;
}

/* Interactive Hover Assets */
.service-interactive {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 150px;
  height: 100%;
}

.service-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(50, 48, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: var(--transition-smooth);
  background-color: transparent;
  z-index: 3;
}

.new-service-card:hover .service-arrow-btn {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: rotate(-45deg);
}

/* Inline Overlay Animation Container */
.service-overlay-anim-container {
  position: absolute;
  right: -50px;
  bottom: -22px;
  width: 420px;
  height: 227px;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
  opacity: 0.9;
  transition: var(--transition-smooth);
  clip-path: inset(-200px -100px 0px -100px);
}

.service-overlay-anim-container svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Hover pop up animations */
.rabbit-head-path {
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease-out;
}

.new-service-card:hover .rabbit-head-path {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
}

.new-service-card:hover .rabbit-glow-circle {
  opacity: 0.45 !important;
}

/* Responsive Sizing */
@media (max-width: 992px) {
  .new-service-card {
    grid-template-columns: auto 1fr;
    padding: 20px 30px;
    gap: 25px;
  }

  .service-interactive {
    display: none;
  }
}

@media (max-width: 576px) {
  .new-service-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-num {
    width: 100%;
    text-align: center;
    font-size: 60px;
  }
}

/* Difference Section */
.difference-section {
  background-color: var(--color-white);
}

.difference-row-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.difference-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@keyframes floatRobot {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.diff-card {
  background-color: var(--color-light);
  border-radius: 12px;
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.6fr;
  align-items: center;
  gap: 30px;
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(50, 48, 46, 0.05);
}

.diff-card-ai {
  background: radial-gradient(circle at 80% 50%, rgba(238, 67, 41, 0.08) 0%, var(--color-light) 65%);
  grid-template-columns: 1fr 1.4fr;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
  align-self: stretch;
  overflow: hidden;
}

.diff-card-ai .diff-card-content {
  padding-top: 20px;
  padding-bottom: 20px;
}

.diff-card-ai .diff-card-image {
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
}

.diff-card-ai .diff-card-image img {
  max-height: 260px;
  width: auto;
  animation: floatRobot 5s ease-in-out infinite;
  margin-right: -15px;
  margin-bottom: -15px;
  position: relative;
  left: -100px;
}

.diff-card-ai:hover .diff-card-image {
  transform: scale(1.03);
}

.diff-card-expertise {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.diff-card-expertise .diff-card-title {
  color: var(--color-white);
}

.diff-card-expertise .diff-card-desc {
  color: var(--color-white);
  opacity: 0.9;
}

.diff-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-card-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.diff-card:not(.diff-card-ai):hover .diff-card-image img {
  transform: scale(1.04);
}

@media (max-width: 992px) {
  .difference-row-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .difference-row-bottom {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .diff-card {
    padding: 24px 30px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .difference-row-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .diff-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .diff-card-image {
    order: -1;
    max-width: 200px;
    margin: 0 auto;
  }

  .diff-card-ai {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .diff-card-ai .diff-card-content {
    padding: 0;
  }

  .diff-card-ai .diff-card-image {
    align-self: center;
    justify-self: center;
    margin: 0 auto 20px auto;
  }

  .diff-card-ai .diff-card-image img {
    margin: 0;
    max-height: 180px;
    left: 0;
  }

  .diff-card-ai .diff-card-desc {
    max-width: 100%;
  }
}

/* FAQ Section */
.faq-section {
  background-color: var(--color-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 80px;
  align-items: start;
}

.faq-left-col {
  position: sticky;
  top: 120px;
}

.faq-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 10px;
  transition: var(--transition-smooth);
}

.faq-email-link:hover {
  color: var(--color-dark);
}

.faq-email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-email-link:hover .faq-email-icon {
  transform: scale(1.1) translateX(3px);
}

.faq-email-icon svg path {
  fill: currentColor;
  transition: fill 0.35s ease;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--color-dark);
  font-weight: 700 !important;
  cursor: pointer;
  gap: 20px;
  font-size: var(--size-18);
  font-family: var(--font-family);
}

.faq-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 30px;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding-bottom 0.35s ease;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.8;
  font-size: var(--size-16);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-bottom: 24px;
}

@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-left-col {
    position: relative;
    top: 0;
  }
}

@media (max-width: 576px) {
  .faq-question {
    padding: 20px 24px;
  }

  .faq-answer {
    padding: 0 24px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 20px;
  }
}

/* Call to Action Section */
.new-cta-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
}

.cta-box {
  background-color: var(--color-white);
  border-radius: 32px;
  padding: 60px 80px;
  box-shadow: 0 30px 60px rgba(50, 48, 46, 0.08);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-left-col {
  display: flex;
  flex-direction: column;
}

.cta-subheading {
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}

.cta-heading {
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cta-desc {
  color: var(--color-dark);
  opacity: 0.6;
  margin-bottom: 30px;
  line-height: 1.5;
}

.cta-booking-card {
  background-color: var(--color-white);
  border: 1px solid rgba(50, 48, 46, 0.08);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 25px rgba(50, 48, 46, 0.02);
}

.cta-booking-title {
  color: var(--color-dark);
  font-weight: 700 !important;
  line-height: 1.3;
  margin-bottom: 12px;
  max-width: 380px;
}

.cta-booking-desc {
  color: var(--color-dark);
  opacity: 0.8;
  font-size: var(--size-16);
  line-height: 1.5;
  margin-bottom: 24px;
}

.btn-cta-schedule {
  border-radius: 100px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--size-16);
  font-weight: 700;
  padding: 12px 28px;
  height: auto;
  line-height: 1;
}

.btn-cta-schedule:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(238, 67, 41, 0.25);
}

.cta-right-col {
  width: 100%;
}

.cta-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cta-feature-card {
  background-color: var(--color-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.cta-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(50, 48, 46, 0.04);
}

/* Increased icon size from 48px to 64px */
.cta-feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cta-feature-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cta-feature-title {
  color: var(--color-dark);
  font-weight: 700 !important;
  margin-bottom: 4px;
}

.cta-feature-desc {
  color: var(--color-dark);
  opacity: 0.6;
  font-size: var(--size-16);
  margin: 0;
}

@media (max-width: 992px) {
  .cta-box {
    padding: 40px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-booking-title {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .cta-box {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .cta-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-feature-card {
    padding: 20px;
  }
}

/* ----------------------------------------------------
   8. BLOG POST GRID (INDEX.PHP & ARCHIVE)
   ---------------------------------------------------- */
.blog-layout {
  background-color: var(--color-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.post-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(50, 48, 46, 0.03);
  transition: var(--transition-smooth);
  border: 1px solid rgba(50, 48, 46, 0.05);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(50, 48, 46, 0.08);
}

.post-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--color-light);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

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

.post-meta {
  font-size: var(--size-16);
  color: var(--color-dark);
  opacity: 0.6;
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.post-card-content h2 {
  margin-bottom: 15px;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.post-card-content h2 a:hover {
  color: var(--color-primary);
}

.post-excerpt {
  font-size: var(--size-16);
  color: var(--color-dark);
  opacity: 0.8;
  margin-bottom: 25px;
  flex-grow: 1;
}

.read-more-link {
  font-size: var(--size-16);
  font-weight: 400;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more-link::after {
  content: '→';
  transition: var(--transition-smooth);
}

.read-more-link:hover::after {
  transform: translateX(5px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 4px;
  background-color: var(--color-white);
  border: 1px solid rgba(50, 48, 46, 0.1);
  font-size: var(--size-16);
  font-weight: 400;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ----------------------------------------------------
   9. SINGLE POST & PAGE TEMPLATE
   ---------------------------------------------------- */
.single-post-header {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 120px 0 80px 0;
  text-align: center;
}

.single-post-header h1 {
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.post-hero-image {
  margin-top: -40px;
  margin-bottom: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 30px;
}

.article-content h2,
.article-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.article-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 24px;
  font-style: italic;
  font-size: var(--size-26);
  line-height: 1.4;
  margin: 40px 0;
  color: var(--color-dark);
}

/* ----------------------------------------------------
   10. FOOTER
   ---------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: start;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-widget h3 {
  font-size: var(--size-18);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-primary);
  text-transform: capitalize;
}

.footer-widget p {
  font-size: var(--size-16);
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-widget ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-widget ul a {
  font-size: var(--size-16);
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

.footer-widget ul a:hover {
  color: var(--color-primary);
}

/* Newsletter styling */
.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input[type="email"] {
  flex-grow: 1;
  padding: 12px 16px;
  border: none;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: var(--size-16);
  border-radius: 8px 0 0 8px;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
  background-color: var(--color-primary);
  border: none;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.newsletter-form button:hover {
  background-color: var(--color-white);
}

.newsletter-form button:hover svg path {
  fill: var(--color-primary);
}

.newsletter-form button svg {
  width: 20px;
  height: 20px;
  display: block;
}

.newsletter-form button svg path {
  transition: fill 0.35s ease;
}

/* Footer Social Links */
.footer-social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social-link {
  color: var(--color-white);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.footer-social-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-social-link svg path {
  fill: currentColor;
  transition: fill 0.35s ease;
}

/* Footer Bottom Layout */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: var(--size-16);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: var(--size-16);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}