/* IK Semiconductor Corporate Presentation - Optimized for 1280x720 */

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

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
  --primary-color: #0B4BA3;
  --secondary-color: #454072;
  --accent-color: #0099CC;
  --text-color: #2D3748;
  --muted-color: #718096;
  --green: #10B981;
  --box-bg: #F7FAFC;
  --box-border: #E2E8F0;
}

/* ===========================================
   BASE REVEAL.JS OVERRIDES
   =========================================== */
.reveal-viewport {
  background: #ffffff;
}

.reveal {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
  font-family: "Montserrat", sans-serif;
  text-transform: none;
  font-weight: 600;
  color: #2D3748;
}

.reveal h2 {
  color: #0B4BA3;
  font-size: 2em;
  margin-bottom: 0.2em;
}

.reveal h4 {
  color: #2D3748;
  font-size: 1em;
}

.reveal p, .reveal li {
  color: #2D3748;
  font-size: 0.9em;
  line-height: 1.5;
}

.reveal ul {
  list-style: disc;
  margin-left: 1em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.reveal section {
  text-align: left;
  padding: 30px 50px;
  height: 100%;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
}

/* ===========================================
   TITLE SLIDE (Section Divider)
   =========================================== */
.reveal .slides section.section-divider {
  background: linear-gradient(135deg, #0B4BA3 0%, #454072 100%);
  text-align: center;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.reveal .slides section.section-divider h1 {
  color: #ffffff;
  font-size: 2.2em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 0.3em;
}

.reveal .slides section.section-divider p {
  color: rgba(255,255,255,0.9);
  font-size: 1em;
}

.reveal .slides section.section-divider .logo {
  max-width: 220px;
  margin-bottom: 20px;
}

.reveal .slides section.section-divider .stats-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 30px;
}

.reveal .slides section.section-divider .stat-item {
  text-align: center;
}

.reveal .slides section.section-divider .stat-number {
  font-size: 2.2em;
  font-weight: 700;
  color: #ffffff;
}

.reveal .slides section.section-divider .stat-label {
  font-size: 0.7em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================================
   CONTENT WRAPPER - Vertically center content
   =========================================== */
.reveal .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 10px;
}

/* ===========================================
   TEXT UTILITIES
   =========================================== */
.text-xl {
  font-size: 1em !important;
}

.text-muted {
  color: #718096 !important;
  font-size: 0.85em !important;
}

/* ===========================================
   CALLOUT BOXES
   =========================================== */
.callout {
  border-left: 4px solid #0B4BA3;
  padding: 20px 25px;
  margin: 12px 0;
  background: #F7FAFC;
  border-radius: 8px;
}

.callout-blue {
  border-left-color: #0B4BA3;
  background: #EBF4FF;
}

.callout-cyan {
  border-left-color: #0099CC;
  background: #E0F7FA;
}

.callout-purple {
  border-left-color: #454072;
  background: #EDE7F6;
}

.callout-green {
  border-left-color: #10B981;
  background: #D1FAE5;
}

.callout h4 {
  margin-bottom: 8px;
  color: #2D3748;
  font-size: 1em;
}

.callout p {
  margin: 0;
  color: #2D3748;
  font-size: 0.85em;
}

/* ===========================================
   BOX STYLES
   =========================================== */
.box {
  background: #F7FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 10px 0;
}

.box p {
  font-size: 0.85em;
  margin: 0;
}

.box-primary {
  background: linear-gradient(135deg, #0B4BA3 0%, #454072 100%);
  border-radius: 8px;
  padding: 30px;
  margin: 15px 0;
}

.box-primary h3 {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #ffffff !important;
}

.box-primary p,
.box-primary li {
  color: #ffffff !important;
  font-size: 0.9em;
}

/* ===========================================
   PHASE CARDS
   =========================================== */
.phase-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  height: 100%;
}

.phase-card.active {
  border-color: #0B4BA3;
}

.phase-badge {
  display: inline-block;
  background: #0B4BA3;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.65em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.phase-card h4 {
  color: #0B4BA3;
  margin: 8px 0 5px;
  font-size: 0.95em;
}

.phase-card .period {
  color: #718096;
  font-size: 0.75em;
  margin-bottom: 12px;
}

.phase-card ul {
  margin: 0;
  padding-left: 18px;
}

.phase-card li {
  font-size: 0.8em;
  margin-bottom: 5px;
}

/* ===========================================
   PRODUCT CARDS
   =========================================== */
.product-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  text-align: center;
  height: 100%;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.product-card h4 {
  color: #0B4BA3;
  margin: 12px 12px 5px;
  font-size: 0.95em;
}

.product-card p {
  color: #718096;
  margin: 0 12px 15px;
  font-size: 0.75em;
}

/* ===========================================
   FACILITY CARDS
   =========================================== */
.facility-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 260px;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-card .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 75, 163, 0.9) 0%, transparent 100%);
  padding: 30px 15px 15px;
}

.facility-card .caption p {
  color: #ffffff !important;
  margin: 0;
  font-size: 0.8em;
}

/* ===========================================
   CERTIFICATION CARDS
   =========================================== */
.cert-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  height: 100%;
}

.cert-card img {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 18px;
}

.cert-card h4 {
  color: #0B4BA3;
  margin-bottom: 8px;
  font-size: 1.05em;
}

.cert-card p {
  color: #718096;
  margin-bottom: 15px;
  font-size: 0.85em;
}

.cert-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.65em;
  font-weight: 600;
  text-transform: uppercase;
}

/* ===========================================
   TIMELINE
   =========================================== */
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 35px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: #0099CC;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.timeline-dot.active {
  background: #0B4BA3;
  box-shadow: 0 0 0 4px rgba(11, 75, 163, 0.2);
}

.timeline-content h4 {
  color: #0B4BA3;
  margin-bottom: 6px;
  font-size: 1.1em;
}

.timeline-content p {
  color: #718096;
  font-size: 0.95em;
}

/* ===========================================
   VISION 2030 SLIDE
   =========================================== */
#vision2030 h2 {
  color: #ffffff !important;
}

#vision2030 p {
  color: rgba(255,255,255,0.9) !important;
}

.vision-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.vision-card .icon {
  font-size: 1.8em;
  display: block;
  margin-bottom: 8px;
}

.vision-card h4 {
  color: #ffffff !important;
  margin-bottom: 8px;
  font-size: 1em;
}

.vision-card p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.85em;
  margin: 0;
}

/* ===========================================
   CONTACT BOX
   =========================================== */
.contact-box {
  background: linear-gradient(135deg, #0B4BA3 0%, #454072 100%);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-box h3 {
  color: #ffffff !important;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.contact-box p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.9em;
  margin-bottom: 8px;
}

.contact-box .email {
  font-weight: 600;
}

/* ===========================================
   FEATURE LIST (numbered)
   =========================================== */
.feature-list {
  list-style: decimal;
  padding-left: 22px;
}

.feature-list li {
  margin-bottom: 8px;
  font-size: 0.85em;
}
