/* Prevent scrolling on the page */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* scroll-behavior: smooth; */
  overflow-x: hidden;
}
body > main {
  flex: 1; /* This makes the main content expand to fill available space */
}

/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9fafc;
  color: #333;
  margin: 0;
  padding: 0;
  background-image: url('your-image.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Header layout */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 2rem;
  background-color: #2c3e50;
  box-shadow: none;
}
/* Container for logo image and text */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Make logo image circular */
.site-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #444; /* optional border for style */
}

/* Style the site title */
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
}


/* Logo styling */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

/* Navigation styling */
nav ul {
  display: flex;
  gap: 1.5rem; /* or your preferred spacing */
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #fff; /* or your theme color */
  padding: 0.5rem 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem;
  transition: color 0.3s;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #1abc9c;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
nav a:hover {
  color: #1abc9c;
}
.signup-link {
  font-size: 1.3rem;     /* or use 18px */
  font-weight: bold;
  color: white; 
  padding-top: 0% ;         /* optional: give it a distinct color */
}

/* Hero section styling */
.hero {
  height: 100vh; /* full viewport height */
  margin: 0;     /* remove any margin to avoid space */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}
#home {
  height: 100vh;
  padding: 0;
  margin: 0;
}

/* Container to position caption over image */
.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Image styles */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

/* Caption styling - perfectly centered, no dark background */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem 2rem;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeIn 1.5s ease-out forwards;
  opacity: 0;
}

/* Gradient heading and animated paragraph */
.hero-caption h1 {
  font-size: 3rem;
  background: linear-gradient(to right, #1abc9c, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  animation: slideUp 1s ease-out forwards;
}

.hero-caption p {
  font-size: 1.8rem;
  color: #ffffff;
  animation: slideUp 1.8s ease-out forwards;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* === Scroll Page Section Enhancements === */
main {
  height: calc(100vh - 60px); /* Full height minus header */
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
.page-section {
  min-height: calc(100vh - 60px); /* Allow content to expand */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 2rem;
  overflow-y: auto;
  margin: 0;
}

.about-section {
  text-align: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 60px); /* Fit within one viewport if possible */
  overflow-y: auto;
  scroll-snap-align: start;
}


.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1f3c88;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 2rem;
}
.about-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.about-card {
  background: #f8faff;
  border-radius: 12px;
  padding: 12px 20px;        /* Reduced vertical padding */
  max-width: 420px;          /* Keep width */
  flex: 1 1 420px;
  box-shadow: 0 3px 6px rgba(100, 100, 120, 0.1);
  text-align: left;
  color: #2c3e50;
  font-size: 0.9rem;         /* Slightly smaller font */
  line-height: 1.3;          /* Tighter line height */
}

.about-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;       /* Reduced margin */
  color: #1f3c88;
}

.about-card p {
  font-weight: 500;
  line-height: 1.3;          /* Tighter line height */
  color: #555;
  margin-bottom: 8px;        /* Smaller margin */
}

.about-card ul {
  list-style: none;
  padding-left: 0;
  font-weight: 500;
  color: #444;
  margin: 0;
}

.about-card ul li {
  background: #e0e7ff;
  margin: 5px 0;             /* Reduced margin between items */
  padding: 6px 10px;         /* Smaller padding */
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: default;
  font-size: 0.9rem;
}

.about-card ul li:hover {
  background-color: #a2bffa;
  color: #1f3c88;
  font-weight: 600;
}



.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.about-values {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.about-values li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.about-values li::before {
 
  position: absolute;
  left: 0;
  color:black;
  font-weight: bold;
}
.about-card ul {
  list-style: none;
  padding-left: 0;
  max-width: 400px;
  margin: 0 auto; /* center the list */
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
}

.about-card ul li {
  background: #e0e7ff; /* subtle background for each item */
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: default;
}

.about-card ul li:hover {
  background-color: #a2bffa;
  color: #1f3c88;
  font-weight: 600;
}



.team-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.team-member {
  text-align: center;
  max-width: 200px;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid #2e6f95;
  margin-bottom: 1rem;
}

.team-member p {
  font-size: 1rem;
  color: #444;
  font-weight: 500;
}


@media (max-width: 768px) {
  .about-cards {
    flex-direction: column;
    align-items: center;
  }
}


.team-title {
  margin-top: 20px; /* reduce from 40px */
  margin-bottom: 10px;
  font-size: 1.8rem;
}


.team-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.team-member {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  width: 220px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  height: auto;
  display: block;
}

.member-info {
  padding: 15px;
  background: #f1f1f1;
}

.team-member:hover {
  transform: scale(1.05);
}

.resources-section {
  text-align: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 60px);
  overflow-y: auto;
  scroll-snap-align: start;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card h3 {
  font-size: 1.3rem;
  color: #1f3c88;
  margin-bottom: 0.75rem;
}

.resource-card p {
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.resource-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #1abc9c;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-align: center;
}

.resource-btn:hover {
  background-color: #16a085;
}
/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #1abc9c;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
nav a:hover {
  color: #1abc9c;
}

/* Hero section styling */
.hero {
  height: 100vh; /* full viewport height */
  margin: 0;     /* remove any margin to avoid space */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}
#home {
  height: 100vh;
  padding: 0;
  margin: 0;
}

