/* =================== GLOBAL VARIABLES & BASE STYLES============================ */
:root {
    --primary-red: #e63946;
    --dark-navy: #1a1a2e;
    --light-blue: #008080;
    --text-gray: #555e68;
    --soft-bg: #f8faff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-navy);
    overflow-x: hidden;
}

.fs-8 {
    font-size: 14px !important;
}

.fs-9 {
    font-size: 12px !important;
}

/* =================== NAVBAR SECTION============================= */
.nav-link {
    color: var(--dark-navy) !important;
    margin-left: 25px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-red);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover
}

/* -------------------Login Modal------------- */
.password-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
    user-select: none;
}

.password-eye:hover {
    color: #008080;
}

.login-modal-card {
    border-radius: 20px !important;
}

.text-navy-modal {
    color: var(--light-blue);
}

.text-teal-link {
    color: var(--light-blue);
    transition: 0.3s;
}

.text-teal-link:hover {
    color: var(--primary-red);
}

.custom-login-input {
    padding: 12px 16px;
    border: 1.5px solid #eef2f6;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fcfdfe;
    transition: all 0.3s ease;
}

.custom-login-input:focus {
    background-color: #fff;
    border-color: var(--light-blue);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.12);
    outline: none;
}

.btn-modal-login {
    background-color: var(--light-blue);
    color: #ffffff;
    padding: 13px;
    border-radius: 10px;
    border: 1.5px solid var(--light-blue);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    font-weight: 600;
}

.btn-modal-login:hover {
    background-color: transparent;
    color: var(--light-blue);
    border: 1.5px solid var(--light-blue);
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.15);
}

/* ================= HERO SECTION============================= */
.hero-section {
    min-height: 75vh;
    position: relative;
    background-color: #FFF3F3;
    overflow: hidden;
}

