/* Fonts */
body {
    font-family: 'Cairo', sans-serif;
    text-align: start;
}

/* Colors */
:root {
    --bs-primary: #ffc107;
    --bs-primary-rgb: 255, 193, 7;
}

.text-primary {
    color: #ffc107 !important;
}

.bg-primary {
    background-color: #ffc107 !important;
}

.btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    /* Better contrast on yellow */
}

.btn-primary:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #000;
}

.btn-outline-primary {
    color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-primary:hover {
    background-color: #ffc107;
    color: #000;
}

.bg-light-primary {
    background-color: rgba(255, 193, 7, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    padding-top: 80px;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0;
}

/* Contact Form */
.form-control:focus {
    box-shadow: none;
    border-color: #ffc107;
}

.bg-darker {
    background-color: #1a1a1a;
}

#articles .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#articles .card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

#articles .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#articles .card-title {
    min-height: 3em;
}

#articles .card-text {
    flex-grow: 1;
}
