:root {

    --dinar-red: #C42F2F;
    --dinar-dark: #273746;

    --dinar-red-light: #e85555;
    --dinar-red-dark: #a82828;
    --dinar-dark-light: #3a5268;
    --dinar-dark-darker: #1a2530;

    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
 
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: var(--dinar-red);
    --dinar-dark-80: #2C3E50;
    --dinar-gray: #F5F7FA;
    --dinar-gray-dark: #E9ECF0;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 30px rgba(196,47,47,0.15);
    --transition: all 0.3s ease;
}

/* Reset margin/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #FEF6F5 0%, #FFFFFF 100%);
}
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}
/* Navbar Styles - Sticky */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--dinar-dark);
    box-shadow: none;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--dinar-dark);
    box-shadow: none;
}
    /* Initial state - navbar matches hero section color */
    .navbar.navbar-transparent {
        background: var(--dinar-dark);
        box-shadow: none;
    }

        .navbar.navbar-transparent .navbar-brand,
        .navbar.navbar-transparent .nav-link,
        .navbar.navbar-transparent .navbar-toggler-icon {
            color: white !important;
        }

            .navbar.navbar-transparent .nav-link:after {
                background: white;
            }

        .navbar.navbar-transparent .navbar-toggler {
            border-color: rgba(255,255,255,0.5);
        }

    /* Scrolled state - white background with black text (after hero section) */
    .navbar.navbar-scrolled {
        background: white !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 0.7rem 0;
    }

        .navbar.navbar-scrolled .navbar-brand,
        .navbar.navbar-scrolled .nav-link {
            color: #1E2B37 !important;
        }

            .navbar.navbar-scrolled .nav-link:after {
                background: #c42f2f;
            }

        .navbar.navbar-scrolled .navbar-toggler {
            border-color: rgba(0,0,0,0.2);
        }

        .navbar.navbar-scrolled .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

    /* Brand text color transitions */
    .navbar .brand-text {
        transition: color 0.3s ease;
    }

    .navbar.navbar-transparent .brand-text {
        color: white;
    }

    .navbar.navbar-scrolled .brand-text {
        color: #1E2B37;
    }

    /* Navbar brand logo */
    .navbar .brand-logo {
        transition: all 0.3s ease;
    }

    .navbar.navbar-transparent .brand-logo {
        background: rgba(255,255,255,0.2);
        color: white;
    }

    .navbar.navbar-scrolled .brand-logo {
        background: #c42f2f;
        color: white;
    }

/* Navbar links hover effect */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

    .nav-link:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 1rem;
        right: 1rem;
        height: 2px;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-link:hover:after,
    .nav-link.active:after {
        transform: scaleX(1);
    }

