/* Pratham Insurance Homepage Redesign Stylesheet */

:root {
    --rd-blue-dark: #071E3D;
    --rd-blue-primary: #0B3C5D;
    --rd-blue-light: #EBF3F9;
    --rd-gold: #E5A93B;
    --rd-gold-hover: #CA922F;
    --rd-text-dark: #1E293B;
    --rd-text-muted: #64748B;
    --rd-bg-light: #F8FAFC;
    --rd-white: #FFFFFF;
    --rd-green: #25D366;
    --rd-font: "Google Sans", sans-serif;
}

body.home-redesign-body {
    font-family: var(--rd-font);
    color: var(--rd-text-dark);
    background-color: var(--rd-white);
}

/* Typography Overrides */
.home-redesign-body h1,
.home-redesign-body h2,
.home-redesign-body h3,
.home-redesign-body h4 {
    font-family: var(--rd-font);
    color: var(--rd-blue-dark);
    font-weight: 700;
}

/* Hero Section Refined height */
.rd-hero {
    position: relative;
    padding: 130px 0 120px;
    background-color: #F8FAFC;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Faint Watermark Image */
.rd-hero-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    /*background-image: url('../images/hero-bg-image-prime.jpg');*/
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

/* Dark Blue Right Curved Backdrop */
.rd-hero-bg-curve {
    position: absolute;
    top: 0;
    right: 0;
    width: 44%;
    height: 100%;
    background-color: var(--rd-blue-dark);
    clip-path: ellipse(85% 100% at 100% 50%);
    z-index: 1;
}

.rd-hero-container {
    position: relative;
    z-index: 2;
}

.rd-hero-title {
    font-size: 64px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--rd-blue-dark);
}

.rd-hero-title span.blue-text {
    color: var(--rd-blue-primary);
}

.rd-hero-title span.gold-text {
    color: var(--rd-gold);
}

.rd-hero-subtitle {
    font-size: 22px;
    color: var(--rd-blue-dark);
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
}

.rd-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-blue-primary);
    margin-bottom: 35px;
    text-transform: uppercase;
}

.rd-hero-badges span {
    border-right: 2px solid rgba(11, 60, 93, 0.2);
    padding-right: 15px;
}

.rd-hero-badges span:last-child {
    border-right: none;
    padding-right: 0;
}

.rd-hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.rd-hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rd-hero-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--rd-blue-light);
    color: var(--rd-blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.rd-hero-stat-info h4 {
    font-size: 15px;
    margin: 0;
    font-weight: 700;
    color: var(--rd-blue-dark);
}

.rd-hero-stat-info p {
    font-size: 11px;
    color: var(--rd-text-muted);
    margin: 0;
    line-height: 1.2;
}

.rd-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rd-btn-consultation {
    background-color: var(--rd-blue-dark);
    color: var(--rd-white) !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(7, 30, 61, 0.2);
}

.rd-btn-consultation:hover {
    background-color: var(--rd-blue-primary);
    transform: translateY(-2px);
    text-decoration: none;
}

.rd-btn-whatsapp {
    background-color: var(--rd-gold);
    color: var(--rd-blue-dark) !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(229, 169, 59, 0.2);
}

.rd-btn-whatsapp:hover {
    background-color: var(--rd-gold-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Hero Portrait Styling */
.rd-hero-portrait-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.rd-hero-portrait-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 5px solid var(--rd-gold);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: #f1f5f9;
}

.rd-hero-portrait-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Gold MDRT Medal/Badge */
.rd-hero-mdrt-badge {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 105px;
    height: 105px;
    background: radial-gradient(circle, #fce085 0%, #d4af37 60%, #aa7c11 100%);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: pulse-badge 2.5s infinite ease-in-out;
}

@keyframes pulse-badge {
    0% {
        transform: translateY(-50%) scale(1);
    }

    50% {
        transform: translateY(-50%) scale(1.06);
    }

    100% {
        transform: translateY(-50%) scale(1);
    }
}

.rd-hero-mdrt-badge span.mdrt-title {
    font-size: 15px;
    font-weight: 800;
    color: #4a3304;
    line-height: 1;
}

.rd-hero-mdrt-badge span.mdrt-year {
    font-size: 18px;
    font-weight: 800;
    color: #4a3304;
    line-height: 1.1;
}

/* Portrait Name Card */
.rd-hero-name-card {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--rd-blue-dark);
    border: 2px solid var(--rd-gold);
    border-radius: 12px;
    padding: 12px 25px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(7, 30, 61, 0.3);
    z-index: 5;
}

.rd-hero-name-card h3 {
    color: var(--rd-white);
    font-size: 18px;
    margin: 0 0 2px 0;
    font-weight: 700;
}

.rd-hero-name-card p.title {
    color: var(--rd-gold);
    font-size: 12px;
    margin: 0;
    font-weight: 600;
}

.rd-hero-name-card p.sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin: 0;
}

/* Section Header Styles */
.rd-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.rd-section-header h2 {
    font-size: 34px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    color: var(--rd-blue-dark);
    text-transform: uppercase;
}

.rd-section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--rd-gold);
}

