/* ============================================
   BALE SOURCE CODE - LIGHT THEME (Green Style)
   ============================================ */

:root {
    /* Primary Colors - Road Sign Green */
    --primary: #01735C;
    --primary-dark: #015A48;
    --primary-light: #02A385;
    --secondary: #029A7A;
    --accent: #03B88F;

    /* Accent Colors - Blue */
    --accent-blue: #3B82F6;
    --accent-blue-dark: #2563EB;
    --accent-blue-light: #60A5FA;

    /* Accent Colors - Orange */
    --accent-orange: #F59E0B;
    --accent-orange-dark: #D97706;
    --accent-orange-light: #FBBF24;

    /* Accent Colors - Coral/Red */
    --accent-coral: #EF4444;
    --accent-coral-dark: #DC2626;
    --accent-coral-light: #F87171;

    /* Accent Colors - Teal (complementary) */
    --accent-teal: #14B8A6;
    --accent-teal-dark: #0D9488;
    --accent-teal-light: #2DD4BF;

    /* Background Colors */
    --bg-main: #F5FAF9;
    --bg-secondary: #E8F5F2;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F7FCFB;

    /* Text Colors */
    --text-primary: #2D3748;
    --text-secondary: #5A6A7A;
    --text-muted: #8A99A8;
    --text-light: #A0AEC0;

    /* Utility Colors */
    --success: #48BB78;
    --warning: #F6AD55;
    --danger: #FC8181;
    --info: #63B3ED;
    --white: #FFFFFF;
    --black: #1A202C;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #01735C 0%, #029A7A 100%);
    --gradient-secondary: linear-gradient(135deg, #03B88F 0%, #04D4A8 100%);
    --gradient-hero: linear-gradient(180deg, #F5FAF9 0%, #E0F2EE 100%);

    /* New Multi-Color Gradients */
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    --gradient-orange: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-coral: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    --gradient-teal: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
    --gradient-mixed: linear-gradient(135deg, #01735C 0%, #14B8A6 50%, #3B82F6 100%);
    --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);

    /* Shadows - Soft & Light */
    --shadow-sm: 0 2px 8px rgba(1, 115, 92, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 8px 25px rgba(1, 115, 92, 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);

    /* Border */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted) !important;
}

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

/* ============================================
   BUTTONS - 3D STYLE WITH BORDER
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

/* Primary Button - 3D Orange with Border */
.btn-primary {
    background: linear-gradient(180deg, #02A385 0%, #01735C 50%, #015A48 100%);
    color: white;
    border: 2px solid #015A48;
    border-top-color: #FFA080;
    box-shadow:
        0 4px 0 #C04A20,
        0 6px 10px rgba(192, 74, 32, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #FF9570 0%, #FF8560 50%, #F07550 100%);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #C04A20,
        0 10px 20px rgba(192, 74, 32, 0.35);
    color: white;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 #005A48,
        0 3px 6px rgba(1, 90, 72, 0.3);
}

/* Secondary Button - 3D Outline Style */
.btn-secondary,
.btn-outline {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
    color: #01735C;
    border: 2px solid #01735C;
    box-shadow:
        0 4px 0 #005A48,
        0 6px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: linear-gradient(180deg, #FFF5F0 0%, #FFEDE5 100%);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #005A48,
        0 10px 20px rgba(0, 0, 0, 0.15);
    color: #01735C;
}

.btn-secondary:active,
.btn-outline:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 #005A48,
        0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Light Button - For dark backgrounds */
.btn-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
    color: #01735C;
    border: 2px solid #E0E0E0;
    border-top-color: #FFFFFF;
    box-shadow:
        0 4px 0 #CCCCCC,
        0 6px 10px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #CCCCCC,
        0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #CCCCCC;
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(180deg, #4A5568 0%, #2D3748 100%);
    color: white;
    border: 2px solid #1A202C;
    border-top-color: #5A6A7A;
    box-shadow:
        0 4px 0 #1A202C,
        0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    background: linear-gradient(180deg, #5A6A7A 0%, #3D4A5C 100%);
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #1A202C,
        0 10px 20px rgba(0, 0, 0, 0.25);
    color: white;
}

.btn-dark:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1A202C;
}

/* Success Button */
.btn-success {
    background: linear-gradient(180deg, #5CD87A 0%, #48BB78 100%);
    color: white;
    border: 2px solid #38A169;
    border-top-color: #68D391;
    box-shadow:
        0 4px 0 #2F855A,
        0 6px 10px rgba(47, 133, 90, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #2F855A,
        0 10px 20px rgba(47, 133, 90, 0.35);
    color: white;
}

/* Button Sizes */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 10px;
    box-shadow:
        0 3px 0 #C04A20,
        0 4px 8px rgba(192, 74, 32, 0.25);
}

.btn-sm:hover {
    box-shadow:
        0 4px 0 #C04A20,
        0 6px 12px rgba(192, 74, 32, 0.3);
}

.btn-xs {
    padding: 0.375rem 0.875rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

/* Icon Only Button */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
}

.btn-icon.btn-sm {
    width: 40px;
    height: 40px;
}

/* Block Button */
.btn-block {
    width: 100%;
}

/* ============================================
   NAVBAR - LIGHT THEME
   ============================================ */
.navbar {
    background: rgba(255, 248, 243, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-primary);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Nav Menu */
.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.nav-link.active {
    color: var(--primary) !important;
    background: rgba(255, 122, 80, 0.1);
    font-weight: 600;
}

.nav-icon-desktop {
    margin-right: 0.25rem;
}

/* CTA Button */
.btn-nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 122, 80, 0.35);
    color: white !important;
}

/* Hide desktop nav on mobile */
@media (max-width: 991px) {
    .nav-links-wrapper {
        display: none;
    }
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border-light);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible !important;
    /* Allow floating button to protrude */
}

@media (max-width: 991px) {
    .mobile-nav {
        display: block;
    }
}

.mobile-nav-menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(255, 122, 80, 0.12);
    color: var(--primary);
}

.badge-success {
    background: rgba(72, 187, 120, 0.12);
    color: var(--success);
}

.badge-warning {
    background: rgba(246, 173, 85, 0.12);
    color: var(--warning);
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 122, 80, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 122, 80, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   FOOTER - NEW LAYOUT
   ============================================ */
.footer-new {
    background: var(--bg-main);
}

.footer-main {
    padding: 4rem 0 3rem;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Brand */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-logo span {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-logo strong {
    color: var(--primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-address i {
    color: var(--primary);
    margin-top: 0.125rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #48BB78;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Footer Links Column */
.footer-links-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 0.75rem;
}

.footer-links-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    background: #2D3748;
    padding: 1.25rem 0;
}

.footer-bottom .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom strong {
    color: white;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand .footer-logo i {
    color: var(--primary);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title i {
    color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: white;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.footer-contact-icon.email {
    background: rgba(255, 122, 80, 0.2);
    color: var(--primary);
}

.footer-contact-icon.phone {
    background: rgba(72, 187, 120, 0.2);
    color: #48BB78;
}

.footer-contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.footer-bottom-enhanced {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-divider {
    display: none;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-copyright strong {
    color: white;
}

.footer-visitors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #48BB78;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.footer-made {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 2rem;
}

.w-100 {
    width: 100%;
}

.fw-bold {
    font-weight: 700;
}

.fw-semibold {
    font-weight: 600;
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* ============================================
   MESSAGES / ALERTS
   ============================================ */
.messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.alert-success {
    background: #DEF7EC;
    color: #03543F;
    border-left: 4px solid var(--success);
}

.alert-error,
.alert-danger {
    background: #FDE8E8;
    color: #9B1C1C;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #FDF6B2;
    color: #723B13;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #E1EFFE;
    color: #1E429F;
    border-left: 4px solid var(--info);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    body {
        padding-bottom: 80px;
        /* Space for mobile nav */
    }
}

/* Small devices (phones, 576px and down) */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.5rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

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

    h3 {
        font-size: 1.1rem !important;
    }

    .section-title {
        font-size: 1.25rem !important;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Navbar mobile adjustments */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-logo .logo-text {
        font-size: 1rem;
    }

    /* Cards and grids */
    .projects-grid,
    .categories-grid,
    .testimonials-grid,
    .tools-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Fix any overflow issues */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    /* Ensure no horizontal scroll */
    body,
    html {
        overflow-x: hidden;
    }

    .container,
    .section,
    main {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Floating Mobile Cart Button */
.mobile-nav-center-item {
    position: relative;
    width: 70px;
    /* Space for the button */
    height: 100%;
    display: flex;
    justify-content: center;
}

.mobile-nav-fab {
    position: absolute;
    top: -75px !important;
    /* Much higher - properly floating */
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-premium);
    border-radius: 50%;
    border: 5px solid white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 25px rgba(1, 115, 92, 0.35);
    color: white !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    padding: 0 !important;
    z-index: 1002;
}

.mobile-nav-fab:hover,
.mobile-nav-fab.active {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 -8px 25px rgba(1, 115, 92, 0.4);
    background: var(--gradient-premium) !important;
    color: white !important;
}

.mobile-nav-fab .fab-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mobile-nav-fab i {
    font-size: 1.6rem !important;
    margin: 0 !important;
    margin-top: 2px !important;
    /* Visual alignment */
}

.mobile-cart-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Adjust Mobile Nav to allow overflow for the button */
.mobile-nav {
    overflow: visible !important;
}

.mobile-nav-menu {
    position: relative;
    align-items: flex-end;
    /* Align other items to bottom */
    padding-bottom: 5px;
}