/* Modern AIOTICS - Dark Theme for Hostinger Static Hosting */
:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary: #0ea5e9;
  --accent: #22d3ee;
  --dark: #0f0f23;
  --dark-light: #1e1b4b;
  --gray-150: #052151;
  --gray-50: #1e293b;
  --gray-100: #bfc7d2;
  --gray-800: #475569;
  --gray-900: #0f0f23;
  --white: #f8fafc;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.25);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3);
  --border: 1px solid rgb(255 255 255 / 0.1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.ai-container { 
  max-width: 1300px; 
  margin: 0 auto; 
  padding: 1.5rem 1.5rem; 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
  line-height: 1.6; 
  color: var(--white);   /* main text in white */
  background: var(--gray-900);
  min-height: auto;
  overflow-x: hidden;
}

/* Header */
.ai-header {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px); 
  z-index: 1000; 
  border-bottom: var(--border);
  transition: all 0.3s ease;
}
.ai-header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 1rem 0; 
}
.ai-logo-text { 
  font-size: 1.75rem; 
  font-weight: 700; 
  color: var(--primary); 
  text-decoration: none; 
}
.ai-nav { flex: 1; }
.ai-nav-list { 
  display: flex; 
  list-style: none; 
  gap: 2rem; 
  justify-content: flex-end; 
}
.ai-nav-list a { 
  color: var(--gray-100); 
  text-decoration: none; 
  font-weight: 500; 
  transition: color 0.2s; 
}
.ai-nav-list a:hover, .ai-nav-list a.active { color: var(--primary); }
.ai-nav-cta { 
  background: var(--primary); 
  color: var(--white) !important; 
  padding: 0.5rem 1.25rem; 
  border-radius: 0.5rem; 
  font-weight: 600; 
}
.ai-nav-toggle { 
  display: none; 
  flex-direction: column; 
  gap: 4px; 
  background: none; 
  border: none; 
  cursor: pointer; 
}
.ai-nav-toggle span { 
  width: 24px; 
  height: 3px; 
  background: var(--white); 
  transition: 0.3s; 
}

/* Hero */
.ai-hero { 
  padding: 6rem 0 6rem; 
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--dark-light) 100%); 
  min-height: auto; 
  display: flex; 
  align-items: center; 
}

.ai-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ai-hero-content h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  font-weight: 700; 
  line-height: 1.1; 
  margin-bottom: 1.5rem; 
  background: linear-gradient(135deg, var(--primary), var(--secondary)); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
}
.ai-hero-text { 
  font-size: 1.25rem; 
  color: var(--gray-100); 
  margin-bottom: 2rem; 
  max-width: 500px; 
}
.ai-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.ai-btn { 
  padding: 1rem 2rem; 
  border-radius: 0.75rem; 
  font-weight: 600; 
  text-decoration: none; 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  transition: all 0.3s; 
  font-size: 1rem; 
}
.ai-btn-primary { 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
  color: var(--white); 
  box-shadow: var(--shadow-lg); 
}
.ai-btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 20px 25px -5px rgb(59 130 246 / 0.4); 
}
.ai-btn-outline { 
  color: var(--primary); 
  border: 2px solid var(--primary); 
  background: rgba(59, 130, 246, 0.1);
}
.ai-btn-outline:hover { 
  background: var(--primary); 
  color: var(--white); 
}
.ai-hero-meta { 
  display: flex; 
  gap: 1.5rem; 
  font-size: 0.875rem; 
  color: var(--gray-100); 
  margin-top: 2rem; 
}
.ai-hero-visual { text-align: center; overflow: visible; }
.ai-hero-card { 
  background: var(--dark-light); 
  padding: 3rem 2rem; 
  border-radius: 1rem; 
  box-shadow: var(--shadow-lg); 
  max-width: 1090px;
  margin: 0 auto; 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-hero-icon {
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

.ai-hero-card:hover {
  z-index: 50;
}

.ai-hero-card:hover .ai-hero-icon {
  transform: scale(1.4);
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8));
}

