/* 
   Pacset Kenya Limited - Main Stylesheet
   Modern and elegant design with UI/UX best practices
*/

:root {
    /* Main brand colors */
    --primary-color: #facc15;    /* Yellow from logo */
    --secondary-color: #4b5563;  /* Dark Grey from logo */
    --accent-color: #ff7700;     /* Accent color for highlights */
    --text-dark: #333333;        /* Dark text */
    --text-light: #ffffff;       /* Light text */
    --bg-light: #f8f9fa;         /* Light background */
    --bg-dark: #212529;          /* Dark background */
    --border-color: #e0e0e0;     /* Border color */
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--body-font);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #eab308;
    text-decoration: none;
}

p {
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-lg {
    padding: 120px 0;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #fff !important;
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* --- Dropdown Hover Styles --- */
/* Hide Bootstrap's default dropdown arrow for hover */
.navbar-nav .nav-item.dropdown > .dropdown-toggle::after {
    display: none;
}

/* Keep dropdown hidden initially */
.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f8f9fa; /* Light background */
    min-width: 200px; /* Adjust as needed */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1021; /* Ensure it's above other content */
    border-radius: 5px;
    margin-top: 0; /* Align with bottom of nav item */
    border: 1px solid var(--border-color);
}

/* Show dropdown on hover */
.navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* Ensure it stays aligned */
}

/* Style dropdown items */
.navbar-nav .dropdown-menu .dropdown-item {
    color: var(--secondary-color);
    padding: 10px 20px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Dropdown item hover effect */
.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
/* --- End Dropdown Hover Styles --- */


/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s linear 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 0s linear;
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.slide-content {
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    padding: 0 50px;
}

.slide-text {
    flex: 0 0 45%;
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .slide-text {
    opacity: 1;
    transform: translateX(0);
}

.slide-image {
    flex: 0 0 50%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .slide-image {
    opacity: 1;
    transform: translateX(0);
}

.slide-image img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease 0.3s;
}

.slide.active .image-shape {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 992px) {
    .slide-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .slide-text {
        flex: 0 0 auto;
        text-align: center;
        margin-bottom: 30px;
        transform: translateY(-30px);
    }

    .slide-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        transform: translateY(30px);
    }

    .slide.active .slide-text,
    .slide.active .slide-image {
        transform: translateY(0);
    }

    .image-shape {
        display: none;
    }
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s;
    max-width: 500px;
}

.slide.active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.slide-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s, background-color 0.3s ease, color 0.3s ease;
}

.slide.active .slide-btn {
    opacity: 1;
    transform: translateY(0);
}

