:root {
    --primary-color: #66bb6a;
    --secondary-color: #388e3c;
    --accent-color: #fdd835;
    --success-color: #43a047;
    --dark-bg: #1a1a2e;
    --light-bg: #fcfdfc;
    --card-bg: #ffffff;
    --text-primary: #2b2d42;
    --text-secondary: #546e7a;
    --gradient-primary: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}





/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 1rem 0;
}

.navbar-nav {
    gap: 0.5rem;
    /* Reduced spacing */
}

.navbar-brand {
    font-weight: 800;
    font-size: 2rem;
    /* Increased font size */
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    /* Added padding for button-like feel */
    border-radius: 8px;
    /* Rounded corners */
}

.nav-link:hover {
    color: rgba(0, 0, 0, 0.03);
    background-color: rgba(243, 199, 56, 0.973);
    /* Light primary color background */
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    background-color: rgba(102, 187, 106, 0.15);
    /* Slightly stronger background for active */
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 187, 106, 0.4);
    background: var(--accent-color);
    color: #000;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

/* Products */
.product-img {
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Auth Container */
.auth-container {
    max-width: 420px;
    margin: 4rem auto;
}

.auth-container .card {
    padding: 2rem;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background-color: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 4px rgba(102, 187, 106, 0.1);
    border-color: var(--primary-color);
    background-color: #fff;
}

/* Badges */
.badge {
    padding: 0.5em 1em;
    border-radius: 6px;
    font-weight: 600;
}

/* Footer */
footer {
    background: #fff !important;
    color: var(--text-secondary) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 4rem !important;
}

/* Custom class to move form-select arrow to the left */
.form-select-arrow-left {
    background-position: left 1rem center;
    padding-left: 3.5rem;
    /* Increased space for the arrow and text separation */
    padding-right: 0.75rem;
    /* Reset right padding */
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 991.98px) {
    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .h5 {
        font-size: 1rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .card-body {
        padding: 1rem;
    }

}

/* Fix Bootstrap Mobile Menu Icon */
.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%2833, 33, 33, 0.9%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


/* Force mobile menu to align to the right */
@media (max-width: 991.98px) {
    .navbar-collapse {
        text-align: right !important;
    }

    .navbar-nav {
        margin-left: auto !important;
    }

    .navbar-nav .nav-item, .btn-primary  {
        text-align: right !important;
   
    }

    
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-color);
    /* or another complementary color */
    color: #000;
}


.carousel-caption h1,
.carousel-caption p {
    color: rgb(255, 255, 255) !important;
    text-shadow:
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        3px 3px 0 #000,
        -3px 0 0 #000,
        3px 0 0 #000,
        0 3px 0 #000,
        0 -3px 0 #000;
}