/*
Theme Name: road-Spice-Master v1.6
Theme URI: https://spice.digital
Author: Spiecfy
Author URI: https://spice.digital
Description: A custom WordPress theme for Africa Media Trust with full customizer support.
Version: 1.324
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: road-spice
*/

/* ==================== */
/* CSS Variables         */
/* ==================== */         
/*logo*/
/* styles.css *
.custom-logo {
  max-height: 80px;
  max-width: 80px
  
}

/**
/* Top Utility Bar *
        .utility-bar {
            background-color:#0e8e37;
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }
        
        .utility-contact span {
            margin-right: 20px;
        }
        
        .utility-contact i {
            margin-right: 5px;
            color: #ffffff;
        }
        
        .social-icons-top a {
            color: white;
            margin-left: 15px;
            font-size: 1rem;
            transition: color 0.3s;
        }
        
        .social-icons-top a:hover {
            color: #f3930b;
        }
        
        /* Main Navbar 
        .navbar {
            background-color: #ffffff;
            padding: 15px 0;
        }
        
        .navbar-brand {
            display: flex;
            align-items: center;
            color: #0e8e37;
        }
        .navbar-brand:hover {
            display: flex;
            align-items: center;
            color: #f3930b;
        }
        
        .logo-img {
            height: 60px;
            margin-right: 10px;
        }
        
        .nav-link {
            color: rgb(6, 1, 1) !important;
            padding: 8px 15px !important;
            transition: background-color 0.3s;
        }
        
        .nav-link:hover {
            background-color: #f3930b;
            border-radius: 4px;
        }
        
        /* Hover dropdowns *
        @media (min-width: 992px) {
            .dropdown:hover .dropdown-menu {
                display: block;
                margin-top: 0;
            }
        }
        
        .dropdown-menu {
            background-color: #0e8e37;
            border: none;
            border-radius: 0;
            padding: 0;
        }
        
        .dropdown-item {
            color: rgb(255, 255, 255) !important;
            padding: 10px 20px;
            border-bottom: 1px solid #f3930b;
            transition: background-color 0.3s;
            background-color: #0e8e37;
        }
        
        .dropdown-item:hover {
            background-color: #f3930b;
        }
        
        .dropdown-divider {
            border-color: #f3930b;
            margin: 0;
        }
    
        /* Hero Section 
        .hero-section {
            height: 500px;
            overflow: hidden;
            position: relative;
        }
        
        .carousel-item {
            height: 500px;
        }
        
        .carousel-item img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
        
        .carousel-caption {
            background-color: rgba(0, 0, 0, 0.6);
            border-radius: 10px;
            padding: 20px;
        }
        
        /* About Section 
        .about-section {
            padding: 80px 0;
            background-color: #f8f9fa;
        }
        
        .about-img {
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            max-width: 70%;
            height: auto;
        }
        
        .about-content {
            padding: 20px;
        }
       .initials {
  color: #0e8e37;
  font-weight: bold;
}
        /* Footer 
        footer {
            background-color: #0e8e37;
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-logo {
            height: 50px;
            margin-bottom: 20px;
        }
        
        .footer-links h5 {
            color: #fff;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-links ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #adb5bd;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.5rem;
            margin-right: 15px;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: #f3930b;
        }
        
        .copyright {
            border-top: 1px solid #f3930b;
            padding-top: 20px;
            margin-top: 40px;
            color: #adb5bd;
            font-size: 0.9rem;
        }
        /* Animate underline on hover for all footer links 
.footer-links a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit; /* optional: keep existing text color 
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #007BFF; /* or use currentColor for same as text 
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

    /* End Discover Section */   
  
        /* Responsive Adjustments 
        @media (max-width: 768px) {
            .utility-bar {
                text-align: center;
                padding: 10px 0;
            }
            
            .utility-contact span {
                display: block;
                margin: 5px 0;
            }
            
            .social-icons-top {
                margin-top: 10px;
                justify-content: center;
            }
            
            .social-icons-top a {
                margin: 0 8px;
            }
            
            .hero-section, .carousel-item {
                height: 300px;
            }
            
            .about-section {
                padding: 40px 0;
            }
            
            .footer-links {
                margin-bottom: 30px;
            }
        }
        /* Custom mobile menu override  top
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%; /* just below navbar *
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff; /* or your navbar background *
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
}
