
.section-subtitle {
    color: var(--primary-color);
   }

/* Contact Page Styles */
.contact-hero {
    position: relative;
    min-height: 50vh;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: url('../images/contact-hero.avif') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    background-color: var(--hero-bg-color);
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.contact-hero .container {
    position: relative;
    z-index: 3;
}

.contact-hero h1 {
    color: var(--white-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    color: var(--white-color);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Contact Info Section */
.contact-info {
    padding: 5rem 0;
    background-color: var(--primary-bg-color);
}

.contact-info .row {
    display: flex;
    margin: 0 -15px;
}

.contact-info .col-12 {
    padding: 0 15px;
    margin-bottom: 30px;
}

.contact-info-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: rotate(360deg);
}

.contact-info-icon i {
    color: #ffffff;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.contact-info-text {
    color: var(--primary-p-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--primary-p-color);
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list li i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    color: var(--primary-color);
    margin-top: 4px;
    transition: var(--transition);
}

.contact-info-list a,
.contact-info-list span {
    color: var(--primary-p-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info-list a:hover {
    color: var(--primary-color);
}

.contact-info-list a:hover + i {
    transform: scale(1.2);
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background-color: var(--primary-bg-color);
    color: var(--primary-p-color);
}

.team-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.team-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.team-position {
    color: var(--primary-p-color);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.team-contact i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.team-contact a {
    color: var(--primary-p-color);
    text-decoration: none;
    transition: var(--transition);
}

.team-contact a:hover {
    color: var(--primary-color);
}

.team-contact a:hover + i {
    transform: scale(1.2);
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.location-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.location-map {
    width: 100%;
    height: 250px;
    border: none;
}

.location-content {
    padding: 1.5rem;
}

.location-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-t-color) !important;
}

.location-address {
    margin-bottom: 1rem;
}

.location-address p {
    margin-bottom: 0.5rem;
    color: var(--primary-t-color);
}

.location-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.location-contact i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.location-contact span {
    color: var(--primary-t-color) !important;
}

.location-contact a {
    color: var(--primary-t-color) !important;
    text-decoration: none;
    transition: var(--transition);
}

.location-contact a:hover {
    color: var(--primary-color);
}

.location-contact a:hover + i {
    transform: scale(1.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    text-decoration: none !important;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

/* Special styles for the contact page */

a:not(.btn), a:link:not(.btn), a:visited:not(.btn), a:hover:not(.btn), a:active:not(.btn) {
    color: var(--primary-p-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        min-height: 40vh;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-info,
    .team-section,
    .location-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-info-card,
    .team-card,
    .location-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
}

/* Make all headings light colored */
h1, h2, h3, h4, h5, h6,
.contact-info-title,
.team-name {
    color: var(--dark-text) !important;
}

/* Make all paragraphs consistent */
p {
    color: var(--primary-p-color);
}

footer {
    position: relative;
    background-color: var(--footer-bg-color);
}

footer.odd {
    background-color: #111111;
}

/* Global container rules */
.container {
    max-width: 1170px;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

/* Global row rules */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    width: 100%;
}
