:root {
  --primary: #02b5a8;
  --primary-hover: #029a8f;
  --accent: #ff4d4f;
  --accent-hover: #d93638;
  --dark: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--gray-800);
  margin: 0;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
}

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

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

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.brand-logo {
  height: 2.5rem;
  width: auto;
}

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--gray-700);
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: var(--dark);
  width: 100%;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide, .slide img, .slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background-color: #000; /* Fallback for missing images */
}

.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
}

.slide:first-child {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--gray-50);
}

.dark-section {
  background-color: var(--dark);
  color: var(--white);
}

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

.section-tag {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--dark);
}

.dark-section .section-header h2 {
  color: var(--white);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-time {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin: 1rem 0 0;
}

/* Split Section */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.split-image {
  position: relative;
}

.split-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.image-decoration {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  display: block;
  transition: transform 0.2s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  position: relative;
  background: var(--gray-200);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray-400);
}

.news-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--dark);
}

.news-content p {
  color: var(--gray-600);
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 4rem 0 0;
}

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

.brand-footer {
  display: block;
  margin-bottom: 1.5rem;
}

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

.socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
}

.socials a:hover {
  background: var(--primary);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-card {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-header .container { height: auto; padding: 1rem; flex-direction: column; gap: 1rem; }
  .nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: 500px; }
}

/* Audio Player */
.audio-player {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  background: rgba(14, 26, 43, 0.95);
  backdrop-filter: blur(10px);
  padding: 0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
  z-index: 95;
  width: 90%;
  max-width: 400px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.audio-player.iframe-mode {
  bottom: 20px;
  width: 90%;
  max-width: 450px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #eee;
}

.player-content {
  width: 100%;
  display: flex;
}

.min-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  padding: 0 1rem 0.5rem;
}

.min-label {
  display: none;
}

.toggle {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0.25rem;
}

.toggle:hover {
  color: #fff;
}

.audio-player.min {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  left: auto;
  right: 20px;
  bottom: 90px;
  transform: none;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
}

.audio-player.min .player-content,
.audio-player.min .min-note {
  display: none;
}

.audio-player.min .min-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  height: 100%;
  width: 100%;
}

.audio-player.min .toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

.btn-light {
  background-color: var(--white);
  color: var(--dark);
}

.btn-light:hover {
  background-color: var(--gray-100);
}

/* Multimedia Gallery */
.media-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.recent-videos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: rgba(255,255,255,0.05);
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.video-item:hover {
  background: rgba(255,255,255,0.1);
}

.video-thumb {
  width: 120px;
  height: 68px;
  background: #000;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.video-thumb iframe {
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent interaction in thumbnail */
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  z-index: 2;
  font-size: 1.2rem;
  opacity: 0.8;
}

.video-details h4 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
}

.watch-now {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

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