.rd-section-header p {
    color: var(--rd-text-muted);
    font-size: 16px;
    margin-top: 15px;
}

/* Service Cards Section */
.rd-services-section {
    padding: 80px 0;
    background-color: var(--rd-white);
}

.rd-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.rd-service-card {
    background-color: var(--rd-white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.rd-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--rd-gold);
    box-shadow: 0 12px 30px rgba(11, 60, 93, 0.1);
}

.rd-service-icon-box {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

/* Brand Custom Styling for Cards matching image */
.rd-service-card.lic .rd-service-icon-box {
    background-color: rgba(11, 60, 93, 0.08);
    color: #0b3c5d;
}

.rd-service-card.health .rd-service-icon-box {
    background-color: rgba(230, 87, 87, 0.08);
    color: #e65757;
}

.rd-service-card.motor .rd-service-icon-box {
    background-color: rgba(37, 211, 102, 0.08);
    color: #25d366;
}

.rd-service-card.mutual .rd-service-icon-box {
    background-color: rgba(229, 169, 59, 0.08);
    color: #e5a93b;
}

.rd-service-card.lic:hover .rd-service-icon-box {
    background-color: #0b3c5d;
    color: #ffffff;
    transform: rotateY(180deg);
}

.rd-service-card.health:hover .rd-service-icon-box {
    background-color: #e65757;
    color: #ffffff;
    transform: rotateY(180deg);
}

.rd-service-card.motor:hover .rd-service-icon-box {
    background-color: #25d366;
    color: #ffffff;
    transform: rotateY(180deg);
}

.rd-service-card.mutual:hover .rd-service-icon-box {
    background-color: #e5a93b;
    color: #ffffff;
    transform: rotateY(180deg);
}

.rd-service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--rd-blue-dark);
}

.rd-service-card p {
    font-size: 14px;
    color: var(--rd-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.rd-service-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--rd-blue-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.rd-service-link:hover {
    color: var(--rd-gold);
    text-decoration: none;
}

/* SIP Calculator & Why Choose Section split */
.rd-split-section {
    padding: 80px 0;
    background-color: var(--rd-bg-light);
}

/* 2-Column SIP Calculator Design matching image */
.rd-calculator-box {
    background-color: var(--rd-white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.rd-calculator-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--rd-blue-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rd-blue-light);
    text-align: center;
}

.rd-calc-form-group {
    margin-bottom: 18px;
}

.rd-calc-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-text-dark);
    margin-bottom: 8px;
    display: block;
}

.rd-calc-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rd-text-dark);
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.rd-calc-input:focus {
    border-color: var(--rd-blue-primary);
    outline: none;
    background-color: var(--rd-white);
}

