/* EPC Certificate Landing Page - Custom Styles */

:root {
    --brand-primary: #131512;
    --brand-accent: #f27e01;
    --dark-bg: #000000;
    --card-bg: #0f172a;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-500: #64748b;
    --slate-50: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --inter: 'Inter', sans-serif;
    --poppins: 'Poppins', sans-serif;
}

.text-primary { color: var(--brand-accent) !important; }

body {
    font-family: var(--inter);
    color: #1e293b;
    background-color: #fff;
    overflow-x: hidden;
}

.poppins {
    font-family: var(--poppins);
}

.container-custom {
    max-width: 1320px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Utilities */
.section-padding {
    padding: 100px 0;
}

.pt-10 {
    padding-top: 130px;
}

.x-small { font-size: 11px; }
.size-14 { width: 14px; height: 14px; }
.size-16 { width: 16px; height: 16px; }
.size-18 { width: 18px; height: 18px; }
.size-20 { width: 20px; height: 20px; }

.logo-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.bg-primary-soft { background-color: rgba(242, 126, 1, 0.1); } 
.bg-primary { background-color: var(--brand-accent) !important; }
.bg-accent-soft { background-color: rgba(242, 126, 1, 0.1); }
.bg-warning-soft { background-color: rgba(255, 193, 7, 0.1); }
.bg-success-soft { background-color: rgba(25, 135, 84, 0.1); }
.bg-white-soft { background-color: rgba(255, 255, 255, 0.1); }
.bg-dark-soft { background-color: rgba(0, 0, 0, 0.3); }
.bg-brand-primary { background-color: var(--brand-primary) !important; }
.text-brand-primary { color: var(--brand-primary) !important; }

.grayscale-hover {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.grayscale-hover:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.text-accent { color: var(--brand-accent); }
.text-white-80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-success-light { color: #4ade80; }

.fill-accent { fill: var(--brand-accent); stroke: none; }

.btn-primary {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: white !important;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-accent {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-accent-large {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    line-height: normal;
}

.btn i {
    flex-shrink: 0;
}

.btn-accent-hero {
    background-color: var(--brand-accent);
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 12px;
}

.btn-accent-hero:hover {
    background-color: #d97001;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 126, 1, 0.4);
}

.btn-outline-white-hero {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.btn-outline-white-hero:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.btn-accent:hover {
    background-color: #d97001;
    border-color: #d97001;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 126, 1, 0.3);
}

.btn-white {
    background-color: white;
    color: var(--brand-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-white:hover {
    background-color: var(--brand-accent);
    transform: translateY(-2px);
}

/* Navbar */
#mainNav {
    transition: all 0.4s ease-in-out;
    padding: 12px 0;
}

#mainNav.scrolled {
    background-color: white !important;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    font-weight: 600;
    color: #1e293b !important;
    margin: 0 8px;
    font-size: 0.82rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--brand-accent) !important;
}

#mainNav .navbar-brand {
    color: #1e293b !important;
    font-size: 1.1rem;
}

#mainNav .text-primary {
    color: var(--brand-accent) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('Dream House.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-badge-capsule {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.text-accent.underline {
    position: relative;
}

.text-accent.underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--brand-accent);
    border-radius: 2px;
}

.badge-custom {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.pricing-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.pricing-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.price-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 18px;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-accent);
    color: white;
    box-shadow: none;
}

.glass-input option {
    background-color: var(--slate-900);
}

/* Feature Cards */
.section-title {
    font-family: var(--poppins);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--slate-500);
    max-width: 600px;
    font-size: 1.1rem;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-box i {
    width: 28px;
    height: 28px;
}

/* Areas We Cover */
.areas-cover-banner {
    background: linear-gradient(135deg, var(--brand-primary), #2a2d2a);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(19, 21, 18, 0.2);
}

.badge-pill {
    border-radius: 100px;
    font-weight: 500;
}

/* Promo Banner */
.mb-negative {
    margin-bottom: -60px;
    position: relative;
    z-index: 10;
}

.promo-banner {
    background: var(--brand-primary);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(19, 21, 18, 0.2);
}

/* Pricing Cards */
.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #edf2f7;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--brand-primary);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--poppins);
    color: var(--dark-bg);
}

.pricing-card ul li {
    padding: 8px 0;
    color: var(--slate-500);
    font-size: 0.95rem;
}

/* How it Works */
.how-works-timeline {
    position: relative;
}

.how-works-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

@media (max-width: 767.98px) {
    .how-works-timeline::before {
        display: none;
    }
}

.step-card {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: var(--brand-primary);
    border: 1px solid #f1f5f9;
}

.step-icon i {
    width: 32px;
    height: 32px;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: var(--brand-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 3px solid #f8fafc;
}

/* Rating Scale */
.rating-scale-card {
    background: var(--dark-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rating-bar {
    height: 50px;
    border-radius: 100px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    position: relative;
    width: 0; /* Animated */
    min-width: 200px;
    transition: width 1.5s cubic-bezier(0.1, 0, 0.2, 1);
}

.rating-bar .rating-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 12px;
}

.rating-a { background: linear-gradient(90deg, #059669, #10b981); width: var(--width); }
.rating-b { background: linear-gradient(90deg, #10b981, #34d399); width: var(--width); }
.rating-c { background: linear-gradient(90deg, #84cc16, #a3e635); width: var(--width); }
.rating-d { background: linear-gradient(90deg, #facc15, #fde047); color: #000; width: var(--width); }
.rating-e { background: linear-gradient(90deg, #f97316, #fb923c); width: var(--width); }
.rating-f { background: linear-gradient(90deg, #ea580c, #f97316); width: var(--width); }
.rating-g { background: linear-gradient(90deg, #dc2626, #ef4444); width: var(--width); }

.rating-label {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rating-value {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
    white-space: nowrap;
    flex-shrink: 0;
}

.info-box-dark {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.border-accent-glow { 
    border: 1px solid rgba(242, 126, 1, 0.3);
    box-shadow: inset 0 0 20px rgba(242, 126, 1, 0.1);
}

.border-accent-left { border-left: 4px solid var(--brand-accent); }
.border-warning-left { border-left: 4px solid #ffc107; }
.border-success-left { border-left: 4px solid #198754; }

/* Prep Grid */
.prep-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.prep-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
}

.prep-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(30, 58, 138, 0.05);
    line-height: 1;
}

.icon-box-mini {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-primary-dashed {
    border: 2px dashed rgba(242, 126, 1, 0.3);
}

.border-primary-light {
    border: 1px solid rgba(242, 126, 1, 0.2) !important;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.avatar {
    width: 45px;
    height: 45px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-primary);
}

.btn-outline-primary {
    background-color: transparent;
    border: 1px solid var(--brand-accent);
    color: var(--brand-accent);
    padding: 10px 25px;
    font-weight: 600;
}
.btn-primary:hover, .btn-accent:hover, .btn-accent-large:hover {
    background-color: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 126, 1, 0.3);
}
.btn-outline-primary:hover{
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(242, 126, 1, 0.3);
}
.contact-item-box {
    color: var(--brand-accent);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.text-break {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

.min-width-0 {
    min-width: 0;
}


/* Footer & Form */
.footer-form-section {
    background-color: var(--dark-bg);
    padding-top: 100px;
}

.bg-gradient-footer {
    background: linear-gradient(135deg, var(--brand-primary), #000000);
}

.contact-item {
    display: flex;
    align-items: center;
}

.icon-box-small {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-small i {
    width: 20px;
    height: 20px;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.hover-white:hover {
    color: white !important;
}

/* Animation triggers */
.rating-bars.aos-animate .rating-bar {
    width: var(--width);
}

/* Responsive fixes */
@media (max-width: 991px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .section-title {
        font-size: 2rem;
    }
    .display-3 {
        font-size: 2.2rem !important;
    }
    #navbarNav {
        background: white;
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 80px;
        min-height: auto;
    }
    .hero-stats {
        justify-content: center;
    }
    .section-padding {
        padding: 60px 0;
    }
    .rating-bar {
        padding: 0 12px;
        height: 48px;
        min-width: 200px;
    }
    .rating-label {
        font-size: 12px;
    }
    .rating-value {
        font-size: 11px;
    }
    .rating-value .badge {
        display: none;
    }
    .rating-bar .rating-label span {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}