/* style.css - Custom Styling for Tranz Afrik Shipping Header */

/* Set font family for a clean look */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

/* Top Bar Specifics */
.top-bar {
    font-size: 0.9rem;
}

.top-bar .gap-3 {
    gap: 1rem !important;
}

/* Add a class for the specific icon behavior */
.font-awesome-icons i {
    width: 20px;
    text-align: center;
}

/* Main Header and Logo Specifics */
.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-container {
    color: inherit;
}

/* Stylable placeholder for the green Africa map silhouette */
.africa-placeholder {
    width: 30px; /* Adjust size */
    height: 30px; /* Adjust size */
    background-color: #2e7d32; /* The green color */
    border-radius: 50%; /* Create a circular outline */
    position: relative;
    /* Optional: Use a simple SVG as a background or content for a better placeholder */
    /* background-image: url('path/to/africa-map-silhouette.svg'); */
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
}

/* Add an internal shape concept for the silhouette */
.africa-placeholder::before {
    content: '';
    position: absolute;
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    background-color: transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #ffffff;
    /* This creates a triangle shape for an abstract concept of the silhouette */
    clip-path: polygon(10% 20%, 90% 10%, 90% 90%, 10% 80%); /* Example polygon shape */
}

.logo-text {
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.1rem;
}

.shipping-text {
    font-weight: 300;
    font-size: 0.9rem;
}

/* Menu and Dropdown Styling */
.navbar-nav .nav-link {
    color: #444; /* Standard unselected text color */
    font-weight: 600;
}

/* Define the specific green color for the active link */
.navbar-nav .nav-link.active,
.navbar-nav .dropdown.active .nav-link {
    color: #2e7d32 !important; /* Specific green from image */
}

/* Dropdown Menu specifics */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 180px;
}

.dropdown-item {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    color: #444;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #2e7d32;
}
/* Hero Slideshow Styling */
.hero-slider {
    width: 100%;
    overflow: hidden;
}

.hero-slide-img {
    height: 600px;
    object-fit: cover;
    object-position: center;
}

/* Dark overlay to ensure white text is readable over any photo */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 10%;
    right: 10%;
}

/* Custom Green Button matching site theme */
.btn-green {
    background-color: #2e7d32;
    border-color: #2e7d32;
    color: #ffffff;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-green:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    color: #ffffff;
}

/* Responsive height adjustment for mobile screens */
@media (max-width: 768px) {
    .hero-slide-img {
        height: 420px;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}
.text-justify-custom p {
    text-align: justify;
    line-height: 1.7;
    color: #333333;
}
/* Product Cards Grid Styling */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
}

.product-card-img {
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.product-card-title {
    color: #222222;
    transition: color 0.3s ease;
}

.product-card:hover .product-card-title {
    color: #2e7d32;
}
.about-slider {
    width: 100%;
    overflow: hidden;
}

.about-banner-img {
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.text-green {
    color: #2e7d32 !important;
}

.about-feature-card {
    background-color: #f8f9fa;
    border-top: 4px solid #2e7d32 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 768px) {
    .about-banner-img {
        height: 280px;
    }
}
.product-table td {
    width: 25%;
    transition: background-color 0.3s ease;
}

.product-table td:hover {
    background-color: #ffffff !important;
}

.product-table td:hover h5 {
    color: #2e7d32;
}

.product-table-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}
.canopy-inner-slide-img {
    height: 400px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .canopy-inner-slide-img {
        height: 280px;
    }
}
.bg-green {
    background-color: #2e7d32 !important;
}