/* Custom Styling for Metrosoft Hosting */

:root {
    --primary-color: #7fc800;
    /* Metrosoft Green */
    --secondary-color: #9cd42c;
    --accent-color: #2e7d32;
    --dark-bg: #1b262c;
    --light-bg: #f4f7f6;
    --hero-gradient: linear-gradient(135deg, rgba(27, 38, 44, 0.9), rgba(15, 76, 117, 0.9)), url('../../assets/img/hero-bg.jpg');
}

/* Global Button & Link Branding */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Catch-all for other Bootstrap blue elements */
.text-primary,
.text-info,
.alert-info,
.label-primary,
.label-info {
    color: var(--primary-color) !important;
}

.bg-primary,
.bg-info,
.badge-primary,
.badge-info,
.progress-bar {
    background-color: var(--primary-color) !important;
}

.list-group-item.active,
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

a {
    color: var(--accent-color);
}

a:hover {
    color: var(--primary-color);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

.primary-bg-color {
    background-color: #fff !important;
}

/* Header & Nav */
.top-utility-bar {
    background: var(--dark-bg);
    color: #fff;
    font-size: 0.85rem;
    padding: 4px 0;
}

.top-utility-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.top-utility-bar a:hover {
    color: var(--primary-color);
}

.main-nav {
    border-bottom: 2px solid #eee;
    padding: 5px 0;
}

.navbar-brand .logo-img {
    max-height: 40px;
}

.main-nav .nav-link {
    font-weight: 600;
    color: #444 !important;
    padding: 5px 15px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.main-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-offer {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 6px 15px !important;
}

.btn-offer:hover {
    background: var(--accent-color) !important;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 35, 10, 0.8), rgba(0, 15, 0, 0.9)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=1920&h=400');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 30px 0 15px;
    /* Extremely reduced size */
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(127, 200, 0, 0.1);
    /* Subtle green tint over the background image */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    /* Sleeker size */
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    /* Sleeker size */
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

/* Hero Domain Search Box Styling */
.hero-domain-search .input-group {
    background: rgba(255, 255, 255, 0.1);
    /* Glassmorphism effect */
    backdrop-filter: blur(8px);
    border-radius: 4px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.hero-domain-search .input-group-text {
    border: none;
    border-right: 1px solid #eee;
}

.hero-domain-search .form-control {
    height: 45px;
    /* Compact height */
    font-size: 0.95rem;
    border-radius: 0 !important;
}

.hero-domain-search .btn {
    height: 45px;
    /* Compact height */
    font-size: 0.9rem;
    border-radius: 0 !important;
    margin-left: 5px;
}

.tld-pricing {
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tld-item {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 15px;
}

.tld-item:last-child {
    border-right: none;
}

/* Pricing Cards */
.pricing-section {
    padding: 20px 0 30px;
    background: #fdfdfd;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
}

.pricing-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background: var(--primary-color);
    padding: 20px 10px;
    color: #fff;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.pricing-price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 10px 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-btn {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--dark-bg);
    color: #fff;
    text-decoration: none;
}

.pricing-features {
    padding: 20px 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 8px 10px;
    border-bottom: 1px solid #efefef;
    color: #555;
    font-size: 0.85rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.discount-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ff4b2b;
    /* Striking Professional Red */
    color: #fff;
    padding: 5px 35px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

/* Icons styling */
.action-icon-btns .ico-container {
    background: #fff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
}

.footer {
    background: #1b262c;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 35px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-about {
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 18px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact-list i {
    width: 25px;
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}