.bg-shape-1 {
    position: absolute;
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: rgba(230, 57, 70, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.bg-shape-2 {
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(26, 26, 46, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 550px;
}

.btn-custom {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #DC3545;
    background-color: #DC3545;
    color: #fff;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-custom:hover {
    color: #DC3545;
    border: 2px solid #DC3545;
    border-radius: 8px;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===================PRICING SECTION============================ */
.pricing-card {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.lite-theme {
    background-color: #E8F6F4;
}

.easy-theme {
    background-color: #FFF3E6;
}

.title-teal,
.price-teal {
    color: #40B3A2;
}

.title-orange,
.price-orange {
    color: #E67E22;
}

.select-custom-teal {
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #40B3A2;
}

.select-custom-orange {
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #E67E22;
}

.btn-teal-custom {
    background-color: #40B3A2;
    border: 1px solid #40B3A2;
    color: white;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
}

.btn-teal-custom:hover {
    background: white;
    color: #40B3A2;
    border: 1px solid #40B3A2;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-orange-custom {
    background-color: #E67E22;
    border: 1px solid #E67E22;
    color: white;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
}

.btn-orange-custom:hover {
    background: white;
    color: #E67E22;
    border: 1px solid #E67E22;
    border-radius: 8px;
    transition: 0.3s;
}

.package-selected-border {
    border: 2px solid var(--light-blue);
    transition: all 0.3s ease;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 13.5px;
    color: #444;
}

.feature-list li i {
    min-width: 25px;
    font-size: 15px;
    margin-right: 8px;
    -webkit-text-stroke: 0.5px currentColor;
}

.lite-theme i {
    color: #40B3A2 !important;
}

.easy-theme i {
    color: #E67E22 !important;
}

.feature-list li span {
    line-height: 1.2;
    font-weight: 600;
}

/* ============== CHECKOUT PRODUCTS SELECTION================= */
.product-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    height: 100%;
}

.product-item.active {
    border: 1px solid var(--light-blue);
}

.active-tick {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 35px 35px 0;
    border-color: transparent var(--light-blue) transparent transparent;
    display: none;
    border-top-right-radius: 8px;
}

.active.product-item .active-tick {
    display: block;
}

.active-tick i {
    position: absolute;
    right: -32px;
    top: -1px;
    color: white;
    font-size: 18px !important;
}

.product-title {
    color: #6c757d;
    font-size: 1rem;
}

.price-text {
    font-weight: 700;
    font-size: 1.8rem;
    color: #111;
}

.feature-list-container p {
    margin-bottom: 12px;
}

.btn-select-custom {
    background-color: #e8f0fe;
    color: var(--light-blue);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border: 1px solid var(--light-blue);
    border-radius: 8px;
}

.btn-select-custom:hover {
    color: var(--light-blue);
    border: 1px solid var(--light-blue);
}

.btn-select-custom.selected {
    background-color: var(--light-blue);
    border-radius: 8px;
    color: white;
}

/* ============ CHECKOUT BILLING CYCLE================ */
.billing-item {
    border: 1px solid #e9ecef;
    border-radius: 9px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
}

.billing-item.active {
    border: 1px solid var(--light-blue);
}

.active-tick-mini {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 25px 0;
    border-color: transparent var(--light-blue) transparent transparent;
    display: none;
    border-top-right-radius: 8px;
}

.active.billing-item .active-tick-mini {
    display: block;
}

.active-tick-mini i {
    position: absolute;
    right: -25px;
    top: -1px;
    color: white;
    font-size: 16px !important;
}

/* ================ CHECKOUT DOMAIN CONFIGURATION================ */

.domain-tabs-nav {
    display: flex;
    gap: 20px;
}

.tab-item {
    padding: 10px 0;
    font-size: 14px;
    color: #6c757d;
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: var(--light-blue);
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--light-blue);
}

.domain-search-wrapper {
    background: linear-gradient(90deg, #008080 0%, #40B3A2 100%);
    border-radius: 8px;
}

.search-box-shadow {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-search-custom {
    background: var(--light-blue);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-search-custom:hover {
    background-color: #006666;
    color: white;
}

.domain-tag {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: white;
}

/* ----------------------Payment Method Modal----------------------- */

.payment-modal-main {
    border-radius: 20px !important;
}

.method-card {
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease-in-out;
    border: 1.5px solid #f1f5f9 !important;
}

.btn-check:checked+.method-card {
    background: #f0f9ff;
    border-color: var(--light-blue) !important;
    transform: scale(1.01);
}

.selection-indicator i {
    display: none;
    font-size: 1.1rem;
}

.btn-check:checked+.method-card .selection-indicator i {
    display: block;
    color: var(--light-blue);
}

.method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unified-card-input {
    background: #ffffed !important;
    border: 1px solid #e2e8f0 !important;
}

.unified-card-input input:focus {
    outline: none;
    box-shadow: none;
}

.mfs-option-box {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-check:checked+.mfs-option-box {
    border-color: var(--light-blue);
    background: #f0fdfa;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1);
}

.btn-payment-primary {
    background: var(--light-blue);
    color: white;
    border-radius: 12px;
    border: 1.5px solid var(--light-blue);
}

.btn-payment-primary:hover {
    border: 1.5px solid var(--light-blue);
    color: var(--light-blue);
}

/* ================CHECKOUT ORDER SUMMARY================ */
.order-summary-card {
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 100px;
}

.btn-checkout-blue {
    background: var(--light-blue);
    color: white;
    font-weight: 600;
    border: 1px solid var(--light-blue);
    border-radius: 8px;
    transition: 0.3s;
}

.btn-checkout-blue:hover {
    color: var(--light-blue);
    background: white;
    border: 1px solid var(--light-blue);
    border-radius: 8px;
    transition: 0.3s;
}

/* ===========Secure Email Hosting=============== */

.hosting-section h2 {
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.hosting-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.hosting-section p strong {
    color: #333;
    font-weight: 600;
}

/* =======Email Hosting Essential Features============ */
.divider {
    width: 250px;
    height: 1.5px;
    background: linear-gradient(to right,
            #ffe5e5 0%, #ffe5e5 20%,
            #ff4d4d 20%, #ff4d4d 80%,
            #ffe5e5 80%, #ffe5e5 100%);
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #ff4d4d;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #e8f0fe;
    border: 1px solid #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    font-size: 32px;
    color: #008080;
}

.feature-box p {
    line-height: 1.6;
    font-size: 14px;
}

.feature-box:hover .icon-circle {
    background-color: var(--light-blue);
    border: 1px solid var(--light-blue);
    border-radius: 50%;
    transition: 0.3s;
}

.feature-box:hover .icon-circle i {
    color: #fff;
    transition: 0.3s;
}

/* ======Enterprise Email for All Businesses============ */
.icon-box {
    color: var(--light-blue);
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 10px;
}

/* ===============RESPONSIVE DESIGN=================== */

@media (min-width: 992px) {
    .nav-link {
        margin-left: 25px;
    }
}

.sticky-top-summary {
    position: sticky;
    top: 100px;
    z-index: 10;
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 60px 0;
    }

    .description {
        margin: 0 auto 25px;
    }

    .bg-shape-1,
    .bg-shape-2 {
        display: none;
    }

    .order-summary-card {
        position: static;
        margin-top: 30px;
    }

    .order-summary-mobile {
        margin-top: 20px;
    }

}

@media (max-width: 768px) {
    .hosting-section {
        text-align: center;
        padding: 40px 0;
    }

    .hosting-section h2 {
        font-size: 24px;
    }

    .professional-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    #loginModal .modal-dialog {
        margin: 1rem;
    }

    #loginModal .modal-body {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .text-navy-modal {
        font-size: 1.5rem;
    }
}
