:root {
    --primary-color: #fbbf24;
    --dark-bg: #1e293b;
    --darker-bg: #0f172a;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica',
        'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://primeresources.online/src/plot.png') center/cover;
    opacity: 0.25;
    z-index: 0;
}

.hero-section > div {
    position: relative;
    z-index: 1;
}

/* Hover Card Effect */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(251, 191, 36, 0.15) !important;
}

/* Badge Styling */
.badge {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem;
}

/* Card Enhancement */
.card {
    border: none;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Form Styling */
.form-control,
.form-select {
    background-color: #374151 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus,
.form-select:focus {
    background-color: #2d3748 !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25) !important;
    color: white !important;
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Button Enhancements */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

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

.btn-warning:hover {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

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

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

.btn-dark {
    transition: all 0.3s ease;
}

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

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Spacing */
section {
    position: relative;
}

section:nth-child(odd) {
    background-color: #f9fafb;
}

/* Icon Styling */
.bi {
    display: inline-block;
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1e293b;
}

.text-light {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-muted {
    color: #6b7280 !important;
}

/* Link Styling */
a {
    transition: color 0.3s ease;
}

a:not(.btn):hover {
    color: var(--primary-color) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .display-6 {
        font-size: 1.75rem !important;
    }
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Alert Message */
.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #047857;
}

/* Footer Enhancement */
footer a {
    color: #9ca3af;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer .btn-sm {
    transition: all 0.3s ease;
}

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

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: fadeInUp 0.3s ease-out;
}

.toast-notification.success {
    border-left: 4px solid #10b981;
}

.toast-notification.error {
    border-left: 4px solid #ef4444;
}

/* Smooth Transition */
* {
    transition: background-color 0.15s ease, color 0.15s ease;
}

button, .btn {
    transition: all 0.3s ease !important;
}
