* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Fix Bootstrap Icons display */
.bi,
[class*=" bi-"] {
  display: inline-block;
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix Font Awesome display */
.fas,
.far,
.fab,
[class*=" fa-"] {
  display: inline-block;
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fab {
  font-family: "Font Awesome 6 Brands" !important;
}

/* GPU Acceleration for Animations */
[data-aos] {
  will-change: opacity, transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

[data-aos].aos-animate {
  will-change: auto;
}

body {
  font-family: "Poppins", sans-serif;
  /* color: var(--text-dark); */
  overflow-x: hidden;
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

/* Mobile-First Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--bg-white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c00000;
  box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.1);
}

/* Touch-Friendly Buttons */
button,
input[type="button"],
input[type="submit"],
.btn {
  min-height: 48px;
  min-width: 120px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* Geometric Background */
.geometric-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  opacity: 0.04;
  will-change: transform;
}

.geo-circle-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--maroon-primary), transparent);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.geo-circle-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--maroon-light), transparent);
  border-radius: 50%;
  bottom: 100px;
  left: -50px;
}

.geo-square-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--maroon-primary), var(--maroon-light));
  transform: rotate(45deg);
  top: 50%;
  right: 10%;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 250px solid rgba(128, 0, 0, 1);
  bottom: 30%;
  left: 5%;
  transform: rotate(25deg);
}

/* Compact Hero Section */
.compact-hero {
  margin-top: var(--header-offset);
  min-height: calc(100svh - var(--header-offset));
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.compact-hero .container {
  max-width: 1200px;
}

.compact-hero .row {
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.compact-title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}

.highlight-text {
  color: var(--color-primary);
}

.compact-description {
  font-size: 1.1rem;
  color: var(--color-text-primary);
  margin-bottom: 25px;
  line-height: 1.7;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--maroon-primary);
  transition: transform 0.3s ease;
}

.badge-1 {
  top: 20px;
  right: 20px;
}

.badge-2 {
  bottom: 20px;
  left: 20px;
}

.floating-badge i {
  font-size: 1.2rem;
}

/* Info Cards Section */
.info-cards-section {
  padding: 40px 0;
  background: var(--bg-gray);
}

.info-cards-section .container {
  max-width: 1200px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.info-card {
  background: white;
  padding: 20px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--maroon-primary);
}

.card-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--maroon-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

.card-icon-wrapper i {
  display: inline-block;
  font-size: inherit;
  color: inherit;
}