.hero {
    min-height: 100vh;
    margin-top: 0;
    padding-top: 100px; 
    position: relative;
    background: linear-gradient(135deg, var(--dinar-dark) 0%, var(--dinar-dark-darker) 100%);
    color: white;
    overflow: hidden;
}

    /* Ensure hero content is properly spaced */
    .hero .container {
        position: relative;
        z-index: 2;
        min-height: calc(100vh - 100px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


html {
    scroll-behavior: smooth;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
    }

        .hero .container {
            min-height: calc(100vh - 80px);
            padding-top: 1rem;
        }
    /* Navbar mobile fixes */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar.navbar-transparent {
        background: var(--dinar-dark) !important;
    }

    .navbar.navbar-scrolled {
        background: white !important;
    }

    /* Mobile menu button */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background-color: transparent;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Mobile collapse menu */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: transparent;
        border-radius: 0;
        margin-top: 0;
        padding: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }
    
    /* Transparent state mobile menu */
    .navbar.navbar-transparent .navbar-collapse {
        background: var(--dinar-dark) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    /* Scrolled state mobile menu */
    .navbar.navbar-scrolled .navbar-collapse {
        background: white !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Mobile nav items */
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C42F2F' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* When navbar is scrolled, toggler should be dark */
    .navbar.navbar-scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23273746' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* Ensure toggler button has proper background */
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    .navbar.navbar-transparent .nav-link {
        color: white !important;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar.navbar-transparent .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar.navbar-scrolled .nav-link {
        color: var(--dinar-dark) !important;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar.navbar-scrolled .nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
    }
    
    /* Navbar buttons on mobile */
    .navbar .d-flex {
        margin-top: 1rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .navbar.navbar-scrolled .d-flex {
        border-top-color: rgba(0, 0, 0, 0.1);
    }
    
    .navbar .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero section mobile fixes */
    .hero {
        padding-top: 80px;
        min-height: auto;
    }

    .hero .container {
        height: auto;
        min-height: calc(100vh - 80px);
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 1rem;
    }
    
    /* Hero text alignment */
    .hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .hero .lead {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Hero logo mobile */
    .hero-logo {
        text-align: center;
    }
    
    .hero-logo img {
        max-width: 150px;
    }
    
    /* Hero stats mobile */
    .hero-stats {
        margin: 1.5rem 0;
    }
    
    .stat-box {
        padding: 0.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.5rem;
    }
    
    .stat-box:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Hero buttons mobile */
    .hero-buttons {
        width: 100%;
        gap: 0.75rem !important;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hero image mobile */
    .hero-image {
        margin-top: 2rem;
        max-height: 250px;
        width: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Fix for better mobile experience */
    .hero .row {
        gap: 1rem;
    }
    
    /* Hide underlines on mobile */
    .nav-link:after {
        display: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero .lead {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .hero-logo img {
        max-width: 120px;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .hero-image {
        max-height: 200px;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: 60px;
        min-height: auto;
    }
    
    .hero .container {
        min-height: auto;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin: 1rem 0;
    }
    
    .hero-image {
        max-height: 180px;
        margin-top: 1rem;
    }
    
    .navbar-collapse {
        max-height: 80vh;
    }
}

/* Tablet devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-image {
        max-height: 350px;
    }
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideInDown 0.6s ease;
}

/* Stat items animation */
.stat-item {
    animation: fadeInUp 0.8s ease backwards;
}

    .stat-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .stat-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .stat-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .stat-item:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .btn:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn:hover:before {
        width: 300px;
        height: 300px;
    }

/* Card animations */
.machine-card, .category-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .machine-card:hover, .category-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: var(--dinar-red);
    }

.badge-type {
    display: inline-block;
    background: #FEF2F2;
    color: var(--dinar-red);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.9rem;
    border-radius: 2rem;
    width: fit-content;
}

.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 80px;
        height: 4px;
        
        border-radius: 2px;
    }
.section-subhead {
    text-align: center;
    color: #4B5563;
    max-width: 720px;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
}
.text-gradient {
    background: linear-gradient(135deg, var(--dinar-red) 0%, var(--dinar-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* why choose us */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--dinar-gray);
    border-radius: 2rem;
}

.feature-icon {
    background: #FEF2F2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    border-radius: 2rem;
    color: var(--dinar-red);
    font-size: 1.8rem;
}
.brand-logo {
    background: var(--dinar-red);
    color: white;
    font-weight: 800;
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.navbar-brand:hover .brand-logo {
    transform: rotate(0deg);
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dinar-dark);
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--dinar-red);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--dinar-dark);
    padding: 0.5rem 1rem !important;
    position: relative;
}

    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1rem;
        right: 1rem;
        height: 2px;
        background: var(--dinar-red);
        transform: scaleX(0);
        transition: var(--transition);
    }

    .nav-link:hover:after,
    .nav-link.active:after {
        transform: scaleX(1);
    }

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1E2B37 0%, #2C3E50 100%);
    color: white;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    color: var(--dinar-dark);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-card {
    background: white;
    border: 1px solid var(--dinar-gray-dark);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--dinar-dark);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .category-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--dinar-red);
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
        border-color: transparent;
    }

        .category-card:hover:before {
            transform: translateX(0);
        }

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--dinar-red-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dinar-red);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--dinar-red);
    color: white;
    transform: scale(1.1);
}

/* Machine Cards */
.machine-card {
    background: white;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

    .machine-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

.machine-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--dinar-red);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.machine-image-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.machine-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.machine-card:hover .machine-image {
    transform: scale(1.1);
}

.machine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: var(--transition);
}

.machine-card:hover .machine-overlay {
    opacity: 1;
}

.machine-content {
    padding: 1.5rem;
}

