/*
Theme Name: Soft Spectra Tech
Theme URI: https://softspectratech.pk
Author: Soft Spectra Tech
Author URI: https://softspectratech.pk
Description: Custom theme for Soft Spectra Tech - Empowering Students with Future Digital Skills.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: soft-spectra-tech
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif&display=swap');

:root {
  --white: #FFFFFF;
  --off-white: #F7F7F6;
  --ink: #000000;
  --grey: #808080;
  --pale-grey: #D0D0D0;
  --blue: #1A2EB2;
  --purple: #7B4FDF;
  --deep-navy: #000A1F;
  --whatsapp: #25D366;

  --gradient-primary: linear-gradient(90deg, #1A2EB2, #7B4FDF);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  --gradient-dark-overlay: linear-gradient(180deg, rgba(0,10,31,0.90) 0%, rgba(0,10,31,0.95) 100%);

  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.font-display { font-family: var(--font-display); }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg { background: var(--gradient-primary); }

.section-padding { padding: 60px 0; }
@media (min-width: 1024px) { .section-padding { padding: 120px 0; } }

.content-max { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.glass-bar {
  background: rgba(0, 10, 31, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-hover { transition: all 0.2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.pill-tab {
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 14px;
  border: 1px solid var(--pale-grey);
  color: var(--grey);
  transition: all 0.2s ease;
  background: var(--white);
}
.pill-tab:hover { background: var(--off-white); color: var(--ink); }
.pill-tab.active { background: var(--gradient-primary); color: var(--white); border-color: transparent; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-primary.gradient-bg:hover { transform: scale(1.03); box-shadow: 0 4px 24px rgba(26,46,178,0.35); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  transition: all 0.2s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--pale-grey);
  transition: all 0.3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-family: var(--font-display); }
.site-logo img { height: 40px; width: auto; }
.main-nav { display: none; gap: 32px; align-items: center; }
.main-nav a { font-size: 14px; color: var(--grey); transition: color 0.2s ease; padding-bottom: 4px; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.header-cta { display: none; }
.menu-toggle { padding: 8px; background: none; border: none; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { display: block; }
  .menu-toggle { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { display: flex; justify-content: flex-end; padding: 20px; }
.mobile-menu-close button { padding: 8px; }
.mobile-menu-close svg { width: 24px; height: 24px; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 32px; }
.mobile-nav a { font-size: 24px; font-weight: 500; color: var(--ink); }

/* ====== HERO ====== */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--gradient-hero-overlay); }
.hero-content {
  position: relative; z-index: 10; text-align: center; padding: 72px 20px 200px;
  max-width: 800px; margin: 0 auto;
}
.hero-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.hero-title { font-family: var(--font-display); color: var(--white); line-height: 1.1; letter-spacing: -0.02em; font-size: 36px; text-shadow: 0 2px 40px rgba(0,0,0,0.3); }
.hero-title span { display: block; }
.hero-sub { margin-top: 24px; font-size: 16px; color: rgba(255,255,255,0.85); max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.hero-buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; } .hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .hero-title { font-size: 72px; } }

.hero-stats { position: absolute; bottom: 0; left: 0; width: 100%; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stats-inner { padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 8px 0; } }
.stat-item { text-align: center; }
.stat-number { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
.stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; color: rgba(255,255,255,0.6); }
@media (min-width: 768px) { .stat-number { font-size: 48px; } .stat-label { font-size: 14px; } }

/* ====== SECTION HEADER ====== */
.section-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px; color: var(--grey); }
.section-eyebrow.light { color: rgba(255,255,255,0.5); }
.section-heading { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.section-heading.light { color: var(--white); }
@media (min-width: 768px) { .section-heading { font-size: 40px; } }
.section-subheading { margin-top: 16px; max-width: 700px; color: rgba(0,0,0,0.75); }
.section-subheading.light { color: rgba(255,255,255,0.75); }
@media (min-width: 768px) { .section-subheading { font-size: 18px; } }
.text-center .section-subheading { margin-left: auto; margin-right: auto; }

/* ====== ABOUT ====== */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 45% 55%; gap: 64px; } }
.about-img { overflow: hidden; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .about-cards { grid-template-columns: repeat(2, 1fr); } }
.about-card { background: var(--off-white); border-radius: 12px; padding: 24px; }
.about-card .icon { width: 32px; height: 32px; margin-bottom: 12px; }
.about-card h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.about-card p { font-size: 14px; color: var(--grey); }

/* ====== GENERIC GRID CARDS (programs etc.) ====== */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--white); border-radius: 12px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.2s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.feature-card .icon { width: 40px; height: 40px; margin-bottom: 16px; }
.feature-card h4 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--grey); line-height: 1.6; }

