/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.nav-logo .logo {
  height: 70px;
  width: auto;
  margin-right: 0.5rem;
  border-radius: 50%;
}

.nav-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #2563eb;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #2563eb;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.cta-btn {
  background: linear-gradient(135deg, #94b0ed, #a61dd8);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
  min-height: calc(150vh - 80px); /* subtract navbar height */;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* ensures content never hides under navbar */

}

.hero::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 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.highlight {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons .btn {
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  width: 160px;
  font-size: 1rem;
  justify-content: center;
}

.hero-buttons .btn-pros{
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
  padding: 1rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  justify-content: center;
}

.enq-btn {
  background: linear-gradient(135deg, #9ab2e6, #7432d1);
  padding: 1rem;
  margin-bottom: 20px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  width: 160px;
  font-size: 1rem;
  justify-content: center;
}

.enq-btn:hover {
  background: linear-gradient(135deg, #7432d1, #9ab2e6);
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
}

.enqq-btn {
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-size: 1rem;
}

.pros-btn {
 background: linear-gradient(135deg, #9ab2e6, #7432d1);
  padding: 1rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  justify-content: center;
}

.pros-btn:hover {
  background: linear-gradient(135deg, #7432d1, #9ab2e6);
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
}
 
.req-btn{
  background: linear-gradient(135deg, #9ab2e6, #7432d1);
  padding: 1rem 1rem 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  gap: 0.5rem;
  text-decoration: none;
  width: 180px;
  font-size: 1rem;
  justify-content: center;
}

.req-btn:hover {
  background: linear-gradient(135deg, #7432d1, #9ab2e6);
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
}

.callback-btn{
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
}

.callback-btn:hover {
  background: linear-gradient(135deg, #7432d1, #9ab2e6);
  box-shadow: 2px 2px 10px rgb(0, 0, 0);
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #333;
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.8s both;
  max-width: 450px;   /* prevents image from being too wide */
  margin: 0 auto;
}

.floating-image {
  width: 100%;
  height: auto;
  max-height: 600px;  /* keeps image height balanced */
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* Responsive Fix */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    max-width: 350px;
  }

  .floating-image {
    max-height: 400px;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Why Nepal Section */
.why-nepal {
  padding: 6rem 0;
  background: linear-gradient(135deg, #7432d155, #ffffff);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.626);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px #7432d1ce;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px #2564eb90;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: white;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.benefit-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Colleges Section */
.colleges {
  padding: 6rem 0;
  background: linear-gradient(135deg, #7432d155, #ffffff);
}

.colleges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.college-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease;
}

.college-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.college-image {
  height: 200px;
  overflow: hidden;
}

.college-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.college-card:hover .college-image img {
  transform: scale(1.1);
}

.college-content {
  padding: 2rem;
}

.college-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
  line-height: 1.4;
}

.college-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.nmc-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nmc-status.approved {
  background: #dcfce7;
  color: #166534;
}

.established {
  padding: 0.25rem 0.75rem;
  background: #e0e7ff;
  color: #3730a3;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.college-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.college-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  color: #6b7280;
  line-height: 1.4;
}

.college-features i {
  color: #10b981;
  margin-right: 0.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.college-fees {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.fees-label {
  color: #6b7280;
  font-weight: 500;
}

.fees-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
}

.college-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.college-content .college-buttons button{
    background: linear-gradient(135deg, #e7b0fc, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;  
}

.college-content .college-buttons button:hover{
    background: linear-gradient(135deg, #1d4ed8, #e7b0fc);
    color: white;
    box-shadow: 2px 2px 10px rgb(0, 0, 0);
    transform: translateY(-2px);
}

.college-content .college-buttons button a{
    text-decoration: none;
    color: white;
}

/* Eligibility Section */
.eligibility {
  padding: 6rem 0;
  background: linear-gradient(165deg, #7432d155, #ffffff);
}

.eligibility-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.eligibility-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
}

.eligibility-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.eligibility-list {
  list-style: none;
}

.eligibility-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #6b7280;
  line-height: 1.5;
}

.eligibility-list i {
  color: #2563eb;
  margin-right: 1rem;
  width: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Living Info Section */
.living-info {
  padding: 6rem 0;
  background: linear-gradient(200deg, #7432d155, #ffffff);
}

.living-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.living-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
}

.living-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.living-icon i {
  font-size: 1.5rem;
  color: white;
}

.living-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.living-card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.living-card li {
  margin-bottom: 0.5rem;
  color: #6b7280;
}

.total-cost,
.climate-note,
.language-note {
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 10px;
  text-align: center;
  color: #2563eb;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(135deg, #7432d155, #ffffff);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-text {
  margin-bottom: 2rem;
}

.testimonial-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: #6b7280;
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #1d4ed8;
  transform: scale(1.1);
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: linear-gradient(135deg, #7432d155, #ffffff);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question h3 {
  font-weight: 600;
  color: #1f2937;
  flex: 1;
  margin-right: 1rem;
  line-height: 1.4;
}

.faq-question i {
  color: #2563eb;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

.contact-item i {
  color: #ffd700;
}

/* country section */
.country-section {
  background: linear-gradient(135deg, #fcf0ff, #ffffff);
  padding: 60px 20px;
  text-align: center;
}

.country-section .section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

.country-section .section-title span {
  color: #0077ff;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  justify-items: center;
}

.country-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  width: 100%;
  max-width: 200px;
}

.country-card img {
  width: 80px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: transform 0.4s ease;
}

.country-card h3 {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
}

.country-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(135deg, #c800ff, #00c6ff);
  color: #fff;
}

.country-card:hover h3 {
  color: #fff;
}

.country-card:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #ffffff, #fffad1);
  color: purple;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 50%;
  height: 50%;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: purple;
}

.footer-section p {
  color: purple;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #e5efff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: purple;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: purple;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(128, 0, 128, 0.566);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #2563eb;
}

.contact-details p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: rgba(128, 0, 128, 0.566);
}

.contact-details i {
  margin-right: 0.5rem;
  color: purple;
  width: 20px;
  flex-shrink: 0;
}

.contact-details p a{
    text-decoration: none;
    color: rgba(128, 0, 128, 0.566);
} 

.contact-details p a:hover{
    color: #2563eb;
} 

.footer-bottom {
  border-top: 1px solid purple;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
    color: rgba(128, 0, 128, 0.566);
    font-size: 0.9rem;
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  background: linear-gradient(135deg, #d6bcfb, #f3f4f6);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ef4444;
}

.modal-content h2 {
  margin-bottom: 1.5rem;
  color: #1f2937;
  text-align: center;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.prospectus-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.qr-code {
  text-align: center;
}

.qr-code img {
  width: 150px;
  height: 150px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Welcome Modal Styles */
.welcome-modal {
  display: none;
  /* animation: welcomeModalFadeIn 0.5s ease; */
}

/* show when JS opens it */
.welcome-modal.is-open {
  display: block;              /* or flex if you prefer centering via flex */
  animation: welcomeModalFadeIn 0.5s ease;
}

/* Enhanced Welcome Modal Background Animation - Only for backdrop */
.welcome-modal.welcome-modal-animated {
  background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.6), 
    rgba(118, 75, 162, 0.6)
  );
  animation: welcomeModalFadeIn 0.5s ease;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.welcome-modal-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  margin: 2% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: welcomeSlideIn 0.6s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-size: cover !important;
  background-attachment: fixed !important;
}

.welcome-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.welcome-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.welcome-header {
  text-align: center;
  padding: 30px 25px 15px;
  color: white;
}

.welcome-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.welcome-form {
  background: white;
  padding: 25px;
  margin: 0;
  border-radius: 0 0 20px 20px;
  max-height: 55vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar for Welcome Form */
.welcome-form::-webkit-scrollbar {
  width: 6px;
}

.welcome-form::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.welcome-form::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
}

.welcome-form::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.welcome-form .form-group {
  margin-bottom: 16px;
}

.welcome-form .form-group input,
.welcome-form .form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.welcome-form .form-group input:focus,
.welcome-form .form-group select:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.captcha-group {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.captcha-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 14px;
}

.captcha-label span {
  color: #667eea;
  font-weight: 700;
  font-size: 18px;
}

.checkbox-group {
  margin: 20px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #667eea;
  border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.welcome-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.welcome-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.welcome-submit-btn:active {
  transform: translateY(0);
}

.welcome-submit-btn i {
  transition: transform 0.3s ease;
}

.welcome-submit-btn:hover i {
  transform: translateX(5px);
}

/* Welcome Modal Animations */
@keyframes welcomeModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes welcomeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Additional color variations for more dynamic effect */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* ✅ Extra Fields for Welcome Modal */
/* ========================= */

/* Multi-select (Preferred Colleges) */
.welcome-form .form-group select[multiple] {
  height: auto;
  min-height: 100px;
  padding: 10px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  resize: vertical;
}

.welcome-form .form-group small.note {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}

/* File Upload Inputs */
.welcome-form .form-group input[type="file"],
.welcome-form .mb-3 input[type="file"] {
  padding: 10px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f9fafb;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.welcome-form .form-group input[type="file"]:hover,
.welcome-form .mb-3 input[type="file"]:hover {
  border-color: #667eea;
  background: #f1f5f9;
}

.welcome-form label.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr; /* stack inputs vertically */
  }

  .welcome-modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .welcome-form {
    padding: 20px;
    max-height: 65vh;
  }

  .welcome-form .form-group select[multiple] {
    min-height: 120px; /* more space for touch selection */
  }
}

@media (max-width: 480px) {
  .welcome-header h2 {
    font-size: 1.4rem;
  }

  .welcome-header p {
    font-size: 0.9rem;
  }

  .welcome-submit-btn {
    font-size: 15px;
    padding: 12px 20px;
  }
}


/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .benefits-grid,
  .colleges-grid,
  .living-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .welcome-modal-content {
    width: 92%;
    margin: 5% auto;
    max-height: 80vh;
    overflow: hidden;
  }

  .welcome-header {
    padding: 25px 18px 12px;
  }

  .welcome-header h2 {
    font-size: 1.4rem;
  }

  .welcome-header p {
    font-size: 0.9rem;
  }

  .welcome-form {
    padding: 18px;
    max-height: 45vh;
    overflow-y: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .welcome-form .form-group input,
  .welcome-form .form-group select {
    padding: 12px;
    font-size: 16px;
  }

  .captcha-group {
    padding: 15px;
  }

  .welcome-submit-btn {
    padding: 15px 25px;
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-logo span {
    font-size: 1.25rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-pros {
    width: 100%;
    max-width: 200px;
  }

  .benefits-grid,
  .colleges-grid,
  .living-grid {
    grid-template-columns: 1fr;
  }

  .eligibility-content {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .enqq-btn,
  .callback-btn {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }

  .prospectus-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .modal-content {
    margin: 10% auto;
    padding: 1.5rem;
  }

  .enq-btn,
  .req-btn {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .pros-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .welcome-modal-content {
    width: 95%;
    margin: 3% auto;
    max-height: 85vh;
  }

  .welcome-header h2 {
    font-size: 1.2rem;
  }

  .welcome-form {
    padding: 14px;
    max-height: 50vh;
  }

  .welcome-form .form-group input,
  .welcome-form .form-group select {
    padding: 10px;
    font-size: 14px;
  }

  .captcha-group {
    padding: 10px;
  }

  .captcha-label {
    font-size: 13px;
  }

  .checkbox-label {
    font-size: 12px;
  }

  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-pros {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .benefit-card,
  .college-card,
  .eligibility-card,
  .living-card {
    padding: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .college-content h3 {
    font-size: 1.1rem;
  }

  .college-info {
    gap: 0.5rem;
  }

  .college-features li {
    font-size: 0.9rem;
  }

  .testimonial-text p {
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .contact-item span {
    text-align: center;
  }

  .modal-content {
    margin: 15% auto;
    padding: 1rem;
  }

  .qr-code img {
    width: 120px;
    height: 120px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-menu {
    top: 60px;
  }

  .navbar {
    padding: 0.75rem 0;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-pros {
    font-size: 0.8rem;
    padding: 0.7rem;
  }

  .benefit-card,
  .college-card,
  .eligibility-card,
  .living-card {
    padding: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .college-content {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .modal-content {
    width: 95%;
    padding: 1rem;
  }
}