:root {
    --rm-blue: #69B0E7;
    --rm-blue-hover: #4A9CD9;
    --rm-orange: #ef6516;
    --rm-orange-hover: #d15610;
    --rm-dark: #282B32;
    --rm-footer: #282B31;
    --rm-light: #f8f9fa;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #4B5563;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.gray-bg {
    background-color: var(--rm-light);
}

.content-text {
    display: none;
}

.text-rm-blue {
    color: var(--rm-blue);
}

.rm-disclaimer-box {
    background-color: #F0F9FF;
    border: 1px solid var(--rm-blue);
    border-radius: 15px;
    padding: 30px;
}

.rm-disclaimer-box a {
    color: var(--rm-blue);
    font-weight: 700;
}

.rm-disclaimer-box a:hover {
    text-decoration: underline;
    color: var(--rm-blue-hover);
}

.text-orange {
    color: var(--rm-orange);
}

/** navbar */
.navbar-toggler {
    border: none;
    padding: 0;
    vertical-align: middle;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .fa-close {
    display: none;
    width: 30px;
    height: 30px;
    font-size: 30px;
}

.navbar-toggler.collapsed .navbar-toggler-icon {
    display: inline-block;
}

.navbar-toggler.collapsed .fa-close {
    display: none;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    display: none;
}

.navbar-toggler:not(.collapsed) .fa-close {
    display: inline-block;
}

/* Replicating Header Look with BS5 */
.rm-header-top {
    background-color: var(--rm-footer);
    color: #ddd;
    font-size: 12px;
    padding: 10px 0;
}

.rm-header-top a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.rm-header-top a:hover {
    color: var(--rm-blue);
}

.rm-navbar {
    border-bottom: 1px solid #E8E8E8;
    background: #fff;
}

.rm-nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    color: #404040 !important;
    padding: 10px 15px !important;
}

.rm-nav-link:hover {
    color: var(--rm-blue) !important;
}

/* Dropdown Enhancement */
.rm-navbar .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 15px;
    min-width: 220px;
    margin-top: 15px;
    /* Space for the pseudo-bridge */
}

/* Bridge the gap to prevent menu disappearing on hover */
@media (min-width: 992px) {
    .rm-navbar .nav-item.dropdown::after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
        display: none;
        z-index: 99;
    }

    .rm-navbar .nav-item.dropdown:hover::after {
        display: block;
    }
}

.rm-navbar .dropdown-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #404040;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.rm-navbar .dropdown-item:last-child {
    margin-bottom: 0;
}

.rm-navbar .dropdown-item:hover {
    background-color: rgba(239, 101, 22, 0.1);
    color: var(--rm-orange);
    transform: translateX(5px);
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .rm-navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInUp 0.3s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile Dropdown Fix */
@media (max-width: 991px) {
    .rm-navbar .dropdown-menu {
        box-shadow: none;
        border-left: 2px solid var(--rm-blue);
        border-radius: 0;
        margin-left: 15px;
        padding-left: 10px;
        background: transparent;
    }

    .rm-navbar .dropdown-item {
        font-size: 14px;
        padding: 12px 15px;
    }
}


.btn-rm-nav {
    background-color: var(--rm-orange);
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 8px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-rm-nav:hover {
    background-color: var(--rm-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Hero Area Enhancement */
.rm-hero {
    background:
        radial-gradient(circle at 2px 2px, rgba(105, 176, 231, 0.15) 1px, transparent 0),
        linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%) !important;
    background-size: 30px 30px, 100% 100%;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Blobs & Ornaments */
.rm-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(105, 176, 231, 0.12);
    filter: blur(100px);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    z-index: -1;
}

.rm-hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(239, 101, 22, 0.06);
    filter: blur(80px);
    border-radius: 50%;
    bottom: -80px;
    left: -50px;
    z-index: -1;
}

/* Floating Ornaments Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(15deg);
    }
}

.rm-ornament {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.orn-1 {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(105, 176, 231, 0.4);
    top: 10%;
    left: 3%;
    animation-delay: 0s;
}

.orn-2 {
    width: 250px;
    height: 250px;
    border: 20px solid rgba(239, 101, 22, 0.1);
    bottom: -50px;
    right: -20px;
    animation-delay: 2s;
}

.orn-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(105, 176, 231, 0.3);
    top: 25%;
    right: 15%;
    box-shadow: 0 8px 32px rgba(105, 176, 231, 0.2);
    animation-delay: 1s;
}

.orn-4 {
    width: 60px;
    height: 60px;
    background: rgba(239, 101, 22, 0.2);
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

.orn-5 {
    width: 30px;
    height: 30px;
    background: rgba(105, 176, 231, 0.5);
    top: 60%;
    left: 45%;
    animation-delay: 4s;
}

.rm-hero-img-container {
    text-align: center;
}

.rm-hero-info h6 {
    color: #69B0E7;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.rm-hero-info h1 {
    color: #282B32;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.rm-hero-info h2 {
    font-size: 32px;
    color: var(--rm-blue);
    margin-bottom: 25px;
}

.rm-hero-info p {
    font-size: 17px;
    line-height: 1.8;
    color: #5A677D;
    margin-bottom: 30px;
}

.btn-rm-primary {
    background-color: var(--rm-orange);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: 0.3s;
}

.btn-rm-primary:hover {
    background-color: var(--rm-dark);
    color: #fff;
}

/* Pricing Area */
.pricing-section {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--rm-orange);
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--rm-dark);
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--rm-orange);
}

