:root {
    /* Color Variables */
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #800000;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    /* Border Radius */
    --border-radius: 8px;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

/* Global Styles */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    background-color: #ffffff !important;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 60px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
    color: #333333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fd7e14 !important;
}

.navbar-dark .navbar-toggler {
    border-color: #333333;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: #333333;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;
    color: #fd7e14;
}

.dropdown-item.active {
    background-color: #f8f9fa;
    color: #fd7e14;
}

/* Add shadow to navbar when scrolling */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Slider */
.hero-slider {
    margin-top: -76px;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Quick Links */
.quick-link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all var(--transition-speed);
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: #fd7e14; /* Professional orange color */
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quick-link-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.quick-link-card .btn-outline-primary {
    color: #fd7e14;
    border-color: #fd7e14;
}

.quick-link-card .btn-outline-primary:hover {
    background-color: #fd7e14;
    border-color: #fd7e14;
    color: white;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    text-align: center;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: #fd7e14; /* Professional orange color */
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #fd7e14;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
}

footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

footer .contact-info,
footer .business-hours {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

footer .small-box {
    padding: 0.75rem;
    margin-top: 1rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    height: 150px;
}

footer .small-box h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

footer .contact-info p {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

footer .contact-info i {
    color: #fd7e14; /* Orange color */
    width: 20px;    
    text-align: center;
    margin-right: 0.5rem;
}

footer .list-unstyled {
    margin-bottom: 0.5rem;
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

footer .list-unstyled i {
    color: #fd7e14; /* Orange color */
    margin-right: 0.5rem;
    width: 16px;
}

footer .business-hours p {
    font-size: 0.9rem;
    line-height: 1.4;
}

footer .btn-outline-light {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer .small-box {
        min-height: auto;
        margin-bottom: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: var(--white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Team Cards */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    margin-bottom: var(--spacing-md);
}

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

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-content .position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-content .bio {
    margin-bottom: 1rem;
}

.team-content .social-links a {
    color: var(--primary-color);
    margin: 0 0.5rem;
    font-size: 1.25rem;
    transition: color var(--transition-speed);
}

.team-content .social-links a:hover {
    color: var(--accent-color);
}

/* Value Cards */
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    height: 100%;
    text-align: center;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-date {
    position: absolute;
    top: 0;
    right: -100px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.timeline-item:nth-child(even) .timeline-date {
    right: auto;
    left: -100px;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.9)), url('../assets/images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0;
    margin-top: -76px;
}

.page-header .section-title {
    color: var(--white);
}

.page-header .section-title::after {
    background-color: #fd7e14;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }

    .timeline-date {
        right: auto;
        left: 0;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: 0;
    }
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    height: 100%;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.9)), url('../assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section .lead {
    color: var(--white);
    opacity: 0.9;
}

/* Resource Cards */
.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    height: 100%;
    text-align: center;
}

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

.resource-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.resource-icon i {
    font-size: 2rem;
    color: var(--white);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-links {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: left;
}

.resource-links li {
    margin-bottom: 0.5rem;
}

.resource-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.resource-links a:hover {
    color: var(--accent-color);
}

/* Contact Page Styles */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: #fd7e14;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: all var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .info-item {
        margin-bottom: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Logo Animation */
@keyframes logoFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Removing animation and hover effects from navbar brand img */
.navbar-brand img {
    /* animation: logoFloat 3s ease-in-out infinite; */
}

.navbar-brand:hover img {
    /* animation: none; */
    /* transform: scale(1.05) rotate(-2deg); */
}

/* Quick Links */
.list-unstyled li i {
    color: #fd7e14; /* Orange color */
    margin-right: 0.5rem;
}

/* Services List */
.list-unstyled li i.fa-check {
    color: #fd7e14; /* Orange color */
    margin-right: 0.5rem;
}

/* Contact Page Styles */
.contact-info .info-item i {
    color: #fd7e14;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-info .info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-info .info-item p {
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    transition: all var(--transition-speed);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.contact-form .btn-primary {
    background-color: #fd7e14;
    border-color: #fd7e14;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}

.contact-form .btn-primary:hover {
    background-color: #e66a00;
    border-color: #e66a00;
    transform: translateY(-2px);
}

/* Footer Icons */
footer .contact-info i {
    color: #fd7e14;
    width: 20px;    
    text-align: center;
    margin-right: 0.5rem;
}

footer .list-unstyled i {
    color: #fd7e14;
    margin-right: 0.5rem;
    width: 16px;
}

footer .business-hours i {
    color: #fd7e14;
    margin-right: 0.5rem;
}

/* Services List */
footer .list-unstyled li i.fa-check {
    color: #fd7e14;
    margin-right: 0.5rem;
}