:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #1f2937;
    --pink-color: #ec4899;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #374151;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--secondary-color) !important;
}

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

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero-slider .carousel {
    height: 100vh;
}

.hero-slider .carousel-inner {
    height: 100vh;
}

.hero-slider .carousel-item {
    height: 100vh;
    position: relative;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    transition: all 0.5s ease;
}

.carousel-item.active .slide-background {
    filter: brightness(0.8);
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 64, 175, 0.6) 50%, rgba(29, 78, 216, 0.7) 100%);
}

.hero-slider .container {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    align-items: center;
}

.slide-title {
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease-out;
}

.slide-description {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-slider .btn {
    animation: slideInUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-slider .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    z-index: 4;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    border-color: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    z-index: 4;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Hero Stats for Slider */
.hero-stats-slider {
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.stat-card-slider {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

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

/* Slide Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Badge Styling in Slider */
.hero-slider .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    animation: slideInUp 0.8s ease-out 0.1s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .hero-slider .slide-title {
        font-size: 2.5rem;
    }
    
    .hero-slider .slide-description {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .stat-card-slider {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .slide-title {
        font-size: 2rem;
    }
    
    .hero-slider .slide-description {
        font-size: 1rem;
    }
    
    .hero-slider .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-slider .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}
    background-size: cover;
}

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

.hero-section h1 {
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
    font-weight: 600;
}

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

.stat-card {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

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

/* Product Sections */
.product-image img {
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.product-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.product-content {
    padding: 2rem 0;
}

.product-content h3 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.product-content .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.features ul li,
.benefits ul li,
.uses ul li,
.importance ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.features ul li:hover,
.benefits ul li:hover,
.uses ul li:hover,
.importance ul li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

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

.country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.country-list .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.country-list .badge:hover {
    transform: translateY(-2px);
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.contact-person {
    padding: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
}

.branch {
    padding: 1rem;
    border-radius: 12px;
    background: #fef2f2;
    border-left: 4px solid var(--danger-color);
}

.contact-card a {
    color: var(--dark-color);
    transition: all 0.2s ease;
}

.contact-card a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Team Photos */
.team-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.team-photo:hover {
    transform: scale(1.1);
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.1);
}

/* Service Items */
.service-item {
    padding: 2rem 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-item i {
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: scale(1.1);
}

/* Utilities */
.text-pink {
    color: var(--pink-color) !important;
}

.bg-primary {
    background: var(--primary-color) !important;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #d97706;
    border-color: #d97706;
    color: white;
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .product-content {
        padding: 1rem 0;
        margin-top: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .cta-box {
        padding: 2rem 1rem;
    }
    
    .category-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 76px;
}

/* Loading animation for images */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    .navbar,
    .hero-section .btn,
    .cta-box .btn {
        display: none;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .hero-section * {
        color: black !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Hover effects for better UX */
.card:hover,
.category-card:hover,
.contact-card:hover {
    cursor: pointer;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}