.slide-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.slider-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-dot.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.slider-dot:focus {
    outline: none;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.slider-dot:hover::before {
    transform: scale(1);
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-dot:focus::after {
    border-color: var(--primary-color);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Prevent text selection on slider controls */
.slider-controls,
.slider-arrow {
    user-select: none;
    -webkit-user-select: none;
}

/* Responsive Slider */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slider-arrow {
        display: none;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Services */
.service-card {
    height: 100%;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* About Page Styles */
.page-header {
    height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 80px;
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Content */
.section-title-sm {
    margin-bottom: 2rem;
}

.section-title-sm .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 500;
}

.company-info {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Vision Mission Section */
.vision-mission-section {
    color: var(--text-light);
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.card-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.feature-card h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .about-image {
        height: 350px;
    }
    
    .experience-badge {
        padding: 15px;
    }
    
    .experience-badge .number {
        font-size: 2rem;
    }
}

/* Testimonials Section */
.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    margin-right: 15px;
    flex-shrink: 0;
}

.testimonial-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-content {
    margin: 0;
    padding: 0;
    border: none;
    font-style: italic;
    color: var(--text-dark);
}

.testimonial-content p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Services Page Styles */
.service-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.service-section.bg-light {
    background-color: var(--bg-light);
}

.service-content {
    padding-right: 50px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(250, 204, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item span {
    font-weight: 500;
    color: var(--secondary-color);
}

.location-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.location-badges .badge {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: none;
}

.location-badges .badge i {
    color: var(--primary-color);
    margin-right: 8px;
}

.location-badges .badge span {
    color: var(--secondary-color); /* Ensure text is visible */
    font-weight: 500;
}

.service-image-wrapper {
    position: relative;
    padding: 20px;
}

.service-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.image-shape {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    transform: rotate(-3deg);
    z-index: -1;
}

@media (max-width: 992px) {
    .service-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .service-features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .service-image {
        height: 350px;
    }
}

/* Contact Page Styles */
.contact-header {
    height: 400px;
}

.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item .icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(250, 204, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-item .icon-wrapper i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-content h5 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.info-content p {
    margin-bottom: 0;
    color: var(--text-dark);
    opacity: 0.8;
}

.branch-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.branch-badge {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 55px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.3);
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Commitment Section */
.commitment-section {
    padding: 100px 0;
    background: white;
}

.commitment-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commitment-card .icon-box {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.commitment-card .icon-box i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.commitment-card h5 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.commitment-card p {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info-card,
    .contact-form {
        padding: 30px;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
    
    .commitment-card {
        padding: 30px;
        margin-bottom: 30px;
    }
}

/* --- Additions for About Page Styling --- */

/* Introduction Section Enhancements */
.about-content p {
    color: #555; /* Slightly lighter text for paragraphs */
    margin-bottom: 1.2rem;
}

.company-info {
    background: #f8f9fa; /* Consistent light background */
    padding: 30px;
    border-radius: 10px; /* Softer corners */
    border: 1px solid #e9ecef; /* Subtle border */
    margin-top: 2rem;
}

.info-item {
    margin-bottom: 1rem; /* Consistent spacing */
}

.info-item i {
    width: 25px; /* Ensure icons align well */
    text-align: center;
}

.about-image-wrapper {
    padding: 15px; /* Slightly reduce padding */
    border: 1px solid #eee; /* Add a subtle frame */
    border-radius: 25px; /* Match image radius + padding */
}

.about-image {
    border-radius: 15px; /* Slightly smaller radius */
    display: block; /* Ensure no extra space below image */
}

.experience-badge {
    bottom: 10px; /* Adjust position */
    right: 10px;
    border-radius: 10px;
    padding: 15px 20px;
}

/* Mission & Vision Section Enhancements */
.vision-mission-section .feature-card {
    border: 1px solid rgba(255, 255, 255, 0.2); /* Add subtle border */
}

.vision-mission-section .feature-card:hover {
    background: rgba(255, 255, 255, 0.15); /* Slightly lighten on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Value Proposition & What Sets Us Apart Enhancements */
/* Assuming a wrapper class like .value-proposition-section for specificity */
.value-proposition-section h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.value-proposition-section ul {
    padding-left: 0; /* Remove default padding */
    list-style: none; /* Ensure list style is none */
}

.value-proposition-section ul li {
    position: relative;
    padding-left: 30px; /* Space for icon */
    margin-bottom: 1rem; /* Spacing between items */
    color: #555;
}

.value-proposition-section ul li i {
    position: absolute;
    left: 0;
    top: 5px; /* Align icon */
    color: var(--primary-color); /* Use primary color for check/star */
    font-size: 1rem;
}

/* Team Section Enhancements */
.team-card {
    border: 1px solid #e9ecef; /* Add subtle border */
    background-color: #fff;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.team-card .card-body {
    padding: 30px;
}

.team-card i.fa-user-tie,
.team-card i.fa-hard-hat {
    font-size: 2.5rem; /* Slightly smaller icons */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.team-card:hover i.fa-user-tie {
    color: var(--primary-color) !important; /* Ensure primary color on hover */
}
.team-card:hover i.fa-hard-hat {
    color: var(--secondary-color) !important; /* Ensure secondary color on hover */
}

.team-card .card-title {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.team-card .card-text {
    color: #777; /* Lighter text for role */
    font-size: 0.9rem;
}

/* --- End of Additions for About Page Styling --- */


/* Featured Projects Section Enhancements */
#featured-projects {
    background-color: var(--bg-light); /* Light background for contrast */
}

.project-card {
    background-color: #fff;
    border-radius: 15px; /* Softer corners */
    overflow: hidden; /* Important for image effects */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth transition with bounce */
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.project-img {
    position: relative;
    overflow: hidden; /* Contain image zoom */
    height: 250px; /* Fixed height for consistency */
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area */
    transition: transform 0.5s ease, filter 0.5s ease; /* Smooth zoom and filter */
}

.project-card:hover .project-img img {
    transform: scale(1.1); /* Zoom effect on hover */
    filter: brightness(0.9); /* Slightly darken image on hover */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)); /* Gradient overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
    opacity: 1; /* Show overlay on hover */
}

.details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transform: scale(0.8); /* Start smaller */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.project-card:hover .details-link {
    transform: scale(1); /* Scale up link on hover */
}

.details-link:hover {
    background-color: var(--accent-color);
    color: var(--text-light);
    transform: scale(1.1); /* Slightly larger on direct hover */
}

.project-content {
    padding: 25px;
    flex-grow: 1; /* Allow content to fill remaining space */
    display: flex;
    flex-direction: column;
}

.project-category {
    display: inline-block;
    background-color: rgba(250, 204, 21, 0.1); /* Light primary background */
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    align-self: flex-start; /* Align to the start */
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-content h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.project-content h3 a:hover {
    color: var(--primary-color);
}

.project-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0; /* Remove default margin */
    flex-grow: 1; /* Allow paragraph to take available space */
}

/* Ensure consistent button style at the bottom */
#featured-projects .text-center .btn-primary {
    margin-top: 20px; /* Add some space above the button */
}

/* --- Team Page Specific Styles --- */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-light); /* Light background for the section */
}

.team-member-card {
    background-color: #ffffff;
    border-radius: 15px; /* Rounded corners */
    border: 1px solid var(--border-color); /* Added subtle border */
    padding: 40px 30px; /* Increased top/bottom padding slightly */
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); /* Subtle shadow */
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-member-card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color); /* Highlight border on hover */
}

.team-member-icon {
    font-size: 4rem; /* Larger icon */
    color: var(--primary-color); /* Use primary color */
    margin-bottom: 25px; /* Increased space below icon */
    transition: color 0.3s ease, transform 0.3s ease; /* Added transform transition */
}

.team-member-card:hover .team-member-icon {
    color: var(--accent-color); /* Change color on hover */
    transform: scale(1.1); /* Slightly scale icon on hover */
}

.team-member-card h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 8px; /* Adjusted margin */
    font-weight: 600;
}

.team-member-card p.text-muted {
    font-size: 0.95rem;
    color: #6c757d; /* Standard muted color */
    margin-bottom: 0; /* Remove bottom margin */
}

/* Adjust column padding for better spacing on smaller screens */
@media (max-width: 768px) {
    .team-member-card {
        margin-bottom: 30px; /* Add space between cards vertically */
        padding: 30px 20px; /* Adjust padding for smaller cards */
    }
}
/* --- End Team Page Specific Styles --- */

/* --- Service Section Specific Slider Styles --- */
.road-slider-wrapper .hero-slider {
    position: relative; /* Context for absolute positioning if needed */
    overflow: hidden; /* Hide slides outside the container */
    border-radius: 8px; /* Match other service images */
    margin-bottom: 1.5rem; /* Add some space below the slider */
}

.road-slider-wrapper .hero-slider .slide {
    display: none; /* Hide slides by default */
    width: 100%;
}

.road-slider-wrapper .hero-slider .slide.active {
    display: block; /* Show active slide */
    animation: fadeIn 1.5s; /* Use existing fade-in */
}

.road-slider-wrapper .hero-slider .slide img.service-image {
    display: block; /* Ensure image is block level */
    width: 100%;   /* Make image fill the slide container */
    height: auto;  /* Maintain aspect ratio */
    object-fit: cover; /* Cover the area, might crop */
    max-height: 450px; /* Optional: Limit max height */
    border-radius: 8px; /* Match other service images */
}

/* Adjust shape position if needed - likely remove or hide for this slider */
.road-slider-wrapper .image-shape {
   display: none; /* Hide the decorative shape for this slider */
}


/* Footer */
footer {
    background-color: #0F1B24;
    color: var(--text-light);
    padding: 60px 0 0;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-links h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.animate-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-brand img {
        max-height: 45px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1rem;
    }
}

/* Accessibility Improvements */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}