.pricing-card.popular {
    border-color: var(--rm-orange);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    background: var(--rm-orange);
    color: #fff;
    position: absolute;
    top: 20px;
    right: -30px;
    transform: rotate(45deg);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--rm-dark);
}

.price {
    margin-bottom: 30px;
}

.price-val {
    font-size: 32px;
    color: var(--rm-blue);
    font-weight: 800;
}

.price-sub {
    font-size: 14px;
    color: #999;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    color: var(--rm-orange);
    margin-right: 10px;
}

.btn-order {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border: 2px solid var(--rm-dark);
    color: var(--rm-dark);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-order:hover {
    background: var(--rm-dark);
    color: #fff;
}

.pricing-card.popular .btn-order {
    background: var(--rm-orange);
    border-color: var(--rm-orange);
    color: #fff;
}

.pricing-card.popular .btn-order:hover {
    background: var(--rm-dark);
    border-color: var(--rm-dark);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #fff;
    color: #404040;
}

.feature-item {
    margin-bottom: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--rm-blue);
}

.feature-item i {
    font-size: 36px;
    color: var(--rm-orange);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--rm-dark);
}

.feature-item p {
    color: #5A677D;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Support Features Section */
.support-features-section {
    padding: 100px 0;
}

.support-feature-item {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
}

.support-feature-item i {
    color: var(--rm-orange);
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
}

.support-feature-item h5 {
    font-size: 18px;
    color: var(--rm-dark);
    margin-bottom: 8px;
}

.support-feature-item p {
    font-size: 14.5px;
    color: #5A677D;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Flexible Section */
.flex-section {
    padding: 100px 0;
}

.flex-content h2 {
    font-size: 36px;
    color: var(--rm-dark);
    margin-bottom: 20px;
}

.flex-content p.intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.flex-list {
    list-style: none;
    padding: 0;
}

.flex-list li {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.flex-list li i {
    color: var(--rm-orange);
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
}

.flex-list li h5 {
    font-size: 18px;
    color: var(--rm-dark);
    margin-bottom: 5px;
}

.flex-list li p {
    font-size: 15px;
    color: #5A677D;
    margin-bottom: 0;
    line-height: 1.7;
}

.flex-img {
    text-align: center;
}

.flex-img img {
    max-width: 90%;
}

/* Footer */
.rm-footer {
    background-color: var(--rm-footer);
    color: #ddd;
    padding: 60px 0 20px;
}

.rm-footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
}

.rm-footer ul {
    list-style: none;
    padding: 0;
}

.rm-footer ul li {
    margin-bottom: 12px;
}

.rm-footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.rm-footer ul li a:hover {
    color: var(--rm-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #3d4148;
    margin-top: 50px;
    padding-top: 20px;
    font-size: 14px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: var(--rm-orange);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive Adjustments */
html,
body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.img-fluid {
    max-width: 100% !important;
    height: auto !important;
}

/* Fix Bootstrap Row Overflow */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

@media (max-width: 991px) {
    .rm-hero {
        padding: 60px 0;
    }

    .rm-hero-info h1 {
        font-size: 32px;
    }

    .rm-hero-info h2 {
        font-size: 24px;
    }

    .pricing-card.popular {
        transform: scale(1);
        margin: 0;
    }

    .text-start-mobile {
        text-align: left !important;
    }
}

@media (max-width: 767px) {
    .rm-navbar .navbar-brand img {
        height: 40px;
    }

    .rm-hero {
        padding: 40px 0;
        text-align: center;
        display: block !important;
    }

    .rm-hero-info {
        margin-top: 30px;
    }

    .rm-hero-info h1 {
        font-size: 24px !important;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .rm-hero-info h2 {
        font-size: 18px !important;
        margin-bottom: 15px;
    }

    .rm-hero-info p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .pricing-section,
    .flex-section,
    .support-features-section {
        padding: 50px 10px;
    }

    .flex-content {
        margin-top: 20px;
        text-align: center;
    }

    .flex-list li {
        text-align: left;
        margin-bottom: 20px;
        display: block;
        padding-left: 0;
    }

    .flex-list li i {
        margin-bottom: 10px;
        display: block;
    }

    .support-feature-item {
        margin-bottom: 25px;
        text-align: left;
        padding: 0 10px;
    }

    /* Force images to stay inside */
    img {
        max-width: 100% !important;
    }

    /* Disable animation causing overflow */
    .animate__animated {
        animation: none !important;
        visibility: visible !important;
    }

    /* Fix pricing horizontal width */
    .pricing-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
}

/* Generic Page Layouts (Reusable) */
.rm-page-header {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 80px 0 60px;
    border-bottom: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.rm-page-header::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(105, 176, 231, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    top: -150px;
    right: -50px;
    z-index: 0;
}

.rm-page-section {
    padding: 80px 0;
    background-color: #fff;
}

.rm-page-card h3 {
    font-size: 24px;
    color: var(--rm-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.rm-page-card h3:first-child {
    margin-top: 0;
}

.rm-page-card p,
.rm-page-card li {
    color: #5A677D;
    line-height: 1.8;
    font-size: 16px;
}

.rm-page-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.rm-page-card li {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .rm-page-card {
        padding: 30px 20px;
    }

    .rm-page-header {
        padding: 60px 0 40px;
    }
}

/* Info Cards & Icons */
.rm-info-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.rm-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--rm-blue);
}

.rm-info-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 101, 22, 0.1);
    color: var(--rm-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Buttons */
.btn-rm-primary {
    background-color: var(--rm-blue);
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(105, 176, 231, 0.4);
    text-decoration: none;
}

.btn-rm-primary:hover {
    background-color: var(--rm-dark);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 43, 50, 0.4);
}

/* ==========================================================================
   pricing-card dedicated
   ========================================================================== */
.price-old {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    margin-bottom: -2px;
}

.discount-badge-promo {
    display: inline-block;
    background: #FFEDED;
    color: #E63946;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.pricing-card-horizontal {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pricing-card-horizontal:hover {
    transform: translateY(-5px);
    border-color: #69B0E7;
    box-shadow: 0 10px 30px rgba(105, 176, 231, 0.15);
}

.pricing-card-horizontal.popular {
    border-left: 5px solid #69B0E7;
}

.pch-model h3 {
    font-size: 18px;
    color: #282B32;
    margin-bottom: 5px;
    font-weight: 700;
}

.spec-item {
    font-size: 14px;
    color: #5A677D;
    margin-bottom: 12px;
    display: block;
}

.spec-item i {
    color: #69B0E7;
    margin-right: 8px;
    width: 14px;
    text-align: center;
    font-size: 13px;
}

.spec-label {
    font-weight: 700;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
    width: auto;
}

.spec-value {
    font-weight: 700;
    color: #282B32;
    font-size: 15px;
    display: block;
    padding-left: 22px;
}

.pch-price .price-val {
    font-size: 22px;
    color: #69B0E7;
    font-weight: 800;
}

.btn-order-alt {
    background-color: #282B32;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    font-size: 13px;
    border: none;
}

.btn-order-alt:hover {
    background-color: #69B0E7;
    color: #fff;
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #69B0E7;
    color: #fff;
    padding: 4px 15px;
    font-size: 10px;
    font-weight: 700;
    border-bottom-left-radius: 10px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .pricing-card-horizontal {
        text-align: center;
        padding: 25px;
    }

    .spec-item {
        justify-content: center;
    }

    .border-start-lg {
        border-top: 1px solid #eee;
        padding-top: 20px;
        margin-top: 20px;
    }

    .pch-price {
        border-top: 1px solid #eee;
        padding-top: 20px;
        margin-top: 20px;
    }
}

@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid #eee;
        padding-left: 30px;
    }
}

/* ==========================================================================
   RESELLER DOMAIN PAGE STYLES
   ========================================================================== */
.domain-table-container {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.table-rm thead th {
    background-color: var(--rm-blue);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 15px;
    border: none;
}

.table-rm tbody td {
    padding: 15px;
    vertical-align: middle;
    font-size: 15px;
    color: #4B5563;
}

.tld-name {
    font-weight: 700;
    color: var(--rm-dark);
}

.price-badge {
    background: rgba(239, 101, 22, 0.1);
    color: var(--rm-orange);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.free-badge {
    background: #D1FAE5;
    color: #065F46;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}