@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f4f7fd;
  color: #1d1d1d;
  text-align: center;
  line-height: 1.6;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10%;
  background: white;
  box-shadow: 0 2px 10px rgba(31, 59, 147, 0.08);
  z-index: 1000;
  border-bottom: 3px solid #1f3b93;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #1f3b93;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #162c6d;
}

.btn-login {
  background: linear-gradient(to right, #4b6cb7, #1f3b93);
  padding: 8px 15px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #162c6d;
}

.menu-icon {
  display: none;
  font-size: 24px;
  color: #1f3b93;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
    z-index: 1100;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    text-align: center;
    height: 0;
    overflow: hidden;
    transition: height 0.5s 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 #ddd;
  }
}

#userEmail {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  padding: 0 10px;
  color: #1f3b93;
}

.nav-gap {
    height: 58px;
}

/* ========== Enhanced Hero Banner Section ========== */
.hero-banner-section {
  position: relative;
  overflow: hidden;
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 59, 147, 0.8) 0%, rgba(31, 59, 147, 0.4) 100%);
  z-index: 1;
}

.hero-banner-section .hero-image-block {
  position: relative;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-banner-section img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-banner-section:hover img {
  transform: scale(1);
}

.overlay-content-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31, 59, 147, 0.7) 0%, rgba(31, 59, 147, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 2;
  opacity: 0;
  animation: fadeInOverlay 1.5s ease-in forwards;
}

@keyframes fadeInOverlay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.headline-text {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideInFromTop 1s ease-out 0.5s both;
  position: relative;
}

@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.headline-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, #ffffff, transparent);
  animation: lineExpand 1s ease-out 1s both;
}

@keyframes lineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 100px;
  }
}

.subtext-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 20px;
  text-align: center;
  color: #e8e8e8;
  animation: fadeIn 1.5s ease-out 0.8s both;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.cta-link-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: slideInFromBottom 1s ease-out 1s both;
}

@keyframes slideInFromBottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-link-group a {
  background-color: #1f3b93;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(31, 59, 147, 0.4);
}

.cta-link-group a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.cta-link-group a:hover::before {
  left: 100%;
}

.cta-link-group a:hover {
  background-color: #162c6d;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 59, 147, 0.6);
}

/* Floating elements for hero */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.floating-element {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  animation-duration: 8s;
}

.floating-element:nth-child(2) {
  top: 60%;
  left: 80%;
  width: 15px;
  height: 15px;
  animation-delay: 1s;
  animation-duration: 10s;
}

.floating-element:nth-child(3) {
  top: 40%;
  left: 15%;
  width: 25px;
  height: 25px;
  animation-delay: 2s;
  animation-duration: 9s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

        /* ========== Enhanced Offer Cards Section ========== */
        .print-offers {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
            padding: 80px 20px;
            background-color: #f4f7fe;
            position: relative;
            overflow: hidden;
        }

        .print-offers::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='%235c6bc0' fill-opacity='0.1'/%3E%3C/svg%3E");
            background-size: 30px 30px;
            z-index: 0;
        }

        .offer-tile {
            background-color: #ffffff;
            border-radius: 14px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
            padding: 30px 20px;
            max-width: 300px;
            text-align: center;
            transition: all 0.4s ease;
            border-bottom: 5px solid #1f3b93;
            border-bottom-left-radius: 16px;
            border-bottom-right-radius: 16px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            opacity: 1; /* Changed from 0 to 1 */
            transform: translateY(0); /* Changed from translateY(50px) */
            animation: tileEntrance 0.8s ease-out; /* Added entrance animation */
        }

        @keyframes tileEntrance {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .offer-tile:nth-child(1) { animation-delay: 0.1s; }
        .offer-tile:nth-child(2) { animation-delay: 0.2s; }
        .offer-tile:nth-child(3) { animation-delay: 0.3s; }
        .offer-tile:nth-child(4) { animation-delay: 0.4s; }

        .offer-tile::before {
            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.4s ease;
            z-index: -1;
        }

        .offer-tile:hover::before {
            opacity: 1;
        }

        .offer-tile:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 30px rgba(31, 59, 147, 0.15);
        }

        .tile-icon {
            font-size: 2.8rem;
            margin-bottom: 16px;
            color: #1f3b93;
            transition: all 0.4s ease;
            display: inline-block;
        }

        .offer-tile:hover .tile-icon {
            transform: scale(1.1) rotate(5deg);
            color: #162c6d;
        }

        .tile-heading {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: #1f3b93;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .offer-tile:hover .tile-heading {
            color: #162c6d;
        }

        .tile-description {
            font-size: 1rem;
            color: #444;
            margin-bottom: 18px;
            line-height: 1.5;
            transition: color 0.3s ease;
        }

        .offer-tile:hover .tile-description {
            color: #333;
        }

        /* Section heading */
        .section-heading {
            text-align: center;
            width: 100%;
            margin-bottom: 40px;
            color: #1f3b93;
            font-size: 2.2rem;
            position: relative;
            padding-bottom: 15px;
        }

        .section-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, #5c6bc0, #1f3b93);
            border-radius: 2px;
        }