.stats-row { background: var(--white); border-radius: 12px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); margin-top: 48px; }
.stats-row-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .stats-row-grid { grid-template-columns: repeat(3, 1fr); } }
.stats-row .stat-number { color: transparent; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats-row .stat-label { color: var(--grey); }

/* Video Thumbnail */
.video-thumb { position: relative; margin-top: 48px; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.video-thumb:hover .video-thumb-overlay { background: rgba(0,0,0,0.4); }
.play-btn { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 30px rgba(26,46,178,0.4); transition: transform 0.2s; }
.video-thumb:hover .play-btn { transform: scale(1.1); }
.play-btn svg { width: 32px; height: 32px; margin-left: 4px; }
.play-btn.small { width: 56px; height: 56px; }
.play-btn.small svg { width: 24px; height: 24px; }

/* Video Modal */
.video-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; padding: 20px; }
.video-modal.open { display: flex; }
.video-modal-inner { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.video-modal-inner iframe { width: 100%; height: 100%; }
.video-modal-close { position: absolute; top: 16px; right: 16px; color: var(--white); font-size: 28px; cursor: pointer; }

/* ====== FINTECH TIMELINE ====== */
.timeline { position: relative; margin-top: 64px; }
.timeline-line { display: none; position: absolute; top: 28px; left: 0; right: 0; height: 2px; background: var(--gradient-primary); }
@media (min-width: 768px) { .timeline-line { display: block; } }
.timeline-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .timeline-grid { grid-template-columns: repeat(4, 1fr); } }
.timeline-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline-node { position: relative; z-index: 10; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.timeline-node svg { width: 24px; height: 24px; color: var(--white); }
.timeline-card { background: var(--off-white); border-radius: 12px; padding: 24px; max-width: 220px; }
.timeline-card h4 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.timeline-card p { font-size: 14px; color: var(--grey); }

.event-images { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
@media (min-width: 768px) { .event-images { grid-template-columns: repeat(2, 1fr); } }
.event-images img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); transition: transform 0.5s ease; }
.event-images img:hover { transform: scale(1.05); }

/* ====== GRAPHIC DESIGN TOPICS / GALLERY ====== */
.topic-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.topic-pill { padding: 10px 24px; border-radius: 9999px; border: 1px solid var(--pale-grey); font-size: 14px; color: var(--ink); background: var(--off-white); transition: all 0.2s; }
.topic-pill:hover { background: var(--gradient-primary); color: var(--white); border-color: transparent; }

.img-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 64px; }
@media (min-width: 640px) { .img-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .img-grid { grid-template-columns: repeat(3, 1fr); } }
.img-grid-item { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); cursor: pointer; aspect-ratio: 1/1; }
.img-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.img-grid-item:hover img { transform: scale(1.05); }
.img-grid-item .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s; }
.img-grid-item:hover .overlay { background: rgba(0,0,0,0.4); opacity: 1; }
.img-grid-item .overlay svg { width: 24px; height: 24px; color: var(--white); }

/* Before/After Compare */
.compare-wrap { margin-top: 64px; }
.compare-wrap h3 { font-size: 20px; font-weight: 500; text-align: center; margin-bottom: 24px; }
.compare-slider { position: relative; max-height: 500px; border-radius: 12px; overflow: hidden; user-select: none; }
.compare-slider img { width: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); }
.compare-after img { position: absolute; top: 0; left: 0; height: 100%; width: 200%; max-width: none; }
.compare-label { position: absolute; top: 16px; font-size: 12px; color: var(--white); background: rgba(0,0,0,0.5); padding: 4px 12px; border-radius: 4px; }
.compare-label.before { left: 16px; }
.compare-label.after { right: 16px; }
.compare-handle { position: absolute; top: 0; bottom: 0; width: 4px; background: var(--white); cursor: ew-resize; z-index: 10; left: 50%; transform: translateX(-50%); }
.compare-handle-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.compare-handle-btn svg { width: 20px; height: 20px; color: var(--white); }

/* ====== NAVTTC ====== */
.navttc-section { position: relative; background: var(--deep-navy); overflow: hidden; }
.navttc-overlay { position: absolute; inset: 0; background: var(--gradient-dark-overlay); }
.navttc-badges { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; margin: 64px 0; }
@media (min-width: 768px) { .navttc-badges { flex-direction: row; } }
.navttc-badges img:first-child { width: 180px; height: 180px; object-fit: contain; filter: drop-shadow(0 0 40px rgba(123,79,223,0.3)); transition: transform 0.3s; }
.navttc-badges img:last-child { width: 280px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.15); object-fit: cover; transition: all 0.3s; }
.navttc-badges img:hover { transform: scale(1.04); }

