/* ===================================================
   TRUSTEDHOSTING MASTER RESELLER TYPE1
   Pure White Background - Professional Design
   Enhanced for all devices including 150% zoom on 4K
   Fixed Mobile Ribbon Overlap Issue
=================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.trustedhosting_master_reseller_type1 {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 160px); /* RESTORED bottom padding */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pure White Background */
.trustedhosting_master_reseller_type1 .animated-bg {
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 0;
}

/* Container */
.trustedhosting_master_reseller_type1 .container {
    max-width: min(1320px, 90vw);
    margin: auto;
    padding: 0 clamp(16px, 3vw, 32px);
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Grid layout */
.trustedhosting_master_reseller_type1 .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
}

@media (max-width: 991px) {
    .trustedhosting_master_reseller_type1 .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(30px, 6vw, 50px);
    }
}

/* Mini Header */
.trustedhosting_master_reseller_type1 .mini-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-weight: 600;
    color: #0066ff;
    font-size: clamp(11px, 1.5vw, 13px);
    text-transform: uppercase;
    margin-bottom: clamp(12px, 1.5vw, 16px);
}

@media (max-width: 991px) {
    .trustedhosting_master_reseller_type1 .mini-header {
        justify-content: center;
    }
}

.trustedhosting_master_reseller_type1 .status-dot {
    width: clamp(7px, 1vw, 9px);
    height: clamp(7px, 1vw, 9px);
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 12px #00e676cc;
    animation: trustedhostingPulseDot 2s infinite;
    flex-shrink: 0;
}

@keyframes trustedhostingPulseDot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

/* Typography */
.trustedhosting_master_reseller_type1 h1 {
    font-size: clamp(28px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    color: #0a1633;
    margin-bottom: clamp(16px, 2vw, 22px);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.trustedhosting_master_reseller_type1 .blue { 
    color: #0048ff; 
}

.trustedhosting_master_reseller_type1 p {
    font-size: clamp(14px, 1.8vw, 17px);
    color: #333;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: clamp(20px, 2.5vw, 28px);
}

/* Highlight Stats */
.trustedhosting_master_reseller_type1 .highlight-grid {
    display: flex;
    gap: clamp(8px, 1.5vw, 12px);
    margin-bottom: clamp(20px, 2.5vw, 26px);
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .trustedhosting_master_reseller_type1 .highlight-grid {
        justify-content: center;
    }
}

.trustedhosting_master_reseller_type1 .highlight-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    padding: clamp(6px, 1vw, 8px) clamp(8px, 1.5vw, 12px);
    width: clamp(80px, 12vw, 95px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: 0.3s;
    flex-shrink: 0;
}

.trustedhosting_master_reseller_type1 .highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,102,255,0.28);
}

.trustedhosting_master_reseller_type1 .highlight-item h3 {
    font-size: clamp(13px, 1.8vw, 15px);
    color: #0048ff;
    font-weight: 800;
    margin-bottom: 2px;
}

.trustedhosting_master_reseller_type1 .highlight-item p {
    font-size: clamp(10px, 1.2vw, 11px);
    color: #444;
    font-weight: 600;
    margin: 0;
}

/* Key Points */
.trustedhosting_master_reseller_type1 .keypoints {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 1vw, 8px);
    margin-bottom: clamp(20px, 3vw, 30px);
}

.trustedhosting_master_reseller_type1 .kp {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 10px);
    font-size: clamp(13px, 1.6vw, 14px);
    font-weight: 600;
    color: #0a1633;
    text-align: left;
}

@media (max-width: 991px) {
    .trustedhosting_master_reseller_type1 .kp {
        justify-content: center;
    }
}

.trustedhosting_master_reseller_type1 .kp img { 
    width: clamp(14px, 1.8vw, 16px); 
    height: clamp(14px, 1.8vw, 16px); 
    flex-shrink: 0;
}