/* ========== Enhanced Services Section ========== */
.services {
  padding: 60px 10%;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff, #dfe7fa);
  border-bottom: 6px solid #1f3b93;
  border-radius: 0 0 20px 20px;
  position: relative;
  overflow: hidden;
}

.services::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.05'%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;
}

.services h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #ffffff;
  background: linear-gradient(90deg, #1f3b93, #567bff);
  padding: 12px 28px;
  display: inline-block;
  border-radius: 30px;
  box-shadow: 0 6px 15px rgba(31, 59, 147, 0.4);
  font-weight: 700;
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(31, 59, 147, 0.4);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(31, 59, 147, 0.6);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  justify-items: center;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.service-card {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: scale(0.95) translateY(60px);
  transition: all 0.6s ease-out;
}

.service-card.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(31, 59, 147, 0.2) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .card-image::before {
  opacity: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 22px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: #1f1f1f;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #1f3b93;
}

.service-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.service-card:hover p {
  color: #333;
}

.price-tag {
  font-size: 16px;
  font-weight: 600;
  color: #1f3b93;
  background: #e2e9fc;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: inline-block;
  transition: all 0.3s ease;
}

.service-card:hover .price-tag {
  background: #d4e1ff;
  transform: scale(1.05);
}

.btn-order {
  background: #1f3b93;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-order::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-order:hover::before {
  left: 100%;
}

.btn-order:hover {
  background: #162c6d;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(31, 59, 147, 0.4);
}

.highlight-deal {
  font-size: 15px;
  font-weight: 600;
  color: #2a2a6e !important;
  background: #e2e9fc;
  padding: 6px 12px;
  border-left: 5px solid #1f3b93;
  margin-bottom: 14px;
  border-radius: 4px;
  text-align: left;
  transition: all 0.3s ease;
}

.service-card:hover .highlight-deal {
  background: #d4e1ff;
  transform: translateX(5px);
}

.gift-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(45deg, #d4e3ff, #a6c1ff);
  color: #1f1f3f;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: bounceTag 1.5s infinite;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-card:hover .gift-tag {
  animation: bounceTag 0.8s infinite;
  transform: scale(1.1);
}

.gift-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover .gift-icon {
  transform: rotate(15deg);
}

@keyframes bounceTag {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-4px); 
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .headline-text {
    font-size: 2.2rem;
  }
  
  .subtext-description {
    font-size: 1rem;
  }
  
  .cta-link-group {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-link-group a {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation for elements to appear on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
/* Rotating Showcase */
.rotating-showcase {
    background: #ffffff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 260px;
    height: 200px;
    margin: 0 auto 40px;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.7s ease-in-out;
}

.carousel-wrapper span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(400px);
}

.carousel-wrapper span img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s;
}

.carousel-wrapper span img:hover {
    transform: scale(1.05);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-btn {
    background-color: #1f3b93;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background-color: #162c6d;
}

/* ========== Enhanced Service Process ========== */
.service-process {
    text-align: center;
    padding: 80px 5%;
    background: linear-gradient(to bottom, #f7f9fc, #e8eef9);
    position: relative;
    overflow: hidden;
}

.service-process::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.05'%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;
}

.service-process h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 800;
    color: #1f3b93;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-process p {
    font-size: 18px;
    color: #444;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.process-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.process-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    position: relative;
}

.process-box.show {
    opacity: 1;
    transform: translateY(0);
}

.process-box::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #1f3b93, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-box:hover::before {
    opacity: 1;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(31, 59, 147, 0.2);
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.circle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.circle:hover::after {
    opacity: 1;
    animation: shimmer 1.5s linear;
}

.circle img {
    width: 45px;
    transition: transform 0.3s ease;
}

.circle:hover img {
    transform: scale(1.1);
}

.purple {
    background: #1f3b93;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(31, 59, 147, 0.3);
}

.white {
    background: #ffffff;
    border: 4px solid #1f3b93;
}

.white-border {
    background: #ffffff;
    border: 4px solid #1f3b93;
}

.circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(31, 59, 147, 0.4);
}

