* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 100%);
  overflow-x: hidden;
}

main {
  position: relative;
  overflow: hidden;
}


/* SLIDER SECTION */
.sfs-slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.sfs-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.sfs-slide.active {
  opacity: 1;
}

.sfs-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.5));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.sfs-slider-overlay h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.sfs-slider-overlay p {
  font-size: 20px;
  max-width: 800px;
  line-height: 1.6;
}


/* ABOUT SECTION */
.sfs-about {
  /* max-width: 1200px; */
  /* margin: 80px auto; */
  padding: 60px 40px;
  background: white;
  /* border-radius: 20px; */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.sfs-about h2 {
  font-size: 2.5rem;
  color: #2193b0;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.sfs-about h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #2193b0 0%, #6dd5ed 100%);
  border-radius: 10px;
}

/* Wave motion */
@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sfs-about p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

/* PROCESS SECTION */
.sfs-process {
  /* max-width: 1200px; */
  /* margin: 80px auto; */
  padding: 60px 40px;
  background: linear-gradient(135deg, #2eb5fd 0%, #82b2e8 100%);
  /* border-radius: 20px; */
  color: white;
  position: relative;
  overflow: hidden;
}

.sfs-about::before{
  background-color: invert(#2161eb);
}

.sfs-process h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.sfs-process ol {
  list-style: none;
  /* counter-reset: step-counter; */
  max-width: fit-content;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sfs-process li {
  counter-increment: step-counter;
  margin-bottom: 30px;
  padding-left: 80px;
  position: relative;
  font-size: 1.6rem;
  animation: fadeInLeft 0.8s ease-out backwards;
}

.sfs-process li:nth-child(1) { animation-delay: 0.1s; }
.sfs-process li:nth-child(2) { animation-delay: 0.2s; }
.sfs-process li:nth-child(3) { animation-delay: 0.3s; }
.sfs-process li:nth-child(4) { animation-delay: 0.4s; }
.sfs-process li:nth-child(5) { animation-delay: 0.5s; }

.sfs-process li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: -5px;
  width: 50px;
  height: 50px;
  background: white;
  color: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* GUIDELINES SECTION */
.sfs-guidelines {
  /* max-width: 1200px; */
  /* margin: 80px auto; */
  padding: 60px 40px;
  background: white;
  /* border-radius: 20px; */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.sfs-guidelines::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-radius: 50%;
  opacity: 0.08;
}

.sfs-guidelines h2 {
  font-size: 2.5rem;
  color: #f5576c;
  margin-bottom: 40px;
  text-align: center;
}

.sfs-guidelines ul {
  list-style: none;
  margin-bottom: 30px;
}

.sfs-guidelines li {
  padding: 15px 20px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #e0f7fa 0%, #e8eaf6 100%);
  border-radius: 15px;
  position: relative;
  padding-left: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sfs-guidelines li:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sfs-guidelines li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.sfs-guidelines p {
  font-size: 1.2rem;
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
  color: white;
}

/* FORM SECTION */
.sfs-form-section {
  padding: 60px;
  position: relative;
  background: linear-gradient(135deg, #2eb5fd 0%, #82b2e8 100%);
}

.sfs-form-card {
  background: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.sfs-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #fa709a 0%, #fee140 50%, #30cfd0 100%);
}

.sfs-form-card h2 {
  font-size: 2.5rem;
  color: #2193b0;
  margin-bottom: 40px;
  text-align: center;
}

.sfs-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.sfs-form-group {
  position: relative;
}

.sfs-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.sfs-form-group input,
.sfs-form-group select,
.sfs-form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.sfs-form-group input:focus,
.sfs-form-group select:focus,
.sfs-form-group textarea:focus {
  outline: none;
  border-color: #2193b0;
  background: white;
  box-shadow: 0 5px 20px rgba(33, 147, 176, 0.2);
  transform: translateY(-2px);
}

.sfs-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.sfs-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  display: block;
}

.sfs-submit-btn {
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #208be2 100%);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.sfs-submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.sfs-submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.sfs-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 197, 234, 0.5);
}

.sfs-submit-btn:active {
  transform: translateY(-1px);
}

/* CONTACT SECTION */
.sfs-contact {
  /* max-width: 1200px; */
  /* margin: 80px auto 60px; */
  padding: 40px 40px 10px 40px;
  /* border-radius: 20px; */
  color: black;
  background-color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sfs-contact::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.568);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.sfs-contact h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.sfs-contact p {
  font-size: 1rem;
  margin: 15px 0;
  position: relative;
  z-index: 1;
}

.max-width-600 {
  max-width: 600px;
  margin: 0 auto;
}

.max-width-800 {
  max-width: 800px;
  margin: 0 auto;
}

.max-width-1000{
  max-width: 1000px;
  margin: 0 auto;
}


.sfs-form-section::before, .sfs-process::before { 
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 16px;
    width: 200%;
    background: url("wave-bg3.png") repeat-x;
    transform: rotate(180deg);
    z-index: 1;
    animation: waveMove 50s linear infinite;
}

nav::after { 
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20;
    height: 16px;
    width: 100%;
    background: url("wave-bg3.png") repeat-x;
    z-index: 1;
}

.sfs-form-section::after, .sfs-slider::after, .sfs-process::after { 
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 16px;
    width: 200%;
    background: url("wave-bg4.png") repeat-x;
    transform: rotate(180deg);
    z-index: 1;
    animation: waveMove 80s linear infinite;
}


/* ANIMATIONS */
@keyframes slideShow {
  0%, 33% { opacity: 1; }
  34%, 100% { opacity: 0; }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .sfs-slider {
    height: 500px;
  }

  .sfs-slider-overlay h1 {
    font-size: 2.5rem;
  }

  .sfs-slider-overlay p {
    font-size: 1.2rem;
  }

  .sfs-about,
  .sfs-process,
  .sfs-guidelines,
  .sfs-contact {
    /* margin: 60px 20px; */
    padding: 40px 30px 10px 30px;
  }
}

@media (max-width: 768px) {
  .sfs-slider {
    height: 400px;
  }

  .sfs-slider-overlay {
    padding: 30px 40px;
  }

  .sfs-slider-overlay h1 {
    font-size: 2rem;
  }

  .sfs-slider-overlay p {
    font-size: 1rem;
  }

  .sfs-about h2,
  .sfs-process h2,
  .sfs-guidelines h2,
  .sfs-form-card h2,
  .sfs-contact h2 {
    font-size: 2rem;
  }

  .sfs-form-grid {
    grid-template-columns: 1fr;
  }

  .sfs-form-card {
    padding: 40px 30px;
  }

  .sfs-process li {
    padding-left: 70px;
    font-size: 1rem;
  }

  .sfs-process li::before {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .sfs-slider {
    height: 350px;
  }

  .sfs-slider-overlay {
    padding: 20px 30px;
  }

  .sfs-slider-overlay h1 {
    font-size: 1.5rem;
  }

  .sfs-slider-overlay p {
    font-size: 0.9rem;
  }

  .sfs-about,
  .sfs-process,
  .sfs-guidelines,
  .sfs-contact {
    padding: 30px 20px 10px 20px;
    /* margin: 40px 15px; */
  }

  .sfs-form-card {
    padding: 30px 20px;
  }

  .sfs-about h2,
  .sfs-process h2,
  .sfs-guidelines h2,
  .sfs-form-card h2,
  .sfs-contact h2 {
    font-size: 1.5rem;
  }

  .sfs-submit-btn {
    font-size: 1.1rem;
    padding: 18px;
  }
}


.sfs-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.sfs-success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  padding: 20px;
}

.sfs-success-card {
  background: white;
  padding: 60px 50px;
  border-radius: 25px;
  max-width: 550px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.sfs-success-icon {
  width: 80px;
  height: 80px;
  background: #22c55e;
  color: white;
  font-size: 42px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.sfs-success-card h1 {
  color: #1e3a8a;
  font-size: 28px;
  margin-bottom: 15px;
}

.sfs-success-text {
  font-size: 17px;
  margin-bottom: 15px;
  color: #334155;
}

.sfs-success-info {
  margin-top: 20px;
  background: #eff6ff;
  padding: 12px;
  border-radius: 12px;
  color: #1e40af;
  font-weight: 500;
}

.sfs-home-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: #2563eb;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.sfs-home-btn:hover {
  background: #1e40af;
}

/* Mobile */
@media (max-width: 600px) {
  .sfs-success-card {
    padding: 40px 25px;
  }

  .sfs-success-card h1 {
    font-size: 22px;
  }
}



.sfs-admission-section {
  background: linear-gradient(135deg, #91c6ff, #f8fafc);
  padding: 80px 20px;
}

.sfs-admission-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

/* LEFT CONTENT */
.sfs-admission-left {
  flex: 1;
}

.sfs-admission-left h1 {
  font-size: 28px;
  color: #1e3a8a;
  font-weight: 800;
}

.sfs-subtitle {
  font-size: 18px;
  margin: 20px 0;
  color: #334155;
}

.sfs-admission-left p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}

.sfs-features {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.sfs-features li {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
}

/* RIGHT FORM */
.sfs-admission-right {
  flex: 1.5;
}

.sfs-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.sfs-form-card h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #1e3a8a;
  font-weight: 700;
}

/* FORM */
.sfs-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sfs-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1e293b;
}

.sfs-form-group input,
.sfs-form-group select,
.sfs-form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.sfs-form-group input:focus,
.sfs-form-group select:focus,
.sfs-form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.2);
}

/* SUBMIT */
.sfs-submit-btn {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  border: none;
  background: #2563eb;
  color: white;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.sfs-submit-btn:hover {
  background: #1e40af;
}

/* MOBILE */
@media (max-width: 900px) {
  .sfs-admission-container {
    flex-direction: column;
  }

  .sfs-form-grid {
    grid-template-columns: 1fr;
  }

  .sfs-admission-left h1 {
    font-size: 30px;
  }
}
.guideline-box {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.guideline-header {
  background: #f1f5f9;
  padding: 5px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #1e3a8a;
  transition: 0.3s;
}

.guideline-header:hover {
  background: #e0e7ff;
}

.guideline-header span {
  font-size: 26px;
  margin-right: 10px;
}

.guideline-body {
  display: none;
  background: white;
  padding: 22px 30px;
  animation: fadeDown 0.3s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.guideline-header h3{
  font-size: 16px;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .sfs-admission-container {
    padding: 0 10px;
  }
  .guideline-header h3{
    font-size: 14px;
  }
}