.machine-category {
    color: var(--dinar-red);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.machine-title {
    font-weight: 700;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.machine-specs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

    .machine-specs i {
        color: var(--dinar-red);
        margin-right: 0.3rem;
    }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dinar-red) 0%, var(--dinar-red-dark) 100%);
    border-radius: 40px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.btn-custom {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .btn-custom:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        transform: translate(-50%, -50%);
        transition: width 0.5s, height 0.5s;
    }

    .btn-custom:hover:before {
        width: 300px;
        height: 300px;
    }

.btn-primary {
    background: var(--dinar-red);
    border: none;
    color: white;
}

    .btn-primary:hover {
        background: var(--dinar-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(196,47,47,0.3);
    }

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

    .btn-outline:hover {
        background: white;
        color: var(--dinar-red);
    }

/* Footer */
.footer {
    background: var(--dinar-dark);
    color: #A0B0C0;
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #A0B0C0;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 0.8rem;
}

    .footer-link:hover {
        color: var(--dinar-red);
        transform: translateX(5px);
    }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 0.5rem;
}

    .social-link:hover {
        background: var(--dinar-red);
        transform: translateY(-3px);
    }

.newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    color: white;
    width: 100%;
}

    .newsletter-input::placeholder {
        color: rgba(255,255,255,0.5);
    }

    .newsletter-input:focus {
        outline: none;
        border-color: var(--dinar-red);
    }

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 2rem;
        border-radius: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
/* request type cards */
.request-type-card {
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    height: 100%;
}

    .request-type-card:hover {
        border-color: var(--dinar-red);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(196,47,47,0.1);
    }

    .request-type-card.active {
        border-color: var(--dinar-red);
        background: var(--dinar-red-light);
    }

.request-type-icon {
    font-size: 2.2rem;
    color: var(--dinar-red);
    margin-bottom: 1rem;
}

.radio-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.model-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.model-radio {
    display: none;
}

.model-label {
    display: inline-block;
    border: 2px solid #d0d0d0;
    border-radius: 40px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    background: white;
}

.model-radio:checked + .model-label {
    border-color: var(--dinar-red);
    background: var(--dinar-red-light);
    color: var(--dinar-red);
}

.range-slider {
    width: 100%;
}

.range-value-display {
    font-weight: 700;
    color: var(--dinar-red);
    background: #f0f0f0;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
}

.btn-dinar-red {
    background: var(--dinar-red);
    color: white;
    border-radius: 40px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border: none;
}

    .btn-dinar-red:hover {
        background: #a02020;
        color: white;
    }

.btn-outline-dinar {
    border: 2px solid var(--dinar-red);
    border-radius: 40px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    color: var(--dinar-red);
    background: white;
}

    .btn-outline-dinar:hover {
        background: var(--dinar-red-light);
    }

.form-section {
    background: #f9f9f9;
    border-radius: 30px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--border-grey);
}

.request-field {
    border-radius: 50px;
    border: 1px solid #ced4da;
    padding: 0.6rem 1.2rem;
    width: 100%;
}

.footer {
    background: var(--dinar-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}
/* LEFT FLOAT PANEL */
.featured-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
}

.featured-card {
    width: 260px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: slideIn 0.5s ease;
    position: relative;
}

    .featured-card img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

/* CLOSE BUTTON */
.close-featured {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
}

/* ANIMATION */
@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sell-float {
    position: fixed;
    left: -200px; /* keep it aligned with your featured card */
    bottom: 20px;
    z-index: 1060;
    transition: left 0.4s ease;
}