.card-icon-wrapper .bi::before {
  display: inline-block;
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.card-icon-wrapper .fas,
.card-icon-wrapper .far,
.card-icon-wrapper .fab {
  display: inline-block;
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.card-icon-wrapper .fab {
  font-family: "Font Awesome 6 Brands" !important;
}

.card-content {
  /* text-align: left; */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 4px;
  line-height: 1.2;
}

.card-content a {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--maroon-primary);
  text-decoration: none;
  display: flex;
  text-align: left;
  /* align-items: center; */
  gap: 6px;
  margin-bottom: 5px;
  transition: color 0.3s ease;
  word-break: break-word;
}

.card-content a:hover {
  color: var(--maroon-light);
}

/* Form and Map Section - Horizontal Layout */
.form-map-section {
  padding: 60px 0;
  /* background: white; */
}

.form-map-section .container-fluid {
  max-width: 100%;
  padding: 0;
}

.form-map-section .row {
  margin: 0;
  min-height: 550px;
}

.form-map-section .col-lg-6 {
  padding: 0;
}

/* Form Box - Left Side */
.form-box {
  padding: 45px 40px;
  /* background: var(--bg-gray); */
  height: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header-compact {
  margin-bottom: 30px;
  text-align: center;
}

.form-header-compact h2 {
  font-family: "Poppins", sans-serif;

  font-size: 2rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.form-header-compact p {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}

/* Improved Form Grid */
.compact-form {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.input-group-wrapper {
  grid-column: span 1;
}

.input-group-wrapper.full-width {
  grid-column: span 2;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  top: 13px;
  color: var(--maroon-primary);
  font-size: 1rem;
  z-index: 1;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  background: white;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  font-family: inherit;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--maroon-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.08);
}

.input-wrapper textarea {
  resize: vertical;
  min-height: 110px;
  padding-top: 12px;
}

.input-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23800000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Fix oversized validation check icon on Contact page dropdown */
.form-map-section .input-wrapper select.is-valid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2328a745' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
  background-size: 20px !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}

@media (max-width: 768px) {
  .form-map-section .input-wrapper select.is-valid {
    background-size: 18px !important;
  }
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

.submit-btn-compact {
  background: var(--color-primary);
  color: white;
  padding: 15px 44px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
  width: 100%;
  max-width: 260px;
}

.submit-btn-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(128, 0, 0, 0.3);
}

/* Map Box - Right Side */
.map-box {
  position: relative;
  height: 100%;
  min-height: 550px;
  overflow: hidden;
  border-radius: 14px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-info-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  z-index: 10;
}

.map-pin {
  width: 50px;
  height: 50px;
  background: var(--maroon-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

.map-info-overlay h5 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.map-info-overlay p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

/* Compact CTA */
.compact-cta {
  padding: var(--section-padding-xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-base) 100%);
}

.compact-cta .container {
  max-width: 1200px;
}

.cta-wrapper {
  text-align: center;
  background: white;
  padding: var(--section-padding-lg) var(--section-padding-md);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

.cta-icon-circle {
  width: 88px;
  height: 88px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-size: 2rem;
  color: white;
  box-shadow: 0 12px 30px rgba(192, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-wrapper:hover .cta-icon-circle {
  transform: scale(1.1);
}

.cta-wrapper h3 {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.cta-wrapper p {
  font-family: var(--font-family-primary);
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.cta-btn-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: var(--font-size-base);
  position: relative;
  overflow: hidden;
}

.cta-link:not(.cta-link-alt) {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(192, 0, 0, 0.3);
}

.cta-link:not(.cta-link-alt):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(192, 0, 0, 0.4);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.cta-link-alt {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(192, 0, 0, 0.1);
}

.cta-link-alt:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(192, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .form-box {
    padding: 40px 35px;
  }
}

@media (max-width: 1200px) {
  .form-box {
    padding: 35px 30px;
  }

  .form-header-compact h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 991px) {
  /* Stack form and map vertically on tablets */
  .form-map-section .row {
    flex-direction: column;
    min-height: auto;
  }

  .form-box {
    min-height: auto;
    padding: 40px 25px;
  }

  .map-box {
    min-height: 450px;
  }

  .compact-hero {
    margin-top: var(--header-offset-mobile);
    min-height: calc(100svh - var(--header-offset-mobile));
    padding: 48px 0;
  }

  .compact-title {
    font-size: 2.5rem;
  }

  .form-header-compact h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .compact-hero {
    margin-top: var(--header-offset-mobile);
    min-height: calc(100svh - var(--header-offset-mobile));
    padding: 40px 0;
  }

  .compact-title {
    font-size: 2.2rem;
  }

  .compact-description {
    font-size: 1rem;
  }

  .info-cards-section {
    padding: 40px 0;
  }

  .cards-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-card {
    padding: 20px;
  }

  .form-map-section {
    padding: 30px 0;
  }

  .form-box {
    padding: 35px 20px;
  }

  .form-header-compact h2 {
    font-size: 1.65rem;
  }

  .form-header-compact p {
    font-size: 0.9rem;
  }

  /* Single column form on mobile */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .input-group-wrapper,
  .input-group-wrapper.full-width {
    grid-column: span 1;
  }

  .map-box {
    min-height: 400px;
  }

  .map-info-overlay {
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
    padding: 20px;
  }

  .compact-cta {
    padding: 60px 0;
  }

  .cta-wrapper {
    padding: 40px 30px;
  }

  .cta-wrapper h3 {
    font-size: 1.5rem;
  }

  .cta-btn-group {
    flex-direction: column;
    gap: 12px;
  }

  .cta-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .compact-hero {
    margin-top: var(--header-offset-mobile);
    min-height: calc(100svh - var(--header-offset-mobile));
    padding: 36px 0;
  }

  .compact-title {
    font-size: 1.95rem;
  }

  .hero-image-wrapper {
    margin-top: 30px;
  }

  .floating-badge {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .form-box {
    padding: 30px 20px;
  }

  .form-header-compact {
    margin-bottom: 30px;
  }

  .form-header-compact h2 {
    font-size: 1.6rem;
  }

  .compact-form {
    max-width: 100%;
  }

  .form-grid {
    gap: 14px;
  }

  .input-wrapper input,
  .input-wrapper select,
  .input-wrapper textarea {
    padding: 12px 14px 12px 44px;
    font-size: 0.9rem;
  }

  .input-wrapper i {
    left: 14px;
    top: 14px;
    font-size: 1rem;
  }

  .submit-btn-compact {
    max-width: 100%;
    padding: 14px 35px;
    font-size: 1rem;
  }

  .map-box {
    min-height: 350px;
  }

  .map-pin {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .map-info-overlay h5 {
    font-size: 1.1rem;
  }

  .map-info-overlay p {
    font-size: 0.85rem;
  }

  .cta-wrapper {
    padding: 35px 20px;
  }

  .cta-icon-circle {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .cta-wrapper h3 {
    font-size: 1.35rem;
  }

  .cta-wrapper p {
    font-size: 0.95rem;
  }
}

/* Animation classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Custom AOS Rotate Animation */
[data-aos="rotate-360"] {
  transform: rotate(0deg);
  transition-property: transform, opacity;
}

[data-aos="rotate-360"].aos-animate {
  transform: rotate(360deg);
}

/* Enhanced hover effects for cards with rotation */
.info-card:hover .card-icon-wrapper {
  transform: rotate(10deg) scale(1.05);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Smooth scroll animation enhancement */
.info-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
  transform: translateY(-8px) rotate(1deg);
}

/* Form input focus animations */
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--maroon-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.08);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

/* Submit button pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.4);
  }
  100% {
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
  }
}

.submit-btn-compact {
  animation: pulse 2s infinite;
}

.submit-btn-compact:hover {
  animation: none;
}

/* Floating badge subtle rotation on hover */
.floating-badge:hover {
  transform: rotate(-5deg) scale(1.05);
}

/* Map overlay slide-in animation */
.map-info-overlay {
  animation: slideInFromBottom 0.6s ease-out;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero title animation */
.compact-title {
  animation: fadeInUp 0.8s ease-out;
}

/* Staggered animation for hero content */
.compact-description {
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* CTA wrapper scale animation on scroll */
[data-aos="zoom-in"].cta-wrapper.aos-animate {
  animation: zoomRotate 0.6s ease-out;
}

@keyframes zoomRotate {
  0% {
    opacity: 0;
    transform: scale(0.9) rotate(-2deg);
  }
  50% {
    transform: scale(1.02) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Scroll to Top Button */
#scrollToTopBtn.scroll-to-top-btn {
  position: fixed;
  bottom: 30px !important;
  right: 30px !important;
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  inline-size: 52px !important;
  block-size: 52px !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #c00000 0%, #800000 100%);
  color: white;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(192, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
}

#scrollToTopBtn.scroll-to-top-btn:hover {
  box-shadow: 0 15px 40px rgba(192, 0, 0, 0.4);
  transform: translateY(-5px) scale(1.08);
}

#scrollToTopBtn.scroll-to-top-btn i {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

#scrollToTopBtn.scroll-to-top-btn:active {
  transform: translateY(-2px);
}

#scrollToTopBtn.scroll-to-top-btn.show {
  display: flex;
  animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #scrollToTopBtn.scroll-to-top-btn {
    bottom: 20px !important;
    right: 20px !important;
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    inline-size: 46px !important;
    block-size: 46px !important;
    font-size: 1.3rem;
  }

  #scrollToTopBtn.scroll-to-top-btn:hover {
    transform: translateY(-4px) scale(1.06);
  }
}

@media (max-width: 480px) {
  #scrollToTopBtn.scroll-to-top-btn {
    bottom: 15px !important;
    right: 15px !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    inline-size: 44px !important;
    block-size: 44px !important;
    font-size: 1.1rem;
  }

  #scrollToTopBtn.scroll-to-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
  }
}

/* =========================================
   HIDE DECORATIVE SHAPES ON MOBILE
   Prevents off-canvas overflow and content overlap on small viewports.
   ========================================= */
@media (max-width: 768px) {
  .geo-shape,
  .geo-circle-1,
  .geo-circle-2,
  .geo-square-1,
  .geo-triangle-1 {
    display: none !important;
  }
}
