/* Main CSS File for CCBP Clone */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-blue: #1d2c43;
  --primary-white: #ffffff;
  --primary-light-bg: #f5f7fa;

  /* Accent Colors */
  --accent-red: #e34e48;
  --accent-blue: #4790f5;
  --accent-gold: #f5a623;

  /* Text Colors */
  --text-dark: #1d2c43;
  --text-gray: #6c7787;
  --text-light: #ffffff;

  /* Other UI Colors */
  --border-color: #e6e9ef;
  --light-pink: #f8d7e5;
  --light-beige: #faefd7;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-xxl: 24px;

  /* Box Shadow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-medium: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Container Width */
  --container-max-width: 1280px;
  --container-padding: 24px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Add font smoothing and rendering for all elements */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Improve rendering performance */
  text-rendering: optimizeSpeed;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  /* Additional performance improvements */
  perspective: 1000px;
  backface-visibility: hidden;
  /* Prevent scroll jank */
  overscroll-behavior: none;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Common Styles */
.container {
  max-width: var(--container-max-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.section-title {
  color: #0A2647;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 1.3;
  text-align: center;
}

/* Override for sections with dark backgrounds */
.masterclasses-section .section-title {
  color: white;
}

/* Ensure proper contrast for other dark background sections */
.recognition-section .section-title,
.awards-section .section-title,
.national-recognition-section .section-title,
.teams-section .section-title {
  color: #0A2647;
}

/* Button Styles */
.btn,
.card-btn,
.niat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-medium);
  font-size: 15px;
}

.btn.primary,
.card-btn.primary,
.niat-btn.primary {
  background-color: #1d2c43;
  color: var(--primary-white);
  box-shadow: 0 2px 8px rgba(29, 44, 67, 0.2);
}

.btn.primary:hover,
.card-btn.primary:hover,
.niat-btn.primary:hover {
  background-color: #273c5d;
  box-shadow: 0 4px 12px rgba(29, 44, 67, 0.3);
}

.btn.secondary,
.card-btn.secondary,
.niat-btn.secondary {
  background-color: transparent;
  color: #1d2c43;
  border: 1px solid #1d2c43;
  font-weight: 600;
}

.btn.secondary:hover,
.card-btn.secondary:hover,
.niat-btn.secondary:hover {
  background-color: rgba(29, 44, 67, 0.05);
}

.btn.outline,
.card-btn.outline {
  background-color: transparent;
  color: #1d2c43;
  border: 1px solid #e6e9ef;
  font-weight: 600;
}

.btn.outline:hover,
.card-btn.outline:hover {
  background-color: rgba(29, 44, 67, 0.05);
  border-color: #c5cad3;
}

/* Section padding */
section {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-out;
  margin: 20px 0;
  border-radius: var(--border-radius-lg);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Hardware acceleration for sections */
  perspective: 1000px;
  /* Manage repaints efficiently */
  contain: layout paint;
}

/* Add grid background to light sections */
section:not(.courses-roadmap-section):not(.masterclasses-section) {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  position: relative;
  will-change: auto;
  /* Use composite-only properties for background */
  transform: translate3d(0, 0, 0);
}

section:not(.courses-roadmap-section):not(.masterclasses-section)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(10, 38, 71, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 38, 71, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 1;
  border-radius: var(--border-radius-lg);
  transform: translateZ(0);
}

/* Add grid background to dark sections */
.courses-roadmap-section, .masterclasses-section {
  background: linear-gradient(135deg, #0A2647 0%, #144272 100%);
  position: relative;
  overflow: hidden;
}

.courses-roadmap-section::before, .masterclasses-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 1;
}

/* Update section content positioning */
section > * {
  position: relative;
  z-index: 1;
}

/* Add subtle gradient overlay to sections */
section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(10, 38, 71, 0.02) 100%);
  pointer-events: none;
  border-radius: var(--border-radius-lg);
}

/* Ensure dark sections maintain their styling */
.courses-roadmap-section .section-title,
.masterclasses-section .section-title {
  color: white;
}

/* Mobile Styles */
@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  section {
    padding: 32px 0;
  }
  
  .btn,
  .card-btn,
  .niat-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Update CTA button styles */