/* Buttons */
.trustedhosting_master_reseller_type1 .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 2vw, 16px);
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .trustedhosting_master_reseller_type1 .buttons {
        justify-content: center;
    }
}

.trustedhosting_master_reseller_type1 .btn-primary,
.trustedhosting_master_reseller_type1 .btn-outline {
    padding: clamp(12px, 2vw, 14px) clamp(24px, 4vw, 42px);
    font-weight: 600;
    font-size: clamp(14px, 1.8vw, 15px);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
}

.trustedhosting_master_reseller_type1 .btn-primary {
    background: linear-gradient(90deg, #0066ff, #1a82ff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,102,255,0.35);
    position: relative;
    overflow: hidden;
    border: none;
}

.trustedhosting_master_reseller_type1 .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    transform: skewX(-25deg);
    animation: trustedhostingShineMove 3s infinite;
}

@keyframes trustedhostingShineMove {
    0% { left: -80%; }
    60% { left: 140%; }
    100% { left: 140%; }
}

.trustedhosting_master_reseller_type1 .btn-outline {
    border: 2px solid #0066ff;
    color: #0066ff;
    background: #fff;
}

.trustedhosting_master_reseller_type1 .btn-outline:hover {
    background: #0066ff;
    color: #fff;
}

/* Trust Strip */
.trustedhosting_master_reseller_type1 .trust-strip {
    margin-top: clamp(20px, 3vw, 35px);
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 10px);
    font-weight: 600;
    font-size: clamp(13px, 1.6vw, 14px);
    color: #222;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .trustedhosting_master_reseller_type1 .trust-strip {
        justify-content: center;
    }
}

.trustedhosting_master_reseller_type1 .trust-strip img { 
    width: clamp(14px, 1.8vw, 16px); 
    height: clamp(14px, 1.8vw, 16px); 
    flex-shrink: 0;
}

.trustedhosting_master_reseller_type1 .cert-logos {
    margin-top: 20px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.trustedhosting_master_reseller_type1 .cert-logos img {
    height: 28px;
    opacity: 0.85;
    transition: 0.3s;
}

.trustedhosting_master_reseller_type1 .cert-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Right Panel */
.trustedhosting_master_reseller_type1 .hero-right {
    background: #ffffff;
    padding: clamp(20px, 3vw, 34px) clamp(20px, 3vw, 30px);
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 18px);
}

/* FEATURE ITEMS */
.trustedhosting_master_reseller_type1 .feature {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 12px);
    background: #ffffff;
    border-radius: 12px;
    padding: clamp(10px, 2vw, 14px) clamp(14px, 2.5vw, 18px);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.trustedhosting_master_reseller_type1 .feature:hover { 
    background: #f7f9ff; 
    transform: translateX(6px); 
}

.trustedhosting_master_reseller_type1 .feature img { 
    width: clamp(16px, 2vw, 18px); 
    height: clamp(16px, 2vw, 18px); 
    flex-shrink: 0;
}

.trustedhosting_master_reseller_type1 .feature span { 
    font-size: clamp(13px, 1.6vw, 14px); 
    font-weight: 600; 
    color: #0a1633; 
}

/* PRICE BOX WITH SHINING EFFECT */
.trustedhosting_master_reseller_type1 .price-box {
    background: linear-gradient(90deg, #0066ff, #1a82ff, #0066ff);
    padding: clamp(16px, 2.5vw, 22px);
    border-radius: 18px;
    text-align: center;
    color: #fff;
    margin-bottom: clamp(16px, 2.5vw, 22px);
    position: relative;
    box-shadow: 0 10px 35px rgba(0,102,255,0.45);
    overflow: hidden;
}

.trustedhosting_master_reseller_type1 .price-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 45%;
    height: 100%;
    background: rgba(255,255,255,0.35);
    transform: skewX(-25deg);
    animation: trustedhostingPriceShine 3s infinite;
}