.rd-calc-btn {
    background-color: var(--rd-blue-dark);
    color: var(--rd-white);
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rd-calc-btn:hover {
    background-color: var(--rd-blue-primary);
}

/* SIP Output Box Refactored */
.rd-calc-output-box {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 22px;
    border: 1px dashed #cbd5e1;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rd-calc-output-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-text-muted);
    margin-bottom: 5px;
}

.rd-calc-output-val {
    font-size: 30px;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 15px;
}

.rd-calc-details-grid {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    margin-bottom: 15px;
}

.rd-calc-detail-item {
    margin-bottom: 10px;
}

.rd-calc-detail-lbl {
    font-size: 11px;
    color: var(--rd-text-muted);
    font-weight: 500;
}

.rd-calc-detail-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--rd-blue-dark);
}

/* Plant image position */
.rd-calc-coin-plant {
    position: absolute;
    bottom: 0px;
    right: 15px;
    max-width: 110px;
    z-index: 2;
}

/* Why Choose Us Panel */
.rd-why-choose-panel {
    background-color: var(--rd-blue-dark);
    border-radius: 20px;
    padding: 40px 30px;
    color: var(--rd-white);
    box-shadow: 0 10px 30px rgba(7, 30, 61, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rd-why-choose-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--rd-white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.rd-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 15px;
}

.rd-why-item {
    text-align: center;
}

.rd-why-icon {
    font-size: 45px;
    line-height: normal;
    color: var(--rd-gold);
    margin-bottom: 12px;
    display: block;
}

.rd-why-item h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--rd-white);
    line-height: 1.4;
    margin: 0;
}

/* Our Achievements Section */
.rd-achievements-section {
    padding: 80px 0;
    background-color: var(--rd-white);
}

.rd-achieve-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.rd-achieve-item {
    background-color: var(--rd-white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.rd-achieve-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.rd-achieve-img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
}

.rd-achieve-caption {
    padding: 12px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--rd-blue-dark);
    border-top: 1px solid #e2e8f0;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Counter Strip */
.rd-stats-strip {
    background-color: var(--rd-blue-dark);
    padding: 35px 0;
    color: var(--rd-white);
}

.rd-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.rd-stat-strip-item {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rd-stat-strip-item:last-child {
    border-right: none;
}

.rd-stat-strip-icon {
    font-size: 40px;
    color: var(--rd-gold);
}

.rd-stat-strip-text {
    text-align: left;
}

.rd-stat-strip-num {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: var(--rd-white);
}

.rd-stat-strip-lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin: 0;
}

/* Testimonials Redesign */
.rd-testimonials-section {
    padding: 80px 0;
    background-color: var(--rd-bg-light);
}

.testimonial-slider-prime {
    position: relative;
    padding: 0 55px;
}

.rd-testimonial-card {
    background-color: var(--rd-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.rd-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 60, 93, 0.05);
}

.rd-stars {
    color: var(--rd-gold);
    margin-bottom: 15px;
    font-size: 13px;
}

.rd-test-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--rd-text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.rd-test-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rd-test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--rd-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--rd-blue-primary);
    font-size: 13px;
}

.rd-test-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--rd-blue-dark);
    margin: 0;
}

/* Navigation buttons style for testimonials absolute positioned */
.rd-testimonial-nav {
    display: block;
}

.rd-test-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: var(--rd-blue-dark);
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rd-test-next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--rd-blue-primary);
    color: var(--rd-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(11, 60, 93, 0.15);
}

.rd-test-prev:hover {
    background-color: var(--rd-blue-primary);
    color: var(--rd-white);
    border-color: var(--rd-blue-primary);
}

.rd-test-next:hover {
    background-color: var(--rd-gold);
    color: var(--rd-blue-dark);
}

/* Consultation Form Section */
.rd-consultation-section {
    background-color: var(--rd-blue-dark);
    padding: 70px 0;
    color: var(--rd-white);
    position: relative;
    overflow: hidden;
}

.rd-consultation-section::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    pointer-events: none;
}

