
/* ================= SECTION ================= */
.schedule-section{
  padding:50px 15px;
}

.schedule-container{
  max-width:1000px;
  margin:auto;
}

/* ================= HEADER ================= */
.schedule-header{
  text-align:center;
  margin-bottom:30px;
}
.schedule-header h1{
  font-size:32px;
}
.schedule-header p{
  color:#666;
  margin-top:8px;
}

/* ================= BOOKING CARD ================= */
.booking-wrapper{
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  padding:30px;
}

.booking-header h2{
  margin-bottom:6px;
}


/* ================= LAYOUT ================= */
.booking-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin-top:30px;
}

/* ================= CALENDAR ================= */
.calendar{
  border-right:1px solid #eee;
  padding-right:25px;
}

.calendar-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:35px;
}

.calendar-header button{
  border:none;
  background:none;
  font-size:20px;
  cursor:pointer;
}

.weekdays,
.days{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  text-align:center;
}

.weekdays div{
  font-size:13px;
  color:#032e49a8;
  margin-bottom:8px;
}

.days div{
  padding:15px 0;
  margin:3px;
  border-radius:50%;
  cursor:pointer;
  transition: all 0.2s ease;
}

.days div:hover:not(.blocked):not(.disabled){
  background:#0EE78F;
  color: #032E49
}

.days .active{
  background:#032E49;
  color:#fff;
}

/* Blocked/Disabled dates - non-clickable appearance */
.days .blocked,
.days .disabled {
  color: #c5c5c5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: transparent !important;
  opacity: 0.6;
}

.days .blocked:hover,
.days .disabled:hover {
  background: transparent !important;
}

/* ================= TIME ================= */
.time-panel{
  display:block;
}

.time-panel h4{
  margin-bottom:15px;
}

.time-slot{
  border:1px solid #cfe1ff;
  padding:12px;
  border-radius:8px;
  margin-bottom:10px;
  text-align:center;
  cursor:pointer;
  color:#29395B;
  font-weight:600;
}

.time-slot.active,
.time-slot:hover{
  background:#3be79b;
  color:#032E49;
}

.next-btn{
  width:100%;
  padding:12px;
  margin-top:20px;
  border:none;
  border-radius:8px;
  background:#3be79b;
  color:#032E49;
  font-size:15px;
  cursor:pointer;
  opacity:.5;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Glow effect around Next button */
.next-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(14, 231, 143, 0.5) 0%, rgba(59, 231, 155, 0.3) 50%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.next-btn.active::before,
.next-btn:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  animation: buttonGlowExpand 1.5s ease-in-out infinite;
}

/* Shine effect on Next button */
.next-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.next-btn.active::after,
.next-btn:hover::after {
  opacity: 1;
  animation: buttonShine 2s ease-in-out infinite;
}

.next-btn.active{
  opacity:1;
  border: 1px solid #032E49;
}

.next-btn.active:hover{
  background: #032E49;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(14, 231, 143, 0.6),
              0 0 45px rgba(59, 231, 155, 0.4),
              0 5px 20px rgba(14, 231, 143, 0.3);
  transform: translateY(-2px);
}

/* Ensure button text stays above effects */
.next-btn > * {
  position: relative;
  z-index: 2;
}

/* ================= FORM ================= */
.schedule-form{
  display:none;
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  padding:30px;
  margin-top:40px;
}

.schedule-form h3{
  margin-bottom:20px;
}

.form-group{
  margin-bottom:18px;
}
.form-group label{
  display:block;
  margin-bottom:6px;
  font-weight:500;
}
.form-group input,
.form-group textarea,
.form-group select{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #ddd;
  font-size:15px;
  font-family:inherit;
}

.form-group select{
  background-color:#fff;
  cursor:pointer;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23032E49' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:40px;
}

.form-group select:focus{
  outline:none;
  border-color:#032E48;
  box-shadow:0 0 0 3px rgba(3,46,72,0.1);
}

.schedule-btn{
  width:30%;
  padding:14px;
  border:none;
  border-radius:8px;
  background:#ffffff;
  color:#032E49;
  font-size:15px;
  cursor:pointer;
  border: 2px solid #032E49;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Glow effect around Confirm Appointment button */
.schedule-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(14, 231, 143, 0.5) 0%, rgba(59, 231, 155, 0.3) 50%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.schedule-btn:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  animation: buttonGlowExpand 1.5s ease-in-out infinite;
}

/* Shine effect on Confirm Appointment button */
.schedule-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.schedule-btn:hover::after {
  opacity: 1;
  animation: buttonShine 2s ease-in-out infinite;
}

.schedule-btn:hover{
  background:#3be79b;
  color:#032E49;
  box-shadow: 0 0 25px rgba(14, 231, 143, 0.6),
              0 0 45px rgba(59, 231, 155, 0.4),
              0 5px 20px rgba(14, 231, 143, 0.3);
  transform: translateY(-2px);
}

/* Ensure button text stays above effects */
.schedule-btn > * {
  position: relative;
  z-index: 2;
}



.time-panel.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* booking card fixed height */
.booking-wrapper{
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  padding:30px;
  height:100%;              /* fixed */
  overflow:hidden;           /* page scroll off */
}

/* calendar & time equal height */
.booking-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  height:100%;
}

/* time panel full height */
.time-panel{
  display:block;
  height:100%;
}

/* ONLY time list scroll */
#timeSlots{
  max-height:340px;          /* visible area */
  overflow-y:auto;
  padding-right:6px;
}

/* smooth scrollbar */
#timeSlots::-webkit-scrollbar{
  width:6px;
}
#timeSlots::-webkit-scrollbar-thumb{
  background:#3be79b;
  border-radius:10px;
}

.time-slot.disabled {
  background: #f3f3f3;
  color: #aaa;
  cursor: not-allowed;
}

.time-slot {
  position: relative;
}

/* PENDING */
.time-slot.pending {
  background: #fff6d6;
  border-color: #f1c40f;
  color: #8a6d00;
  cursor: not-allowed;
}

/* APPROVED */
.time-slot.approved {
  background: linear-gradient(135deg, #032E49 0%, #1a4a6b 100%);
  border-color: #3be79b;
  color: #ffffff;
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(3, 46, 73, 0.3);
  position: relative;
  overflow: hidden;
}

.time-slot.approved::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3be79b 0%, #0EE78F 100%);
  z-index: 1;
}

.time-slot.approved:hover {
  background: linear-gradient(135deg, #1a4a6b 0%, #032E49 100%);
  box-shadow: 0 4px 12px rgba(3, 46, 73, 0.4);
  transform: translateY(-1px);
}

/* Badge style */
.slot-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.time-slot.pending .slot-badge {
  background: #f1c40f;
  color: #000;
}

.time-slot.approved .slot-badge {
  background: #3be79b;
  color: #032E49;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(59, 231, 155, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}


/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .booking-layout{
    grid-template-columns:1fr;
  }
  .calendar{
    border-right:none;
    padding-right:0;
    border-bottom:1px solid #eee;
    padding-bottom:20px;
  }
}



/* error page styles */
/* ===============================
   LAW 404 ERROR PAGE
================================ */

.law-error-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  padding: 60px 20px;
}