.process-box h3 {
    font-size: 18px;
    color: #1f3b93;
    margin-bottom: 8px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.process-box:hover h3 {
    color: #162c6d;
}

.process-box p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.arrow {
    font-size: 36px;
    font-weight: bold;
    color: #4b6cb7;
    animation: arrowFloat 2s infinite ease-in-out;
    position: relative;
}

@keyframes arrowFloat {
    0%, 100% { 
        transform: translateX(0); 
        color: #4b6cb7;
    }
    50% { 
        transform: translateX(5px); 
        color: #1f3b93;
    }
}

.arrow::before {
    content: '→';
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    animation: arrowGhost 2s infinite ease-in-out;
}

@keyframes arrowGhost {
    0%, 100% { 
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translateX(10px) scale(0.8);
        opacity: 0;
    }
}

/* ========== Enhanced Testimonials Section ========== */
.testimonials-header {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f7f9fc 0%, #e8eef9 100%);
    border-bottom: 3px solid #1f3b93;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonials-header::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.05'%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;
}

.smiley-icon {
    position: relative;
    z-index: 1;
    animation: bounce 4s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.smiley-icon img {
    width: 120px;
    height: auto;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(31, 59, 147, 0.2));
}

.testimonial-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.testimonial-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1f1f1f;
    margin: 0 0 15px 0;
    line-height: 1.2;
    animation: fadeInRight 1s ease-out;
}

.testimonial-text .highlight {
    color: #1f3b93;
    display: block;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.testimonial-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #1f3b93, #4b6cb7);
    border-radius: 2px;
}

.testimonial-text p {
    font-size: 1.3rem;
    color: #444;
    margin-top: 20px;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out 0.4s both;
}

.testimonials-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.testimonial-form {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    border-top: 3px solid #e0e0e0;
    background: linear-gradient(to bottom, #ffffff, #f7f9fc);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonial-form::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.05'%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;
}

/* Responsive */
@media (max-width: 768px) {
    .process-container {
        flex-direction: column;
        gap: 30px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .testimonials-header {
        text-align: center;
        padding: 50px 20px;
    }
    
    .testimonial-text {
        text-align: center;
    }
    
    .testimonial-text h2 {
        font-size: 2.2rem;
    }
    
    .smiley-icon img {
        width: 90px;
    }
}

/* Floating elements for visual enhancement */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    background: rgba(31, 59, 147, 0.05);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.floating-shape:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 70%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.floating-shape:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}
    
/* FAQs Styling */
.faqs {
    padding: 60px 10%;
    background: linear-gradient(to bottom, #eef1f9, #ffffff); /* Soft corporate gradient */
    text-align: center;
    border-top: 5px solid #1f3b93;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.faqs h2 {
    font-size: 32px;
    color: #1f3b93;
    margin-bottom: 30px;
    font-weight: bold;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #4b6cb7;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    font-size: 16px;
    color: #444;
    margin-top: 12px;
    display: none;
    line-height: 1.6;
}

.arrow {
    font-size: 22px;
    color: #1f3b93;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
}

/* Responsive Fix */
@media (max-width: 600px) {
    .faqs h2 {
        font-size: 28px;
    }
    .faq-question {
        font-size: 16px;
    }
    .faq-answer {
        font-size: 14px;
    }
}

/* ========== Super Enhanced Contact Section ========== */
#reach {
    background: linear-gradient(135deg, #f4f6fb 0%, #e8eef9 100%);
    padding: 80px 20px;
    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.05'%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: 38px;
    color: #1f3b93;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease-out;
}

.contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    width: 280px;
    box-shadow: 0 8px 25px rgba(31, 59, 147, 0.15);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: contactBoxEntrance 0.8s ease-out forwards;
}

.contact-box:nth-child(1) { animation-delay: 0.1s; }
.contact-box:nth-child(2) { animation-delay: 0.2s; }
.contact-box:nth-child(3) { animation-delay: 0.3s; }

@keyframes contactBoxEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #1f3b93, #4b6cb7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s 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.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-box:hover::after {
    opacity: 1;
}