/* Carousel (3-up) */
.carousel-3 { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow: hidden; border-radius: 12px; transition: transform 0.5s ease; }
.carousel-slide { min-width: calc(33.333% - 14px); flex-shrink: 0; }
.carousel-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; }
@media (max-width: 767px) { .carousel-slide { min-width: 100%; } }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; color: var(--white); background: rgba(0,0,0,0.3); backdrop-filter: blur(4px); cursor: pointer; z-index: 10; transition: background 0.2s; }
.carousel-arrow:hover { background: rgba(255,255,255,0.15); }
.carousel-arrow.left { left: -10px; }
.carousel-arrow.right { right: -10px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all 0.2s; cursor: pointer; border: none; }
.carousel-dot.active { background: var(--white); width: 24px; border-radius: 9999px; }

/* ====== SEMINAR ====== */
.seminar-section { position: relative; background: var(--deep-navy); overflow: hidden; }
.speakers-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
@media (min-width: 640px) { .speakers-grid { grid-template-columns: repeat(3, 1fr); } }
.speaker-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 32px; text-align: center; }
.speaker-avatar { width: 100px; height: 100px; margin: 0 auto; border-radius: 50%; overflow: hidden; padding: 3px; background: var(--gradient-primary); }
.speaker-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--deep-navy); }
.speaker-card h4 { font-size: 18px; font-weight: 500; color: var(--white); margin-top: 16px; }
.speaker-card p { font-size: 14px; color: rgba(255,255,255,0.6); }

.agenda-wrap { position: relative; margin-top: 64px; max-width: 700px; margin-left: auto; margin-right: auto; }
.agenda-line { position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--gradient-primary); }
@media (min-width: 768px) { .agenda-line { left: 50%; transform: translateX(-1px); } }
.agenda-items { display: flex; flex-direction: column; gap: 32px; }
.agenda-item { position: relative; display: flex; align-items: flex-start; gap: 24px; }
.agenda-time-circle { position: relative; z-index: 10; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; color: var(--white); font-weight: 500; }
.agenda-card { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 20px; }
.agenda-card .time { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.agenda-card .title { color: var(--white); font-weight: 500; }
@media (min-width: 768px) { .agenda-item.reverse { flex-direction: row-reverse; } .agenda-spacer { flex: 1; display: block; } }
.agenda-spacer { display: none; }

/* ====== MEMORANDUM / TESTIMONIALS ====== */
.memo-photos { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
@media (min-width: 640px) { .memo-photos { grid-template-columns: repeat(3, 1fr); } }
.memo-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.5s; }
.memo-photos img:hover { transform: scale(1.02); }
.memo-photos figcaption { font-size: 12px; color: var(--grey); margin-top: 8px; padding: 0 4px; }

.testimonial-card { background: var(--white); border-radius: 16px; padding: 48px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); max-width: 700px; margin: 64px auto 0; text-align: center; }
.testimonial-card .quote-icon { width: 64px; height: 64px; opacity: 0.2; margin: 0 auto 16px; }
.testimonial-card blockquote { font-size: 18px; font-style: italic; color: rgba(0,0,0,0.8); line-height: 1.6; margin-bottom: 32px; }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; padding: 2px; background: var(--gradient-primary); margin: 0 auto 12px; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testimonial-name { font-weight: 500; }
.testimonial-course { font-size: 12px; color: var(--grey); }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.testimonial-nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--off-white); display: flex; align-items: center; justify-content: center; color: var(--grey); transition: color 0.2s; }
.testimonial-nav button:hover { color: var(--ink); }
.testimonial-nav button svg { width: 16px; height: 16px; }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pale-grey); transition: all 0.2s; border: none; }
.testimonial-dot.active { background: var(--gradient-primary); width: 20px; border-radius: 9999px; }

/* ====== GALLERY ====== */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s; }
.gallery-item:hover .overlay { background: rgba(0,0,0,0.4); opacity: 1; }
.gallery-item .overlay svg { width: 24px; height: 24px; color: var(--white); }
.gallery-item[hidden] { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lightbox-caption { margin-top: 16px; text-align: center; }
.lightbox-caption h4 { font-size: 18px; color: var(--white); font-weight: 500; }
.lightbox-caption p { font-size: 14px; color: rgba(255,255,255,0.7); }
.lightbox-close { position: absolute; top: 20px; right: 20px; color: var(--white); cursor: pointer; }
.lightbox-close svg { width: 28px; height: 28px; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; transition: background 0.2s; }
.lightbox-arrow:hover { background: rgba(0,0,0,0.7); }
.lightbox-arrow.left { left: 20px; }
.lightbox-arrow.right { right: 20px; }
.lightbox-arrow svg { width: 24px; height: 24px; }

/* ====== VIDEO GRID ====== */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.2s ease; }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.video-card .thumb { position: relative; aspect-ratio: 16/9; cursor: pointer; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.video-card:hover .thumb-overlay { background: rgba(0,0,0,0.4); }
.video-card .info { padding: 20px; }
.video-card .badge { display: inline-block; font-size: 12px; color: var(--grey); background: var(--off-white); border: 1px solid var(--pale-grey); border-radius: 9999px; padding: 4px 12px; }
.video-card h4 { font-size: 16px; font-weight: 500; margin-top: 8px; }
.video-card p { font-size: 14px; color: var(--grey); margin-top: 4px; }

/* ====== BLOG ====== */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card .info { padding: 20px; }
.blog-card .badge { display: inline-block; font-size: 12px; color: var(--grey); background: var(--off-white); border: 1px solid var(--pale-grey); border-radius: 9999px; padding: 4px 12px; }
.blog-card .date { font-size: 12px; color: var(--grey); margin-left: 8px; }
.blog-card h4 { font-size: 16px; font-weight: 500; margin-top: 12px; }
.blog-card p { font-size: 14px; color: var(--grey); margin-top: 8px; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--blue); margin-top: 12px; font-weight: 500; }
.blog-card .read-more svg { width: 14px; height: 14px; }