@keyframes trustedhostingPriceShine {
    0% { left: -100%; }
    50% { left: 140%; }
    100% { left: 140%; }
}

.trustedhosting_master_reseller_type1 .price-main { 
    font-size: clamp(24px, 3.5vw, 30px); 
    font-weight: 800; 
}

.trustedhosting_master_reseller_type1 .price-sub { 
    font-size: clamp(12px, 1.6vw, 14px); 
    font-weight: 600; 
    opacity: 0.9; 
}

/* SHINING VERIFIED RIBBON - FIXED FOR MOBILE */
.trustedhosting_master_reseller_type1 .verified-ribbon {
    position: relative; /* Changed from absolute to relative */
    bottom: auto;
    left: auto;
    width: 100%;
    background: linear-gradient(90deg, #005ce6, #00a1ff, #005ce6);
    padding: clamp(10px, 2vw, 14px) 0;
    text-align: center;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
    z-index: 50;
    overflow: hidden;
    margin-top: 60px; /* Added fixed margin to prevent overlap */
}

.trustedhosting_master_reseller_type1 .verified-ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: rgba(255,255,255,0.35);
    transform: skewX(-25deg);
    animation: trustedhostingRibbonShine 4s infinite;
}

@keyframes trustedhostingRibbonShine {
    0% { left: -100%; }
    60% { left: 150%; }
    100% { left: 150%; }
}

.trustedhosting_master_reseller_type1 .ribbon-content {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: clamp(12px, 1.6vw, 14px);
    display: flex;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 22px);
    flex-wrap: wrap;
    text-transform: uppercase;
    padding: 0 clamp(10px, 2vw, 20px);
}

/* Typed word styling */
.trustedhosting_master_reseller_type1 .typed-word {
    color: #0048ff;
    font-weight: 800;
    white-space: nowrap;
}

