/* ==============================================
   ENSURAM LANDING PAGE - MODERN UI/UX DESIGN
   Primary Color: #00C4CC
   Secondary Color: #fffaeb
   ============================================== */

:root {
    --primary-color: #00C4CC;
    --primary-light: rgba(0, 196, 204, 0.1);
    --primary-gradient: linear-gradient(135deg, #00C4CC 0%, #00A8B0 100%);
    --secondary-color: #fffaeb;
    --dark-bg: #0c3a30;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --section-padding: 120px;
}

/* ============== TYPOGRAPHY ============== */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 3.5rem) !important; line-height: 1.2 !important; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.sub-t {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* ============== HERO SECTION ============== */
.hero-area {
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content h1 {
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-image-placeholder {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.video-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: linear-gradient(135deg, rgba(0, 196, 204, 0.2), rgba(12, 58, 48, 0.8));
    border-radius: 20px;
    overflow: hidden;
}

.video-placeholder::after {
    content: '🎥 Video Placeholder';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

/* ============== BUTTONS ============== */
.default-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 196, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.default-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.default-btn:hover::before {
    left: 100%;
}

.default-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 196, 204, 0.4);
    color: var(--white);
}

.default-btn.two {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.default-btn.two:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ============== CHECKMARKS ============== */
.hero-checkmarks {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-checkmarks p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.hero-checkmarks span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-checkmarks span::before {
    content: '✔';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 24px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============== TRUST PROOF SECTION ============== */
.trust-proof-area {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.proof-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.proof-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 196, 204, 0.15);
}

.proof-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
}

/* ============== HOW IT WORKS ============== */
.how-it-works-area {
    padding: var(--section-padding) 0;
    background: var(--secondary-color);
    position: relative;
}

.step-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 25px 25px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 196, 204, 0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 196, 204, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0; }
}

.step-card h3 {
    color: var(--text-dark) !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    background-color: #00C4CC !important;
}

.step-card p {
    color: var(--text-light) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

.step-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 1rem !important;
}

.step-card ul li {
    padding: 0.5rem 0 !important;
    padding-left: 2rem !important;
    position: relative !important;
    color: var(--text-light) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    display: block !important;
}

.step-card ul li::before {
    content: '•' !important;
    position: absolute !important;
    left: 0.5rem !important;
    color: var(--primary-color) !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
}

/* ============== DUAL AUDIENCE FEATURES ============== */
.dual-features-area {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.feature-column {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.feature-column:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.feature-column h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-column h3::before {
    content: '';
    width: 50px;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 5px;
}

.feature-column ul {
    list-style: none;
    padding: 0;
}

.feature-column ul li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-column ul li:last-child {
    border-bottom: none;
}

.feature-column ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

/* ============== PROCESS TIMELINE ============== */
.process-area {
    padding: var(--section-padding) 0;
    background: var(--secondary-color);
}

.process-timeline {
    position: relative;
    padding: 3rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
}

.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.4s; }
.process-step:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 196, 204, 0.3);
}

.process-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.process-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-content p {
    margin: 0;
    color: var(--text-light);
}

/* ============== PRICING/DISCOUNT SECTION ============== */
.discount-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00A8B0 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.discount-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.discount-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.discount-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
}

.discount-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.discount-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.05rem;
}

.discount-badge {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 3rem;
    font-weight: 800;
    margin: 2rem 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* ============== SECURITY SECTION ============== */
.security-area {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    text-align: center;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.security-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.security-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============== TESTIMONIALS ============== */
.testimonial-area {
    padding: var(--section-padding) 0;
    background: var(--secondary-color);
}

.testimonial-slide {
    position: relative;
    padding: 0 50px;
}

.testimonial-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-video-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 196, 204, 0.3);
}

.testimonial-video-placeholder::after {
    content: '▶';
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 196, 204, 0.4);
}

/* Swiper Navigation Buttons */
.testimonial-slide .swiper-button-next,
.testimonial-slide .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-slide .swiper-button-next:after,
.testimonial-slide .swiper-button-prev:after {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 900;
}

.testimonial-slide .swiper-button-next:hover,
.testimonial-slide .swiper-button-prev:hover {
    background: var(--primary-gradient);
    box-shadow: 0 8px 25px rgba(0, 196, 204, 0.4);
}

.testimonial-slide .swiper-button-next:hover:after,
.testimonial-slide .swiper-button-prev:hover:after {
    color: white;
}

.testimonial-slide .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0, 196, 204, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonial-slide .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Video Modal Styling */
#videoModal .modal-content {
    background: transparent;
    border: none;
}

#videoModal .modal-body {
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#videoModal .btn-close {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 1rem;
    opacity: 1;
    transition: all 0.3s ease;
}

#videoModal .btn-close:hover {
    background-color: var(--primary-color);
    transform: rotate(90deg);
}

/* ============== FAQ MODERN DESIGN ============== */
.faq-modern {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.faq-modern .accordion-item {
    border: none;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-modern .accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    border: none;
    box-shadow: none;
}

.faq-modern .accordion-button:not(.collapsed) {
    background: var(--primary-gradient);
    color: white;
}

.faq-modern .accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 2rem;
    font-weight: 300;
}

.faq-modern .accordion-button:not(.collapsed)::after {
    content: '−';
}

.faq-modern .accordion-body {
    padding: 2rem;
    background: var(--secondary-color);
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============== FINAL CTA ============== */
.final-cta-area {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a2f27 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta-area::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: white !important;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: white !important;
}

/* ============== ANIMATIONS ============== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
[data-cues="slideInUp"] {
    animation: fadeInUp 0.8s ease-out;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .step-card, .feature-column {
        padding: 2rem 1.5rem;
    }
    
    .discount-badge {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }
    
    .default-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-checkmarks {
        padding: 1rem;
    }
    
    .hero-checkmarks p {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-slide {
        padding: 0 15px;
    }
    
    .testimonial-slide .swiper-button-next,
    .testimonial-slide .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-slide .swiper-button-next:after,
    .testimonial-slide .swiper-button-prev:after {
        font-size: 1rem;
    }
    
    .testimonial-video-placeholder {
        height: 200px;
    }
    
    #videoModal .modal-header {
        top: -40px;
    }
}

/* ============== UTILITY CLASSES ============== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* ============== PAY A BILL HEADER LINK - DISTINCTIVE STYLE ============== */
.pay-bill-header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem !important;
    background: linear-gradient(135deg, #00C4CC 0%, #00E5EE 100%) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 196, 204, 0.4) !important;
    animation: pulseGlow 2s ease-in-out infinite !important;
    position: relative !important;
    overflow: hidden !important;
}

.pay-bill-header-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.pay-bill-header-link:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 25px rgba(0, 196, 204, 0.6) !important;
    color: white !important;
}

.pay-bill-header-link:hover::before {
    left: 100%;
}

.pay-bill-header-link i {
    font-size: 1.1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 196, 204, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 196, 204, 0.8), 0 0 20px rgba(0, 196, 204, 0.5);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Responsive adjustment for Pay Bill link */
@media (max-width: 991px) {
    .pay-bill-header-link {
        padding: 0.4rem 1rem !important;
        font-size: 0.9rem !important;
    }
}
