/**
 * Custom Styles for DHD Solution Hosting Platform
 */

:root {
    --primary-color: #00A3FF;
    --secondary-color: #1E293B;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --bg-light: #F8FAFC;
    --text-muted: #64748B;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #334155;
}

.dhd-logo {
    display: block;
    float: left;
    width: 47px;
    height: 47px;
    background-image: url('../images/logo_small.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.language-switcher{
    position: relative;
    top: -3px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #00A3FF 0%, #0080CC 100%);
}

.home-page h1, .about-hero h1, .blog-hero h1, .contact-hero h1 {
    color: #FFFFFF;
}
/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #0080CC;
    border-color: #0080CC;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    font-weight: 600;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

.btn-register{
    margin-top: 5px;
}

/* Cards */
.card {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    font-weight: 500;
}

.navbar-brand {
    font-size: 1.5rem;
    line-height: 47px;
}

.nav-link {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

.dropdown-item.active {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Input Groups */
.input-group-text {
    background-color: var(--bg-light);
    border-right: 0;
}

.input-group .form-control {
    border-left: 0;
}

.input-group .form-control:focus {
    border-left: 0;
}

/* Badges */
.badge {
    /* font-weight: normal;
    padding: 0px;
    text-align: center;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    line-height: 20px;
    margin-top: 10px;
    margin-left: -10px;
    font-size: xx-small; */
}

/* Tables */
.table {
    vertical-align: middle;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 !important;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }
}

/* Sticky Header */
.sticky-top {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0080CC;
}