.law-error-container {
  background: #ffffff;
  max-width: 700px;
  width: 100%;
  padding: 70px 50px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.law-error-code {
  font-size: 110px;
  font-weight: 800;
  color: #0c3c2f;
  margin-bottom: 60px;
}

.law-error-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
}

.law-error-desc {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
}

.law-error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.law-btn-primary {
  padding: 14px 32px;
  background: #0c3c2f;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.law-btn-primary:hover {
  background: #092c22;
}

.law-btn-outline {
  padding: 14px 32px;
  border: 2px solid #0c3c2f;
  color: #0c3c2f;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.law-btn-outline:hover {
  background: #0c3c2f;
  color: #fff;
}






/* ================= MEDIA QUERIES ================= */
.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social li {
    margin-bottom: 12px;
}

.footer-social li a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    gap: 12px;
}

.footer-social li i {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

/* Brand colors */
.footer-social .facebook {
    background: #1877f2;
}
.footer-social .twitter {
    background: #1da1f2;
}
.footer-social .instagram {
    background: #e4405f;
}
.footer-social .youtube {
    background: #ff0000;
}

/* Hover effect */
.footer-social li a:hover {
    opacity: 0.85;
}



.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social li {
    margin-bottom: 14px;
}

.footer-social li a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

/*  square box */
.footer-social .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
}

