/* ==========================================
   PhD Aid - Global Custom Stylesheet
   Theme: Black and Crimson Red
   ================================---------- */

:root {
    --brand-red: #dc3545;
    --brand-dark: #111111;
    --brand-dark-card: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Navbar Branding */
.navbar-brand span {
    color: var(--brand-red) !important;
}

.navbar .nav-link:hover, 
.navbar .nav-link.active {
    color: var(--brand-red) !important;
}

/* Dropdown hover behavior */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Hero Section for Home Page (Uses hero-bg.jpg) */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 120px 0;
}

/* Hero Section for Services Page (Uses services-hero.jpg) */
.services-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/services-hero.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0;
}

/* Hero Section for Domains Page (Uses domains-hero.jpg) */
.domains-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/services-hero.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0;
}

/* Hero Section for Contact Page */
.contact-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/contact-hero.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0;
}

/* Buttons */
.btn-brand-red {
    background-color: var(--brand-red);
    color: #ffffff;
    border: none;
}

.btn-brand-red:hover {
    background-color: #b02a37;
    color: #ffffff;
}

/* Section Headings with Red Accent Line */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-red);
}

/* Service Cards */
.service-card {
    border-top: 4px solid var(--brand-red) !important;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.badge-brand {
    background-color: var(--brand-red);
    color: #ffffff;
}

/* Promises Section */
.promises-section {
    background-color: var(--brand-dark);
}

/* Footer Styling */
footer {
    background-color: var(--brand-dark);
    color: #d1d1d1;
}

footer a:hover {
    color: var(--brand-red) !important;
}