/* === MALEYA DISTRIBUTION - CUSTOM STYLES === */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #FF6B35;
    --secondary-color: #FFC107;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --navbar-height: 70px;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* === UTILITY CLASSES === */
.section-padding {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* === TYPOGRAPHY === */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title .text-warning {
    color: var(--secondary-color) !important;
}

/* === NAVIGATION === */
#mainNav {
    background-color: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
    height: var(--navbar-height);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#mainNav.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand .logo {
    height: 45px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* === REDESIGNED HERO SECTION === */
.hero-section-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.9), rgba(255,193,7,0.85));
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-content-box {
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-radius: 50px;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.stat-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* === ABOUT SECTION === */
.mission-vision-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mv-card {
    display: flex;
    align-items: start;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.mv-icon {
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.about-image-section .image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1rem;
}

.values-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.value-item {
    text-align: center;
    flex: 1;
}

.value-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* === SERVICES SECTION === */
.service-card-new {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* === DISTRIBUTION NETWORK === */
.map-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.map-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    text-align: center;
}

.distribution-points {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.point-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.point-item i {
    margin-right: 10px;
}

.fleet-stats {
    margin-top: 2rem;
}

.fleet-stat {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* === BRANDS SECTION === */
.brand-card-new {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.brand-card-new.exclusive {
    border: 2px solid var(--secondary-color);
}

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

.brand-image-placeholder {
    background: var(--light-bg);
    padding: 40px;
    text-align: center;
    border-bottom: 2px solid #eee;
}

.brand-info {
    padding: 1.5rem;
}

.sizes-container {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.sizes-list {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.brand-card-small {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.brand-logo-small img {
    width: 100%;
    max-width: 150px;
    height: 60px;
    object-fit: contain;
}

/* === CLIENTS SECTION === */
.major-partners-section {
    margin-bottom: 4rem;
}

.partner-logo-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.partner-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.partner-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.partner-logo-card:hover::before {
    transform: scaleX(1);
}

.partner-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

.partner-logo-card h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.partner-logo-card p {
    color: var(--text-light);
    margin: 0;
}

/* Client Categories Statistics - Updated */
.client-categories-section {
    background: var(--light-bg);
    padding: 3rem 0;
    border-radius: 20px;
    margin-top: 2rem;
}

.client-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.client-stat-card .stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.client-stat-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.client-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.client-stat-card p {
    color: var(--text-light);
    margin: 0;
}

/* Existing client styles - keeping for reference */
.client-type-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.client-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.client-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.client-examples {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1rem;
}

.client-examples li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #eee;
}

/* Testimonials */
.testimonial-new {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.testimonial-author strong {
    display: block;
    color: var(--dark-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === WHY PARTNER SECTION === */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.advantage-card {
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

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

/* === CONTACT SECTION === */
.contact-info-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

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

.contact-item i {
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* === FOOTER === */
.footer-section {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0 1rem;
}

/* === SCROLL TO TOP === */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* === LOADING === */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-bg);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navbar-collapse {
        background: rgba(33, 37, 41, 0.98);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section-new {
        min-height: 100vh;
        padding-top: var(--navbar-height);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats-grid {
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
}