/*  exact brand colors (Image-1 like) */
.social-icon.facebook { background: #1877f2; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.instagram { background: #e4405f; }
.social-icon.youtube { background: #ff0000; }
.social-icon.linkedin { background: #0a66c2; }

/* hover */
.footer-social li a:hover .social-icon {
    transform: translateY(-2px);
    transition: 0.3s ease;
}

/* ================= MOBILE MENU FREE CONSULTING ================= */
/* Hide on desktop (shown as button in header) */
.mobile-menu-consultation {
    display: none !important;
}

/* Show in mobile menu */
@media (max-width: 991px) {
    .mobile-menu-consultation {
        display: block !important;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-consultation a {
        background: #4EEBC2 !important;
        color: #1a2744 !important;
        padding: 12px 25px !important;
        border-radius: 30px !important;
        display: inline-block !important;
        margin: 10px 30px !important;
        font-weight: 600 !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-menu-consultation a:hover {
        background: #a8a4d4 !important;
        color: #1a2744 !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(168, 164, 212, 0.4);
    }
    
    .mobile-menu-consultation a.active {
        background: #a8a4d4 !important;
        color: #1a2744 !important;
    }
}


/* ================= SMART HOVER EFFECT FOR FEATURES SECTION ================= */
.wpo-features-section-s2 .wpo-features-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Base state - smooth transitions */
.wpo-features-section-s2 .wpo-features-item * {
    transition: all 0.4s ease;
}

/* Hover state - main card transformation */
.wpo-features-section-s2 .wpo-features-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, #0d2935 0%, #1a4a6b 50%, #233942 100%);
    box-shadow: 0 20px 40px rgba(3, 46, 73, 0.4), 
                0 0 30px rgba(59, 231, 155, 0.15);
    border: 1px solid rgba(59, 231, 155, 0.3);
}

/* Icon hover effect - rotation and scale */
.wpo-features-section-s2 .wpo-features-item:hover .wpo-features-icon {
    transform: scale(1.15) rotate(5deg);
}

.wpo-features-section-s2 .wpo-features-item:hover .wpo-features-icon .icon {
    background-color: rgba(59, 231, 155, 0.2);
    box-shadow: 0 0 20px rgba(59, 231, 155, 0.3);
}

.wpo-features-section-s2 .wpo-features-item:hover .wpo-features-icon .fi:before {
    color: #3BE79B !important;
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(59, 231, 155, 0.5);
}

/* Text hover effects */
.wpo-features-section-s2 .wpo-features-item:hover .wpo-features-text h2 {
    color: #3BE79B !important;
    transform: translateX(5px);
    text-shadow: 0 2px 10px rgba(59, 231, 155, 0.3);
}

.wpo-features-section-s2 .wpo-features-item:hover .wpo-features-text p {
    color: #ffffff !important;
    transform: translateX(3px);
}

/* Visible icon (background) animation */
.wpo-features-section-s2 .wpo-features-item:hover .visible-icon {
    transform: scale(1.2) rotate(-10deg);
    opacity: 0.4;
    right: -10px;
    bottom: -5px;
}

.wpo-features-section-s2 .wpo-features-item:hover .visible-icon .fi:before {
    color: rgba(59, 231, 155, 0.2) !important;
    transform: rotate(15deg);
}

/* Glow effect on hover */
.wpo-features-section-s2 .wpo-features-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 231, 155, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.wpo-features-section-s2 .wpo-features-item:hover::before {
    opacity: 1;
}

/* Ensure content stays above glow */
.wpo-features-section-s2 .wpo-features-item > * {
    position: relative;
    z-index: 1;
}

/* Pulse animation for icon on hover */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.wpo-features-section-s2 .wpo-features-item:hover .wpo-features-icon .fi:before {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Smooth border glow effect */
.wpo-features-section-s2 .wpo-features-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 231, 155, 0.5), rgba(59, 231, 155, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.wpo-features-section-s2 .wpo-features-item:hover::after {
    opacity: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .wpo-features-section-s2 .wpo-features-item:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .wpo-features-section-s2 .wpo-features-item:hover .wpo-features-icon {
        transform: scale(1.1) rotate(3deg);
    }
}


/* ================= CLEAN SERVICE SECTION STYLING ================= */
/* Override and enhance existing service styles */
.wpo-service-section-s2 .wpo-service-item {
    background: #032E49;
    box-shadow: 0px 5px 15px rgba(62, 65, 159, 0.1);
    padding: 50px;
    margin-bottom: 30px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

/* Smooth transitions for all child elements */
.wpo-service-section-s2 .wpo-service-item * {
    transition: all 0.4s ease;
}

/* Animated background glow effect - rotating glow like contact page */
.wpo-service-section-s2 .wpo-service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
                rgba(59, 231, 155, 0.12) 0%, 
                rgba(59, 231, 155, 0.05) 40%,
                transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    animation: contactGlowRotate 10s linear infinite;
}

.wpo-service-section-s2 .wpo-service-item:hover::before {
    opacity: 1;
}

/* Shimmer effect on hover */
.wpo-service-section-s2 .wpo-service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(59, 231, 155, 0.15), 
                transparent);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.wpo-service-section-s2 .wpo-service-item:hover::after {
    left: 100%;
}

/* Main hover transformation - same as contact page */
.wpo-service-section-s2 .wpo-service-item:hover {
    transform: translateY(-10px) scale(1.03);
    background: linear-gradient(135deg, #0d2935 0%, #1a4a6b 50%, #032E49 100%) !important;
    box-shadow: 0 20px 45px rgba(3, 46, 73, 0.5),
                0 0 35px rgba(59, 231, 155, 0.25),
                inset 0 0 25px rgba(59, 231, 155, 0.08);
    border-color: rgba(59, 231, 155, 0.4);
}

/* Ensure content stays above effects */
.wpo-service-section-s2 .wpo-service-item > * {
    position: relative;
    z-index: 2;
}

.wpo-service-section-s2 .wpo-service-icon {
    width: 82px;
    height: 82px;
    background: rgba(255, 255, 255, 0.13);
    line-height: 82px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

/* Icon hover effects - same as contact page */
.wpo-service-section-s2 .wpo-service-item:hover .wpo-service-icon {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, rgba(59, 231, 155, 0.3), rgba(59, 231, 155, 0.1)) !important;
    box-shadow: 0 0 25px rgba(59, 231, 155, 0.4),
                inset 0 0 15px rgba(59, 231, 155, 0.2);
    animation: contactIconPulse 2.5s ease-in-out infinite;
}

.wpo-service-section-s2 .wpo-service-item:hover .wpo-service-icon .icon {
    transform: scale(1.1);
}

.wpo-service-section-s2 .wpo-service-icon .icon {
    display: inline-block;
    margin-top: 10px;
    margin-left: 5px;
}

.wpo-service-section-s2 .wpo-service-icon .fi:before,
.wpo-service-section-s2 .wpo-service-icon i {
    font-size: 40px;
    color: #ffffff;
    transition: all 0.4s ease;
}

.wpo-service-section-s2 .wpo-service-item:hover .wpo-service-icon .fi:before,
.wpo-service-section-s2 .wpo-service-item:hover .wpo-service-icon i {
    color: #032E49 !important;
    transform: scale(1.15);
}

/* Text hover effects - same as contact page */
.wpo-service-section-s2 .wpo-service-text h2 {
    font-size: 30px;
    font-weight: 600;
    margin: 20px 0;
    color: #ffffff;
    transition: all 0.4s ease;
}

.wpo-service-section-s2 .wpo-service-item:hover .wpo-service-text h2 {
    color: #3BE79B !important;
    transform: translateY(-3px);
    text-shadow: 0 2px 12px rgba(59, 231, 155, 0.4);
}

.wpo-service-section-s2 .wpo-service-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.wpo-service-section-s2 .wpo-service-item:hover .wpo-service-text p {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.wpo-service-section-s2 .wpo-service-item a {
    text-decoration: none;
    display: block;
}

@media (max-width: 1200px) {
    .wpo-service-section-s2 .wpo-service-item {
        padding: 30px 25px;
    }
}

/* Smooth entrance animation */
@keyframes serviceItemEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= CONSULTANCY SECTION TITLE ================= */
.wpo-consultancy-form-area .wpo-section-title h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    /* -webkit-line-clamp: 2;
    line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 767px) {
    .wpo-consultancy-form-area .wpo-section-title h2 {
        font-size: 28px;
        line-height: 1.4;
    }
}

.wpo-service-section-s2 .wpo-service-item {
    animation: serviceItemEntrance 0.6s ease-out forwards;
}

/* Stagger animation for multiple items */
.wpo-service-section-s2 .wpo-service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.wpo-service-section-s2 .wpo-service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.wpo-service-section-s2 .wpo-service-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .wpo-service-section-s2 .wpo-service-item:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .wpo-service-section-s2 .wpo-service-item:hover .wpo-service-icon {
        transform: scale(1.15) rotate(8deg);
    }
    
    .wpo-service-section-s2 .wpo-service-item::before {
        animation: none;
    }
}


/* ================= SMART HOVER EFFECT FOR CONTACT PAGE SECTION ================= */

/* Make all office info cards the same height */
.wpo-contact-pg-section .office-info .row {
    display: flex;
    flex-wrap: wrap;
}

.wpo-contact-pg-section .office-info .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Office Info Items (Address, Email, Phone) */
.wpo-contact-pg-section .office-info .office-info-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px; /* Ensure minimum height */
}

/* Smooth transitions for all child elements */
.wpo-contact-pg-section .office-info .office-info-item * {
    transition: all 0.4s ease;
}

/* Main hover transformation */
.wpo-contact-pg-section .office-info .office-info-item:hover {
    transform: translateY(-10px) scale(1.03);
    background: linear-gradient(135deg, #0d2935 0%, #1a4a6b 50%, #032E49 100%) !important;
    box-shadow: 0 20px 45px rgba(3, 46, 73, 0.5),
                0 0 35px rgba(59, 231, 155, 0.25),
                inset 0 0 25px rgba(59, 231, 155, 0.08);
    border-color: rgba(59, 231, 155, 0.4);
}

/* Icon hover effects */
.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-icon {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, rgba(59, 231, 155, 0.3), rgba(59, 231, 155, 0.1)) !important;
    box-shadow: 0 0 25px rgba(59, 231, 155, 0.4),
                inset 0 0 15px rgba(59, 231, 155, 0.2);
}

.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-icon .icon {
    transform: scale(1.1);
}

.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-icon .icon .fi:before {
    color: #3BE79B !important;
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(59, 231, 155, 0.6);
    filter: drop-shadow(0 0 6px rgba(59, 231, 155, 0.5));
}

/* Text hover effects */
.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-text h2 {
    color: #3BE79B !important;
    transform: translateY(-3px);
    text-shadow: 0 2px 12px rgba(59, 231, 155, 0.4);
}

.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-text p {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-text p a {
    color: #3BE79B !important;
    text-shadow: 0 0 8px rgba(59, 231, 155, 0.4);
}

/* Animated background glow effect */
.wpo-contact-pg-section .office-info .office-info-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
                rgba(59, 231, 155, 0.12) 0%, 
                rgba(59, 231, 155, 0.05) 40%,
                transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    animation: contactGlowRotate 10s linear infinite;
}

.wpo-contact-pg-section .office-info .office-info-item:hover::before {
    opacity: 1;
}

/* Rotating glow animation */
@keyframes contactGlowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Shimmer effect on hover */
.wpo-contact-pg-section .office-info .office-info-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(59, 231, 155, 0.15), 
                transparent);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.wpo-contact-pg-section .office-info .office-info-item:hover::after {
    left: 100%;
}

/* Ensure content stays above effects */
.wpo-contact-pg-section .office-info .office-info-item > * {
    position: relative;
    z-index: 2;
}

/* Make office-info-text flex to push content evenly */
.wpo-contact-pg-section .office-info .office-info-item .office-info-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

/* Ensure icon stays at top */
.wpo-contact-pg-section .office-info .office-info-item .office-info-icon {
    flex-shrink: 0;
}

/* Address card link styling - make entire card clickable */
.wpo-contact-pg-section .office-info .address-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
    height: 100%;
}

.wpo-contact-pg-section .office-info .address-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.wpo-contact-pg-section .office-info .address-card-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.wpo-contact-pg-section .office-info .address-card-link .office-info-item {
    cursor: pointer;
}

/* Icon pulse animation on hover */
@keyframes contactIconPulse {
    0%, 100% {
        transform: scale(1.2) rotate(10deg);
    }
    50% {
        transform: scale(1.25) rotate(12deg);
    }
}

.wpo-contact-pg-section .office-info .office-info-item:hover .office-info-icon {
    animation: contactIconPulse 2.5s ease-in-out infinite;
}

/* Form Input Hover Effects */
.wpo-contact-pg-section form input,
.wpo-contact-pg-section form select,
.wpo-contact-pg-section form textarea {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.wpo-contact-pg-section form input:hover,
.wpo-contact-pg-section form select:hover,
.wpo-contact-pg-section form textarea:hover {
    border-color: #032E48;
    box-shadow: 0 0 0 3px rgba(59, 231, 155, 0.1);
    transform: translateY(3px);
}

.wpo-contact-pg-section form input:focus,
.wpo-contact-pg-section form select:focus,
.wpo-contact-pg-section form textarea:focus {
    border-color: #032E48;
    box-shadow: 0 0 0 4px rgba(59, 231, 155, 0.15),
                0 4px 12px rgba(59, 231, 155, 0.2);
    outline: none;
    transform: translateY(3px);
}

/* Submit Button Hover Effects - Same as Book an Appointment Button */
.wpo-contact-pg-section form .contact-theme-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Glow effect around Get in Touch button */
.wpo-contact-pg-section form .contact-theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.5) 0%, rgba(59, 231, 155, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.wpo-contact-pg-section form .contact-theme-btn:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    animation: buttonGlowExpand 1.5s ease-in-out infinite;
}

/* Shine effect on Get in Touch button */
.wpo-contact-pg-section form .contact-theme-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.wpo-contact-pg-section form .contact-theme-btn:hover::after {
    opacity: 1;
    animation: buttonShine 2s ease-in-out infinite;
}

/* Button hover effects */
.wpo-contact-pg-section form .contact-theme-btn:hover {
    box-shadow: 0 0 25px rgba(14, 231, 143, 0.6),
                0 0 45px rgba(59, 231, 155, 0.4),
                0 5px 20px rgba(14, 231, 143, 0.3);
    transform: translateY(-2px);
}

/* Ensure button text stays above effects */
.wpo-contact-pg-section form .contact-theme-btn {
    z-index: 2;
}

.wpo-contact-pg-section form .contact-theme-btn > * {
    position: relative;
    z-index: 2;
}

/* Form Area Enhancement */
.wpo-contact-pg-section .wpo-contact-form-area {
    transition: all 0.3s ease;
}

.wpo-contact-pg-section .wpo-contact-form-area:hover {
    box-shadow: 0px 5px 25px 0px rgba(62, 65, 159, 0.15);
}

/* Contact Title Hover */
.wpo-contact-pg-section .wpo-contact-title h2 {
    transition: all 0.3s ease;
}

.wpo-contact-pg-section .wpo-contact-title:hover h2 {
    color: #3BE79B;
    transform: translateX(5px);
}

/* Entrance animations for office info items */
@keyframes contactItemEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpo-contact-pg-section .office-info .office-info-item {
    animation: contactItemEntrance 0.6s ease-out forwards;
}

.wpo-contact-pg-section .office-info .office-info-item:nth-child(1) {
    animation-delay: 0.1s;
}

.wpo-contact-pg-section .office-info .office-info-item:nth-child(2) {
    animation-delay: 0.2s;
}

.wpo-contact-pg-section .office-info .office-info-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Address Directions Text Hover Effect */
/* Target using class (preferred) or inline style attribute */
.wpo-contact-pg-section .office-info .office-info-item .office-info-text .directions-hint,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="#00ff68b8"],
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="00ff68b8"] {
    color: #00ff68b8 !important;
    font-size: 10px !important;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
    margin-top: 5px;
}

