/* ==========================================
   Modern Frontend CSS - QUINETICS
   ========================================== */

/* Root CSS Variables */
:root {
  --primary0: #151A2D;
  --primary1: #222A3F;
  --primary2: #2c5864;
  --primary3: #608da2;
  --primary4: #5FAAA5;
  --primary5: #60EEEF;
  --contrast: #D4DCD7;
  --warm: #7A2B86;
  --warm-light: #CB20C8;
  --background: white;
  --text-dark: #151A2D;
  --text-light: white;
  --hover: #e0e0e0;
  --drawer: #667B85;
  --gradient: linear-gradient(135deg, #CB20C8 0%, #7A2B86 100%);
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Mulish', 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

html, body {
  height: 100%;
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--warm-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--warm);
}

/* Layout */
.body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-grow-1 {
  flex-grow: 1;
}

/* Container styling handled by Bootstrap */

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #666;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ==========================================
   BUTTONS
   ========================================== */

.th-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  color: white !important;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(203, 32, 200, 0.3);
}

.th-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(203, 32, 200, 0.4);
}

.th-btn-primary {
  background: var(--gradient);
}

.th-btn.btn-inverse {
  background: transparent;
  color: var(--warm-light) !important;
  border: 2px solid var(--warm-light);
  box-shadow: none;
}

.th-btn.btn-inverse:hover {
  background: var(--warm-light);
  color: white !important;
  box-shadow: 0 4px 15px rgba(203, 32, 200, 0.3);
}

.th-btn.th-btn-light {
  background: white;
  color: var(--warm) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.th-btn.th-btn-light:hover {
  background: var(--warm-light);
  color: white !important;
}

/* ==========================================
   HEADER
   ========================================== */

header.cs-header {
  background-color: var(--primary0);
  padding: 1.2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 99999;
  pointer-events: auto;
}

header.cs-header * {
  pointer-events: auto;
}

header.cs-header .navbar {
  z-index: 100000;
  position: relative;
}

/* Cookie Consent - Ensure it doesn't block header when hidden */
#cc_div,
.cc_div {
  pointer-events: none !important;
  z-index: 100001 !important;
}

#cc_div > *,
.cc_div > * {
  pointer-events: auto;
}

#cm[style*="visibility: hidden"],
#cm-ov[style*="visibility: hidden"],
#s-cnt[aria-hidden="true"],
#cs-ov[style*="visibility: hidden"],
#cs-ov[aria-hidden="true"],
#cm[aria-hidden="true"] {
  pointer-events: none !important;
  z-index: -1 !important;
  visibility: hidden !important;
  display: none !important;
}

#cs-ov[style*="display: none"],
#cm[style*="display: none"],
#cm-ov[style*="display: none"] {
  pointer-events: none !important;
  z-index: -1 !important;
}

.cc_div #s-cnt {
  pointer-events: auto;
}

.cc_div #s-cnt[aria-hidden="true"] {
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

#cm.c--anim {
  pointer-events: none !important;
}

#cm.c--anim.show,
#cm[aria-hidden="false"]:not([style*="visibility: hidden"]) {
  pointer-events: auto !important;
}

#cc_div:has(#cm[style*="visibility: hidden"]):has(#s-cnt[aria-hidden="true"]) {
  pointer-events: none !important;
  z-index: -1 !important;
}

header.cs-header .navbar-brand img {
  max-width: 50px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

header.cs-header .navbar-brand img:hover {
  transform: scale(1.05);
}

header.cs-header .navbar-nav {
  gap: 30px;
  z-index: 10000;
}

header.cs-header .navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

header.cs-header .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--warm-light);
  transition: width 0.3s ease;
}

header.cs-header .navbar-nav .nav-link:hover::after {
  width: 100%;
}

header.cs-header .navbar-nav .nav-link:hover {
  color: var(--warm-light);
}

