/* CSS Variables for RJIT Theme */
:root {
  --primary: #1e3a8a; /* Deep blue */
  --secondary: #3b82f6; /* Bright blue */
  --accent: #f59e0b; /* Orange/Gold accent */
  --success: #10b981; /* Green */
  --warning: #f59e0b; /* Orange */
  --danger: #ef4444; /* Red */
  --dark: #1f2937; /* Dark gray */
  --light: #f8fafc; /* Light gray */
  --white: #ffffff;
  --muted: #6b7280; /* Muted gray */
  --border: #e5e7eb; /* Light border */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: 100vh;
}

/* Header Styles */
header {
  background: var(--gradient);
  color: var(--white);
  padding: 2rem 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.logo {
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.header1 h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lead {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Card Styles */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card h2::before {
  content: '';
  width: 4px;
  height: 1.5rem;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Flex Layout */
.flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.col {
  flex: 1;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  padding-left: 2rem;
}

ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--success);
  font-weight: bold;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

ul li:last-child {
  border-bottom: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.btn:active {
  transform: translateY(0);
}

/* Poster Box */
.poster-box {
  max-width: 350px;
  text-align: center;
}

.poster-box h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.poster {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border: 2px solid var(--border);
}

.poster:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* SPOC Details */
.spoc-details {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.spoc {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.spoc-details ul {
  margin: 0;
}

.spoc-details ul li {
  padding: 0.25rem 0;
  border: none;
  padding-left: 0;
}

.spoc-details ul li::before {
  display: none;
}

/* Form Box */
.form-box {
  margin: 1.5rem 0;
}

.form-box iframe {
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.form-box iframe:hover {
  box-shadow: var(--shadow-lg);
}

/* Links */
a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Muted Text */
.muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* FAQ */
.faq dt {
  font-weight: 600;
  margin-top: 1.5rem;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.faq dd {
  margin: 0.75rem 0 1.5rem 0;
  color: var(--dark);
  line-height: 1.6;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whatsapp ul li::before {
  display: none;
}

.status-upcoming {
  background: rgba(251, 191, 36, 0.1);
  color: #d97706;
  border: 1px solid #fbbf24;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid #10b981;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 1.5rem 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}
.cardsec{
    gap: 1rem;
   display: flex;
   flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .logo {
    width: 100%;
    height: auto;
  }

  .header1 h1 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .poster-box {
    max-width: 100%;
  }
  
  .card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .card h2 {
    font-size: 1.5rem;
  }
  
  .spoc-details {
    flex-direction: column;
    text-align: center;
  }
  
  .form-box iframe {
    height: 600px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }
  
  .card {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  header {
    padding: 1.5rem 0;
  }
  
  .btn {
    width: 100%;
    padding: 14px 20px;
  }
  
  .form-box iframe {
    height: 500px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }
.card:nth-child(5) { animation-delay: 0.4s; }
.card:nth-child(6) { animation-delay: 0.5s; }

/* Loading state for iframe */
.form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--light);
  border-radius: 16px;
  z-index: -1;
}

/* Print styles */
@media print {
  header {
    background: var(--white) !important;
    color: var(--dark) !important;
    box-shadow: none !important;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid var(--border) !important;
  }
  
  .form-box {
    display: none;
  }
}
