:root {
    --c1-light: #d8374a1a;
    --glass: #fffffff2;
    --shadow-sm: 0 5px 15px #0000000d;
    --shadow-md: 0 10px 30px #00000014;
    --shadow-lg: 0 15px 45px #d8374a26;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-section {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 100px 0 20px;
}

.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.portfolio-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px #0000000d;
    transition: all 0.5s ease;
    height: 100%;
    border: 1px solid #00000008;
    text-align: center;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px #d8374a1a;
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.15);
}

.portfolio-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffffe6;
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--c1);
    z-index: 2;
    box-shadow: 0 5px 15px #0000001a;
}

.portfolio-content {
    padding: 35px 30px;
}

.portfolio-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.portfolio-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.custom-faq .accordion-item {
    margin-bottom: 20px !important;
    border: 1px solid #0000000d !important;
    transition: var(--transition);
}

.custom-faq .accordion-item:hover {
    transform: translateX(10px);
    border-color: var(--c1) !important;
}

.custom-faq .accordion-button {
    background-color: #fff !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
    padding: 25px 30px !important;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}

.custom-faq .accordion-button:not(.collapsed) {
    border-left-color: var(--c1);
    color: var(--c1) !important;
}

.custom-faq .accordion-button::after {
    background-image: none !important;
    content: '\ea12';
    font-family: 'remixicon';
    color: var(--c1);
    font-size: 20px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.custom-faq .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-image-wrapper::before {
    display: none;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; }
}

.hero-image-wrapper img {
    transition: var(--transition);
    position: relative;
    z-index: 2;
    max-height: 450px;
    width: auto;
}

.hero-image-wrapper:hover img {
    transform: translateY(-10px);
}

.trust-badge {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: #fff;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px #0000001a;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid #d8374a1a;
}

.trust-badge i {
    font-size: 24px;
    color: var(--c1);
}

.trust-badge span {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.premium-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid #ffffff4d;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--c1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 8px 20px #d8374a4d;
    transition: var(--transition);
}

.premium-card:hover .icon-box {
    transform: rotateY(180deg);
}

.section-tag {
    color: var(--c1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.btn-premium {
    background: var(--c1);
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    box-shadow: 0 10px 20px #d8374a33;
    transition: var(--transition);
    display: inline-block;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px #d8374a4d;
    color: #fff;
}

.timeline-box {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--c1-light);
}

.timeline-number {
    position: absolute;
    left: -20px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--c1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 5px 15px #d8374a33;
}

.gradient-text {
    background: var(--c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 10px;
    display: inline-block;
}

.factor-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px #00000008;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid #0000000d;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
}

.factor-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px #d8374a26;
    border-color: var(--c1);
}

.factor-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--c1);
    margin-top: -80px;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px #0000001a;
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid #0000000d;
}

.factor-card:hover .factor-icon-wrapper {
    background: var(--c1);
    color: #fff;
    transform: rotateY(360deg) translateY(-10px);
    box-shadow: 0 20px 40px #d8374a4d;
}

.factor-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.factor-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: radial-gradient(circle at center, var(--c1-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.factor-card:hover .glow-effect {
    opacity: 1;
}

.cta-card-premium {
    background: #1a1a1b;
    color: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.cta-card-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #d8374a1a 0%, transparent 50%);
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-btn-glow {
    background: var(--c1);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 10px 20px #d8374a4d;
    position: relative;
    z-index: 2;
    width: fit-content;
    margin-top: 20px;
}

.cta-btn-glow:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px #d8374a80;
    color: #fff;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
    .hero-section { padding: 80px 0 60px; text-align: center; }
    .hero-title { font-size: 2.8rem; }
    .hero-image-wrapper { margin-top: 50px; }
    .trust-badge { left: 50%; transform: translateX(-50%); bottom: 20px; }
    .factor-card { padding: 40px 30px; margin-top: 60px; }
    .factor-icon-wrapper { width: 80px; height: 80px; font-size: 30px; margin-top: -60px; }
    .display-4 { font-size: 2.5rem; }
    .display-5 { font-size: 2.2rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.2rem; }
    .premium-card { padding: 30px 20px; }
    .factor-card { padding: 35px 20px; }
    .portfolio-img-wrapper { height: 200px; }
    .portfolio-content { padding: 25px 20px; }
    .timeline-box { padding-left: 40px; }
    .display-4 { font-size: 2rem; }
    .section-tag { font-size: 12px; }
    .cta-card-premium { padding: 40px 20px; }
    
    /* Testimonial Alignment Fix */
    .premium-card.bg-white.mx-auto { 
        padding: 40px 20px !important; 
        border-radius: 20px !important;
    }
    .testimonial-quote { font-size: 1.1rem !important; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 1.8rem; }
    .btn-premium, .btn-outline-light { width: 100%; text-align: center; }
    .trust-badge { display: none; }
    .factor-icon-wrapper { width: 70px; height: 70px; font-size: 25px; margin-top: -50px; }
}