.contact-box:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(31, 59, 147, 0.2);
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e1e9ff;
    transition: all 0.4s ease;
    position: relative;
}

.contact-box:hover .icon-container {
    background: #1f3b93;
    transform: rotateY(180deg);
}

.contact-box:hover .icon-container img {
    filter: brightness(0) invert(1);
}

.icon-container img {
    width: 44px;
    transition: all 0.4s ease;
}

.contact-box h3 {
    font-size: 20px;
    margin: 10px 0 8px;
    color: #1f3b93;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-box:hover h3 {
    color: #162c6d;
}

.contact-box p {
    color: #333;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-box:hover p {
    color: #444;
}

/* Floating elements for contact section */
.contact-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(31, 59, 147, 0.1);
    animation: floatContact 8s infinite ease-in-out;
}

.contact-floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 15px;
    height: 15px;
    animation-delay: 0s;
    animation-duration: 10s;
}

.contact-floating-element:nth-child(2) {
    top: 60%;
    left: 85%;
    width: 25px;
    height: 25px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.contact-floating-element:nth-child(3) {
    top: 80%;
    left: 15%;
    width: 18px;
    height: 18px;
    animation-delay: 4s;
    animation-duration: 9s;
}

@keyframes floatContact {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@media (max-width: 768px) {
    #reach h2 {
        font-size: 30px;
    }
    
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-box {
        width: 100%;
        max-width: 300px;
    }
}

/* ========== Super Enhanced Footer ========== */
footer {
    position: relative;
    background: linear-gradient(135deg, #dbe4f8 0%, #e1e7fa 100%);
    color: #333;
    padding: 80px 10% 40px;
    overflow: hidden;
    border-top: 5px 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.05'%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: 800px;
    text-align: left;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-intro h2 {
    font-size: 32px;
    color: #1f3b93;
    margin-bottom: 15px;
    font-weight: 700;
    animation: fadeInRight 1s ease-out;
}

.underline {
    width: 460px;
    height: 3px;
    background: linear-gradient(to right, #1f3b93, #4b6cb7, #1f3b93);
    margin-bottom: 20px;
    border-radius: 2px;
    animation: expandLine 1.5s ease-out;
}

@keyframes expandLine {
    0% {
        width: 0;
    }
    100% {
        width: 460px;
    }
}

.footer-intro p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out 0.4s 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.08;
    animation: bgAnimation 15s infinite alternate;
    z-index: 0;
}

@keyframes bgAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: #1f3b93;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #1f3b93, #4b6cb7);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 12px 0;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.footer-section ul li::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: #1f3b93;
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    padding-left: 20px;
}

.footer-section ul li:hover::before {
    opacity: 1;
    left: 0;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1f3b93;
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #1f3b93;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-section p a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section p a:hover {
    color: #1f3b93;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(31, 59, 147, 0.1);
    transition: all 0.4s ease;
    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.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 15px rgba(31, 59, 147, 0.3);
}

.social-icons img {
    width: 24px;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icons a:hover img {
    filter: brightness(0) invert(1);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(31, 59, 147, 0.2);
    text-align: center;
    font-size: 15px;
    color: #333;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 8px 0;
}

.policy-link {
    color: #1f3b93 !important;
    text-decoration: none !important;
    font-weight: 600;
    position: relative !important;
    z-index: 9999 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.policy-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1f3b93;
    transition: width 0.3s ease;
}

.policy-link:hover {
    transform: translateY(-2px);
}

.policy-link:hover::after {
    width: 100%;
}

/* Floating elements for footer */
.footer-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-floating-element {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(31, 59, 147, 0.08);
    animation: floatFooter 10s infinite ease-in-out;
}

.footer-floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.footer-floating-element:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 3s;
    animation-duration: 12s;
}

.footer-floating-element:nth-child(3) {
    top: 80%;
    left: 15%;
    animation-delay: 6s;
    animation-duration: 18s;
}

@keyframes floatFooter {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer {
        padding: 60px 5% 30px;
    }
    
    .footer-intro h2 {
        font-size: 28px;
    }
    
    .underline {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .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(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}