/* Hero Section */
.services-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #1FA6A8, #1F5DAA);
  color: var(--white);
  text-align: center;
}

.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.services-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
}

/* NEET Stats Section */
.neet-stats {
  padding: 80px 5%;
  background: linear-gradient(135deg, #0F3F63, #1F6FAF);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.stats-wrapper {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.stats-circle-bg {
  background: linear-gradient(135deg, #6ED36F, #1F6FAF);
  border-radius: 50%;
  padding: 102px 220px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  opacity: 0;
  transform: scale(0.8);
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 30px;
  opacity: 0;
  transition: transform 0.3s ease;
}

.stats-circle-bg .stat-row:nth-child(3),
.stats-circle-bg .stat-row:nth-child(7) {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.stats-circle-bg .stat-row:nth-child(3) .stat-text,
.stats-circle-bg .stat-row:nth-child(7) .stat-text {
  text-align: right;
}

.stat-row:hover {
  transform: translateX(-10px);
}

.stat-row:nth-child(3):hover,
.stat-row:nth-child(7):hover {
  transform: translateX(10px);
}

.stat-divider {
  height: 3px;
  background: white;
  margin: 25px 0;
  width: 150px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.stat-divider:nth-child(2) {
  margin-left: auto;
}

.stat-divider:nth-child(6) {
  margin-left: auto;
}

.stat-icon-box {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  transition: transform 0.3s ease;
}

.stat-icon-box:hover {
  transform: scale(1.1) rotate(5deg);
}

.stat-icon-box svg {
  width: 40px;
  height: 40px;
  color: #0F3F63;
}

.stat-text {
  flex: 1;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
  font-family: 'Arial', sans-serif;
}

.stat-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.stat-divider {
  height: 3px;
  background: white;
  margin: 25px 0;
  width: 150px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 768px) {
  .neet-stats {
    padding: 60px 5%;
    min-height: auto;
  }

  .stats-circle-bg {
    padding: 40px 110px;
    border-radius: 50%;
  }

  .stat-row {
    gap: 20px;
  }

  .stat-icon-box {
    width: 60px;
    height: 60px;
  }

  .stat-icon-box svg {
    width: 30px;
    height: 30px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-title {
    font-size: 14px;
  }

  .stat-divider {
    width: 100px;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .stats-circle-bg {
    padding: 30px 98px;
    border-radius: 50%;
  }

  .stat-row {
    gap: 15px;
  }

  .stat-icon-box {
    width: 50px;
    height: 50px;
  }

  .stat-icon-box svg {
    width: 24px;
    height: 24px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-title {
    font-size: 12px;
  }

  .stat-divider {
    width: 80px;
    margin: 15px 0;
  }
}

/* MBBS Guide Section */
.mbbs-guide {
  padding: 60px 0 0;
  background: #F6F8FA;
}

.guide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.guide-header {
  text-align: center;
  margin-bottom: 50px;
}

.guide-header h1 {
  font-size: 48px;
  font-weight: 800;
  color: #0F3F63;
  margin-bottom: 15px;
}

.guide-subtitle {
  font-size: 20px;
  color: #1F6FAF;
  font-weight: 600;
  margin-bottom: 20px;
}

.guide-header h2 {
  font-size: 28px;
  color: #6ED36F;
  font-weight: 700;
}

.guide-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  border-left: 5px solid #1F6FAF;
}

.guide-card h3 {
  font-size: 24px;
  color: #0F3F63;
  margin-bottom: 20px;
  font-weight: 700;
}

.guide-card h4 {
  font-size: 18px;
  color: #1F6FAF;
  margin-bottom: 15px;
  font-weight: 600;
}

.authority-grid, .rounds-grid, .fee-grid, .refund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.authority-box, .round-box, .fee-box, .refund-box {
  background: #F6F8FA;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.website {
  color: #1F6FAF;
  font-weight: 600;
  margin: 10px 0;
}

.mode {
  color: #6ED36F;
  font-weight: 600;
  margin-top: 15px;
}

.authority-box ul, .refund-box ul {
  list-style: none;
  padding-left: 0;
}

.authority-box li, .refund-box li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.authority-box li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1F6FAF;
  font-weight: bold;
  font-size: 20px;
}

.table-responsive {
  overflow-x: auto;
  margin: 20px 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.info-table thead {
  background: linear-gradient(135deg, #1F6FAF, #0F3F63);
  color: white;
}

.info-table th, .info-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.info-table tbody tr:hover {
  background: #f8f9fa;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.step-item {
  background: linear-gradient(135deg, #1F6FAF, #0F3F63);
  color: white;
  padding: 20px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.3s;
}

.step-item:hover {
  transform: translateY(-5px);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.doc-item {
  background: #F6F8FA;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #6ED36F;
  font-weight: 500;
}

.note, .warning {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
}

.note {
  background: #e3f2fd;
  color: #1F6FAF;
}

.warning {
  background: #fff3cd;
  color: #856404;
}

.refund-box.allowed {
  border-color: #6ED36F;
  background: #f0fdf4;
}

.refund-box.not-allowed {
  border-color: #ff4444;
  background: #fff5f5;
}

.refund-box.allowed h4 {
  color: #6ED36F;
}

.refund-box.not-allowed h4 {
  color: #ff4444;
}

.refund-box li:before {
  content: '•';
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

.refund-box.allowed li:before {
  color: #6ED36F;
}

.refund-box.not-allowed li:before {
  color: #ff4444;
}

.guide-card.strategy {
  background: linear-gradient(135deg, #6ED36F, #1F6FAF);
  border-left: none;
}

.guide-card.strategy h3 {
  color: white;
}

.strategy-list {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.strategy-item {
  background: white;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: #0F3F63;
  font-size: 16px;
}

.guide-card.summary {
  background: linear-gradient(135deg, #0F3F63, #1F6FAF);
  border-left: none;
}

.guide-card.summary h3 {
  color: #F4C430;
}

.summary-list {
  margin-top: 20px;
}

.summary-list p {
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.summary-list p:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .guide-header h1 {
    font-size: 32px;
  }
  
  .guide-subtitle {
    font-size: 16px;
  }
  
  .guide-header h2 {
    font-size: 20px;
  }
  
  .guide-card {
    padding: 20px;
  }
  
  .guide-card h3 {
    font-size: 20px;
  }
  
  .authority-grid, .rounds-grid, .fee-grid, .refund-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid, .docs-grid {
    grid-template-columns: 1fr;
  }
}

/* Tamil Nadu Guide Section */
.tn-guide-header {
  background: linear-gradient(135deg, #0F3F63, #1F6FAF);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
}

.tn-guide-header h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.tn-guide-header p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.official-links {
  margin-top: 30px;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 10px;
}

.official-links h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #F4C430;
}

.official-link {
  display: block;
  color: #6ED36F;
  font-weight: 600;
  margin: 10px 0;
  text-decoration: none;
  transition: all 0.3s;
}

.official-link:hover {
  color: #F4C430;
  transform: translateX(5px);
}

.note-text {
  margin-top: 15px;
  font-style: italic;
  color: #F4C430;
}

.simple-list {
  list-style: none;
  padding-left: 0;
}

.simple-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
}

.simple-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1F6FAF;
  font-weight: bold;
  font-size: 20px;
}

.registration-steps {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.reg-step {
  background: #F6F8FA;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #1F6FAF;
}

.reg-step h4 {
  color: #0F3F63;
  margin-bottom: 15px;
  font-size: 18px;
}

.rounds-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.round-info {
  background: #F6F8FA;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
}

.round-info h4 {
  color: #1F6FAF;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.rule-item {
  background: #fff3cd;
  color: #856404;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border-left: 4px solid #ffc107;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.checklist-item {
  background: #f0fdf4;
  color: #166534;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border-left: 4px solid #6ED36F;
}

.cta-card {
  background: linear-gradient(135deg, #1F6FAF, #0F3F63);
  color: white;
  text-align: center;
  border-left: none;
}

.cta-card h3 {
  color: #F4C430;
  font-size: 28px;
}

.cta-card h2 {
  color: white;
  font-size: 36px;
  margin: 20px 0;
}

.tagline {
  color: #6ED36F;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: #6ED36F;
  color: #0F3F63;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(110, 211, 111, 0.4);
}

.cta-button:hover {
  background: #F4C430;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(244, 196, 48, 0.5);
}

@media (max-width: 768px) {
  .tn-guide-header {
    padding: 25px;
  }
  
  .tn-guide-header h2 {
    font-size: 22px;
  }
  
  .rounds-info, .rules-grid, .checklist-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-card h2 {
    font-size: 28px;
  }
}
