/* Custom Styles for Talinda East Africa Website */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%), url('../images/backgrounds/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.05) 0%, rgba(25, 135, 84, 0.05) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badge .badge {
    font-size: 0.9rem;
    border-radius: 25px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1rem 0;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

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

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Service Preview Cards */
.service-preview-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

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

.service-preview-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Client Category Cards */
.client-category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.client-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.client-category-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-stats .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Page Hero */
.page-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(245, 158, 11, 0.9) 100%), url('../images/backgrounds/page-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-stats-mini {
    text-align: center;
}

.stat-mini h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.stat-mini small {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Company Highlights */
.company-highlights {
    padding: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

/* Foundation Cards */
.foundation-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.foundation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.foundation-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Value Detail Cards */
.value-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.value-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.value-detail-card .value-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.value-list {
    list-style: none;
    padding: 0;
}

.value-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.value-list li:last-child {
    border-bottom: none;
}

/* Expertise Cards */
.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.expertise-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Service Images */
.service-image img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Project Images */
.project-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Background Image Fallbacks */
.hero-section {
    background-color: #f8f9fa;
}

.page-hero {
    background-color: var(--primary-color);
}

.footer-gradient {
    background-color: var(--primary-color);
}

/* Bootstrap Color Overrides */
.bg-danger {
    background-color: #1e3a8a !important;
}

.btn-danger {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.25);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background-color: #1e40af !important;
    border-color: #1e40af !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(30, 58, 138, 0.35);
}

.btn-outline-danger {
    color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(30, 58, 138, 0.35);
}

.text-danger {
    color: #1e3a8a !important;
}

.text-warning {
    color: #f59e0b !important;
}

.bg-danger-subtle {
    background-color: rgba(30, 58, 138, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(245, 158, 11, 0.1) !important;
}

.badge.bg-success {
    background-color: #10b981 !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: #f59e0b !important;
    color: white !important;
}

.badge.bg-danger {
    background-color: #1e3a8a !important;
    color: white !important;
}

.badge.bg-info {
    background-color: #10b981 !important;
    color: white !important;
}

.badge.bg-primary {
    background-color: #1e3a8a !important;
    color: white !important;
}

/* Admin Section Color Overrides */
.btn-danger, .btn.btn-danger {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

.btn-outline-danger, .btn.btn-outline-danger {
    color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    background-color: transparent !important;
}

.btn-outline-danger:hover, .btn.btn-outline-danger:hover {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* Current price styling */
.current-price {
    color: #1e3a8a !important;
    font-weight: 700;
}

/* Star ratings */
.fa-star.text-warning {
    color: #f59e0b !important;
}

.fa-star-half-alt.text-warning {
    color: #f59e0b !important;
}

/* Professional enhancements */
.product-card {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.feature-card, .service-preview-card {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover, .service-preview-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Professional Homepage Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.metric-card {
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.client-badge {
    transition: all 0.3s ease;
}

.client-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.dashboard-card {
    animation: float 6s ease-in-out infinite;
}

.security-card {
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
}

.hero-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4) !important;
}

/* Professional Image Enhancements */
.solar-image-container:hover .image-overlay {
    opacity: 1 !important;
}

.image-overlay {
    cursor: pointer;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.floating-icon {
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Enhanced Dashboard Styling */
.dashboard-card:hover {
    transform: rotate(-3deg) translateY(-10px);
}

.security-card:hover {
    transform: rotate(5deg) translateY(-10px);
}

.metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Image Overlay Effects */
.feature-card:hover .feature-overlay,
.service-preview-card:hover .service-overlay,
.client-category-card:hover .category-overlay {
    opacity: 1 !important;
}

.feature-image,
.service-image,
.category-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.feature-image img,
.service-image img,
.category-image img {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img,
.service-preview-card:hover .service-image img,
.client-category-card:hover .category-image img {
    transform: scale(1.1);
}

/* Enhanced Card Styling */
.client-category-card,
.feature-card,
.service-preview-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
}

.client-category-card:hover,
.feature-card:hover,
.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Project Gallery Effects */
.gallery-item:hover .gallery-overlay,
.project-card:hover .project-overlay {
    opacity: 1 !important;
}

.gallery-item img,
.project-image img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Enhanced button styling */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Professional gradients */
.text-gradient {
    background: linear-gradient(135deg, #1e3a8a, #D3A971);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Force navbar to be white */
.navbar {
    background-color: white !important;
}

.navbar-brand {
    color: #1f2937 !important;
}

.navbar-nav .nav-link {
    color: #1f2937 !important;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-divider {
    border-color: rgba(30, 58, 138, 0.2);
}

/* Project Categories */
.project-category {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-category:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    margin-top: 5rem;
}

.footer-gradient {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%), url('../images/backgrounds/footer-bg.jpg');
    background-size: cover;
    background-position: center;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        text-align: center;
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .display-2 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin: 0 0 1rem 0 !important;
    }
    
    .trust-metrics .col-4 {
        margin-bottom: 1rem;
    }
    
    .metric-card {
        padding: 1rem !important;
    }
    
    .metric-card h2 {
        font-size: 1.8rem !important;
    }
    
    .hero-visual {
        margin-top: 2rem;
        height: auto;
    }
    
    .dashboard-card,
    .security-card {
        position: relative !important;
        transform: none !important;
        margin: 1rem 0;
        width: 100% !important;
    }
    
    .floating-elements {
        display: none;
    }
    
    .value-card,
    .service-card,
    .project-category,
    .feature-card,
    .service-preview-card,
    .client-category-card {
        margin-bottom: 2rem;
    }
    
    .hero-stats-mini .row {
        text-align: center;
    }
    
    .hero-stats-mini .col-auto {
        flex: 1;
        margin-bottom: 1rem;
    }
    
    .page-hero {
        padding: 3rem 0 2rem;
    }
    
    .py-5 {
        padding: 3rem 0 !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .renewable-visual {
        margin-top: 2rem;
    }
    
    .solar-dashboard {
        transform: none !important;
        margin-top: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        width: 100%;
        margin: 0 0 1rem 0 !important;
    }
    
    .client-trust .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .client-badge {
        margin-bottom: 0.5rem;
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav {
        text-align: left;
        background: white;
        padding: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        margin-top: 0.5rem;
        max-width: 280px;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: auto;
        z-index: 1000;
        width: auto;
        min-width: 260px;
    }
    
    .nav-item {
        margin-bottom: 0.25rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.75rem !important;
        color: #374151 !important;
        font-weight: 500;
        font-size: 0.95rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-link:hover {
        color: #1e3a8a !important;
        background: #f3f4f6;
    }
    
    .nav-link.dropdown-toggle::after {
        font-size: 0.7rem;
        margin-left: auto;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: #f9fafb;
        margin: 0.25rem 0 0 0.75rem;
        width: calc(100% - 0.75rem);
        border-radius: 6px;
        padding: 0.25rem;
        border-left: 2px solid #e5e7eb;
    }
    
    .dropdown-item {
        padding: 0.4rem 0.75rem;
        color: #6b7280;
        font-size: 0.85rem;
        border-radius: 4px;
        margin: 0.1rem 0;
        transition: all 0.2s ease;
    }
    
    .dropdown-item:hover {
        background-color: #1e3a8a;
        color: white;
        transform: translateX(2px);
    }
    
    .dropdown-item strong {
        color: #1f2937;
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .dropdown-item:hover strong {
        color: white;
    }
    
    .dropdown-divider {
        margin: 0.25rem 0;
        border-color: #e5e7eb;
    }
    
    .navbar-collapse.show .dropdown-menu {
        display: block;
    }
    
    .navbar-toggler {
        border: 1px solid #d1d5db;
        padding: 0.4rem 0.6rem;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
        border-color: #1e3a8a;
    }
    
    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    

    
    .footer-gradient .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .project-gallery .col-lg-3,
    .project-gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .gallery-item img {
        height: 150px !important;
    }
    
    .service-image img,
    .category-image img,
    .feature-image img {
        height: 150px !important;
    }
    
    .project-card .card-img-top {
        height: 180px !important;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .text-lg-end {
        text-align: center !important;
    }
    
    .me-3 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
    
    .energy-benefits .row {
        text-align: center;
    }
    
    .benefit-item {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        padding: 1rem !important;
    }
    
    .energy-stats .col-6 {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 100px;
}

/* Smooth scroll for dropdown links */
#vision, #values, #team, #network, #security, #automation, #telephony, #av, #support,
#hotels, #corporate, #residential, #education, #info, #location,
#networking, #security, #automation, #telephony, #av {
    scroll-margin-top: 100px;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Professional E-commerce Styling */
.hero-search .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-rating {
    font-size: 0.9rem;
}

.product-price .current-price {
    font-size: 1.25rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.add-to-wishlist {
    width: 40px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: between;
    align-items: center;
}

.cart-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-total {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-cart button {
    width: 60px;
    height: 60px;
    position: relative;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.floating-cart button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* View Toggle */
.view-toggle .btn {
    border-radius: 0;
}

.view-toggle .btn:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.view-toggle .btn:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.view-toggle .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Quantity Selector */
.quantity-selector .input-group button {
    width: 40px;
}

/* Product Features List */
.product-features ul li {
    padding: 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    
    .hero-search .input-group {
        max-width: 100%;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-wishlist {
        width: 100%;
        height: 38px;
    }
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.service-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Project Cards */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.project-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navbar Scrolled Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--secondary-color) !important; }
.text-warning { color: var(--accent-color) !important; }

/* Button Colors Override */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #b02a37 !important;
    border-color: #b02a37 !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}