/**
 * HEXA - Minimal Restyle
 * Palette: White dominant + Black + Bordeaux (#6B1E2A)
 * Fonts: Times New Roman (HEXA brand) + Libre Baskerville (body/headings)
 * Layout structure preserved from original Instant template
 */

/* ==========================================================================
   1. VARIABLES & COLOR SYSTEM
   ========================================================================== */

:root {
  /* Typography */
  --default-font: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  --heading-font: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  --nav-font: "Libre Baskerville", Georgia, "Times New Roman", Times, serif;
  --brand-font: "Times New Roman", Times, Georgia, serif;
  scroll-behavior: smooth;

  /* New Minimal Palette - White dominant */
  --background-color: #FFFFFF;
  --default-color: #1A1A1A;
  --heading-color: #000000;
  --accent-color: #6B1E2A;          /* Bordeaux primario - valenza erotica */
  --accent-hover: #7A1F2B;          /* Bordeaux più vivo per hover */
  --surface-color: #F7F5F5;         /* Grigio-rosa molto chiaro */
  --contrast-color: #FFFFFF;
  --muted-color: #4A4A4A;           /* Grigio per testi secondari */
  --soft-color: #6B6B6B;            /* Grigio medio */
  --border-color: rgba(107, 30, 42, 0.12);
  --border-strong: rgba(107, 30, 42, 0.22);
}

/* Navigation */
:root {
  --nav-color: #1A1A1A;
  --nav-hover-color: #6B1E2A;
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #1A1A1A;
  --nav-dropdown-hover-color: #6B1E2A;
}

/* Color Presets (kept for compatibility) */
.light-background {
  --background-color: #FAFAFA;
  --surface-color: #F0EEEE;
}

.dark-background {
  --background-color: #1A1A1A;
  --default-color: #F8F8F8;
  --heading-color: #FFFFFF;
  --surface-color: #2A2A2A;
  --contrast-color: #FFFFFF;
}

/* ==========================================================================
   2. GENERAL STYLING & BASE REBOOT
   ========================================================================== */

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

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

section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

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

/* ==========================================================================
   3. UTILITY & TYPOGRAPHY HELPERS
   ========================================================================== */

/* HEXA brand → Times New Roman maiuscolo */
.hexa-brand {
  font-family: var(--brand-font);
  font-size: 1.15em;
  color: var(--accent-color);
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
  text-transform: uppercase;
}

.section-title-center {
  text-align: center;
}

.section-title-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Text Emphasis System – adapted to new palette */
.key-gold {
  color: var(--accent-color);
  font-weight: 600;
}

.key-soft {
  color: var(--muted-color);
  font-weight: 400;
}

.key-accent {
  color: var(--soft-color);
  font-style: italic;
}

.key-gold, .key-soft, .key-accent {
  /* allow wrap inside cards to avoid overflow */
  white-space: normal;
}

.hero .key-gold,
.hero .key-soft,
.hero .key-accent {
  white-space: nowrap;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: var(--heading-color);
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before { margin: 0 15px 10px 0; }
.section-title h2:after { margin: 0 0 10px 15px; }
.section-title p { margin-bottom: 0; color: var(--muted-color); }

/* Page Titles & Breadcrumbs */
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 170px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: var(--soft-color);
}

/* ==========================================================================
   4. NAVIGATION & HEADER
   ========================================================================== */

.header {
  --background-color: rgba(255, 255, 255, 0.92);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid transparent;
}

.header .logo { line-height: 1; }
.header .logo img {
  max-height: 72px;
  margin-right: 0;
  display: block;
}
@media (max-width: 768px) {
  .header .logo img {
    max-height: 52px;
  }
}
.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--brand-font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
  font-family: var(--nav-font);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-hover);
}

/* Scrolled state – light frosted glass */
.scrolled .header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.scrolled .header::before {
  display: none; /* remove old dark overlay */
}