.btn.primary, 
.cta-button a,
.request-callback,
button {
  background-color: #0A2647;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn.primary:hover,
.cta-button a:hover,
.request-callback:hover,
button:hover {
  background-color: #001c3d;
  transform: translateY(-2px);
}

/* CTA Banner */
/* .cta-banner {
  background-color: #0A2647;
  padding: 20px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.cta-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-right: 20px;
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 600;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0;
}

.cta-button {
  background-color: white;
  color: #0A2647;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 20px;
}

.cta-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .cta-banner-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .cta-logo {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .cta-content {
    margin-bottom: 20px;
  }
  
  .cta-button {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
} */


/* Enhanced CTA Banner */
.cta-banner {
  background-color: #0A2647;
  padding: 16px;
  margin: 24px auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  /* Optimize CTA banner for better performance */
  transform: translateZ(0);
  will-change: transform;
  contain: layout style paint;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
  z-index: 0;
}

.cta-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  gap: 16px;
  text-align: center;
}

.cta-logo-container {
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  margin-right: 16px;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
}

.cta-logo {
  width: 100%;
  height: 4rem;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.cta-logo:hover {
  transform: scale(1.1);
}

.cta-content {
  flex: 1;
  text-align: center;
}

.cta-content h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 0 auto;
  line-height: 1.4;
  max-width: 600px;
  text-align: center;
}

.cta-button {
  background-color: white;
  color: #0A2647;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.cta-button span {
  position: relative;
  top: 1px;
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover {
  background-color: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
  border-color: rgba(10, 38, 71, 0.1);
}

.cta-button:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .cta-banner-container {
    flex-direction: column;
    text-align: center;
    padding: 0;
    gap: 12px;
  }
  
  .cta-logo-container {
    margin: 0 auto 12px;
  }
  
  .cta-content {
    padding: 0;
    margin-bottom: 16px;
  }
  
  .cta-button {
    margin: 12px auto 0;
  }
}

@media (max-width: 480px) {
  .cta-content h3 {
    font-size: 22px;
  }
  
  .cta-content p {
    font-size: 15px;
  }
}

/* Glassmorphism Course Cards Section */
.courses-roadmap-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0A2647 0%, #144272 100%);
  position: relative;
  overflow: hidden;
}

.courses-roadmap-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

.courses-roadmap-section::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.courses-container {
  max-width: var(--container-max-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.course-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.course-card:hover::before {
  transform: translateX(100%);
}

.course-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.15);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
}

.course-title {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.course-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.course-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.course-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.course-progress {
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #4790f5;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.explore-course {
  color: #4790f5;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.explore-course:hover {
  color: white;
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .course-card {
    padding: 20px;
  }

  .course-title {
    font-size: 18px;
  }
}

/* Grid animation */
@keyframes gridFloat {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

/* Success Stories Section */
.success-stories-section {
  background: linear-gradient(135deg, #0A2647 0%, #144272 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.success-stories-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

.success-stories-section::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #0A2647 0%, #144272 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.faq-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

.faq-section .section-title {
  color: white;
  margin-bottom: 50px;
  position: relative;
}

.faq-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  height: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.faq-question {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  padding: 20px 24px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-item:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.3);
}

.faq-question h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: white;
  padding-right: 24px;
  transition: color 0.3s ease;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: white;
  transition: all 0.3s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.faq-item.active .faq-question h3 {
  color: white;
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.44, 0.06, 0.05, 0.95), 
              opacity 0.4s ease-in-out, 
              padding 0.2s ease,
              visibility 0s linear 0.2s;
  padding: 0 24px;
  visibility: hidden;
}

.faq-answer p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 12px 0 16px;
}

.faq-answer li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  opacity: 1;
  visibility: visible;
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: max-height 0.6s ease-in-out, 
              opacity 0.4s ease-in-out, 
              padding 0.2s ease,
              visibility 0s linear 0s;
}

/* Mobile and responsive styles for FAQ */
@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .faq-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .faq-section {
    padding: 50px 0;
  }
  
  .faq-section .section-title {
    margin-bottom: 40px;
    font-size: 28px;
  }
  
  .faq-question {
    padding: 16px 20px;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
  
  .faq-answer {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}

/* Footer Section */
footer {
  background: linear-gradient(135deg, #0A2647 0%, #144272 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0 30px;
  color: white;
}

footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

footer::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .faq-item {
    padding: 20px;
  }
  
  .faq-question {
    font-size: 16px;
    padding: 0 16px;
  }
  
  .faq-answer {
    padding: 0 16px;
    font-size: 14px;
  }
  
  .faq-item.active .faq-answer {
    margin-top: 12px;
    padding-top: 12px;
  }
}

/* Images and multimedia optimization */
img, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
  /* Prevent layout shifts during lazy loading */
  content-visibility: auto;
  /* Optimize rendering */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize buttons and interactive elements for smoother transitions */
button, 
.btn, 
a.btn, 
a.card-btn, 
a.niat-btn,
a.cta-button {
  /* Ensure smooth transitions and optimized rendering */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, box-shadow;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reduce motion for users who prefer less animation */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  body, section, .hero-form-section, .card {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}