/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Color Palette Variables */
:root {
    --primary-red: #b83d3d;
    --secondary-dark-red: #4a3535;
    --dark-charcoal: #262626;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-charcoal);
    background-color: var(--white);
    padding-top: 50px; 
    margin-bottom: 50px;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-dark-red);
    font-weight: 700;
}
.page-header {
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: var(--dark-charcoal);
}

/* Modern Navbar */
.navbar {
    background-color: var(--dark-charcoal);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.navbar-brand img {
    max-height: 30px;
    width: auto;
}
.nav-link {
    color: var(--white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-red) !important;
}
.dropdown-menu {
    background-color: var(--dark-charcoal);
    border: none;
}
.dropdown-item {
    color: var(--white);
}
.dropdown-item:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    border-radius: 0;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: var(--secondary-dark-red);
    border-color: var(--secondary-dark-red);
}

/* Our People - Card & Hover Effect */
.team-card {
    border: none;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.img-wrapper {
    overflow: hidden;
    background-color: var(--dark-charcoal); /* Nice backdrop if image is transparent */
}
.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}
.team-card:hover .img-wrapper img {
    transform: scale(1.08); /* Nice full zoom effect */
}
.team-social a {
    color: var(--secondary-dark-red);
    margin: 0 8px;
    transition: color 0.3s ease;
}
.team-social a:hover {
    color: var(--primary-red);
}

/* Services Panels */
.service-card {
    border: none;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}
.service-card .card-header {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    color: var(--dark-charcoal);
}

/* Footer */
footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 20px;
    /* margin-top: 60px; */
    position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 50px; /* Fixed height is mandatory for this effect */
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
}
footer a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--white);
}
.social-icons-footer a {
    color: var(--white);
    margin: 0 10px;
}
.social-icons-footer a:hover {
    color: var(--primary-red);
}