.wpo-contact-pg-section .office-info .office-info-item .office-info-text .directions-hint:hover,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="#00ff68b8"]:hover,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="00ff68b8"]:hover {
    color: #00ff68 !important; /* Slightly brighter on hover, maintaining same base color */
    font-size: 10px !important; /* Keep same font size */
    text-shadow: 0 0 8px rgba(0, 255, 104, 0.6),
                 0 0 15px rgba(0, 255, 104, 0.4);
    transform: translateX(3px);
    letter-spacing: 0.5px;
}

.wpo-contact-pg-section .office-info .office-info-item .office-info-text .directions-hint::after,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="#00ff68b8"]::after,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="00ff68b8"]::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
    transform: translateX(-5px);
    color: #00ff68;
    font-size: 10px;
}

.wpo-contact-pg-section .office-info .office-info-item .office-info-text .directions-hint:hover::after,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="#00ff68b8"]:hover::after,
.wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="00ff68b8"]:hover::after {
    opacity: 1;
    transform: translateX(0);
    color: #00ff68;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .wpo-contact-pg-section .office-info .office-info-item:hover {
        transform: translateY(-6px) scale(1.02);
    }
    
    .wpo-contact-pg-section .office-info .office-info-item:hover .office-info-icon {
        transform: scale(1.15) rotate(8deg);
    }
    
    .wpo-contact-pg-section .office-info .office-info-item::before {
        animation: none;
    }
    
    .wpo-contact-pg-section form input:hover,
    .wpo-contact-pg-section form select:hover,
    .wpo-contact-pg-section form textarea:hover {
        transform: translateY(0);
    }
    
    .wpo-contact-pg-section .office-info .office-info-item .office-info-text p[style*="color: #00ff68b8"]:hover {
        transform: translateX(2px);
    }
}

/* ================= FANCY ABOUT SECTION - GORGEOUS DESIGN ================= */
.fancy-about-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 30%, #f5f7fa 60%, #ffffff 100%);
    overflow: hidden;
    z-index: 1;
}

/* Animated Background Decorations */
.about-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.about-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(12, 12, 67, 0.08) 0%, rgba(12, 12, 67, 0.03) 100%);
    animation: floatCircle 25s infinite ease-in-out;
}

.about-circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.about-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    animation-delay: 8s;
}

.about-circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 10%;
    animation-delay: 15s;
}

.about-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(12, 12, 67, 0.05) 0%, transparent 100%);
    transform: rotate(45deg);
    animation: rotateShape 40s infinite linear;
}

.about-shape-1 {
    width: 250px;
    height: 250px;
    top: 15%;
    right: 8%;
}