/* Container to position caption over image */
.hero-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Image styles */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

/* Caption styling - perfectly centered, no dark background */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem 2rem;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeIn 1.5s ease-out forwards;
  opacity: 0;
}

/* Gradient heading and animated paragraph */
.hero-caption h1 {
  font-size: 3rem;
  background: linear-gradient(to right, #1abc9c, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  animation: slideUp 1s ease-out forwards;
}

.hero-caption p {
  font-size: 1.8rem;
  color: #ffffff;
  animation: slideUp 1.8s ease-out forwards;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* === Scroll Page Section Enhancements === */
main {
  height: calc(100vh - 60px); /* Full height minus header */
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}
.page-section {
  min-height: calc(100vh - 60px); /* Allow content to expand */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 2rem;
  overflow-y: auto;
  margin: 0;
}

.about-section {
  text-align: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 60px); /* Fit within one viewport if possible */
  overflow-y: auto;
  scroll-snap-align: start;
}


.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1f3c88;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 2rem;
}
.about-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.about-card {
  background: #f8faff;
  border-radius: 12px;
  padding: 12px 20px;        /* Reduced vertical padding */
  max-width: 420px;          /* Keep width */
  flex: 1 1 420px;
  box-shadow: 0 3px 6px rgba(100, 100, 120, 0.1);
  text-align: left;
  color: #2c3e50;
  font-size: 0.9rem;         /* Slightly smaller font */
  line-height: 1.3;          /* Tighter line height */
}

.about-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;       /* Reduced margin */
  color: #1f3c88;
}

.about-card p {
  font-weight: 500;
  line-height: 1.3;          /* Tighter line height */
  color: #555;
  margin-bottom: 8px;        /* Smaller margin */
}

.about-card ul {
  list-style: none;
  padding-left: 0;
  font-weight: 500;
  color: #444;
  margin: 0;
}

.about-card ul li {
  background: #e0e7ff;
  margin: 5px 0;             /* Reduced margin between items */
  padding: 6px 10px;         /* Smaller padding */
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: default;
  font-size: 0.9rem;
}

.about-card ul li:hover {
  background-color: #a2bffa;
  color: #1f3c88;
  font-weight: 600;
}



.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-heading {
  font-size: 2rem;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.about-values {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.about-values li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.about-values li::before {
 
  position: absolute;
  left: 0;
  color:black;
  font-weight: bold;
}
.about-card ul {
  list-style: none;
  padding-left: 0;
  max-width: 400px;
  margin: 0 auto; /* center the list */
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
}

.about-card ul li {
  background: #e0e7ff; /* subtle background for each item */
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: default;
}

.about-card ul li:hover {
  background-color: #a2bffa;
  color: #1f3c88;
  font-weight: 600;
}



.team-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.team-member {
  text-align: center;
  max-width: 200px;
}

.team-member img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50%;    
  object-fit: cover;    
}


.team-member p {
  font-size: 1rem;
  color: #444;
  font-weight: 500;
}


@media (max-width: 768px) {
  .about-cards {
    flex-direction: column;
    align-items: center;
  }
}


.team-title {
  margin-top: 20px; /* reduce from 40px */
  margin-bottom: 10px;
  font-size: 1.8rem;
}


.team-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.team-member {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  width: 220px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member img {
  width: 100%;
  height: auto;
  display: block;
}

.member-info {
  padding: 15px;
  background: #f1f1f1;
}

.team-member:hover {
  transform: scale(1.05);
}

.resources-section {
  text-align: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 60px);
  overflow-y: auto;
  scroll-snap-align: start;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card h3 {
  font-size: 1.3rem;
  color: #1f3c88;
  margin-bottom: 0.75rem;
}

.resource-card p {
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.resource-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #1abc9c;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-align: center;
}
.resource-btn:hover {
  background-color: #16a085;
}
/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}




footer {
  background: #f1f1f1;
  text-align: center;
  padding: 1rem;
  flex-shrink: 0; /* ensures footer does not shrink */
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* optional subtle shadow */
}

.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  color: #000;
  margin: 60px auto 30px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #00f0ff;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Contact Container (Box) */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #000; /* Set font color to black */
}