header.cs-header .navbar-collapse {
  z-index: 10000;
  pointer-events: auto;
}

header.cs-header .header-account {
  align-items: center;
  gap: 12px;
  z-index: 10000;
  pointer-events: auto;
}

header.cs-header .th-btn {
  white-space: nowrap;
  z-index: 10001;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
  display: inline-block;
}

header.cs-header .navbar-brand {
  z-index: 10000;
  pointer-events: auto;
}

@media (max-width: 991px) {
  header.cs-header .header-account {
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
  }
  
  header.cs-header .th-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  background: linear-gradient(135deg, var(--primary0) 0%, var(--primary1) 50%, var(--primary2) 100%);
  padding: 100px 0 60px;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.hero-wrapper {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text-column {
  flex: 1;
  min-width: 0;
}

.hero-image-column {
  flex: 1;
  min-width: 0;
}

.hero-content {
  max-width: 100%;
}

.hero-image {
  max-width: 100%;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 991px) {
  .hero-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-text-column,
  .hero-image-column {
    width: 100%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  color: white;
  font-weight: 800;
  margin: 1.5rem 0;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 1.5rem 0;
  line-height: 1.8;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.feature-item i {
  color: var(--warm-light);
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 2rem;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.2;
  border-radius: 24px;
  filter: blur(40px);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 15%;
  left: -10%;
  animation-delay: 1.5s;
}

.floating-card i {
  font-size: 1.5rem;
  color: var(--warm-light);
}

.floating-card strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.floating-card p {
  margin: 0;
  color: #666;
  font-size: 0.8rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Hero Trust */
.hero-trust {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.trust-text {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.trust-text i {
  color: var(--warm-light);
  margin-right: 8px;
}

.disclaimer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Collaborators Section in Hero */
.collaborators-section {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.collaborators-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.9;
}

.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.collaborator-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #2c3e50;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 200px;
  height: 80px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.collaborator-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(203, 32, 200, 0.25);
}

.collaborator-item img {
  max-width: 160px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.collaborator-item:hover img {
  opacity: 0.9;
}

.collaborator-link {
  cursor: pointer;
}

.collaborator-fallback {
  cursor: default;
  pointer-events: none;
}

.collaborator-fallback:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.collaborator-fallback:hover img {
  opacity: 1;
}

/* ==========================================
   WIKIFOLIO SECTION
   ========================================== */

.wikifolio-section {
  padding: 100px 0;
  background: white;
}

.wikifolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.wikifolio-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.wikifolio-content-column {
  flex: 1;
  min-width: 0;
}

.wikifolio-image-column {
  flex: 1;
  min-width: 0;
}

@media (max-width: 991px) {
  .wikifolio-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .wikifolio-content-column,
  .wikifolio-image-column {
    width: 100%;
  }
}

.wikifolio-section .feature-badge {
  margin-bottom: 20px;
}

.wikifolio-section .feature-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.wikifolio-section .feature-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

.wikifolio-image a {
  display: block;
  transition: transform 0.3s ease;
}

.wikifolio-image a:hover {
  transform: scale(1.02);
}

.wikifolio-image a:hover img {
  box-shadow: 0 30px 70px rgba(203, 32, 200, 0.2);
}

/* ==========================================
   FEATURES OVERVIEW SECTION
   ========================================== */

.features-overview {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(203, 32, 200, 0.1);
  color: var(--warm);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(203, 32, 200, 0.15);
  border-color: rgba(203, 32, 200, 0.2);
}

.feature-card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(203, 32, 200, 0.3);
}

.feature-card-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-card-description {
  color: #666;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(203, 32, 200, 0.1);
  color: var(--warm);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.feature-section-dark .feature-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--warm-light);
}

.feature-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.feature-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 1.1rem;
  color: #333;
}

.feature-list i {
  color: var(--warm-light);
  font-size: 1.2rem;
}

/* Feature Image */
.feature-image-wrapper {
  position: relative;
  padding: 20px;
}

.feature-decoration {
  position: absolute;
  width: 80%;
  height: 80%;
  background: var(--gradient);
  opacity: 0.15;
  border-radius: 24px;
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feature-decoration-dark {
  position: absolute;
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.3;
  border-radius: 24px;
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feature-img {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   STEPS SECTION
   ========================================== */

.steps-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(203, 32, 200, 0.1);
  color: var(--warm);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step-card {
  position: relative;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(203, 32, 200, 0.1);
  z-index: 0;
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.step-icon i {
  font-size: 2rem;
  color: white;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-description {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.step-arrow {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--warm-light);
  opacity: 0.5;
}

.step-card:last-child .step-arrow {
  display: none;
}

/* ==========================================
   FOOTER
   ========================================== */

footer.cs-footer {
  background: linear-gradient(135deg, var(--primary0) 0%, var(--primary1) 100%);
  color: white;
  padding: 0;
  position: relative;
}

.purple-line {
  background: var(--gradient);
  height: 4px;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 30px;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: 60px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.footer-social {
  margin-top: 8px;
}

.social-heading {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--warm-light);
  border-color: var(--warm-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(203, 32, 200, 0.4);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: var(--warm-light);
  transform: translateX(4px);
}

.footer-language {
  margin-top: 4px;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
}

.language-button:hover {
  background: var(--gradient);
  border-color: var(--warm-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(203, 32, 200, 0.3);
}

.language-button i {
  font-size: 1rem;
}

.footer-language .dropdown-menu {
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 8px;
}

.footer-language .dropdown-item {
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-language .dropdown-item:hover {
  background-color: rgba(203, 32, 200, 0.1);
  color: var(--warm);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--warm-light);
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

/* Legal Docs Buttons */
.legal-docs-btns {
  display: flex;
  gap: 16px;
  margin: 10px 0 30px;
}

.legal-docs-btns .legal-docs-btn {
  flex: 1 1 0;
  justify-content: center;
  text-align: center;
}

@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 60px 20px 30px;
  }
  
  .footer-content {
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .language-button {
    width: 100%;
    justify-content: center;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.g-5 { gap: 3rem; }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .feature-title, .section-title { font-size: 2rem; }
  .hero { padding: 60px 0 40px; }
  .features-overview, .team-section, .cta-section { padding: 80px 0; }
  .floating-card { display: none; }
  
  .feature-card {
    padding: 30px 25px;
  }
  
  .feature-card-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-card-icon i {
    font-size: 1.7rem;
  }
  
  .collaborators-section {
    padding: 30px;
    margin-top: 50px;
  }
  
  .collaborators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-description { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .th-btn { width: 100%; justify-content: center; }
  .feature-title, .section-title { font-size: 1.75rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .collaborators-grid {
    grid-template-columns: 1fr;
  }
  
  .collaborator-item {
    max-width: 220px;
    margin: 0 auto;
  }
  
  .profile-pic img {
    max-width: 280px;
  }
  
  .cta-box {
    padding: 40px 30px;
  }
  
  .cta-title {
    font-size: 1.9rem;
  }
  
  .cta-description {
    font-size: 1.05rem;
  }
  
  .cta-feature-card {
    padding: 25px 20px;
  }
  
  .cta-feature-card i {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero { padding: 40px 0 30px; }
  .hero-title { font-size: 1.75rem; }
  .container { padding: 0 15px; }
  .th-btn { padding: 12px 24px; font-size: 0.9rem; }
  .section-header { margin-bottom: 40px; }
  
  .features-overview, .team-section, .cta-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .feature-card-icon {
    width: 55px;
    height: 55px;
  }
  
  .feature-card-icon i {
    font-size: 1.5rem;
  }
  
  .feature-card-title {
    font-size: 1.15rem;
  }
  
  .feature-card-description {
    font-size: 0.95rem;
  }
  
  .collaborators-section {
    padding: 25px 20px;
    margin-top: 40px;
  }
  
  .collaborators-title {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .collaborator-item {
    height: 68px;
    max-width: 176px;
  }
  
  .collaborator-item img {
    max-width: 132px;
    max-height: 42px;
  }
  
  .profile-pic img {
    max-width: 240px;
  }
  
  .cta-box {
    padding: 35px 20px;
  }
  
  .cta-title {
    font-size: 1.65rem;
  }
  
  .cta-description {
    font-size: 1rem;
    margin-bottom: 35px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .th-btn {
    width: 100%;
  }
}

/* ==========================================
   ALERTS & MISC
   ========================================== */


.alert {
  padding: 20px 54px 20px 24px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.alert::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
}

.alert.alert_positive {
  background: linear-gradient(135deg, #d4f4dd 0%, #e8f5e9 100%);
  color: #1e7e34;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert.alert_positive::before {
  background: linear-gradient(180deg, #28a745 0%, #20c997 100%);
}

.alert.alert_positive:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.2);
}

.alert.alert_negative {
  background: linear-gradient(135deg, #ffe5e8 0%, #fff0f1 100%);
  color: #a82835;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert.alert_negative::before {
  background: linear-gradient(180deg, #dc3545 0%, #c82333 100%);
}

.alert.alert_negative:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.2);
}

.closebtn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.closebtn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-50%) rotate(90deg);
}

/* Profile Picture */
.profile-pic img {
  max-width: 300px;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.profile-pic p {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
}

/* Cards */
.card {
  border: 2px solid rgba(203, 32, 200, 0.2);
  border-radius: 16px;
  background-color: white;
  margin: 20px 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(203, 32, 200, 0.2);
}

/* Home wrapper */
.home {
  background: white;
}

/* ==========================================
   TEAM SECTION
   ========================================== */

.team-section {
  padding: 100px 0;
  background: white;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.team-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.team-image-column {
  flex: 0 0 40%;
  min-width: 0;
}

.team-content-column {
  flex: 1;
  min-width: 0;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 991px) {
  .team-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .team-image-column,
  .team-content-column {
    width: 100%;
    flex: 1;
  }
}

.team-image {
  position: relative;
}

.profile-pic {
  text-align: center;
  position: relative;
}

.profile-pic img {
  max-width: 350px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 4px solid #f8f9fa;
  transition: all 0.3s ease;
}

.profile-pic img:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(203, 32, 200, 0.15);
}

.profile-pic p {
  margin-top: 24px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.profile-pic strong {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.team-section .feature-badge {
  margin-bottom: 20px;
}

.team-section .feature-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.team-section .feature-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary0) 0%, var(--primary1) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(203, 32, 200, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 60px 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cta-box .feature-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--warm-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features {
  margin-bottom: 50px;
}

.cta-feature-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 25px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.cta-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(203, 32, 200, 0.3);
  border-color: rgba(203, 32, 200, 0.3);
}

.cta-feature-card i {
  font-size: 2.5rem;
  color: var(--warm-light);
  margin-bottom: 20px;
  display: block;
}

.cta-feature-card strong {
  display: block;
  color: white;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.cta-feature-card p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--warm-light);
  border-color: var(--warm-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(203, 32, 200, 0.4);
}

.cta-image img {
  max-width: 100%;
  animation: float 3s ease-in-out infinite;
}

/* ==========================================
   ADDITIONAL COMPONENTS
   ========================================== */

/* Collaborator Logos */
.collaborator-anchor {
  margin: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.collaborator-anchor:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Navbar Toggler */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 8px 12px;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: var(--warm-light);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Focus Styles */
button:focus, 
a:focus {
  outline: 2px solid var(--warm-light);
  outline-offset: 2px;
}

header.cs-header a:focus,
header.cs-header button:focus {
  outline: 2px solid var(--warm-light);
  outline-offset: 2px;
}

/* reCAPTCHA Responsive */
#recaptcha {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

@media (max-width: 576px) {
  #recaptcha {
    transform: scale(0.85);
    transform-origin: center;
  }
}

@media (max-width: 400px) {
  #recaptcha {
    transform: scale(0.75);
    transform-origin: center;
  }
}

@media (max-width: 320px) {
  #recaptcha {
    transform: scale(0.65);
    transform-origin: center;
  }
}

/* Responsive Image Grid */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Order utilities for mobile */
@media (max-width: 992px) {
  .order-lg-0 {
    order: 0;
  }
  .order-lg-1 {
    order: 1;
  }
  .cta-box {
    padding: 40px 30px;
  }
  .cta-title {
    font-size: 2rem;
  }
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .profile-pic img {
    max-width: 250px;
  }
  .cta-section {
    padding: 80px 0;
  }
  .team-section {
    padding: 80px 0;
  }
}

/* Fix for Bootstrap grid gaps */
.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

@media (max-width: 768px) {
  .g-5 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(203, 32, 200, 0.15);
  border: 1px solid rgba(203, 32, 200, 0.1);
}

.faq-question {
  padding: 24px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--warm-light);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 8px rgba(203, 32, 200, 0.3);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--warm);
  box-shadow: 0 4px 12px rgba(122, 43, 134, 0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 24px 68px;
  margin: 0;
  color: #6c757d;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================
   BLOG STYLES
   ========================================== */

.blog-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-post-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  margin: -30px -30px 0 -30px;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-image img {
  transform: scale(1.05);
}

.blog-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.blog-post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: #666;
  font-size: 0.9rem;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-meta i {
  color: var(--warm-light);
}

.blog-post-title {
  margin-bottom: 15px;
  flex-grow: 0;
}

.blog-post-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--warm-light);
}

.blog-post-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warm-light);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  gap: 12px;
  color: var(--warm);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-back-link:hover {
  color: white;
  gap: 12px;
}

.blog-post-header-meta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.blog-post-header-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-post-header-meta i {
  color: var(--warm-light);
}

.blog-post-content-section {
  padding: 80px 0;
  background: white;
}

.blog-post-article {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post-featured-image {
  margin-bottom: 50px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
}

.blog-post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.blog-post-body h2 {
  color: var(--text-dark);
  font-size: 2rem;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 700;
}

.blog-post-body h2:first-child {
  margin-top: 0;
}

.blog-post-body h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-post-body h3 i {
  color: var(--warm-light);
  font-size: 1.3rem;
}

.blog-post-body p {
  margin-bottom: 20px;
  color: #444;
}

.blog-post-body ul, 
.blog-post-body ol {
  margin: 25px 0;
  padding-left: 30px;
}

.blog-post-body li {
  margin-bottom: 12px;
  color: #444;
  line-height: 1.7;
}

.blog-post-body strong {
  color: var(--text-dark);
  font-weight: 700;
}

.blog-post-disclaimer {
  background: linear-gradient(135deg, rgba(203, 32, 200, 0.05) 0%, rgba(122, 43, 134, 0.05) 100%);
  border-left: 4px solid var(--warm-light);
  padding: 25px;
  border-radius: 12px;
  margin-top: 50px;
  display: flex;
  gap: 15px;
}

.blog-post-disclaimer i {
  color: var(--warm-light);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.blog-post-disclaimer strong {
  color: var(--text-dark);
}

.blog-post-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

@media (max-width: 768px) {
  .blog-post-footer {
    flex-direction: column;
  }
  
  .blog-post-footer .th-btn {
    width: 100%;
    justify-content: center;
  }
  
  .blog-post-body {
    font-size: 1rem;
  }
  
  .blog-post-body h2 {
    font-size: 1.6rem;
  }
  
  .blog-post-body h3 {
    font-size: 1.3rem;
  }
}