/* ====== CTA ====== */
.cta-section { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: var(--gradient-dark-overlay); }
.cta-content { position: relative; z-index: 10; padding: 100px 0; text-align: center; }
@media (min-width: 1024px) { .cta-content { padding: 160px 0; } }
.cta-content h2 { font-family: var(--font-display); font-size: 28px; color: var(--white); line-height: 1.2; }
@media (min-width: 768px) { .cta-content h2 { font-size: 48px; } }
.cta-content p { margin-top: 24px; font-size: 16px; color: rgba(255,255,255,0.75); max-width: 600px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .cta-content p { font-size: 18px; } }
.cta-buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* ====== CONTACT ====== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 64px; } }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; background: var(--off-white); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.contact-info-item .icon-wrap { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(26,46,178,0.15); }
.contact-info-item .icon-wrap svg { width: 20px; height: 20px; color: var(--blue); }
.contact-info-item h4 { font-size: 16px; font-weight: 500; }
.contact-info-item p { font-size: 14px; color: var(--grey); margin-top: 2px; }
.contact-map { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); height: 280px; margin-bottom: 20px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.social-row p { font-size: 14px; font-weight: 500; color: var(--grey); margin-bottom: 12px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: var(--off-white); border: 1px solid var(--pale-grey); display: flex; align-items: center; justify-content: center; color: var(--grey); transition: all 0.2s; }
.social-icons a:hover { background: var(--gradient-primary); color: var(--white); border-color: transparent; transform: scale(1.1); }
.social-icons svg { width: 20px; height: 20px; }

.contact-form-card { background: var(--white); border-radius: 12px; padding: 40px; border: 1px solid var(--pale-grey); box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.contact-form-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--pale-grey); border-radius: 8px;
  font-size: 16px; font-family: inherit; transition: all 0.2s;
}
.form-group textarea { height: auto; padding: 12px 16px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,46,178,0.1);
}
.form-submit { width: 100%; height: 48px; border-radius: 8px; color: var(--white); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; }
.form-submit:hover { transform: scale(1.02); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.form-success { text-align: center; padding: 48px 0; }
.form-success svg { width: 48px; height: 48px; color: #22c55e; margin: 0 auto 16px; }
.form-success h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--grey); }

/* ====== FOOTER ====== */
.site-footer { background: var(--deep-navy); }
.footer-upper { padding: 80px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-family: var(--font-display); margin-bottom: 16px; }
.footer-logo img { height: 40px; width: auto; }
.footer-col p.desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-size: 16px; font-weight: 500; color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: var(--white); }
.footer-blog-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-blog-item img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.footer-blog-item .title { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.4; }
.footer-blog-item .date { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }

.footer-lower { border-top: 1px solid rgba(255,255,255,0.1); padding: 80px 20px; }
.footer-lower-inner { max-width: 1280px; margin: 0 auto; }
.footer-tagline { font-family: var(--font-display); font-size: 48px; color: rgba(255,255,255,0.08); line-height: 1; letter-spacing: -0.02em; }
@media (min-width: 768px) { .footer-tagline { font-size: 80px; } }
@media (min-width: 1024px) { .footer-tagline { font-size: 120px; } }
.footer-tagline.indent { margin-left: 0; }
@media (min-width: 768px) { .footer-tagline.indent { margin-left: 40px; } }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 40px; }

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed; bottom: 16px; right: 16px; z-index: 100;
  width: 48px; height: 48px; background: var(--whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }
.whatsapp-pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); animation: ping 3s cubic-bezier(0,0,0.2,1) infinite; opacity: 0.3; }
@media (min-width: 1024px) { .whatsapp-float { bottom: 24px; right: 24px; width: 56px; height: 56px; } .whatsapp-float svg { width: 28px; height: 28px; } }

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Section reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