.about-shape-2 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 5%;
    animation-delay: 10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    33% {
        transform: translateY(-40px) translateX(30px) scale(1.1);
    }
    66% {
        transform: translateY(40px) translateX(-30px) scale(0.9);
    }
}

@keyframes rotateShape {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

/* Image Wrapper - Fancy Design */
.fancy-img-wrapper {
    position: relative;
    padding: 30px;
    z-index: 2;
    overflow: visible;
}

.about-img-container {
    position: relative;
    border-radius: 25px;
    overflow: visible;
    transform: perspective(1000px) rotateY(-3deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img-container:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-15px);
}

.img-frame-decoration {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid;
    border-image: linear-gradient(135deg, #0C0C43 0%, #0EE78F 50%, #1a1a5c 100%) 1;
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 20px rgba(14, 231, 143, 0.3), 0 0 40px rgba(59, 231, 155, 0.2);
        border-image: linear-gradient(135deg, #0C0C43 0%, #0EE78F 50%, #1a1a5c 100%) 1;
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 30px rgba(14, 231, 143, 0.5), 0 0 60px rgba(59, 231, 155, 0.4);
        border-image: linear-gradient(135deg, #0EE78F 0%, #3BE79B 50%, #0C0C43 100%) 1;
    }
}

.img-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.2) 0%, rgba(59, 231, 155, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 4s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
        background: radial-gradient(circle, rgba(14, 231, 143, 0.2) 0%, rgba(59, 231, 155, 0.1) 40%, transparent 70%);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
        background: radial-gradient(circle, rgba(14, 231, 143, 0.35) 0%, rgba(59, 231, 155, 0.2) 40%, transparent 70%);
    }
}

.wpo-about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(12, 12, 67, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px;
    z-index: 2;
}

.wpo-about-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.about-img-container:hover .wpo-about-img img {
    transform: scale(1.08);
}

.img-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 12, 67, 0.1) 0%, transparent 60%);
    z-index: 3;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.about-img-container:hover .img-overlay-gradient {
    opacity: 1;
}

.img-shine-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(14, 231, 143, 0.4), rgba(59, 231, 155, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 5s infinite;
    z-index: 4;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Corner Decorations */
.img-corner-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1;
}

.img-corner-1 {
    top: -10px;
    left: -10px;
    border-top: 4px solid #0C0C43;
    border-left: 4px solid #0C0C43;
    border-top-left-radius: 15px;
}

.img-corner-2 {
    top: -10px;
    right: -10px;
    border-top: 4px solid #0C0C43;
    border-right: 4px solid #0C0C43;
    border-top-right-radius: 15px;
}

.img-corner-3 {
    bottom: -10px;
    left: -10px;
    border-bottom: 4px solid #0C0C43;
    border-left: 4px solid #0C0C43;
    border-bottom-left-radius: 15px;
}

.img-corner-4 {
    bottom: -10px;
    right: -10px;
    border-bottom: 4px solid #0C0C43;
    border-right: 4px solid #0C0C43;
    border-bottom-right-radius: 15px;
}

/* Experience Badge - Fancy */
.about-experience-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    animation: badgeBounceIn 1.2s ease-out;
}

.fancy-badge {
    filter: drop-shadow(0 10px 30px rgba(12, 12, 67, 0.3));
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.4) 0%, rgba(59, 231, 155, 0.2) 50%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: badgePulse 3s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
        background: radial-gradient(circle, rgba(14, 231, 143, 0.4) 0%, rgba(59, 231, 155, 0.2) 50%, transparent 70%);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
        background: radial-gradient(circle, rgba(14, 231, 143, 0.6) 0%, rgba(59, 231, 155, 0.4) 50%, transparent 70%);
    }
}

.badge-content {
    background: #032E49;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(12, 12, 67, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.badge-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(14, 231, 143, 0.3), rgba(59, 231, 155, 0.2), transparent);
    transform: rotate(45deg);
    animation: badgeShine 4s infinite;
}

@keyframes badgeShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.badge-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(14, 231, 143, 0.2);
}

.fancy-badge:hover .badge-icon-wrapper {
    background: rgba(14, 231, 143, 0.3);
    box-shadow: 0 0 20px rgba(14, 231, 143, 0.5);
    transform: scale(1.1) rotate(10deg);
}

.badge-text-content {
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.badge-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 3px;
}

.badge-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes badgeBounceIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.15) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Floating Cards */
.about-floating-card {
    position: absolute;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(12, 12, 67, 0.15), 0 0 20px rgba(14, 231, 143, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: floatCard 6s infinite ease-in-out;
    border: 1px solid rgba(12, 12, 67, 0.1);
    transition: all 0.3s ease;
}

.about-floating-card:hover {
    box-shadow: 0 15px 40px rgba(12, 12, 67, 0.2), 0 0 30px rgba(14, 231, 143, 0.2);
    transform: translateY(-5px);
}

.floating-card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 25%;
    right: -30px;
    animation-delay: 3s;
}

.floating-card-3 {
    top: 50%;
    right: -25px;
    animation-delay: 6s;
    margin-top: -50px;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(-10px);
    }
}

.floating-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0C0C43 0%, #0EE78F 50%, #1a1a5c 100%);
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(14, 231, 143, 0.3);
    transition: all 0.3s ease;
}

.about-floating-card:hover .floating-icon {
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    box-shadow: 0 8px 20px rgba(14, 231, 143, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-number {
    font-size: 18px;
    font-weight: 700;
    color: #0C0C43;
    line-height: 1;
}

.floating-label {
    font-size: 12px;
    color: #687693;
    margin-top: 3px;
}

/* Content Section - Fancy */
.fancy-about-content {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.about-section-label {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.fancy-label {
    position: relative;
}

.label-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #032E49;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(12, 12, 67, 0.2);
}

.label-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #032E49;
    position: relative;
    padding-left: 15px;
}

.label-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: linear-gradient(135deg, #0C0C43 0%, #1a1a5c 100%);
    border-radius: 2px;
}

.label-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #0C0C43 0%, transparent 100%);
    max-width: 120px;
}

/* Title - Fancy */
.fancy-title h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
}

.title-gradient {
    background: #032E49;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.title-underline-animated {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
}

.underline-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0C0C43 0%, #0EE78F 50%, #1a1a5c 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.underline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 231, 143, 0.6), rgba(59, 231, 155, 0.4), transparent);
    animation: lineShine 3s infinite;
}

@keyframes lineShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.underline-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(14, 231, 143, 0.5);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(14, 231, 143, 0.5);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(14, 231, 143, 0.8), 0 0 30px rgba(59, 231, 155, 0.6);
    }
}

/* Content Description */
.content-description {
    font-size: 18px;
    line-height: 1.9;
    color: #687693;
    margin-bottom: 40px;
}

/* Feature Highlights */
.about-feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(12, 12, 67, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(12, 12, 67, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 231, 143, 0.15), rgba(59, 231, 155, 0.1), transparent);
    transition: left 0.5s;
}