/* Force standard header order: logo left → nav → CTA right */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header .logo {
  order: 1;
  flex-shrink: 0;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.header .navmenu {
  order: 2;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.header .btn-getstarted {
  order: 3;
  flex-shrink: 0;
  margin-left: 0 !important;
}

@media (max-width: 1199px) {
  .header .logo { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 12px 0 0; padding: 6px 20px; }
  .header .navmenu { order: 3; flex: 0 0 auto; justify-content: flex-end; }
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
  .navmenu li { position: relative; }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    letter-spacing: 0.02em;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu li:last-child a { padding-right: 0; }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    z-index: 99;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
  }
  .navmenu .dropdown ul li { min-width: 200px; }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul { opacity: 1; top: 100%; visibility: visible; }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu { padding: 0; z-index: 9997; }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .mobile-nav-active { overflow: hidden; }
  .mobile-nav-active .mobile-nav-toggle {
    color: var(--accent-color);
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul { display: block; }
}

/* ==========================================================================
   5. SECTIONS – HERO
   ========================================================================== */

.hero {
  padding-top: 100px;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  background: #FFFFFF;
  padding-bottom: 40px;
}

/* Soft ambient shapes (replacing old gold glow) */
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(107, 30, 42, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  top: -15%;
  right: -8%;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(107, 30, 42, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 5%;
  left: 3%;
  z-index: 0;
  pointer-events: none;
}

.hero .hero-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero .hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.15;
  margin-bottom: 25px;
  letter-spacing: -0.01em;
}

.hero .hero-description {
  font-size: 1.15rem;
  color: var(--muted-color);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero .hero-actions .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: var(--nav-font);
  letter-spacing: 0.02em;
}

.hero .hero-actions .action-btn.primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}

.hero .hero-actions .action-btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(107, 30, 42, 0.25);
}

.hero .hero-actions .action-btn.secondary {
  background: transparent;
  color: var(--default-color);
  border: 1.5px solid var(--border-strong);
}

.hero .hero-actions .action-btn.secondary:hover {
  background: var(--surface-color);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.hero .hero-image-showcase { position: relative; }

.hero .hero-image-showcase .image-wrapper {
  position: relative;
  background: var(--surface-color);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.hero .hero-image-showcase .image-wrapper img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.hero .hero-image-showcase .floating-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.hero .hero-image-showcase .floating-card.card-1 {
  top: 18%;
  left: -55px;
}

.hero .hero-image-showcase .floating-card.card-2 {
  bottom: 12%;
  right: -55px;
}

.hero .hero-image-showcase .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero .hero-image-showcase .floating-card .card-content .card-icon {
  background: rgba(107, 30, 42, 0.08);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-image-showcase .floating-card .card-content .card-icon i {
  color: var(--accent-color);
  font-size: 20px;
}

.hero .hero-image-showcase .floating-card .card-content .card-info h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  line-height: 1;
}

.hero .hero-image-showcase .floating-card .card-content .card-info p {
  margin: 4px 0 0;
  color: var(--soft-color);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Hero Ticker */
.hero-ticker {
  width: 100%;
  overflow: hidden;
  margin: 28px 0 12px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
  margin-right: 56px;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.08em;
  font-family: var(--brand-font);
}

@media (max-width: 991px) {
  .hero { min-height: auto; }
  .hero .floating-card.card-1 { left: -25px; top: 8%; }
  .hero .floating-card.card-2 { right: -25px; bottom: 8%; }
  .hero .hero-actions { margin-bottom: 36px; }
}

@media (max-width: 768px) {
  .hero .hero-title { font-size: 34px; }
  .hero .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero .hero-actions .action-btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero .floating-card { display: none; }
}

/* ==========================================================================
   DEMO DOWNLOAD / PDF SECTION
   ========================================================================== */

.demo-download-section {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.demo-download-section .rounded-3 {
  background: #FFFFFF !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.demo-download-section h3 {
  color: var(--accent-color) !important;
  font-family: var(--heading-font) !important;
}

.demo-download-section p {
  color: var(--muted-color) !important;
}

.demo-download-section .btn-warning {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.demo-download-section .btn-warning:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

/* ==========================================================================
   ABOUT / BENEFITS / FEATURES
   ========================================================================== */

.about .content h2 {
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
}

.about .content p {
  color: var(--muted-color);
  line-height: 1.8;
}

.about .btn-primary {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
}

.about .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.about .btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
  border-radius: 50px;
  padding: 10px 26px;
  font-weight: 600;
}

.about .btn-outline-primary:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Features grid – centered, max-width, 3 columns */
.features-container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.features .features-grid,
.features-grid {
  display: grid;
  gap: 28px;
}

.features-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.features-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 991px) {
  .features-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .features-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Evaluating section – compact image + cards */
#experience.portfolio.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.experience-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  background: var(--surface-color);
  max-height: 520px;
}

.experience-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

#experience .features-grid-2 {
  gap: 18px;
}

#experience .feature-item {
  padding: 20px 18px;
}

#experience .feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

#experience .feature-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Footer timestamp / hash – very soft */
.footer .sha-line {
  color: #B0B0B0;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  margin-top: 6px;
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 400;
}

.features .feature-item,
.feature-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.features .feature-item:hover,
.feature-item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(107, 30, 42, 0.08);
  transform: translateY(-4px);
}