/* Contact Info */
.contact-info {
  flex: 1 1 50%;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 25px;
  border-left: 5px solid #00f0ff;
  padding-left: 12px;
  font-weight: 600;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}

.contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info i {
  color: #00b8d4;
  font-size: 18px;
}

.map-container iframe {
  width: 100%;
  height: 220px;
  margin-top: 25px;
  border-radius: 14px;
  border: none;
  filter: grayscale(10%) brightness(97%) contrast(105%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Form */
.contact-form {
  flex: 1 1 50%;
  padding: 50px 40px;
}

.contact-form h2 {
  font-size: 26px;
  margin-bottom: 30px;
  border-left: 5px solid #00f0ff;
  padding-left: 12px;
  font-weight: 600;
}

.form-groups {
  margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #333;
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px #00f0ff;
}

.contact-form textarea {
  resize: none;
  height: 130px;
}

.contact-form button {
  background: #00f0ff;
  border: none;
  color: #000;
  font-weight: bold;
  padding: 14px 36px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.contact-form button:hover {
  background: #00d5e0;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
    border-right: none;
    padding: 30px 25px;
  }

  .map-container iframe {
    height: 180px;
  }

  .section-title {
    font-size: 32px;
  }
}

:root {
  --overlay-color: rgba(0, 0, 0, 0.5);
  --background: rgba(255, 255, 255, 0.15);
  --modal-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  --input-bg: rgba(255, 255, 255, 0.25);
  --input-border: rgba(255, 255, 255, 0.4);
  --label-color: #eee;
  --text-color: #fff;
  --primary-color: #6a11cb;
  --primary-hover: #2575fc;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  background: var(--overlay-color);
  z-index: 999;
}

.modal-box {
  background: var(--background);
  padding: 2rem;
  width: 90%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: var(--modal-shadow);
  position: relative;
  animation: slideFadeIn 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  color: var(--text-color);
  transition: transform 0.3s ease;
}

.modal-box:hover {
  transform: scale(1.01);
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--primary-hover);
}

.section-subtitle {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.8rem;
  color: #ffffff;
  font-weight: 600;
}
.form-group {
  position: relative;
  margin-bottom: 1.8rem;
}

/* Input style */
.form-group input {
  width: 100%;
  padding: 16px 14px 12px 14px; /* top padding more for label space */
  border-radius: 10px;
  border: 1px solid var(--input-border);
  font-size: 1rem;
  background: var(--input-bg);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: border 0.3s, background 0.3s, color 0.3s;
}

/* Hide placeholder text completely */
.form-group input::placeholder {
  color: transparent;
}

/* Input focus styles */
.form-group input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.4);
  outline: none;
  color: #000;
}

/* Label style */
.form-group label {
  position: absolute;
  top: 18px;
  left: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 6px;
  font-size: 0.9rem;
  color: var(--label-color);
  pointer-events: none;
  transition: 0.3s ease all;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

/* Floating label - when input is focused or has value */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 12px;
  font-size: 0.75rem;
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.25);
}





.btn,
.subscribe-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.4);
  transition: background 0.4s, transform 0.2s;
}

.btn:hover,
.subscribe-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  transform: scale(1.03);
}

/* Alert styling */
.subscribe-alert {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px;
  padding: 10px;
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.subscribe-alert.success {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.2);
}

.subscribe-alert.error {
  color: #d9534f;
  background-color: rgba(217, 83, 79, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* Loader Base */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

.loader-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-ring {
  width: 100px;
  height: 100px;
  border: 5px solid #ddd;
  border-top: 5px solid #ff6f61;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hide loader after loaded */
body.loaded #loader {
  opacity: 0;
  pointer-events: none;
}