.rd-consult-left h2 {
    font-size: 38px;
    color: var(--rd-white);
    margin-bottom: 12px;
}

.rd-consult-left h2 span {
    color: var(--rd-gold);
}

.rd-consult-left p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 30px;
}

.rd-bullets-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
}

.rd-bullet-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rd-bullet-item i {
    color: var(--rd-gold);
}

.rd-consult-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rd-consult-form .form-group {
    margin: 0;
}

.rd-consult-form .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 500;
    height: 48px;
    color: var(--rd-text-dark);
}

.rd-consult-form .form-control:focus {
    background-color: #ffffff;
    border-color: var(--rd-gold);
    box-shadow: 0 0 0 3px rgba(229, 169, 59, 0.2);
}

.rd-consult-form select.form-control {
    color: var(--rd-text-muted);
}

.rd-consult-submit-btn {
    background-color: var(--rd-gold);
    color: var(--rd-blue-dark);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 12px;
    height: 48px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rd-consult-submit-btn:hover {
    background-color: var(--rd-gold-hover);
    transform: translateY(-1px);
}

/* Floating WhatsApp Icon */
.rd-floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--rd-green);
    color: var(--rd-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.rd-floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .rd-hero {
        padding: 100px 0;
    }

    .rd-hero-title {
        font-size: 48px;
    }

    .rd-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-achieve-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rd-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rd-stat-strip-item {
        border-right: none;
    }
}

@media (max-width: 992px) {
    .rd-hero {
        padding: 60px 0 80px;
    }

    .rd-hero-bg-curve {
        display: none;
        /* Hide curve overlay to prevent text blocks overlapping */
    }

    .rd-hero-portrait-wrapper {
        background-color: var(--rd-blue-dark);
        border-radius: 24px;
        padding: 40px 20px;
        margin-top: 50px;
        box-shadow: 0 10px 30px rgba(7, 30, 61, 0.15);
    }

    .rd-hero-portrait-circle {
        max-width: 260px;
        margin: 0 auto;
    }

    .rd-hero-mdrt-badge {
        right: 15px;
        /* Pull inward on mobile */
        width: 85px;
        height: 85px;
    }

    .rd-hero-mdrt-badge span.mdrt-title {
        font-size: 13px;
    }

    .rd-hero-mdrt-badge span.mdrt-year {
        font-size: 15px;
    }

    .rd-hero-name-card {
        width: 95%;
        bottom: -25px;
    }

    .rd-hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-hero-watermark {
        width: 100%;
        height: 60%;
    }
}

@media (max-width: 768px) {
    .rd-hero {
        padding: 40px 0 60px;
    }

    .rd-hero-title {
        margin-top: 30px;
        font-size: 38px;
        text-align: center;
    }

    .rd-hero-subtitle {
        font-size: 18px;
        text-align: center;
    }

    .rd-hero-badges {
        justify-content: center;
        font-size: 11px;
    }

    .rd-hero-badges span {
        border-right: none;
        padding: 4px 10px;
        background-color: var(--rd-blue-light);
        border-radius: 40px;
    }

    .rd-hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-hero-buttons {
        justify-content: center;
    }

    .rd-services-grid {
        grid-template-columns: 1fr;
    }

    .rd-achieve-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rd-stat-strip-item {
        border-right: none;
        gap: 8px;
    }

    .rd-stat-strip-num {
        font-size: 22px;
    }

    .rd-stat-strip-lbl {
        font-size: 10px;
    }

    .rd-why-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider-prime {
        padding: 0 10px;
    }

    .rd-test-prev,
    .rd-test-next {
        position: relative;
        top: auto;
        transform: none;
        display: inline-flex;
        margin: 20px 10px 0;
    }

    .rd-testimonial-nav {
        text-align: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .rd-hero-stats-row {
        grid-template-columns: revert-rule;
    }

    .rd-achieve-grid {
        grid-template-columns: 1fr;
    }

    .rd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rd-stat-strip-item {
            justify-content: left;
    }
}