/* ===== Zarghoon Boti Logistical Services - Complete Stylesheet ===== */
:root {
    --primary-blue: #0056b3;
    --primary-dark: #1a3a5f;
    --secondary-orange: #ff7f00;
    --secondary-orange-light: #ff9a3c;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --border-radius: 10px;
    --box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    --box-shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-dark);
    line-height: 1.7;
    padding-top: 80px;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===== Image Styles ===== */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 10px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--box-shadow);
    margin: -40px auto 15px;
}

.team-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.guide-cover-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.partner-box img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-box:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
    margin-top: -80px;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.3);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
}

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

.carousel-caption p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-content {
    padding: 25px;
    position: relative;
}

/*.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -55px auto 20px;
    border: 5px solid var(--white);
    box-shadow: var(--box-shadow);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}*/

.service-card p {
    color: var(--gray-medium);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ===== Project Cards ===== */
.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.project-body {
    padding: 20px;
}

.project-tag {
    display: inline-block;
    background: var(--secondary-orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-body h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.project-body h4 {
    font-size: 1rem;
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.project-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* ===== Feature Boxes ===== */
.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

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

.feature-icon-wrapper img {
    display: none;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--gray-medium);
    margin-bottom: 0;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: var(--box-shadow);
    height: 100%;
    text-align: center;
    position: relative;
}

.testimonial-card .fa-quote-left {
    font-size: 2rem;
    color: var(--secondary-orange);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.testimonial-card h5 {
    font-size: 0.95rem;
    color: var(--gray-medium);
    margin-bottom: 0;
}

/* ===== Team Cards ===== */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--secondary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-info .bio {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ===== Guide Cards ===== */
.guide-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.guide-content {
    padding: 20px;
}

.guide-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.guide-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guide-card p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.guide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

/* ===== Tracking Page ===== */
.tracking-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.tracking-results-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gray-light);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.timeline-item.completed .timeline-marker {
    background: var(--success);
    box-shadow: 0 0 0 2px var(--success);
}

.timeline-item.active .timeline-marker {
    background: var(--secondary-orange);
    box-shadow: 0 0 0 2px var(--secondary-orange);
    animation: pulse 2s infinite;
}

.timeline-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,127,0,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255,127,0,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,127,0,0);
    }
}

/* ===== Blog Page ===== */
.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.news-date {
    background: var(--primary-dark);
    color: var(--white);
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.news-date .year {
    font-size: 0.9rem;
    opacity: 0.8;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-meta {
    color: var(--secondary-orange);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== Careers Page ===== */
.job-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 25px;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow-hover);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.job-location {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.job-type {
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-type.full-time {
    background: var(--success);
    color: var(--white);
}

.job-type.part-time {
    background: var(--warning);
    color: var(--dark);
}

.job-type.contract {
    background: var(--primary-blue);
    color: var(--white);
}

.job-body h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.job-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.job-body li {
    margin-bottom: 5px;
    color: var(--gray-medium);
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .carousel-caption h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        height: 600px;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .project-card img {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        height: 200px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: space-around;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .carousel-item {
        height: 500px;
        min-height: auto;
    }
    
    .carousel-caption {
        bottom: 50%;
        transform: translateY(50%);
        padding: 20px;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .service-img {
        height: 180px;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .job-type {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 450px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
    }
    
    .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}