.sell-btn {
    background: #c42f2f;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* Hover effect */
    .sell-btn:hover {
        background: #c42f2f;
        transform: translateY(-2px);
    }

    .sell-float.show{
        left: 20px;
    }

/* Mobile */
@media (max-width: 768px) {
    .sell-float {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

/*    .sell-btn {
        width: 100%;
        border-radius: 10px;
    }*/
}
.dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

    .dropzone:hover {
        border-color: #86b7fe;
        background-color: #e9ecef;
    }

    .dropzone.dragover {
        border-color: #0d6efd;
        background-color: #e7f1ff;
    }

.preview-item {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .remove-btn:hover {
        background: darkred;
    }

.btn-dinar {
    background-color: #dc3545;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

    .btn-dinar:hover:not(:disabled) {
        background-color: #c82333;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
        color: white;
    }

    .btn-dinar:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.error-text {
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
}

/* Animated version */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 9999 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    width: auto;
    height: auto;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-float:hover {
    transform: translateX(-5px) scale(1.02);
    background: #20b859;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Badge with message count */
.whatsapp-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hover effect */
.whatsapp-float:hover .whatsapp-text {
    transform: translateX(0);
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width: 768px) {
    .whatsapp-float {
        padding: 10px 15px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-text {
        font-size: 12px;
    }

    .whatsapp-float i {
        font-size: 18px;
    }
}

/* Small mobile - hide text, show only icon */
@media (max-width: 480px) {
    .whatsapp-float {
        padding: 12px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-float i {
        font-size: 24px;
        margin: 0;
    }
} 

.email-float {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 60px;
    height: 60px;
    background: #c42f2f;
    color: #fff;
    border-radius: 50%;
}

.sell-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
}

.sell-btn {
    background: #c42f2f;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
}

.featured-float {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
}

.featured-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.top-bar {
    background: #c42f2f;
    color: #fff;
    padding: 6px;
    text-align: center;
}

.close-featured {
    position: absolute;
    top: 5px;
    right: 8px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}
/* Featured Machines Section - #b34d4d Shadow Effects */

/* Section shadow */
.featured-machines-section {
    position: relative;
    padding-bottom: 30px;
}

    .featured-machines-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 5%;
        width: 90%;
        height: 30px;
        background: radial-gradient(ellipse at center, rgba(179, 77, 77, 0.2) 0%, rgba(179, 77, 77, 0) 80%);
        pointer-events: none;
    }

/*.section-color {
    border: 1px solid #b34d4d;
    border-radius: 20px;
}*/
.media-thumb {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 6px;
    overflow: hidden;
}

    .media-thumb:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    #mainImage, #mainVideo {
        height: 250px !important;
    }

    .media-thumb {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ================= UTILITIES ================= */

.text-gradient {
    background:var(--dinar-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* testimonials */
.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--dinar-gray-dark);
}

/* ================= ANIMATIONS ================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item {
    animation: fadeInUp 0.8s ease;
}


/*services Page */
/* Services Page Styles */
.services-hero {
    background: linear-gradient(135deg, var(--dinar-dark) 0%, var(--dinar-dark-darker) 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

    .services-hero h1 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 1rem;
    }

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #eee;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(196,47,47,0.15);
        border-color: #cc1813;
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #cc1813 0%, #7a0f0c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(196,47,47,0.3);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1E2B37;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

.services-list {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.service-item {
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 10px;
}

    .service-item:hover {
        background: white;
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .service-item i {
        font-size: 1.5rem;
        min-width: 40px;
    }

.process-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #cc1813;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.cta-section {
    background: linear-gradient(135deg, #1E2B37 0%, #2C3E50 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 30px;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-item {
        padding: 0.75rem;
    }

        .service-item i {
            font-size: 1.2rem;
            min-width: 30px;
        }
  
}


/*Contact Page css*/
.contact-hero {
    background: linear-gradient(135deg, var(--dinar-dark) 0%, var(--dinar-dark-darker) 100%);
    color: white;
    padding: 80px 0 50px;
    margin-top: 76px;
    text-align: center;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid #eee;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #cc1813 0%, #7a0f0c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
}

    .form-control:focus, .form-select:focus {
        border-color: #cc1813;
        box-shadow: 0 0 0 0.2rem rgba(204,24,19,0.25);
    }

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
    color: #1E2B37;
}

    .social-link:hover {
        background: #cc1813;
        color: white;
        transform: translateY(-3px);
    }

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}
/* Hero Section Animations - Staggered Entrance */
.animate-logo {
    animation: fadeInDown 0.6s ease forwards;
}

.animate-title {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.animate-subtitle {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.animate-stat {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.stat-item:nth-child(1) {
    animation-delay: 0.6s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.8s;
}

.stat-item:nth-child(3) {
    animation-delay: 1s;
}

.animate-buttons {
    animation: fadeInUp 0.6s ease 1.2s forwards;
    opacity: 0;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure elements are visible after animation */
.animate-title, .animate-subtitle, .animate-stat, .animate-buttons {
    animation-fill-mode: forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .animate-title h1 {
        font-size: 1.8rem;
    }

    .animate-subtitle p {
        font-size: 0.9rem;
    }
}