/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #6366f1;
  --secondary: #ec4899;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --darker: #0a0e27;
  --light: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  background: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#preloader::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 5px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 70px;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(100px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.1);
}

.hero > .hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat p {
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  font-family: 'Courier New', monospace;
}

.code-header {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.code-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-header span:nth-child(1) { background: #ff5f56; }
.code-header span:nth-child(2) { background: #ffbd2e; }
.code-header span:nth-child(3) { background: #27c93f; }

.code-block pre {
  margin: 0;
  overflow-x: auto;
}

.code-block code {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  padding: 80px 0;
  background: #f8f9fa;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.program-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.program-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  transform: scaleY(1.02);
}

.program-card.featured:hover {
  transform: translateY(-14px) scaleY(1.02);
}

.featured-badge {
  position: absolute;
  top: -16px;
  right: 25px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.card-header {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 12px;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.program-card h3 {
  margin: 15px 0 12px 0;
  color: var(--text-primary);
  font-size: 1.35rem;
}

.program-card p {
  margin: 0 0 20px 0;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.tech-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.program-features {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.program-features li {
  padding: 10px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.program-features li i {
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.program-card .btn {
  width: 100%;
  margin-top: auto;
  padding: 14px 20px;
  text-align: center;
  justify-content: center;
}

.program-card .btn-outline {
  border: 2px solid var(--border);
  background: transparent;
  color: var(--primary);
}

.program-card .btn-outline:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--primary);
}

.program-card .btn-primary {
  width: 100%;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  padding: 80px 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.benefit-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  padding: 35px 25px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

.benefit-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.benefit-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.benefit-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== SHOWCASE PROJECTS SECTION ===== */
.showcase {
  padding: 80px 0;
  background: #f8f9fa;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.project-image {
  height: 150px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.project-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-content p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 15px 0;
}

.project-tech span {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.student {
  color: var(--text-secondary);
}

.rating {
  color: var(--primary);
  font-weight: 600;
}

/* ===== PROFILE BUILDER SECTION ===== */
.profile-builder {
  padding: 80px 0;
  background: white;
}

.profile-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.profile-example {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  border-radius: 16px;
  padding: 30px;
  color: white;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-info h3 {
  margin-bottom: 5px;
  color: white;
}

.profile-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.profile-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.profile-links a:hover {
  color: var(--secondary);
}

.score-board {
  margin-bottom: 30px;
}

.overall-score {
  background: rgba(99, 102, 241, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 25px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.overall-score h4 {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.big-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.big-score span {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.score-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.metric-score {
  color: var(--primary);
  font-weight: 600;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.profile-projects {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-projects h4 {
  margin-bottom: 15px;
  color: white;
}

.mini-projects {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-project {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-project i {
  color: var(--primary);
}

.profile-info-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-info-box h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 10px;
  flex-shrink: 0;
}

.info-card h4 {
  margin-bottom: 5px;
  color: var(--text-primary);
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
}

.cta-box {
  padding: 25px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  color: white;
  text-align: center;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 80px 0;
  background: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  margin: 0 0 20px 0;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author h4 {
  margin: 0 0 4px 0;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-author p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: normal;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 80px 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  transition: all 0.3s ease;
}

.faq-item.active .faq-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.faq-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: white;
}

.faq-body {
  padding: 20px;
  display: none;
  color: var(--text-secondary);
  background: #f8f9fa;
}

.faq-item.active .faq-body {
  display: block;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark), var(--darker));
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* ===== CREDENTIALS SECTION ===== */
.credentials {
  padding: 80px 0;
  background: #f8f9fa;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.credential-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}

.credential-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.credential-card h2 {
  margin-bottom: 15px;
}

.credential-details {
  text-align: left;
  margin: 20px 0;
  background: rgba(99, 102, 241, 0.05);
  padding: 15px;
  border-radius: 8px;
}

.credential-details h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.credential-details ul {
  list-style: none;
  padding: 0;
}

.credential-details li {
  padding: 5px 0;
  color: var(--text-secondary);
}

.credential-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.credential-btn:hover {
  gap: 12px;
  color: var(--secondary);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 80px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.info-item > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
}

.info-item h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.info-item p {
  margin: 0;
  color: var(--text-secondary);
}

.info-item a {
  margin: 0;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.info-item a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 600;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: white;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-socials a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  border-color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
/* Tablets and Small Screens */
@media (min-width: 481px) and (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    margin: 10px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }

  .hero > .hero-content {
    padding: 0 15px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat {
    text-align: center;
  }

  .profile-showcase {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Grid Layouts for Tablets - 2 columns */
  .programs-grid,
  .benefits-grid,
  .projects-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Medium Tablets */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    margin: 10px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .profile-showcase {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .programs-grid,
  .benefits-grid,
  .projects-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Better spacing on tablets */
  .program-card,
  .benefit-card,
  .project-card {
    padding: 25px;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .hero > .hero-content {
    padding: 0 15px;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-visual {
    display: none;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }

  .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
  }

  .stat h3 {
    font-size: 1.3rem;
  }

  .stat p {
    font-size: 0.75rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .section-header {
    margin-bottom: 25px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .programs,
  .benefits,
  .showcase,
  .profile-builder,
  .testimonials,
  .faq,
  .credentials,
  .contact,
  .hero {
    padding: 40px 0 !important;
  }

  .programs-grid,
  .benefits-grid,
  .projects-grid,
  .testimonials-grid,
  .faq-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-card,
  .benefit-card,
  .project-card,
  .testimonial-card {
    padding: 15px;
  }

  .program-card h3,
  .benefit-card h3 {
    font-size: 1rem;
  }

  .tech-stack {
    gap: 6px;
  }

  .tech-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    gap: 20px;
  }

  .info-icon {
    width: 50px;
    height: 50px;
  }

  .code-block {
    padding: 12px;
  }

  .code-block code {
    font-size: 0.75rem;
  }
}

/* Tablets and Small Screens */
@media (min-width: 481px) and (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Medium Tablets */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .footer-section ul li a {
    font-size: 0.9rem;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 0.85rem;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }

  .footer-section {
    text-align: left;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-section p {
    font-size: 0.85rem;
  }

  .footer-section ul li {
    margin-bottom: 8px;
  }

  .footer-section ul li a {
    font-size: 0.85rem;
  }

  .footer-socials {
    justify-content: flex-start;
    gap: 10px;
  }

  .footer-socials a {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .footer {
    padding: 30px 0 15px;
  }

  .footer-bottom {
    padding-top: 15px;
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* Extra Small Phones (320px - 360px) */
@media (max-width: 359px) {
  .footer-content {
    gap: 20px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .footer-section p {
    font-size: 0.8rem;
  }

  .footer-section ul li {
    margin-bottom: 6px;
  }

  .footer-section ul li a {
    font-size: 0.8rem;
  }

  .container {
    padding: 0 12px !important;
  }
}

  /* Contact form */
  .contact-form {
    gap: 15px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  /* Modal and Popup adjustments */
  .code-block {
    padding: 15px;
  }

  .code-block code {
    font-size: 0.8rem;
  }
}

/* Extra Small Phones (320px - 360px) */
@media (max-width: 359px) {
  .logo {
    font-size: 1rem;
  }

  .logo span {
    display: none;
  }

  h1 {
    font-size: 1.2rem !important;
  }

  h2 {
    font-size: 1.3rem !important;
  }

  h3 {
    font-size: 0.95rem !important;
  }

  .hero-title {
    font-size: 1.5rem !important;
  }

  .btn {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
  }

  .program-card {
    padding: 12px !important;
  }

  .program-card h3 {
    font-size: 0.95rem !important;
  }

  .program-card p {
    font-size: 0.8rem !important;
  }

  .container {
    padding: 0 12px !important;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 8px;
  }

  /* Reduce margins and padding */
  .section-header {
    margin-bottom: 20px;
  }

  .hero {
    padding: 30px 0 !important;
  }

  .programs,
  .benefits,
  .showcase,
  .contact,
  .credentials {
    padding: 30px 0 !important;
  }
}

/* Desktop Optimizations (1200px+) */
@media (min-width: 1200px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== PAGE HERO SECTION ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.page-hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

/* ===== FAQ PAGE ===== */
.faq-section {
  padding: 80px 0;
  background: #f8fafc;
}

.faq-category {
  margin-bottom: 60px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-title {
  color: var(--dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
}

.category-title i {
  color: var(--primary);
  font-size: 1.8rem;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.faq-header h3 {
  color: var(--dark);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-header:hover h3 {
  color: var(--primary);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-header.active .faq-toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
}

.faq-body.show {
  max-height: 500px;
  margin-top: 15px;
}

.faq-body ul, .faq-body ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.faq-body li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.faq-body a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.faq-body a:hover {
  text-decoration: underline;
}

/* ===== TERMS & CONDITIONS PAGE ===== */
.terms-section {
  padding: 80px 0;
  background: white;
}

.terms-toc {
  background: #f0f4f8;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 60px;
}

.terms-toc h2 {
  margin-bottom: 20px;
  color: var(--dark);
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.toc-list a:hover {
  padding-left: 10px;
  color: var(--secondary);
}

.terms-section-item {
  margin-bottom: 50px;
}

.terms-section-item h2 {
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.terms-section-item h3 {
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.terms-section-item h4 {
  color: var(--dark);
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.terms-section-item ul, .terms-section-item ol {
  margin-left: 30px;
  margin-bottom: 15px;
}

.terms-section-item li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.terms-acceptance {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  padding: 40px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  margin-top: 60px;
}

.terms-cta {
  text-align: center;
  margin-top: 50px;
}

/* ===== PRIVACY POLICY PAGE ===== */
.privacy-section {
  padding: 80px 0;
  background: #f8fafc;
}

.privacy-intro {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 50px;
  border-left: 4px solid var(--primary);
}

.privacy-intro p {
  margin-bottom: 12px;
}

.privacy-intro strong {
  color: var(--dark);
}

.privacy-toc {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.privacy-section-item {
  background: white;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.privacy-section-item h2 {
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.privacy-section-item h3 {
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 12px;
}

.privacy-section-item h4 {
  color: var(--dark);
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.privacy-section-item ul, .privacy-section-item ol {
  margin-left: 30px;
  margin-bottom: 15px;
}

.privacy-section-item li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.privacy-section-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.privacy-section-item a:hover {
  text-decoration: underline;
}

.privacy-final {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  padding: 40px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  text-align: center;
}

.privacy-cta {
  text-align: center;
  margin-top: 50px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
  align-items: stretch;
}

.info-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
  padding: 30px 25px;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 18px;
  flex-shrink: 0;
}

.info-card h3 {
  color: var(--dark);
  margin: 0 0 12px 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.info-card p {
  margin: 0 0 10px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.info-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.info-card a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.info-card small {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 8px;
  display: block;
}

.contact-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

.contact-form-container {
  background: #f8fafc;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.form-subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  width: 100%;
}

.form-row .form-group {
  margin-bottom: 20px;
}

.form-group label {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-primary);
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cbd5e1;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.form-group.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-group.checkbox label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
}

.form-group.checkbox a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.form-group.checkbox a:hover {
  text-decoration: underline;
  color: var(--secondary);
}

.error-msg {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-note {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 12px;
}

.success-msg {
  background: #d1fae5;
  border-left: 5px solid #10b981;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #047857;
  font-weight: 600;
  margin-bottom: 20px;
}

.success-msg i {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.form-group.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.form-group.checkbox label {
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.form-group.checkbox a {
  color: var(--primary);
  text-decoration: none;
}

.form-group.checkbox a:hover {
  text-decoration: underline;
}

.error-msg {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 4px;
}

.form-note {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 15px;
}

.success-msg {
  background: #d1fae5;
  border-left: 4px solid #10b981;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: #047857;
  font-weight: 500;
}

.success-msg i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

/* Form Submit Button */
.contact-form .btn {
  width: 100%;
  padding: 16px 24px;
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.contact-form .btn-primary:active {
  transform: translateY(-1px);
}

.contact-sidebar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  padding: 40px;
  border-radius: 12px;
  color: white;
}

.contact-sidebar h3 {
  color: white;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.sidebar-section {
  margin-bottom: 30px;
}

.sidebar-section h4 {
  color: var(--primary);
  margin-bottom: 12px;
}

.sidebar-section ul {
  list-style: none;
  margin-left: 0;
}

.sidebar-section li {
  margin-bottom: 10px;
  color: #cbd5e1;
}

.sidebar-section p {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.sidebar-section a {
  color: var(--primary);
  text-decoration: none;
}

.sidebar-section a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateX(5px);
}

.social-link i {
  font-size: 1.2rem;
}

/* ===== QUICK RESPONSES SECTION ===== */
.quick-responses-section {
  padding: 80px 0;
  background: #f8fafc;
}

.quick-responses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.response-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border-top: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.response-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.response-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin: 0 auto 15px;
}

.response-item h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.response-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.response-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.response-item a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

/* Tablets Portrait & Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .page-hero .hero-content h1 {
    font-size: 2rem;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .profile-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-container,
  .contact-sidebar {
    padding: 30px;
  }

  .faq-category {
    padding: 25px;
  }

  .terms-section-item,
  .privacy-section-item {
    padding: 25px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-card {
    grid-column: span 1;
  }
}

/* Mobile & Tablets Portrait (max 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-list {
    gap: 0.8rem;
  }

  .hero {
    padding: 60px 0;
    margin-top: 70px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-stats {
    gap: 20px;
    justify-content: center;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .page-hero {
    padding: 50px 0;
    margin-top: 70px;
  }

  .page-hero .hero-content h1 {
    font-size: 1.8rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: auto;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
  }

  .faq-category {
    padding: 20px;
    margin-bottom: 30px;
  }

  .faq-item {
    margin-bottom: 15px;
  }

  .faq-header {
    padding: 15px;
  }

  .faq-header h3 {
    font-size: 1rem;
  }

  .faq-body {
    padding: 15px;
  }

  .terms-section-item,
  .privacy-section-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-row .form-group {
    margin-bottom: 15px;
  }

  .contact-form-container,
  .contact-sidebar {
    padding: 20px;
  }

  .contact-form-container h2 {
    font-size: 1.5rem;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 40px;
  }

  .info-card {
    min-height: 160px;
    padding: 25px 20px;
  }

  .info-card h3 {
    font-size: 1rem;
  }

  .info-card p {
    font-size: 0.9rem;
  }

  .contact-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
  }

  .profile-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .credential-card {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-list {
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .page-hero {
    padding: 40px 0;
    margin-top: 70px;
  }

  .page-hero .hero-content h1 {
    font-size: 1.4rem;
  }

  .page-hero .hero-content p {
    font-size: 0.9rem;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 15px;
    font-size: 0.9rem;
  }

  .stat {
    flex-direction: column;
  }

  .stat h3 {
    font-size: 1.2rem;
  }

  .stat p {
    font-size: 0.8rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    padding: 20px;
    min-height: auto;
  }

  .program-card h3 {
    font-size: 1.1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: 20px;
    min-height: auto;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 20px;
    min-height: auto;
  }

  .faq-category {
    padding: 15px;
    margin-bottom: 20px;
  }

  .category-title {
    font-size: 1.1rem;
  }

  .faq-header {
    padding: 12px;
  }

  .faq-header h3 {
    font-size: 0.95rem;
  }

  .faq-body {
    padding: 12px;
  }

  .terms-section-item,
  .privacy-section-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .terms-section-item h2,
  .privacy-section-item h2 {
    font-size: 1.3rem;
  }

  .contact-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 12px;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .contact-form-container,
  .contact-sidebar {
    padding: 15px;
  }

  .contact-form-container h2 {
    font-size: 1.3rem;
  }

  .form-subtitle {
    font-size: 0.85rem;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .info-card {
    min-height: 140px;
    padding: 18px 15px;
    border-top-width: 3px;
  }

  .info-card h3 {
    font-size: 0.95rem;
  }

  .info-card p {
    font-size: 0.85rem;
  }

  .info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .contact-sidebar {
    margin-top: 20px;
  }

  .contact-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .sidebar-section {
    margin-bottom: 20px;
  }

  .social-links {
    flex-direction: column;
    gap: 8px;
  }

  .social-link {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
    min-width: auto;
  }

  .profile-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .credential-card {
    grid-column: span 1;
    padding: 20px;
  }

  .hero-visual {
    width: 100%;
    margin-top: 20px;
  }

  .code-block {
    padding: 15px;
  }

  .scroll-indicator {
    bottom: 20px;
    font-size: 0.9rem;
  }
}