.feature-highlight-item:hover::before {
    left: 100%;
}

.feature-highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(12, 12, 67, 0.15);
    border-color: rgba(12, 12, 67, 0.1);
}

.highlight-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #032E49;
    border-radius: 12px;
    color: #0EE78F;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(12, 12, 67, 0.25);
    transition: all 0.3s ease;
    border: 2px solid rgba(14, 231, 143, 0.2);
}

.feature-highlight-item:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    color: #0C0C43;
    border-color: rgba(14, 231, 143, 0.5);
    box-shadow: 0 10px 25px rgba(14, 231, 143, 0.4), 0 0 20px rgba(59, 231, 155, 0.3);
}

.highlight-content h5 {
    font-size: 19px;
    font-weight: 600;
    color: #032E49;
    margin-bottom: 8px;
}

.highlight-content p {
    font-size: 15px;
    color: #687693;
    margin: 0;
    line-height: 1.6;
}

/* Signature Section - Fancy */
.fancy-signature {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 2px solid rgba(12, 12, 67, 0.1);
    position: relative;
}

.signature-content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.signature-info {
    flex: 1;
    min-width: 200px;
}

.signature-name {
    font-size: 26px;
    font-weight: 700;
    color: #0C0C43;
    margin: 0 0 8px 0;
}

.signature-designation {
    font-size: 17px;
    color: #687693;
    margin: 0;
    font-style: italic;
}

.signature-img-wrapper {
    position: relative;
    padding: 15px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(12, 12, 67, 0.1);
    margin-top: -25px;
}

.signature-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(12, 12, 67, 0.1);
    border-radius: 12px;
    pointer-events: none;
}

.signature-img {
    max-width: 180px;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        right: -15px;
    }
    
    .floating-card-1 {
        top: 15%;
    }
    
    .floating-card-2 {
        bottom: 20%;
    }
    
    .floating-card-3 {
        top: 45%;
    }
}

@media (max-width: 991px) {
    .fancy-about-section {
        padding: 60px 0;
        overflow: hidden;
    }
    
    .about-img-container {
        transform: none !important;
        margin-bottom: 40px;
    }
    
    .about-img-container:hover {
        transform: translateY(-5px) !important;
    }
    
    .fancy-img-wrapper {
        padding: 20px;
        margin-bottom: 30px;
        overflow: visible;
    }
    
    .img-corner-decoration {
        display: none;
    }
    
    .img-frame-decoration {
        display: none;
    }
    
    .about-experience-badge {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 20px auto 0;
        display: inline-block;
        transform: none !important;
        width: auto;
        max-width: 100%;
    }
    
    .about-floating-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 15px auto;
        display: inline-block;
        width: auto;
        max-width: 100%;
        transform: none !important;
        animation: none !important;
    }
    
    .floating-card-1 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 15px auto;
        animation: none !important;
    }
    
    .floating-card-2 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 15px auto 30px auto;
        animation: none !important;
    }
    
    .floating-card-3 {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 30px auto 15px auto;
        animation: none !important;
    }
    
    .fancy-about-content {
        padding: 0;
        text-align: center;
    }
    
    .about-section-label {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .fancy-title {
        text-align: center;
    }
    
    .fancy-title h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .title-underline-animated {
        justify-content: center;
    }
    
    .about-feature-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
        justify-items: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .feature-highlight-item {
        max-width: 450px;
        width: 100%;
        margin: 0 auto;
    }
    
    .wpo-about-content {
        padding-left: 0;
    }
    
    .about-section-label .label-line {
        max-width: 80px;
    }
}

