/* ==========================================================================
   HostGill - Shared Components (2026 UI)
   ========================================================================== */

/* 1. Hero & Banners */
.hero {
    padding: 5rem 0 6rem;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-image: url('../images/homepage_banner.png');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 2.5rem;
}
.page-banner {
    background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.5); content: "›"; }
.page-banner .breadcrumb-item a { color: rgba(255, 255, 255, 0.65) !important; text-decoration: none; transition: color 0.2s ease; }
.page-banner .breadcrumb-item a:hover { color: #fff !important; }
.page-banner .breadcrumb-item.active { color: rgba(255, 255, 255, 0.9) !important; }

.promo-highlight-bar {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #1a1a1a;
    padding: 0.75rem 1rem; font-weight: 700; font-size: 0.95rem; border-radius: 8px;
    margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    animation: pulse-bar 2s ease-in-out infinite;
}
@keyframes pulse-bar {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

/* 2. Global Search Box (Desktop & Mobile Fix) */
.search-box-container {
    background: rgba(255,255,255,0.03); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 2rem;
}
.input-domain-search-box.input-group { gap: 0 !important; }
.input-domain-search-box.input-group > * { margin: 0 !important; }
.input-domain-search-box .form-control {
    height: 3.2rem; font-size: 1.05rem;
    border-top-left-radius: 8px !important; border-bottom-left-radius: 8px !important;
    border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important;
    border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s ease;
}
.input-domain-search-box .form-control:focus { box-shadow: 0 0 15px rgba(255,255,255,0.1) !important; border-color: #005793; }
.input-domain-search-box .btn-search {
    height: 3.2rem; padding: 0 2rem;
    border-top-right-radius: 8px !important; border-bottom-right-radius: 8px !important;
    border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important;
    background-color: #005793; border-color: #005793; color: #fff; transition: all 0.3s ease;
}
.input-domain-search-box .btn-search:hover { background-color: #004677; border-color: #004677; }

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .focus-badges { flex-direction: column; padding: 0 20px; }
}
@media (max-width: 575px) {
    .search-box-container { padding: 0.85rem 1rem !important; } /* Space fix for mobile */
    .input-domain-search-box.input-group { flex-direction: column !important; gap: 12px !important; background: transparent !important; border: none !important; }
    .input-domain-search-box .form-control, .input-domain-search-box .btn-search { width: 100% !important; border-radius: 8px !important; justify-content: center; height: 3.2rem; }
    .promo-highlight-bar { flex-wrap: nowrap; font-size: 0.82rem; padding: 0.65rem 0.85rem; text-align: center; }
}

/* 3. Section Titles */
.section-title { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.5px; color: #0f172a; }
.section-subtitle { font-size: 1.1rem; color: #64748b; }

/* 4. Cards (Info, Price, Hosting) */
.info-card, .price-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
    text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    padding: 2rem 1.5rem; height: 100%;
}
.info-card:hover, .price-card:hover { 
    transform: translateY(-8px) !important; box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; border-color: #005793 !important; 
}
.price-card.featured { border: 2px solid #005793; position: relative; }
.price-card.featured::before {
    content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #005793; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 20px; white-space: nowrap;
}
.price-original { font-size: 0.9rem; color: #94a3b8; text-decoration: line-through; }
.price-amount { font-size: 2rem; font-weight: 800; color: #005793; line-height: 1; }

.hosting-card-classic {
    background: #ffffff; border: 1px solid #eef2f6; border-radius: 12px;
    padding: 2.5rem 1.5rem; text-align: center; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.hosting-card-classic:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: #d1d5db; }
.icon-classic { height: 75px; background-size: contain; background-repeat: no-repeat; background-position: center; margin-bottom: 1.5rem; filter: grayscale(100%); transition: all 0.3s ease; }
.hosting-card-classic:hover .icon-classic { filter: grayscale(0%); }
.hosting-title { font-size: 1.4rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; }
.pricing-classic { font-size: 2.2rem; font-weight: 800; color: #111827; margin: 0.5rem 0 1.5rem; }
.feature-list-classic { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.feature-list-classic li { padding: 6px 0; color: #4b5563; font-size: 0.95rem; }
.btn-classic { background-color: transparent; color: #111827; border: 2px solid #111827; font-weight: 600; padding: 10px 0; border-radius: 6px; width: 100%; transition: all 0.3s ease; }
.hosting-card-classic:hover .btn-classic { background-color: #111827; color: #ffffff; }

/* 5. Badges & Accordions */
.focus-badges { display: flex; justify-content: center; gap: 15px; margin-top: 2.5rem; }
.focus-badge {
    background: rgba(255,255,255,0.15); color: #fff; padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.focus-badge:hover { background: #ffffff; color: #0f172a; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

.faq-accordion .accordion-item { border: none !important; border-bottom: 1px solid #e2e8f0 !important; border-radius: 0 !important; }
.faq-accordion .accordion-button { padding: 1.5rem 1.25rem; font-size: 1.05rem; background: transparent !important; box-shadow: none !important; color: #1e293b; }
.faq-accordion .accordion-button:not(.collapsed) { color: #005793; font-weight: 700; }
.faq-accordion .accordion-body { padding: 0 1.25rem 1.5rem 1.25rem; color: #64748b; line-height: 1.7; }

/* ==========================================================================
   6. Hosting Pages
   ========================================================================== */
.hosting-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hosting-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}
.hosting-hero .text-accent { color: #38bdf8; }
.hosting-feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #38bdf8;
    font-size: 1.5rem;
    border-radius: 12px;
}

.hosting-plan-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hosting-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #005793;
}
.hosting-plan-card.recommended {
    border: 2px solid #f59e0b;
    background: #fffdf5;
    position: relative;
}
.hosting-plan-card.recommended::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    letter-spacing: 1px;
}
.hosting-plan-card .dropdown button {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.hosting-plan-card .dropdown button:hover,
.hosting-plan-card .dropdown button[aria-expanded="true"] {
    border-color: #005793;
    background: #fff;
}
.hosting-plan-card .dropdown-menu {
    border: 1px solid #005793;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.hosting-plan-card .dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-bottom: 2px;
}
.hosting-plan-card .dropdown-item:hover {
    background: #f1f5f9;
}

/* 7. Reviews Slider */
.reviews-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    margin-top: -0.5rem;
    
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    width: 380px; 
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: normal;
}
@media (max-width: 768px) {
    .review-card {
        width: 320px;
    }
}
.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}