/* Sections */
.ai-section { padding: 6rem 0; background: var(--gray-150); }
.ai-section-alt { background: var(--dark-light); }
.ai-section-header { 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto 4rem; 
}
.ai-kicker { 
  color: var(--secondary); 
  font-weight: 600; 
  font-size: 0.875rem; 
  letter-spacing: 0.05em; 
  text-transform: uppercase; 
}
.ai-section-header h2 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700; 
  margin-bottom: 1rem; 
  color: var(--white);
}
.ai-section-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Grid & Cards */
.ai-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ai-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.ai-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.ai-card { 
  background: var(--dark-light); 
  padding: 2.5rem; 
  margin-bottom: 1rem;
  border-radius: 1rem; 
  box-shadow: var(--shadow-lg); 
  transition: all 0.3s; 
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ai-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5); 
}
.ai-service-card ul { list-style: none; margin: 1.5rem 0; }
.ai-service-card li { 
  padding: 0.5rem 0; 
  padding-left: 1.5rem; 
  position: relative; 
  color: var(--gray-100);
}
.ai-service-card li::before { 
  content: '▸'; 
  color: var(--secondary); 
  position: absolute; 
  left: 0; 
}
.ai-link { 
  color: var(--primary); 
  font-weight: 600; 
  text-decoration: none; 
}
.ai-link:hover { text-decoration: underline; }

/* CTA */
.ai-cta-section { 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
  color: var(--white); 
  text-align: center; 
  padding: 6rem 0; 
}
.ai-cta-inner { max-width: 800px; margin: 0 auto; }
.ai-cta-actions { 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 2rem; 
}
.ai-btn-ghost { 
  background: rgba(255,255,255,0.1); 
  border: 2px solid rgba(255,255,255,0.3); 
  color: var(--white); 
}
.ai-btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Footer */
.ai-footer { 
  background: var(--gray-900); 
  color: var(--gray-100); 
  padding: 4rem 0 2rem;
   max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 1.5rem; 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
  line-height: 1.6; 
  color: var(--white);   /* main text in white */
  background: var(--gray-900);
  min-height: auto;
  overflow-x: hidden; 
  border-radius: 10px;
}
.ai-footer-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 2rem; 
  margin-bottom: 2rem; 
}

.ai-footer h3, .ai-footer h4 { margin-bottom: 1rem; color: var(--white); }
.ai-footer ul { list-style: none; }
.ai-footer ul li { margin-bottom: 0.5rem; }
.ai-footer a { color: var(--gray-100); text-decoration: none; }
.ai-footer a:hover { color: var(--secondary); }
.ai-footer-bottom { 
  border-top: 1px solid var(--gray-800); 
  padding-top: 2rem; 
  text-align: center; 
  color: var(--gray-100); 
}

/* Process Steps & Tech Stack */
.ai-process-steps { display: flex; flex-wrap: wrap; gap: 2rem; }
.ai-process-step { flex: 1; min-width: 220px; text-align: center; }
.ai-step-number { 
  width: 60px; height: 60px; 
  background: var(--primary); 
  color: var(--white); 
  border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; 
  font-weight: 700; font-size: 1.25rem; 
  margin: 0 auto 1rem; 
}
.ai-tech-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.ai-tech-category h4 { color: var(--primary); margin-bottom: 1rem; }
.ai-tech-category ul { list-style: none; }
.ai-tech-category li { 
  padding: 0.25rem 0; 
  font-family: 'Monaco', monospace; 
  font-size: 0.9rem; 
  color: var(--gray-100);
}

/* Responsive */
@media (max-width: 768px) {
  .ai-nav-toggle { display: flex; }
  .ai-nav-list { 
    position: fixed; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: var(--gray-900); 
    flex-direction: column; 
    padding: 2rem; 
    box-shadow: var(--shadow-lg); 
    transform: translateY(-100%); 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s; 
  }
  .ai-nav-open { 
    transform: translateY(0) !important; 
    opacity: 1 !important; 
    visibility: visible !important; 
  }
  .ai-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .ai-hero { padding: 8rem 0 4rem; }
  .ai-grid-2, .ai-grid-3, .ai-grid-4 { grid-template-columns: 1fr; }
  .ai-hero-actions, .ai-cta-actions { flex-direction: column; align-items: center; }
  .ai-section { padding: 4rem 0; }
}
/* Additional Responsive Tweaks */