/* Hide Right Side on small screens */
@media (max-width: 768px) {
    .trustedhosting_master_reseller_type1 .hero-right {
        display: none !important;
    }

    /* Ensure heading scales and spacing is tight on mobile */
    .trustedhosting_master_reseller_type1 {
        padding: 60px 0 80px; /* RESTORED bottom padding for mobile */
    }
    
    .trustedhosting_master_reseller_type1 h1 { 
        font-size: 28px; 
    }
    
    .trustedhosting_master_reseller_type1 p { 
        max-width: 100%; 
        margin: 0 auto 18px; 
    }
    
    .trustedhosting_master_reseller_type1 .buttons { 
        justify-content: center; 
    }
    
    .trustedhosting_master_reseller_type1 .highlight-grid { 
        justify-content: center; 
    }
    
    /* Mobile-specific ribbon fixes */
    .trustedhosting_master_reseller_type1 .verified-ribbon {
        margin-top: 50px; /* Increased margin for mobile */
        border-radius: 0;
    }
    
    .trustedhosting_master_reseller_type1 .ribbon-content {
        flex-direction: row; /* Keep horizontal on mobile */
        gap: 12px; /* Slightly smaller gap on mobile */
        font-size: 11px; /* Slightly smaller text on mobile */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .trustedhosting_master_reseller_type1 .hero-grid {
        gap: 25px;
    }
    
    .trustedhosting_master_reseller_type1 .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .trustedhosting_master_reseller_type1 .btn-primary,
    .trustedhosting_master_reseller_type1 .btn-outline {
        width: 100%;
        max-width: 280px;
    }
    
    .trustedhosting_master_reseller_type1 .highlight-grid {
        justify-content: space-around;
    }
    
    .trustedhosting_master_reseller_type1 .ribbon-content {
        flex-direction: column; /* Stack vertically on very small screens */
        gap: 8px;
        font-size: 11px;
    }
    
    .trustedhosting_master_reseller_type1 .verified-ribbon {
        margin-top: 40px; /* Adjusted for very small screens */
    }
}

/* High DPI/4K displays */
@media (min-width: 1921px) {
    .trustedhosting_master_reseller_type1 .container {
        max-width: 1600px;
    }
    
    .trustedhosting_master_reseller_type1 h1 {
        font-size: clamp(40px, 3vw, 60px);
    }
    
    .trustedhosting_master_reseller_type1 p {
        font-size: clamp(16px, 1.2vw, 20px);
        max-width: 700px;
    }
}

/* Animations for fades */
.trustedhosting_master_reseller_type1 .fade-in-left { 
    opacity: 0; 
    transform: translateX(-40px); 
    animation: trustedhostingFadeLeft 1s ease forwards; 
}

.trustedhosting_master_reseller_type1 .fade-in-right { 
    opacity: 0; 
    transform: translateX(40px); 
    animation: trustedhostingFadeRight 1s ease 0.2s forwards; 
}

@keyframes trustedhostingFadeLeft { 
    to { opacity: 1; transform: translateX(0); } 
}

@keyframes trustedhostingFadeRight { 
    to { opacity: 1; transform: translateX(0); } 
}

/* Zoom compatibility */
@media (min-resolution: 150dpi) {
    .trustedhosting_master_reseller_type1 {
        font-size: 105%;
    }
}

/* ===================================================
   TRUSTEDHOSTING CALLBACK SECTION
   Fully Independent – No Hero Interference
   Responsive, Scoped, Production Safe
=================================================== */

/* ---------- SECTION RESET & ISOLATION ---------- */
.th-callback-section {
    background: #f8fbff;
    margin: 0 !important;
    padding: 32px 16px 48px !important;
    border-top: 1px solid #e6eefc;
    position: relative;
    clear: both;
}

/* Ensure clean separation when placed after hero */
.trustedhosting_master_reseller_type1 + .th-callback-section {
    margin-top: 0 !important;
}

/* Prevent margin collapse from children */
.th-callback-section::before {
    content: "";
    display: table;
}

/* ---------- CONTAINER ---------- */
.th-callback-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

/* ---------- TEXT ---------- */
.th-callback-text h3 {
    margin: 0 0 6px 0 !important;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: #0b1c3f;
}

.th-callback-text p {
    margin: 0 !important;
    font-size: 14px;
    color: #5f6b85;
    min-height: 20px;
}

/* Typing cursor */
.th-callback-typing::after {
    content: "|";
    margin-left: 4px;
    animation: th-callback-blink 1s infinite;
}

@keyframes th-callback-blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* ---------- FORM ---------- */
.th-callback-form {
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    align-items: center;
}

.th-callback-form input {
    height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #d6e2ff;
    font-size: 14px;
    width: clamp(160px, 18vw, 220px);
}

.th-callback-form input:focus {
    border-color: #0d6efd;
    outline: none;
}

/* ---------- BUTTON ---------- */
.th-callback-btn {
    position: relative;
    height: 44px;
    padding: 0 clamp(18px, 3vw, 26px);
    border-radius: 6px;
    border: none;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

/* Shine effect */
.th-callback-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
}

.th-callback-btn:hover::before {
    animation: th-callback-shine 0.9s ease-in-out;
}

@keyframes th-callback-shine {
    from { left: -75%; }
    to   { left: 125%; }
}

/* ---------- SUCCESS MESSAGE ---------- */
.th-callback-success {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: #e6f4ea;
    color: #146c43;
    border: 1px solid #b7e1c3;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* ---------- ERROR MESSAGE ---------- */
.th-callback-error {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    background: #fdecea;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    font-size: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .th-callback-container {
        grid-template-columns: 1fr;
    }

    .th-callback-form {
        grid-auto-flow: row;
        width: 100%;
    }

    .th-callback-form input,
    .th-callback-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .th-callback-section {
        padding: 28px 14px 40px !important;
    }

    .th-callback-form input,
    .th-callback-btn {
        height: 42px;
    }
}