@media (max-width: 767px) {
    .fancy-about-section {
        padding: 50px 0;
        overflow: hidden;
    }
    
    .fancy-img-wrapper {
        padding: 10px;
        margin-bottom: 25px;
        overflow: visible;
    }
    
    .wpo-about-section-wrapper {
        overflow: visible;
    }
    
    .about-img-container {
        margin-bottom: 30px;
    }
    
    .wpo-about-img {
        padding: 15px;
    }
    
    .wpo-about-img img {
        border-radius: 12px;
    }
    
    .about-experience-badge {
        margin: 15px auto 0;
        padding: 0;
    }
    
    .badge-content {
        padding: 20px 25px;
        flex-direction: row;
        gap: 12px;
    }
    
    .badge-icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .badge-number {
        font-size: 26px;
    }
    
    .badge-label {
        font-size: 11px;
    }
    
    .about-floating-card {
        margin: 12px auto;
        padding: 12px 18px;
    }
    
    .floating-card-2 {
        margin-top: 15px !important;
        margin-bottom: 35px !important;
    }
    
    .floating-card-3 {
        margin-top: 35px !important;
        margin-bottom: 15px !important;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .floating-number {
        font-size: 16px;
    }
    
    .floating-label {
        font-size: 11px;
    }
    
    .fancy-about-content {
        padding: 0;
    }
    
    .fancy-title h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .title-underline-animated {
        margin-bottom: 25px;
    }
    
    .underline-line {
        width: 60px;
    }
    
    .content-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .about-feature-highlights {
        gap: 15px;
        margin: 25px 0;
    }
    
    .feature-highlight-item {
        padding: 20px;
        gap: 15px;
    }
    
    .highlight-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .highlight-content h5 {
        font-size: 17px;
    }
    
    .highlight-content p {
        font-size: 14px;
    }
    
    .about-circle-1,
    .about-circle-2,
    .about-circle-3,
    .about-shape-1,
    .about-shape-2 {
        display: none;
    }
    
    .signature-content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .signature-info {
        text-align: center;
    }
    
    .signature-name {
        font-size: 22px;
    }
    
    .signature-designation {
        font-size: 15px;
    }
    
    .signature-img-wrapper {
        margin: 0 auto;
    }
    
    .signature-img {
        max-width: 150px;
    }
    
    .label-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .label-text {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .fancy-about-section {
        padding: 40px 0;
    }
    
    /* Hide image wrapper on mobile */
    .fancy-img-wrapper,
    .wpo-about-img-wrapper {
        display: none !important;
    }
    
    /* Mobile Fun Facts Grid - Horizontal Layout */
    .mobile-fun-facts-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 40px;
        width: 100%;
    }
    
    /* First card (badge) - Larger and dark, spans 2 columns */
    .mobile-fun-facts-grid .about-experience-badge,
    .mobile-fun-facts-grid .fancy-badge,
    .mobile-fun-facts-grid .mobile-badge-card {
        grid-column: span 2;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 0 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }
    
    .mobile-fun-facts-grid .badge-glow {
        display: none;
    }
    
    .mobile-fun-facts-grid .badge-content {
        padding: 20px 15px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        background: linear-gradient(135deg, #0C0C43 0%, #1a1a5c 100%) !important;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(12, 12, 67, 0.3);
        width: 100%;
    }
    
    .mobile-fun-facts-grid .badge-icon-wrapper {
        width: 45px;
        height: 45px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 10px;
    }
    
    .mobile-fun-facts-grid .badge-text-content {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .mobile-fun-facts-grid .badge-number {
        font-size: 28px;
        font-weight: 700;
        color: #ffffff !important;
        line-height: 1;
    }
    
    .mobile-fun-facts-grid .badge-label {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.9) !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
    
    /* Other cards - Smaller white cards */
    .mobile-fun-facts-grid .about-floating-card,
    .mobile-fun-facts-grid .mobile-stat-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 0 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        animation: none !important;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 18px 12px;
        text-align: center;
        border: 1px solid rgba(12, 12, 67, 0.05);
    }
    
    .mobile-fun-facts-grid .floating-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 10px;
        background: linear-gradient(135deg, #0C0C43 0%, #1a1a5c 100%);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #ffffff;
        box-shadow: 0 3px 10px rgba(12, 12, 67, 0.2);
    }
    
    .mobile-fun-facts-grid .floating-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .mobile-fun-facts-grid .floating-number {
        font-size: 20px;
        font-weight: 700;
        color: #0C0C43;
        line-height: 1;
    }
    
    .mobile-fun-facts-grid .floating-label {
        font-size: 10px;
        color: #687693;
        line-height: 1.3;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Adjust grid if fewer cards */
    .mobile-fun-facts-grid:has(.about-floating-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-fun-facts-grid:has(.about-floating-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Ensure content section is full width on mobile */
    .fancy-about-section .row > .col-lg-7 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .fancy-title h2 {
        font-size: 24px;
    }
    
    .content-description {
        font-size: 14px;
    }
    
    .feature-highlight-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        max-width: 350px;
        width: 100%;
        margin: 0 auto;
    }
    
    .highlight-icon {
        margin: 0 auto;
    }
    
    .about-feature-highlights {
        gap: 15px;
        margin: 25px 0;
        justify-items: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ================= BUTTON ANIMATION EFFECT ================= */
.wpo-consultancy-form-area .theme-btn,
#contact-submit-btn,
.submit-area .theme-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Glow effect around button */
.wpo-consultancy-form-area .theme-btn::before,
#contact-submit-btn::before,
.submit-area .theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.5) 0%, rgba(59, 231, 155, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.wpo-consultancy-form-area .theme-btn:hover::before,
#contact-submit-btn:hover::before,
.submit-area .theme-btn:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    animation: buttonGlowExpand 1.5s ease-in-out infinite;
}

@keyframes buttonGlowExpand {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

/* Shine effect on button */
.wpo-consultancy-form-area .theme-btn::after,
#contact-submit-btn::after,
.submit-area .theme-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.wpo-consultancy-form-area .theme-btn:hover::after,
#contact-submit-btn:hover::after,
.submit-area .theme-btn:hover::after {
    opacity: 1;
    animation: buttonShine 2s ease-in-out infinite;
}

@keyframes buttonShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Button hover effects */
.wpo-consultancy-form-area .theme-btn:hover,
#contact-submit-btn:hover,
.submit-area .theme-btn:hover {
    box-shadow: 0 0 25px rgba(14, 231, 143, 0.6),
                0 0 45px rgba(59, 231, 155, 0.4),
                0 5px 20px rgba(14, 231, 143, 0.3);
    transform: translateY(-2px);
}

/* Ensure button text stays above effects */
.wpo-consultancy-form-area .theme-btn,
#contact-submit-btn,
.submit-area .theme-btn {
    z-index: 2;
}

.wpo-consultancy-form-area .theme-btn > *,
#contact-submit-btn > *,
.submit-area .theme-btn > * {
    position: relative;
    z-index: 2;
}

/* ================= HERO BUTTON ANIMATION ================= */
.static-hero .slide-btns .theme-btn,
.static-hero .theme-btn.custom-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Glow effect around hero button */
.static-hero .slide-btns .theme-btn::before,
.static-hero .theme-btn.custom-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.5) 0%, rgba(59, 231, 155, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.static-hero .slide-btns .theme-btn:hover::before,
.static-hero .theme-btn.custom-hover:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    animation: heroButtonGlow 1.5s ease-in-out infinite;
}

@keyframes heroButtonGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

/* Shine effect on hero button */
.static-hero .slide-btns .theme-btn::after,
.static-hero .theme-btn.custom-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.static-hero .slide-btns .theme-btn:hover::after,
.static-hero .theme-btn.custom-hover:hover::after {
    opacity: 1;
    animation: heroButtonShine 2s ease-in-out infinite;
}

@keyframes heroButtonShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* ================= FREE CONSULTING BUTTON - SAME AS BOOK AN APPOINTMENT BUTTON ================= */
.close-form .theme-btn,
.header-right .theme-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Glow effect around Free Consulting button */
.close-form .theme-btn::before,
.header-right .theme-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.5) 0%, rgba(59, 231, 155, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.close-form .theme-btn:hover::before,
.header-right .theme-btn:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    animation: buttonGlowExpand 1.5s ease-in-out infinite;
}

/* Shine effect on Free Consulting button */
.close-form .theme-btn::after,
.header-right .theme-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.close-form .theme-btn:hover::after,
.header-right .theme-btn:hover::after {
    opacity: 1;
    animation: buttonShine 2s ease-in-out infinite;
}

/* Button hover effects */
.close-form .theme-btn:hover,
.header-right .theme-btn:hover {
    box-shadow: 0 0 25px rgba(14, 231, 143, 0.6),
                0 0 45px rgba(59, 231, 155, 0.4),
                0 5px 20px rgba(14, 231, 143, 0.3);
    transform: translateY(-2px);
}

/* Ensure button text stays above effects */
.close-form .theme-btn > *,
.header-right .theme-btn > * {
    position: relative;
    z-index: 2;
}

/* Hero button hover effects */
.static-hero .slide-btns .theme-btn:hover,
.static-hero .theme-btn.custom-hover:hover {
    box-shadow: 0 0 25px rgba(14, 231, 143, 0.6),
                0 0 45px rgba(59, 231, 155, 0.4),
                0 5px 20px rgba(14, 231, 143, 0.3);
    transform: translateY(-2px);
}

/* Ensure hero button text stays above effects */
.static-hero .slide-btns .theme-btn,
.static-hero .theme-btn.custom-hover {
    z-index: 2;
}

.static-hero .slide-btns .theme-btn > *,
.static-hero .theme-btn.custom-hover > * {
    position: relative;
    z-index: 2;
}

/* ================= TAX EXPERTISE SECTION FANCY STYLING ================= */
.wpo-tax-expertise-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    padding: 120px 0;
}

/* Animated Background Circles */
.tax-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.tax-animated-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.1) 0%, transparent 70%);
    animation: taxFloat 20s ease-in-out infinite;
}

