/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #070708;
  --bg-secondary: #0e0e12;
  --bg-tertiary: #17171e;
  --bg-card: rgba(22, 22, 30, 0.7);

  --primary: #d4af37; /* Metallic Gold */
  --primary-light: #f3e5ab; /* Soft Cream Gold */
  --primary-dark: #aa8c2c;
  --primary-glow: rgba(212, 175, 55, 0.15);

  --text-main: #f4f4f7;
  --text-muted: #a0a0ab;
  --text-dark: #71717a;

  --success: #10b981; /* Emerald Green for checkboxes */
  --success-glow: rgba(16, 185, 129, 0.15);

  --border-color: rgba(212, 175, 55, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070708;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.splash-note {
  position: absolute;
  bottom: -30px;
  color: rgba(212, 175, 55, 0.55);
  animation: noteFloat 3s ease-in-out infinite;
}

@keyframes noteFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.splash-logo {
  height: 120px;
  width: auto;
  animation: splashLogoIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes splashLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.splash-loader {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.splash-loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  border-radius: 10px;
  animation: splashLoad 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splashLoad {
  0% { width: 0%; }
  30% { width: 45%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Global Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000000;
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #ffd700, var(--primary));
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-glow);
  transform: translateY(-3px);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 0.85rem 0;
}

.header.scrolled {
  padding: 0.6rem 0;
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Logo image - replaces text-based logo */
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px var(--primary-glow));
  transition: var(--transition-normal);
}

.logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.45));
  transform: scale(1.03);
}

.logo-img--footer {
  height: 80px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* Light mode logo adjustment */
body.light-theme .logo-img {
  filter: drop-shadow(0 0 6px rgba(170, 140, 44, 0.3));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Styles */
.nav-item.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 0.2rem;
  transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: max-content;
  width: auto;
  padding: 0.6rem 0;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  z-index: 1010;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
  white-space: nowrap !important;
  width: 100%;
}

.dropdown-item i {
  font-size: 0.9rem;
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  color: var(--primary);
  transition: transform 0.2s ease;
}
  opacity: 0.9;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-light);
  padding-left: 1.35rem;
}

.dropdown-item.highlighted {
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff;
  border-radius: 10px;
  margin: 0.2rem 0.5rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-color);
}

