/* Verification Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #DBAD2B, #FFD700, #DBAD2B);
    background-size: 200% 200%;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(219, 173, 43, 0.4);
    position: relative;
    overflow: hidden;
    animation: gradientShift 4s ease infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.badge-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, transparent, rgba(255, 255, 255, 0.5), transparent, transparent);
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-badge i.fa-shield-check {
    font-size: 1.3rem;
    color: #000;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: shieldPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes shieldPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero-badge span {
    font-size: .85rem;
    font-weight: 800;
    color: #000;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-badge .bi-patch-check-fill {
    color: #1DA1F2;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 6px rgba(29, 161, 242, 0.6));
    animation: checkBounce 2s ease-in-out infinite;
}

@keyframes checkBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.hero-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(219, 173, 43, 0.6);
}

/* Customer Service Section Styles */
.customer-service-section {
    padding: 60px 0;
    background: radial-gradient(circle at top right, rgba(219, 173, 43, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(25, 135, 84, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.cs-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.cs-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.cs-icon-main {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #DBAD2B, #FFD700);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 10px 20px rgba(219, 173, 43, 0.3);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(219, 173, 43, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(219, 173, 43, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(219, 173, 43, 0.3);
    }
}

.cs-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
}

.cs-desc {
    font-size: 1.1rem;
    color: rgb(48 47 47 / 70%);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cs-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cs-number-card {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.2);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* =========================================================
   DARK MODE OVERRIDES
========================================================= */
.dark .hero-gradient {
    background: linear-gradient(135deg, rgba(219, 173, 43, 0.05) 0%, rgba(2, 6, 23, 1) 100%) !important;
}

.dark .hero-title,
.dark .section-title,
.dark .feature-box h4,
.dark .converter-header h3,
.dark .service-title,
.dark .cs-title,
.dark .last_hero p,
.dark .title-main,
.dark .service-hero-card h3,
.dark .cs-number-card span {
    color: #f8fafc !important;
}

.dark .hero-subtitle,
.dark .service-hero-card p,
.dark .feature-box p,
.dark .input-group label,
.dark .service-description,
.dark .cs-desc,
.dark .rate-info span,
.dark .converter-footer,
.dark .feature-item span,
.dark .section-label,
.dark .cs-number-card {
    color: #cbd5e1 !important;
}

.dark .service-hero-card,
.dark .converter-card,
.dark .cs-glass-card,
.dark .service-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .feature-box,
.dark .input-wrapper,
.dark .cs-number-card {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .input-wrapper input,
.dark .input-wrapper select {
    color: #f8fafc !important;
    background: transparent !important;
}

.dark .input-wrapper select option {
    background: #0f172a !important;
    color: #f8fafc !important;
}

.dark .hero,
.dark .features-section,
.dark .converter-section,
.dark .new-services-section,
.dark .customer-service-section {
    background: transparent !important;
}

.cs-number-card:hover {
    background: rgba(25, 135, 84, 0.2);
    transform: translateY(-5px);
    border-color: rgba(25, 135, 84, 0.5);
}

.cs-number-card i {
    font-size: 1.5rem;
    color: #25D366;
}

.cs-number-card span {
    font-weight: 700;
    color: #343333;
    direction: ltr;
}

.cs-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #25D366;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.last_hero {
    padding: 50px 0;
    text-align: center;
}

.last_hero .data {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.last_hero img {
    max-width: 150px;
}

.last_hero p {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
}

/* Override AOS hidden state */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* Fix navbar and hero spacing */
header {
    margin-top: 0 !important;
}

.hero {
    padding-top: 10px !important;
    padding-bottom: 50px !important;
}

@media (min-width: 992px) {
    .hero {
        padding-top: 10px !important;
        padding-bottom: 80px !important;
    }
}

/* =========================================================
   RESPONSIVE CONTAINER FIX (Match Bootstrap Layout)
========================================================= */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px !important;
    }
}

/* Force 4 columns in one row for grids on desktop */
@media (min-width: 1200px) {
    .services-hero-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* =========================================================
   Typography Enhancements
========================================================= */
.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 1rem;
}

.section-title .title-main,
.section-title .title-highlight {
    font-size: 2.4rem;
    font-weight: 900;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.service-description {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
    color: #475569;
}

.dark .service-description {
    color: #cbd5e1 !important;
}

.feature-box h4 {
    font-size: 1.35rem;
    font-weight: 800;
}

.feature-box p {
    font-size: 1.05rem;
    font-weight: 600;
}

/* =========================================================
   Mobile Responsiveness Overrides
========================================================= */
@media (max-width: 768px) {
    .hero {
        padding: 10px 0 40px !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 10px !important;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .services-hero-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .feature-box,
    .service-card {
        padding: 1.5rem !important;
        margin: 0 !important;
    }

    .cs-glass-card {
        padding: 2rem 1.5rem !important;
    }

    .cs-title {
        font-size: 1.6rem !important;
    }

    .cs-numbers-grid {
        grid-template-columns: 1fr !important;
    }

    .last_hero .data p {
        font-size: 1.2rem !important;
    }
}

/* Tablet Overrides */
@media (min-width: 769px) and (max-width: 1199px) {
    .services-hero-grid,
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}