/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background: #f0f7ff;
  color: #333;
  text-align: center;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  border-bottom: 2px solid #1565C0;
}
.logo img {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li {
  display: inline;
}
.nav-links a {
  color: #0D47A1;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #1565C0;
}
.btn-login {
  background: #1565C0;
  padding: 8px 15px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn-login:hover {
  background: #0D47A1;
}
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #1565C0;
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    z-index: 1100;
  }
  .nav-links {
    position: absolute;
    top: 75px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 0;
    text-align: center;
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    height: auto;
    padding: 10px 0;
  }
  .nav-links li {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }
}

/* User Email */
#userEmail {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 0 10px;
  color: #0D47A1;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #5c6bc0, #1f3b93);
  color: white;
  padding: 80px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 20%, transparent 70%);
  animation: heroGlow 12s infinite linear;
}
@keyframes heroGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-section h1 {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.hero-section p {
  font-size: 20px;
  margin-top: 12px;
  opacity: 0.95;
}

/* Contact Form */
.contact-form {
  max-width: 620px;
  background: white;
  padding: 36px;
  margin: 60px auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
  animation: floatBox 6s ease-in-out infinite;
}
@keyframes floatBox {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.contact-form h2 {
  font-size: 28px;
  color: #0D47A1;
  margin-bottom: 24px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 2px solid #1565C0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f9fbff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #1E88E5;
  box-shadow: 0 0 12px rgba(21, 101, 192, 0.3);
  outline: none;
}
.contact-form button {
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: linear-gradient(135deg, #0D47A1, #1565C0);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 14px rgba(13, 71, 161, 0.3);
}

/* ========== Premium Contact Section ========== */
#reach {
  background: linear-gradient(135deg, #f4f6fb 0%, #e2e9fc 100%);
  padding: 90px 30px;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#reach::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231f3b93' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

#reach h2 {
  font-size: 42px;
  color: #1f3b93;
  font-weight: 900;
  margin-bottom: 60px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
  animation: fadeInDown 1.2s ease-out;
}

.contact-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  position: relative;
  z-index: 1;
}

.contact-box {
  background: linear-gradient(145deg, #ffffff, #f8f9fc);
  border-radius: 18px;
  padding: 35px 30px;
  width: 300px;
  box-shadow: 0 10px 30px rgba(31, 59, 147, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: contactSlideUp 1s ease-out forwards;
  border: 2px solid transparent;
}

.contact-box:nth-child(1) { animation-delay: 0.15s; }
.contact-box:nth-child(2) { animation-delay: 0.3s; }
.contact-box:nth-child(3) { animation-delay: 0.45s; }

@keyframes contactSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #1f3b93, #4b6cb7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.contact-box:hover::before {
  transform: scaleX(1);
}

.contact-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 59, 147, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.contact-box:hover::after {
  opacity: 1;
}

.contact-box:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 18px 45px rgba(31, 59, 147, 0.25);
  border-color: rgba(31, 59, 147, 0.2);
}

.contact-box img {
  width: 50px;
  margin-bottom: 20px;
  transition: all 0.5s ease;
  filter: drop-shadow(0 4px 10px rgba(31, 59, 147, 0.2));
}

.contact-box:hover img {
  transform: scale(1.15) rotate(10deg);
}

.contact-box h3 {
  font-size: 22px;
  margin: 15px 0 10px;
  color: #1f3b93;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-box:hover h3 {
  color: #162c6d;
  transform: translateY(-3px);
}

.contact-box p {
  color: #444;
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-box:hover p {
  color: #333;
}

/* ========== Premium Footer ========== */
footer {
  position: relative;
  background: linear-gradient(135deg, #dce5f8 0%, #e8eef9 100%);
  color: #2c2c2c;
  padding: 90px 12% 50px;
  overflow: hidden;
  border-top: 6px solid #1f3b93;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231f3b93' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.footer-intro {
  max-width: 850px;
  text-align: left;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-intro h2 {
  font-size: 36px;
  color: #1f3b93;
  margin-bottom: 18px;
  font-weight: 900;
  animation: slideInFromLeft 1.2s ease-out;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.underline {
  width: 500px;
  max-width: 100%;
  height: 4px;
  background: linear-gradient(to right, #1f3b93, #4b6cb7, #1f3b93);
  background-size: 200% 100%;
  margin-bottom: 25px;
  border-radius: 2px;
  animation: expandLineFooter 1.8s ease-out, gradientMove 3s ease infinite;
}

@keyframes expandLineFooter {
  0% { width: 0; }
  100% { width: 500px; }
}

.footer-intro p {
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  animation: fadeIn 1.5s ease-out 0.5s both;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.transparenttextures.com/patterns/circles-light.png');
  opacity: 0.1;
  animation: bgDrift 20s infinite alternate;
  z-index: 0;
}

@keyframes bgDrift {
  0% { background-position: 0 0; }
  100% { background-position: 120px 120px; }
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 1;
  margin-top: 50px;
}

.footer-section {
  flex: 1;
  min-width: 280px;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease-out forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.15s; }
.footer-section:nth-child(2) { animation-delay: 0.3s; }
.footer-section:nth-child(3) { animation-delay: 0.45s; }

.footer-section h3 {
  font-size: 22px;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 800;
  color: #1f3b93;
  position: relative;
  padding-bottom: 12px;
  letter-spacing: 0.5px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(to right, #1f3b93, #4b6cb7);
  border-radius: 2px;
  animation: lineExpand 1s ease-out;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 14px 0;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.4s ease;
}

.footer-section ul li::before {
  content: '→';
  position: absolute;
  left: -25px;
  opacity: 0;
  color: #1f3b93;
  font-weight: 700;
  transition: all 0.4s ease;
}

.footer-section ul li:hover {
  padding-left: 25px;
}

.footer-section ul li:hover::before {
  opacity: 1;
  left: 0;
}

.footer-section ul li a {
  color: #444;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.footer-section ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1f3b93;
  transition: width 0.4s ease;
}

.footer-section ul li a:hover {
  color: #1f3b93;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-section p a {
  color: #444;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-section p a:hover {
  color: #1f3b93;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(31, 59, 147, 0.12);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f3b93, #4b6cb7);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

.social-icons a:hover::before {
  opacity: 1;
}

.social-icons a:hover {
  transform: translateY(-8px) rotate(10deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(31, 59, 147, 0.4);
}

.social-icons img {
  width: 26px;
  z-index: 1;
  transition: all 0.4s ease;
}

.social-icons a:hover img {
  filter: brightness(0) invert(1);
  transform: scale(1.15);
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 2px solid rgba(31, 59, 147, 0.2);
  text-align: center;
  font-size: 16px;
  color: #444;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 10px 0;
  font-weight: 500;
}

.policy-link {
  color: #1f3b93 !important;
  text-decoration: none !important;
  font-weight: 700;
  position: relative !important;
  z-index: 9999 !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
}

.policy-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1f3b93;
  transition: width 0.4s ease;
}

.policy-link:hover {
  transform: translateY(-3px);
}

.policy-link:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-header {
    text-align: center;
    padding: 60px 20px;
  }
  
  .testimonial-text {
    text-align: center;
  }
  
  .testimonial-text h2 {
    font-size: 2.4rem;
  }
  
  .smiley-icon img {
    width: 100px;
  }
  
  .faqs {
    padding: 60px 5%;
  }
  
  .faqs h2 {
    font-size: 28px;
  }
  
  .faq-question {
    font-size: 16px;
  }
  
  .faq-answer {
    font-size: 14px;
  }
  
  #reach h2 {
    font-size: 32px;
  }
  
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-box {
    width: 100%;
    max-width: 350px;
  }
  
  footer {
    padding: 70px 5% 40px;
  }
  
  .footer-intro h2 {
    font-size: 28px;
  }
  
  .underline {
    width: 100%;
    max-width: 300px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 35px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* Animation Keyframes */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}