.dropdown-item.highlighted:hover {
  background: rgba(212, 175, 55, 0.28);
  padding-left: 1rem;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.4rem 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.theme-toggle-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: #000000;
  box-shadow: 0 0 15px var(--primary-glow);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  background: radial-gradient(circle at 80% 20%, rgba(212,175,55,0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(255,255,255,0.02) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-subtitle::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.hero-tagline {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slider .slide img.hero-img {
  max-width: 100%;
  max-height: 100%;
  height: 380px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(212, 175, 55, 0.25));
}

/* Slider Controls & Dots Hidden */
.slider-btn,
.slider-dots {
  display: none !important;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  padding: 1.25rem 2rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite alternate;
}

.badge-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.badge-text h4 {
  font-size: 1.1rem;
  color: var(--text-main);
}

.badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* About / Timeline Section */
.about {
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.about-content .section-tag {
  margin-bottom: 0.5rem;
}

.about-profile-desc {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.about-profile-desc p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.about-profile-desc p::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 0.95rem;
}

.legal-box {
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.legal-box h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.legal-box p {
  font-size: 0.95rem;
}

.legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.legal-badge i {
  color: var(--primary);
}

/* History Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--bg-tertiary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 4rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 4rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 2.5rem;
  width: 20px;
  height: 20px;
  background: var(--bg-primary);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-item:hover .timeline-dot {
  background: var(--primary);
  transform: scale(1.2);
}

.timeline-card {
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: var(--transition-normal);
}

.timeline-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.timeline-card p {
  font-size: 0.95rem;
}

/* Services / Services List */
.services {
  background-color: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: var(--transition-normal);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.08);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 2rem;
  transition: var(--transition-normal);
  border: 1px solid var(--border-light);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Products Section */
.products {
  background-color: var(--bg-secondary);
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 7, 8, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
}

.product-info {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-features li i {
  color: var(--success);
  font-size: 0.9rem;
}

.product-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.product-card:hover .product-btn {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* Programs Section */
.programs {
  background-color: var(--bg-primary);
  position: relative;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  padding: 2.5rem;
  border-radius: 24px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 45px rgba(212, 175, 55, 0.05);
}

.program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.program-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-glow);
  -webkit-text-stroke: 1px var(--primary);
  color: transparent;
  line-height: 1;
}

.program-icon {
  font-size: 2.5rem;
  color: var(--primary);
}

.program-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.program-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.program-perks {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.program-perks li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.program-perks li i {
  color: var(--primary);
}

/* Partnerships & SIPLah */
.partnership {
  background-color: var(--bg-secondary);
  padding: 5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partnership-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.partners-flex {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.purchase-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  padding: 2.5rem;
  border-radius: 20px;
}

.purchase-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.siplah-logo-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.siplah-logo {
  font-size: 2.5rem;
  color: #1e3a8a; /* SIPLah Blue */
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.siplah-text h3 {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-heading);
}

.siplah-text h3 span {
  color: #ef4444; /* SIPLah Red */
}

.siplah-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
}

.partner-logo-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100px;
  transition: var(--transition-normal);
  filter: grayscale(0.5) opacity(0.8);
}

.partner-logo-card:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.05);
}

.partner-logo-card i {
  font-size: 2rem;
  color: var(--primary);
}

.partner-name {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  text-align: center;
}

/* SIPLah Purchase Section */
.siplah-section {
  background: var(--bg-secondary);
}

.siplah-purchase {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.siplah-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

.siplah-logo-link {
  display: inline-block;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.siplah-logo-link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.siplah-logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.siplah-desc {
  max-width: 550px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Contact & Contact Info */
.contact {
  background-color: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-card {
  padding: 1.75rem;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.contact-info-content p, .contact-info-content a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info-content a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.social-btn:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.contact-form {
  padding: 3rem;
  border-radius: 24px;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-desc {
  font-size: 0.95rem;
  margin-bottom: 2.25rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  border: none;
}

/* Footer */
.footer {
  background-color: #040405;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-wrapper {
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-info li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-info li i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

/* Animations for Scroll Reveal */
.reveal {
  position: relative;
  opacity: 0;
  transition: var(--transition-slow);
}

.reveal.reveal-left {
  transform: translateX(-50px);
}

.reveal.reveal-right {
  transform: translateX(50px);
}

.reveal.reveal-up {
  transform: translateY(50px);
}

.reveal.active {
  transform: translate(0) scale(1);
  opacity: 1;
}

/* Navigation Overlay for Mobile Menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Keyframes for Mobile Floating Badge */
@keyframes float-mobile {
  0% { transform: translateX(-50%) scale(0.8) translateY(0); }
  100% { transform: translateX(-50%) scale(0.8) translateY(-8px); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-subtitle {
    justify-content: center;
  }
  .hero-subtitle::before {
    display: none;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-badge {
    left: 1rem;
    bottom: 1rem;
  }
  .hero-slider {
    height: 380px;
  }
  .hero-slider .slide img.hero-img {
    height: 340px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem 2rem;
    gap: 1.25rem;
    transition: var(--transition-normal);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  /* Mobile Dropdown styles */
  .nav-item.dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-item.dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    min-width: 100%;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 0 0 0 0.8rem;
    margin-top: 0;
    border-left: 2px solid var(--primary-glow);
    border-radius: 0 8px 8px 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  }

  .dropdown-menu.mobile-open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.3rem 0 0.3rem 0.8rem;
    margin-top: 0.25rem;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    transform: none;
  }

  .dropdown-item {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .header {
    padding: 0.75rem 0;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-slider {
    height: 310px;
  }
  .hero-slider .slide img.hero-img {
    height: 280px;
  }

  .about-media img {
    height: 320px !important;
  }

  .timeline-line {
    left: 2rem;
  }

  .timeline-item {
    width: 100%;
    padding-left: 4.5rem !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 1rem !important;
    right: auto !important;
  }

  .timeline-card {
    padding: 1.25rem !important;
  }

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

  .services-grid,
  .products-grid,
  .programs-grid {
    gap: 1.25rem;
  }

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

  .siplah-heading {
    font-size: 1.6rem;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-slider {
    height: 250px;
  }
  .hero-slider .slide img.hero-img {
    height: 220px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2.5rem auto;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    left: 50% !important;
    bottom: -0.5rem !important;
    transform: translateX(-50%) scale(0.8) !important;
    transform-origin: center;
    width: max-content;
    max-width: 95%;
    padding: 0.8rem 1.2rem;
    animation: float-mobile 4s ease-in-out infinite alternate;
  }

  .hero-stats {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  .stat-item {
    text-align: center;
    flex: 1;
  }
  .stat-number {
    font-size: 1.6rem !important;
  }
  .stat-label {
    font-size: 0.75rem !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .siplah-logo-link {
    padding: 1rem 2rem;
  }

  .siplah-logo-img {
    height: 50px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group:first-child {
    margin-bottom: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }
  .footer-brand .logo-wrapper {
    justify-content: center;
  }
  .footer-contact-info li {
    justify-content: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-media img {
    height: 260px !important;
  }

  .products-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .products-grid,
  .programs-grid {
    gap: 1rem;
  }
}

/* Light Theme Variables */
body.light-theme {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e9ecef;
  --bg-card: rgba(255, 255, 255, 0.8);

  --text-main: #121214;
  --text-muted: #495057;
  --text-dark: #868e96;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-color: rgba(212, 175, 55, 0.3);
}

/* Light Theme Overrides */
body.light-theme .text-gradient {
  background: linear-gradient(135deg, #121214 30%, var(--primary-dark) 70%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .hero {
  background: radial-gradient(circle at 80% 20%, rgba(212,175,55,0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(0,0,0,0.01) 0%, transparent 40%);
}

body.light-theme .glass {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

body.light-theme .timeline-dot {
  background: var(--bg-primary);
}

body.light-theme .siplah-logo-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-theme .siplah-text h3 {
  color: #121214;
}

body.light-theme .purchase-channel {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

body.light-theme .form-control {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-main);
}

body.light-theme .form-control:focus {
  background: rgba(212, 175, 55, 0.01);
}

body.light-theme iframe {
  filter: grayscale(10%) contrast(90%);
}

body.light-theme .footer {
  background-color: #f1f3f5;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.light-theme .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .dropdown-item {
  color: #333336;
}

body.light-theme .dropdown-item:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #000000;
}

body.light-theme .dropdown-item.highlighted {
  background: rgba(212, 175, 55, 0.2);
  color: #121214;
}