.tax-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.tax-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.tax-circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes taxFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
}

/* Header Section */
.tax-expertise-header {
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.tax-section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0EE78F;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.tax-section-label .label-icon {
    font-size: 20px;
}

.tax-section-label .label-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #0EE78F 0%, transparent 100%);
}

.tax-main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #032E49 0%, #032E49 50%, #0EE78F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
}

.tax-subtitle {
    color: #687693;
    font-size: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Stats Cards */
.tax-stat-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(14, 231, 143, 0.1);
    box-shadow: 0 10px 30px rgba(12, 12, 67, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.tax-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 231, 143, 0.1), transparent);
    transition: left 0.5s ease;
}

.tax-stat-card:hover::before {
    left: 100%;
}

.tax-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(14, 231, 143, 0.2);
    border-color: rgba(14, 231, 143, 0.3);
}

.stat-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tax-stat-card:hover .stat-card-glow {
    opacity: 1;
    animation: pulse 2s ease infinite;
}

.stat-icon-wrapper {
    margin-bottom: 20px;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(14, 231, 143, 0.3);
    transition: all 0.4s ease;
}

.tax-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(14, 231, 143, 0.4);
}

.stat-icon i {
    color: #032E49;
    font-size: 32px;
}

.stat-number {
    color: #032E49;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: #687693;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.stat-card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0EE78F 0%, #3BE79B 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tax-stat-card:hover .stat-card-decoration {
    transform: scaleX(1);
}

/* Benefits Card */
.tax-benefits-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(12, 12, 67, 0.1);
    border: 2px solid rgba(14, 231, 143, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.tax-benefits-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(14, 231, 143, 0.15);
    border-color: rgba(14, 231, 143, 0.3);
}

.benefits-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tax-benefits-card:hover .benefits-card-glow {
    opacity: 1;
    animation: pulse 3s ease infinite;
}

.benefits-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(14, 231, 143, 0.2);
}

.benefits-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(14, 231, 143, 0.3);
}

.benefits-icon-wrapper i {
    color: #0C0C43;
    font-size: 28px;
}

.benefits-header h4 {
    color: #032E49;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(14, 231, 143, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.benefit-item:hover {
    padding-left: 10px;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(14, 231, 143, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(14, 231, 143, 0.3);
}

.benefit-icon i {
    color: #0C0C43;
    font-size: 20px;
}

.benefit-content h5 {
    color: #032E49;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-content p {
    color: #687693;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.benefits-card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0EE78F 0%, #3BE79B 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tax-benefits-card:hover .benefits-card-decoration {
    transform: scaleX(1);
}

/* Services Card */
.tax-services-card {
    position: relative;
    background: #032E49;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(14, 231, 143, 0.2);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(14, 231, 143, 0.1);
}

.tax-services-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, #032E49 0%, #1a4a6b 50%, #0d2935 100%);
    box-shadow: 0 25px 50px rgba(3, 46, 73, 0.5),
                0 0 40px rgba(14, 231, 143, 0.3),
                inset 0 0 30px rgba(14, 231, 143, 0.1);
    border-color: rgba(14, 231, 143, 0.5);
}

.services-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 231, 143, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    animation: pulse 4s ease infinite;
}

.tax-services-card:hover .services-card-glow {
    opacity: 1;
}

.services-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(14, 231, 143, 0.3);
}

.services-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(14, 231, 143, 0.4);
}

.services-icon-wrapper i {
    color: #0C0C43;
    font-size: 28px;
}

.services-header h4 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-item-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(14, 231, 143, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.service-item-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 231, 143, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(14, 231, 143, 0.2);
}

.service-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0EE78F 0%, #3BE79B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 25px rgba(14, 231, 143, 0.3);
    transition: all 0.4s ease;
}

.service-item-card:hover .service-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(14, 231, 143, 0.4);
}

.service-item-icon i {
    color: #0C0C43;
    font-size: 28px;
}

.service-item-card h5 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-item-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.services-card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0EE78F 0%, #3BE79B 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tax-services-card:hover .services-card-decoration {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 991px) {
    .tax-main-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tax-benefits-card,
    .tax-services-card {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .tax-main-title {
        font-size: 28px;
    }
    
    .tax-subtitle {
        font-size: 18px;
    }
    
    .tax-benefits-card,
    .tax-services-card {
        padding: 30px 25px;
    }
}

/* ================= RELATED SERVICE CARDS - SAME AS HOME PAGE SERVICE CARDS ================= */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    text-align: center;
}

/* Smooth transitions for all child elements */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item * {
    transition: all 0.4s ease;
}

/* Animated background glow effect - rotating glow like home page service cards */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
                rgba(59, 231, 155, 0.12) 0%, 
                rgba(59, 231, 155, 0.05) 40%,
                transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
    animation: contactGlowRotate 10s linear infinite;
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover::before {
    opacity: 1;
}

/* Shimmer effect on hover */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(59, 231, 155, 0.15), 
                transparent);
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover::after {
    left: 100%;
}

/* Main hover transformation - same as home page service cards */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover {
    transform: translateY(-10px) scale(1.03) !important;
    background: linear-gradient(135deg, #0d2935 0%, #1a4a6b 50%, #032E49 100%) !important;
    box-shadow: 0 20px 45px rgba(3, 46, 73, 0.5),
                0 0 35px rgba(59, 231, 155, 0.25),
                inset 0 0 25px rgba(59, 231, 155, 0.08) !important;
    border-color: rgba(59, 231, 155, 0.4) !important;
}

/* Ensure content stays above effects */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item > * {
    position: relative;
    z-index: 2;
}

/* Icon hover effects - same as home page service cards */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item .wpo-related-icon {
    transition: all 0.4s ease;
    margin: 0 auto;
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover .wpo-related-icon {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, rgba(59, 231, 155, 0.3), rgba(59, 231, 155, 0.1)) !important;
    box-shadow: 0 0 25px rgba(59, 231, 155, 0.4),
                inset 0 0 15px rgba(59, 231, 155, 0.2);
    animation: contactIconPulse 2.5s ease-in-out infinite;
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover .wpo-related-icon .icon {
    transform: scale(1.1);
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover .wpo-related-icon .fi:before,
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover .wpo-related-icon i {
    color: #0C0C43 !important;
    transform: scale(1.15);
}

/* Text hover effects - same as home page service cards */
.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item .wpo-related-text h2 {
    transition: all 0.4s ease;
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item .wpo-related-text h2 a {
    transition: all 0.4s ease;
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover .wpo-related-text h2 a {
    color: #3BE79B !important;
    transform: translateY(-3px);
    text-shadow: 0 2px 12px rgba(59, 231, 155, 0.4);
}

.wpo-service-single-section .wpo-service-single-wrap .wpo-related-section .wpo-related-item:hover .wpo-related-text p {
    color: #ffffff !important;
    transform: translateY(-2px);
}