.feature-item-wide {
  grid-column: 1 / -1;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.features .feature-icon,
.feature-item .feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(107, 30, 42, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.features .feature-icon i,
.feature-item .feature-icon i {
  font-size: 22px;
  color: var(--accent-color);
}

.features .feature-content,
.feature-item .feature-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.features .feature-content h3,
.feature-item .feature-content h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--heading-color);
  text-align: center;
  line-height: 1.35;
}

.features .feature-content p,
.feature-item .feature-content p {
  color: var(--muted-color);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
  hyphens: auto;
  flex: 1;
}

/* Section intro under title (Evaluating) */
.section-title .section-intro {
  max-width: 720px;
  margin: 0 auto 10px;
  font-size: 1.05rem;
  color: var(--muted-color);
  line-height: 1.75;
  text-align: center;
}

/* ==========================================================================
   EXPERIENCE / PORTFOLIO (now uses shared feature cards)
   ========================================================================== */

.portfolio .section-title {
  margin-bottom: 10px;
}

/* ==========================================================================
   RESOURCES / FAQ
   ========================================================================== */

.faq .faq-list .faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 18px;
}

.faq .faq-list .faq-item h3 {
  font-size: 1.15rem;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.faq .faq-list .faq-item .faq-content ul {
  padding-left: 1.1rem;
  margin: 0;
}

.faq .faq-list .faq-item .faq-content li {
  color: var(--muted-color);
  margin-bottom: 6px;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact .info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.contact .info-item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 10px 28px rgba(107, 30, 42, 0.07);
  transform: translateX(6px);
}

.contact .info-item .info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(107, 30, 42, 0.08);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact .info-item .info-icon i {
  font-size: 20px;
  color: var(--accent-color);
}

.contact .info-item .info-content h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.contact .info-item .info-content p {
  font-size: 0.95rem;
  color: var(--muted-color);
  margin: 0;
}

.contact .social-contact {
  padding: 28px;
  background: var(--surface-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.contact .social-contact h5 p {
  color: var(--muted-color);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* Contact quote – reduced size */
.contact-quote {
  max-width: 520px;
}

.contact-quote p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted-color);
  margin-bottom: 1rem;
  text-align: justify;
}

.contact-quote h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--heading-color);
}

.contact-quote .role {
  font-size: 0.9rem;
  color: var(--soft-color);
  margin: 0;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */

.footer {
  color: var(--default-color);
  background: #FAFAFA;
  font-size: 14px;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.footer .footer-top {
  background-color: #FFFFFF;
  padding-top: 50px;
  padding-bottom: 20px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--brand-font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer .footer-about p {
  font-size: 14px;
  color: var(--muted-color);
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 15px;
  color: var(--heading-color);
  letter-spacing: 0.03em;
}

.footer h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-links ul a {
  color: var(--muted-color);
  transition: 0.25s;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .copyright {
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
}

.footer .copyright,
.footer .credits {
  color: var(--soft-color);
  font-size: 13px;
}

.footer .social-links a {
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 30, 42, 0.08);
  color: var(--accent-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: var(--accent-color);
  color: #FFFFFF;
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top i {
  font-size: 22px;
  color: #FFFFFF;
  line-height: 0;
}

.scroll-top:hover {
  background-color: var(--accent-hover);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 18px;
}

/* ==========================================================================
   7. KEYFRAMES & GLOBAL ANIMATIONS
   ========================================================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

/* AOS Fix for Mobile */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
