/* ========== HOSTING GUIDE CARD - MATCHES BCA SEM 4 STYLING ========== */

/* Hosting Callout Box - LARGER SIZE FOR LAPTOP */
.hosting-callout {
    max-width: 650px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hosting-callout:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hosting-callout i {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.hosting-callout h3 {
    color: white;
    margin: 0.8rem 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.hosting-callout p {
    font-size: 1.1rem;
    margin: 0.5rem 0 1.2rem 0;
    opacity: 0.95;
    color: #fbbf24;  /* Golden yellow color */
}

.hosting-btn {
    background: #ff5722;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hosting-btn:hover {
    background: #e64a19;
    transform: scale(1.05);
    color: white;
}

.hosting-tags {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.hosting-tags span {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
}

/* Green Promo Section (After Exam Tips) - NARROWER & CENTERED */
.hosting-promo-section {
    max-width: 650px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hosting-promo-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.hosting-promo-section i {
    font-size: 2.2rem;
    color: #16a34a;
}

.hosting-promo-section h2 {
    color: #166534;
    margin: 0.8rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.hosting-promo-section p {
    color: #14532d;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.promo-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-free {
    background: #22c55e;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-free:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.btn-cheap {
    background: #3b82f6;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cheap:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Inline Link Styling (Inside Web Designing Intro) */
.hosting-inline-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.hosting-inline-link:hover {
    color: #1d4ed8;
}

/* FAQ Hosting Answer */
.faq-hosting-answer {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    border-left: 4px solid #3b82f6;
}

.faq-hosting-answer p {
    margin-bottom: 0.5rem;
}

.faq-hosting-answer ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.faq-hosting-answer li {
    margin-bottom: 0.25rem;
}

/* ========== RESPONSIVE DESIGN FOR ALL DEVICES ========== */

/* Large Desktop/Laptop (1200px and above) */
@media (min-width: 1200px) {
    .hosting-callout {
        max-width: 700px;
        padding: 2.2rem;
    }
    
    .hosting-callout h3 {
        font-size: 1.8rem;
    }
    
    .hosting-callout i {
        font-size: 3.5rem;
    }
    
    .hosting-callout p {
        font-size: 1.2rem;
    }
    
    .hosting-btn {
        padding: 1rem 2.2rem;
        font-size: 1.2rem;
    }
    
    .hosting-tags span {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }
    
    .hosting-promo-section {
        max-width: 700px;
        padding: 2.2rem;
    }
    
    .hosting-promo-section h2 {
        font-size: 1.7rem;
    }
    
    .hosting-promo-section p {
        font-size: 1.1rem;
    }
    
    .btn-free, .btn-cheap {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
}

/* Small Laptop/Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hosting-callout {
        max-width: 650px;
        padding: 2rem;
    }
    
    .hosting-callout h3 {
        font-size: 1.6rem;
    }
    
    .hosting-callout i {
        font-size: 3rem;
    }
    
    .hosting-callout p {
        font-size: 1.1rem;
    }
    
    .hosting-promo-section {
        max-width: 650px;
        padding: 2rem;
    }
}

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .hosting-callout {
        max-width: 550px;
        padding: 1.5rem;
    }
    
    .hosting-callout h3 {
        font-size: 1.3rem;
    }
    
    .hosting-callout i {
        font-size: 2.5rem;
    }
    
    .hosting-callout p {
        font-size: 1rem;
    }
    
    .hosting-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hosting-promo-section {
        max-width: 550px;
        padding: 1.5rem;
    }
    
    .hosting-promo-section h2 {
        font-size: 1.3rem;
    }
}

/* Mobile Landscape (480px - 767px) */
@media (max-width: 767px) {
    .hosting-callout {
        max-width: 90%;
        margin: 1.5rem auto;
        padding: 1.2rem;
        border-radius: 16px;
    }
    
    .hosting-callout h3 {
        font-size: 1.1rem;
    }
    
    .hosting-callout i {
        font-size: 2rem;
    }
    
    .hosting-callout p {
        font-size: 0.9rem;
    }
    
    .hosting-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hosting-tags {
        gap: 0.5rem;
    }
    
    .hosting-tags span {
        padding: 0.25rem 0.7rem;
        font-size: 0.7rem;
    }
    
    .hosting-promo-section {
        max-width: 90%;
        margin: 1.5rem auto;
        padding: 1.2rem;
    }
    
    .hosting-promo-section h2 {
        font-size: 1.1rem;
    }
    
    .hosting-promo-section p {
        font-size: 0.9rem;
    }
    
    .promo-buttons {
        gap: 0.8rem;
    }
    
    .btn-free, .btn-cheap {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait (up to 479px) */
@media (max-width: 479px) {
    .hosting-callout {
        max-width: 95%;
        padding: 1rem;
        border-radius: 14px;
    }
    
    .hosting-callout h3 {
        font-size: 1rem;
    }
    
    .hosting-callout i {
        font-size: 1.8rem;
    }
    
    .hosting-callout p {
        font-size: 0.85rem;
    }
    
    .hosting-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .hosting-tags {
        gap: 0.4rem;
    }
    
    .hosting-tags span {
        padding: 0.2rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .hosting-promo-section {
        max-width: 95%;
        padding: 1rem;
    }
    
    .hosting-promo-section h2 {
        font-size: 1rem;
    }
    
    .hosting-promo-section p {
        font-size: 0.85rem;
    }
    
    .promo-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }
    
    .btn-free, .btn-cheap {
        width: 80%;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .faq-hosting-answer {
        background: #1e293b;
        border-left-color: #60a5fa;
    }
    
    .faq-hosting-answer p,
    .faq-hosting-answer li {
        color: #e2e8f0;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .hosting-callout,
    .hosting-btn,
    .btn-free,
    .btn-cheap,
    .hosting-promo-section {
        transition: none;
    }
    
    .hosting-callout:hover,
    .hosting-promo-section:hover {
        transform: none;
    }
}