:root {
  --primary-blue: #1a4b8c;
  --secondary-blue: #2c6aa0;
  --light-blue: #e8f4fc;
  --accent: #ff6b6b;
  --gradient: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent) 100%
  );
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(to bottom, #f8f9fa, #e8f4fc);
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient);
  z-index: 1001;
  transition: width 0.2s ease;
}

/* Floating Action Button */
.floating-nav {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--primary-blue);
  transform: scale(1.4);
}

.nav-dot:hover {
  transform: scale(1.4);
  background: var(--accent);
  border-color: var(--accent);
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  font-size: 1.5rem;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: var(--gradient-accent);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(-45deg, #1a4b8c, #2c6aa0, #3a7eba, #4e94d3);
  background-size: 400% 400%;
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.hero::before {
  top: -150px;
  left: -150px;
  animation: float 15s ease-in-out infinite;
}

.hero::after {
  bottom: -150px;
  right: -150px;
  animation: float 18s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 30px;
  font-weight: 300;
}

.btn-apply {
  background: white;
  color: var(--primary-blue);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all var(--transition-medium);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn-apply::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-accent);
  transition: all var(--transition-medium);
  z-index: -1;
  border-radius: 50px;
}

.btn-apply:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  /* color: white; */
}

.btn-apply:hover::before {
  width: 100%;
}

/* Particle Animation */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* Content Sections */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.03) 100%
  );
  z-index: -1;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
  font-size: 2.5rem;
  opacity: 0;
  transform: translateY(50px);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient);
  border-radius: 5px;
}

.content-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
  transition: all var(--transition-medium);
  height: 100%;
  opacity: 0;
  transform: translateY(50px);
  border: none;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--gradient);
  transition: all var(--transition-medium);
  border-radius: 0 0 5px 0;
}

.content-card:hover::before {
  height: 100%;
}

.content-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.content-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-blue);
  position: relative;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient);
  transition: all var(--transition-medium);
}

.content-card:hover .card-title::after {
  width: 100%;
}

.doc-list {
  list-style: none;
  padding: 0;
}

.doc-list li {
  padding: 10px 0;
  padding-left: 40px;
  position: relative;
  transition: all var(--transition-fast);
  border-bottom: 1px dashed #f0f0f0;
  opacity: 0;
  transform: translateX(-20px);
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list li:hover {
  transform: translateX(5px);
}

.doc-list li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary-blue);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.doc-list li:hover::before {
  color: var(--accent);
  transform: scale(1.2);
}

/* Fees Cards */
.fees-card {
  text-align: center;
  padding: 40px 30px;
}

.fees-amount {
  margin: 25px 0;
}

.fees-amount h4 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}

/* Process Table */
.process-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--transition-slow);
}

.process-table.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.process-table th {
  background: var(--gradient);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.process-table tr {
  background: white;
  transition: all var(--transition-fast);
  opacity: 0;
  transform: translateX(-30px);
}

.process-table tr:nth-child(even) {
  background: #f9f9f9;
}

.process-table tr:hover {
  background: var(--light-blue);
  transform: translateX(5px);
}

.process-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eaeaea;
}

.process-step {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--gradient);
  color: white;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  font-weight: 600;
}

/* Form Section */
#contact {
  background: var(--light-blue);
  padding: 80px 0;
  border-radius: var(--radius);
}

.form-card {
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: white;
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--transition-slow);
}

.form-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.form-control {
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 0.25rem rgba(44, 106, 160, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary-blue);
}

.btn-submit {
  background: var(--gradient);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-medium);
  border: none;
  width: 100%;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: var(--transition-medium);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: var(--gradient-accent);
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.floating {
  animation: float 8s ease-in-out infinite;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  margin-right: 10px;
  font-size: 1.5rem;
}

.toast.success i {
  color: #28a745;
}

.toast.error i {
  color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .content-card {
    margin-bottom: 20px;
    padding: 25px;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-table {
    display: block;
    overflow-x: auto;
  }

  .section {
    padding: 80px 0;
  }

  .floating-nav {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .btn-apply {
    padding: 12px 30px;
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .form-card {
    padding: 25px;
  }

  .process-table th,
  .process-table td {
    padding: 12px 15px;
  }

  .floating-nav {
    bottom: 15px;
    right: 15px;
  }

  .nav-dot {
    width: 10px;
    height: 10px;
  }
}