/* Tablet Portrait (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .ai-container {
    padding: 1.5rem; /* Ensure some padding on tablets */
  }
  .ai-hero-grid {
    grid-template-columns: 1fr 1fr; /* Keep 2 columns but reduce gap */
    gap: 2rem;
  }
  .ai-section-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .ai-grid-2, .ai-grid-3, .ai-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile Landscape (481px to 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .ai-hero {
    padding: 6rem 1rem 4rem; /* Reduce side padding */
  }
  .ai-header-inner {
    padding: 0.5rem 1rem;
  }
  .ai-nav-list {
    gap: 1.5rem;
  }
}

/* Mobile Small (up to 480px) already handled by max-width:768, but reinforce */
@media (max-width: 480px) {
  .ai-hero-grid,
  .ai-section-layout,
  .ai-grid-2,
  .ai-grid-3,
  .ai-grid-4 {
    grid-template-columns: 1fr;
  }
  .ai-hero-actions,
  .ai-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .ai-container,
  .ai-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .ai-nav-list {
    padding: 1.5rem 1rem;
  }
  .ai-header-inner {
    flex-wrap: wrap;
  }
  .ai-logo-text {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}
/* ==================== */
/* FOOTER & LOGO SLIDER MOBILE FIXES */
/* ==================== */

/* Footer Grid Responsive */
.ai-footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .ai-footer-grid {
    grid-template-columns: 1fr !important; /* Single column stack */
    gap: 1.5rem;
    text-align: center;
  }
  
  .ai-footer h3, .ai-footer h4 {
    text-align: center;
  }
  
  .ai-footer ul {
    text-align: center;
    padding-left: 0;
  }
  
  .ai-footer li {
    margin: 0.25rem 0;
  }
}

@media (max-width: 480px) {
  .ai-footer-grid {
    gap: 1rem;
  }
  
  .ai-footer h3 {
    font-size: 1.5rem;
  }
  
  .ai-footer p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}/* ==================== */
/* PROGRAM SECTION LAYOUT */
/* ==================== */

.program-section {
  padding: 6rem 0;
  background: var(--dark-light);
}

.program-alt-bg {
  background: var(--dark-light);
}

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

/* 2-column layout */
.program-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;  /* left wider than right */
  gap: 3rem;
  align-items: start;
}

/* LEFT: header + cards stacked */
.program-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.program-header {
  text-align: left;
}

.program-badge {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.program-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.program-header p {
  color: var(--gray-100);
  font-size: 1.05rem;
}

.program-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cards */
.program-card {
  background: var(--dark-light);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5);
}

.program-list-card ul {
  list-style: none;
  margin: 1.5rem 0;
}

.program-list-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-100);
}

.program-list-card li::before {
  content: '▸';
  color: var(--secondary);
  position: absolute;
  left: 0;
}

/* RIGHT: image */
.program-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-image {
  width: 100%;
  max-width: 480px;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .program-layout {
    grid-template-columns: 1fr;
  }
  .program-left {
    order: 1;
  }
  .program-right {
    order: 2;
    margin-top: 2rem;
  }
  .program-header {
    text-align: center;
  }
}
/* ===================== */
/* PROGRAM SECTION LAYOUT */
/* ===================== */

/* Make this section a 2‑column grid */
#program .ai-section-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;   /* left wider than right */
  gap: 3rem;
  align-items: center;
}

/* LEFT column: header + cards */
#program .ai-section-header {
  grid-column: 1 / 2;
}

#program .ai-section-content {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Ensure cards are full‑width stacked */
#program .ai-grid-2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* RIGHT column: image only */
#program .program-media {
  grid-column: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

#program .program-media img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Optional: tighten text widths on large screens */
#program .ai-section-header p {
  max-width: 560px;
}

/* ========== */
/* Responsive */
/* ========== */

@media (max-width: 1024px) {
  #program .ai-section-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  #program .ai-section-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #program .ai-section-header,
  #program .ai-section-content,
  #program .program-media {
    grid-column: 1 / 2;
  }

  #program .ai-section-header {
    text-align: center;
  }

  #program .ai-section-header p {
    margin-left: auto;
    margin-right: auto;
  }

  #program .program-media {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  #program .ai-section {
    padding: 4rem 0;
  }

  #program .ai-card {
    padding: 2rem;
  }
}
