@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary: #3B82F6;
    --secondary: #1E40AF;
    --accent: #8B68FF;
    --success: #059669;
    --warning: #D97706;
    --error: #DC2626;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --blue-900: #1E3A8A;
    --purple-500: #8B68FF;
    --purple-400: #A78BFA;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend Deca', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--blue-900) 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 20px 20px;
}


/* Animation Keyframes */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(80px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0; 
        transform: translateY(-80px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(100px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
    }
}

@keyframes bounceIn {
    0% { 
        transform: scale(0.2); 
        opacity: 0; 
    }
    50% { 
        transform: scale(1.08); 
        opacity: 0.7; 
    }
    70% { 
        transform: scale(0.95); 
        opacity: 0.9; 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.8) rotate(-5deg); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

@keyframes glow {
    from { 
        box-shadow: 0 0 20px rgba(30,58,138,0.3); 
    }
    to { 
        box-shadow: 0 0 40px rgba(30,58,138,0.6); 
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-in-down {
    animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-in-right {
    animation: slideInRight 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-bounce-in {
    animation: bounceIn 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale-in {
    animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Smooth Reveal System */
.smooth-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.smooth-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }

/* Card Hover Effects */
.card-hover {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 32px 64px rgba(0,0,0,0.15);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(30,58,138,0.25);
}

/* Navigation Scroll Effects */
nav {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    background-color:rgb(47 56 123) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Default nav state */
nav:not(.scrolled) {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(30,58,138,0.4);
    background: linear-gradient(135deg, var(--secondary), var(--orange-500));
}

/* Form Styles */
.form-input {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    background: var(--gray-50);
    color: var(--gray-900);
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,58,138,0.15);
    border-color: var(--primary);
    background: var(--white);
    outline: none;
}

.checkbox-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    /* background: var(--gray-50); */
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
}

.checkbox-item:hover {
    transform: translateY(-2px);
    background: rgba(30, 58, 138, 0.1);
}

.preference-btn {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 8px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    /* background: var(--white); */
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.preference-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
    background: rgba(30, 58, 138, 0.05);
}

/* Star Rating */
.star-rating {
    color: #FFC107;
}

/* Parallax Element */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-6 > * + * {
    margin-left: 24px;
}

.space-x-8 > * + * {
    margin-left: 32px;
}

.space-y-3 > * + * {
    margin-top: 12px;
}

.space-y-4 > * + * {
    margin-top: 16px;
}

.space-y-6 > * + * {
    margin-top: 24px;
}

/* Typography */
.text-xl { font-size: 20px; line-height: 28px; }
.text-2xl { font-size: 24px; line-height: 32px; }
.text-3xl { font-size: 30px; line-height: 36px; }
.text-4xl { font-size: 36px; line-height: 40px; }
.text-5xl { font-size: 48px; line-height: 1; }
.text-6xl { font-size: 60px; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Colors */
.text-white { color: var(--white); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }

.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .text-4xl { font-size: 28px; }
    .text-5xl { font-size: 36px; }
    .text-6xl { font-size: 42px; }
    
    .py-20 { padding-top: 48px; padding-bottom: 48px; }
    
    .space-x-8 > * + * {
        margin-left: 0;
        margin-top: 16px;
    }
    
    /* .flex {
        flex-direction: column;
    } */
}

/* Apple-style smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced form animations */
.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.15);
}

.checkbox-item:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.1);
}

.preference-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Responsive Font Sizing for resolutions below 1200px */
@media screen and (max-width: 1199px) {
  /* Hero heading adjustments */
  .text-5xl {
    font-size: 2.5rem !important; /* Reduced from 3rem */
    line-height: 1.1 !important;
  }
  
  /* Large text adjustments */
  .text-4xl {
    font-size: 2rem !important; /* Reduced from 2.25rem */
    line-height: 1.2 !important;
  }
  
  .text-3xl {
    font-size: 1.75rem !important; /* Reduced from 1.875rem */
    line-height: 1.3 !important;
  }
  
  .text-2xl {
    font-size: 1.4rem !important; /* Reduced from 1.5rem */
    line-height: 1.4 !important;
  }
  
  .text-xl {
    font-size: 1.15rem !important; /* Reduced from 1.25rem */
    line-height: 1.5 !important;
  }
  
  /* Statistics text in hero section */
  .text-xl.sm\:text-2xl {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }
  
  /* Body text adjustments */
  .text-lg {
    font-size: 1.05rem !important; /* Reduced from 1.125rem */
    line-height: 1.6 !important;
  }
  
  .text-base {
    font-size: 0.95rem !important; /* Reduced from 1rem */
    line-height: 1.6 !important;
  }
  
  .text-sm {
    font-size: 0.8rem !important; /* Reduced from 0.875rem */
    line-height: 1.5 !important;
  }
  
  .text-xs {
    font-size: 0.7rem !important; /* Reduced from 0.75rem */
    line-height: 1.4 !important;
  }
}

@media screen and (max-width: 992px) {
  /* Additional reductions for smaller screens */
  .text-5xl {
    font-size: 2.2rem !important;
    line-height: 1.1 !important;
  }
  
  .text-4xl {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  
  .text-3xl {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  
  .text-2xl {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
  }
  
  .text-xl {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
  }
  
  .text-lg {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

@media screen and (min-width: 1366px) {
  .trust-indicators{
       width: 60% !important;
       margin-left: inherit !important;
  }
    
}
@media screen and (max-width: 1366px) {
  .bifm-banner{
        min-height: calc(100vh + 160px) !important;
        padding-top: 86px;
  }    
}
@media screen and (max-width: 1024px) {
  .bifm-banner{
        min-height: auto !important;
        padding-top: 186px;
        padding-bottom: 100px;
  } 
  .hero-content{
        min-height: auto !important;
  }   
}
.menu-mobile{
    padding: 0px 16px;
}

.search-type-radio .radio-label {
    color: #fff;
    font-size: 13px;
    margin: 10px 0;
    margin-right: 10px;
    /* margin-bottom: 10px; */
    display: inline-block;
    cursor: pointer;
}

.loader {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}


.form-loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* custom edited styles */

.package-checkbox{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 16px;
}

 .preference-btn.active {
    @apply bg-orange-500 text-white;
    /* example */
}

.form-wizard-container {
    position: relative;
}

.form-wizard-container-inner {
    background: transparent linear-gradient(246deg, #0B071C 0%, #232D74 100%) 0% 0% no-repeat;
    border: 1px solid #8D98C7;
    border-radius: 15px;
    /* padding-top: 85px !important; */
    position: relative;
    z-index: 9;
}


.form-wizard-container::before {
    content: "";
    position: absolute;
    bottom: -12px;
    width: 95%;
    height: 100%;
    z-index: -1;
    border-radius: 12px;
    background: transparent linear-gradient(246deg, #0B071C 0%, #232D74 100%) 0% 0% no-repeat;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #8D98C7;
    opacity: 0.7;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-wizard-container::after {
    content: "";
    position: absolute;
    bottom: -24px;
    width: 90%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -2;
    border-radius: 10px;
    background: transparent linear-gradient(246deg, #0B071C 0%, #232D74 100%) 0% 0% no-repeat;
    border: 1px solid #8D98C7;
    opacity: 0.5;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.form-wizard-container .img-contain {
       width: 200px;
    position: absolute;
    top: -39px;
    right: -22px;
    /* transform: translateX(-50%); */
    z-index: 10;
}

.form-wizard-container .b-heading h3 {
    font-weight: 600;
    width: 70%;
}

.form-wizard-container .b-heading p {
    color: #CCCDFF;
}

.form-wizard-container .form-input {
    background: transparent linear-gradient(263deg, #18132E 0%, #232D74 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #8D98C7;
    border-radius: 10px;
}

.form-wizard-container .submit-bi {
    background: transparent linear-gradient(270deg, #3B82F6 0%, #8B68FF 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px;
    font-weight: 600;
}

.border-bi {
    border: none;
    background: transparent linear-gradient(270deg, #18132E 0%, #232D74 100%) 0% 0% no-repeat padding-box;
    height: 3px;
    box-shadow: 0px 0px 1px #00000029;
    margin: 40px 0;
}

.form-wizard-container .peer-iconshow {
    background: #A488FA !important;
}

.form-wizard-container .peer-iconshow i {
        --tw-scale-x: 1!important;
    --tw-scale-y: 1!important;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;
}

.form-wizard-container .back-btn{
    max-width: 120px;
}
.form-wizard-container .bi-fsearch input {
    padding-right: 50px;
}
.form-wizard-container .bi-fsearch .group{
    transform:scale(1) !important;
}



