:root {
    /* New palette: deep blue, teal and warm gold for contrast */
    --primary-color: #0d3b66; /* deep blue */
    --secondary-color: #158467; /* teal */
    --nav-height: 80px;
    --accent-color: #f5a524; /* warm gold */
    --accent-light: #20c997; /* accent light (teal-green) */
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --white: #ffffff;
    --gray-light: #f5f6f8;
    --gray-medium: #e9ecef;
    --gray-dark: #495057;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

.main-content {
    flex: 1 0 auto;
    /* padding: 1rem 0 2rem; */
    background-color: var(--light-bg);
}

/* (Removed) Page-scoped Order Confirmation rules per request */

/* ========== Global print hygiene: hide site chrome (header/footer/chats) and toggle helpers ========== */
@media print {
    body { background: #fff !important; }
    /* Print helpers */
    .no-print { display: none !important; }
    .print-only { display: block !important; }
    /* Hide site chrome */
    header, .header, .navbar, .sticky-top, footer, .footer { display: none !important; }
    .floating-chat-buttons, .floating-inline-buttons, .chat-btn, [class*="chat"], [class*="whatsapp"], [class*="messenger"], .btn-scroll-top { display: none !important; }
    .main-content { padding: 0 !important; }
}


/* ==================== ANIMATIONS ==================== */

@keyframes twinkleStar {
    0% { opacity: 0.8; transform: scale(1) translateY(0); }
    50% { opacity: 0.2; transform: scale(1.2) translateY(-10px); }
    100% { opacity: 0.8; transform: scale(1) translateY(0); }
}

.twinkle-bg {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
}
.twinkle-star {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.8;
    width: 2px; height: 2px;
    animation: twinkleStar 2.5s infinite ease-in-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeUpSmooth {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDelayed {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(139, 69, 19, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 69, 19, 0.8);
    }
}

/* ==================== NAVBAR ==================== */

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1030;
    animation: slideInDown 0.6s ease;
    padding: 1rem 0;
}

.navbar:hover {
    box-shadow: 0 10px 35px rgba(26, 40, 69, 0.25);
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.navbar-brand img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.nav-link {
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    color: white !important;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: var(--accent-light) !important;
}

/* Active menu item styling */
.nav-link.active {
    color: var(--accent-light) !important;
    font-weight: 600;
}

/* Use the ::after pseudo-element for the active underline so hover and active
   states don't both render separate lines (which caused a double-underline bug). */
.nav-link.active::after {
    width: 100%;
    height: 3px;
    bottom: -8px;
    background: var(--accent-light);
}

/* ==================== DROPDOWN ARROW FIX ==================== */

/* Remove default Bootstrap dropdown arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* Add custom dropdown arrow with better placement */
.dropdown-toggle {
    position: relative;
    padding-right: 1.5rem !important;
}

/* CSS-only arrow (triangle) */
.dropdown-toggle::before {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
    opacity: 0.85;
}

.dropdown-toggle[aria-expanded="true"]::before {
    transform: translateY(-50%) rotate(180deg);
}

/* Ensure dropdown menu spacing */
.dropdown-menu {
    margin-top: 0.5rem !important;
    border-radius: 8px;
    border: none;
    box-shadow: var(--shadow-md);
    animation: slideInDown 0.2s ease;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ==================== END DROPDOWN ARROW FIX ==================== */

/* Compact and large header variants (large for home page only) */
.navbar.compact-header {
    --nav-height: 60px;
    padding: 0.4rem 0;
}

.navbar.large-header {
    --nav-height: 88px;
    padding: 1.1rem 0;
}

/* ==================== FOOTER ==================== */

.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem 0 1rem;
    animation: slideInUp 0.6s ease;
    width: 100%;
    clear: both;
}

.footer h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: var(--accent-light);
    transform: translateX(3px);
}

.footer-link-item {
    transition: all 0.3s ease;
    padding: 0.4rem 0;
}

.footer-link-item:hover {
    transform: translateX(5px);
}

.footer-divider {
    background: rgba(255, 255, 255, 0.15);
    margin: 2rem 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--accent-light);
    color: var(--primary-color);
    transform: scale(1.15) translateY(-3px);
}

/* ==================== HERO SECTION ==================== */

.hero-section {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.85) 0%, rgba(21, 132, 103, 0.85) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%230d3b66"/><rect width="1200" height="600" fill="url(%23grid)"/><circle cx="100" cy="100" r="80" fill="rgba(21,132,103,0.1)"/><circle cx="1100" cy="500" r="100" fill="rgba(245,165,36,0.08)"/></svg>');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease;
    min-height: 400px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(210, 105, 30, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg viewBox="0 0 1200 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat-x;
    background-size: 600px 100px;
    animation: slideInRight 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 0.6s ease 0s both;
}

.hero-section h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.5s ease 0s both;
}

.hero-section .subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 2rem;
    animation: slideInLeft 0.5s ease 0s both;
}

.hero-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    animation: slideInLeft 0.5s ease 0s both;
}

.hero-buttons {
    margin-top: 2rem;
    animation: slideInUp 0.5s ease 0s both;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    animation: slideInDown 0.8s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,176C384,192,480,192,576,176C672,160,768,128,864,128C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: slideInLeft 0.5s ease 0.1s both;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ==================== HOMEPAGE SECTIONS ==================== */

.homepage-banner {
    position: relative;
    width: 100%;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 60px 0;
}

.banner-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Make the background video non-interactive so YouTube UI doesn't show on hover/click */
.banner-video,
.banner-video-container iframe {
    pointer-events: none;
}

/* Ensure anchored sections are not hidden under the sticky navbar */
.section,
.map-location,
.business-info,
.customer-reviews,
.homepage-banner,
.hero-section {
    scroll-margin-top: var(--nav-height);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 40, 69, 0.65) 0%,
        rgba(45, 90, 123, 0.65) 50%,
        rgba(23, 162, 184, 0.5) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: slideInDown 0.8s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h1 {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
    font-weight: 900;
    letter-spacing: 1px;
    animation: slideInDown 0.8s ease-out;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
}

.banner-content p {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease 0.2s both;
}

.banner-content .lead {
    font-size: 1.25rem;
    margin: 1rem 0;
}

.banner-content .fs-5 {
    font-size: 1rem;
    opacity: 0.95;
    animation: fadeIn 0.8s ease 0.4s both;
}

.banner-content .btn {
    animation: slideInUp 0.8s ease-out 0.3s both;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 12px 35px;
    transition: all 0.3s ease;
}

.banner-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.3);
}

.homepage-banner h1 {
    animation: slideInDown 0.6s ease;
}

.homepage-banner p {
    animation: fadeIn 0.8s ease 0.3s both;
}

/* Info Menu */
.info-menu ul {
    gap: 10px;
}

.info-menu .list-group-item {
    border: none;
    background: transparent;
    padding: 0 10px;
}

.info-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-menu a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Customer Reviews Section */
.customer-reviews {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.customer-reviews h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    animation: slideInDown 0.6s ease;
}

.customer-reviews .card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeIn 0.6s ease;
    overflow: hidden;
}

.customer-reviews .card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.customer-reviews .card-body {
    padding: 2rem;
}

.customer-reviews .card-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.customer-reviews .rounded-circle {
    animation: pulse 2s infinite;
    border: 3px solid var(--accent-light);
}

/* Map Section */
.map-location {
    background: var(--white);
    padding: 80px 20px;
}

.map-location h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    animation: slideInDown 0.6s ease;
}

.map-location .ratio {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.6s ease;
    max-height: 55vh;
}

/* Product Image Placeholder */
.product-image {
    background: linear-gradient(135deg, rgba(29,41,61,0.08) 0%, rgba(45,90,123,0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .card-title {
    color: var(--primary-color);
}

/* Business Info Section */
.business-info {
    padding: 80px 20px;
    /* Make contact/business info simple and flat (no gradient) per request */
    background: var(--white);
}

.business-info h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    animation: slideInDown 0.6s ease;
}

.business-info .card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInUp 0.6s ease;
}

.business-info .card:hover {
    border-top: 4px solid var(--accent-light);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.business-info .card-body {
    padding: 2rem;
}

.business-info .card-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.business-info .card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.business-info i {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

/* Newsletter Section */
.newsletter-signup {
    padding: 50px 20px;
}

.newsletter-signup .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.newsletter-signup .btn-warning {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.newsletter-signup .btn-warning:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Legal Links */
.legal-links {
    padding: 20px;
    text-align: center;
}

.legal-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .info-menu ul {
        flex-direction: column;
    }

    .info-menu .list-group-item {
        margin-bottom: 5px;
    }
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease 0.2s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

/* ==================== CARDS & BOXES ==================== */

.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
    opacity: 0;
    background-color: white;
}

.card.visible,
.row > .col-md-6 > .card,
.row > .col-md-4 > .card,
.row > .col-lg-3 > .card,
.row > .col-lg-4 > .card {
    animation: fadeUpSmooth 0.4s ease-out forwards;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.card h5 {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.card:hover h5 {
    color: var(--secondary-color);
}

.card p {
    font-size: 0.95rem;
}

/* ==================== BUTTONS ==================== */

.btn {
    border-radius: 8px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
    color: white;
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
    color: white;
}

.btn-warning {
    background-color: var(--warning);
    color: white;
}

.btn-warning:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid var(--gray-medium);
    color: var(--text-dark);
    background: white;
}

.btn-outline-secondary:hover {
    background: var(--gray-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ==================== TABLES ==================== */

.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: var(--light-bg);
    transform: scale(1.01);
}

.table td, .table th {
    vertical-align: middle;
    padding: 1rem;
    border: 1px solid var(--gray-medium);
}

.table-image img {
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.table-image img:hover {
    transform: scale(1.05);
}

/* ==================== FORMS ==================== */

.form-control {
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(139, 69, 19, 0.1);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-control::placeholder {
    color: #999;
}

/* ==================== BADGES ==================== */

.badge {
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: var(--success);
}

.badge-warning {
    background-color: var(--warning);
}

.badge-danger {
    background-color: var(--danger);
}

.badge-info {
    background-color: var(--info);
}

/* ==================== ACCORDION ==================== */

.accordion-item {
    border-left: 4px solid var(--accent-light);
    border-right: none;
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(26, 40, 69, 0.08) 0%, rgba(45, 90, 123, 0.08) 100%);
    color: var(--primary-color);
    box-shadow: inset 0 -1px 0 var(--gray-medium);
}

.accordion-button:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 0.25rem rgba(23, 162, 184, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231a2845' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
    background: white;
    color: #555;
    padding: 1.5rem;
    line-height: 1.8;
}

/* ==================== STATUS & ALERTS ==================== */

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #FFF 100%);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    animation: scaleIn 0.6s ease;
}

.status-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.status-header small {
    color: #999;
}

.spinner-border {
    animation: rotate 1s linear infinite;
}

.alert {
    border: none;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--success);
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.alert-warning {
    border-left-color: var(--warning);
    background-color: rgba(243, 156, 18, 0.1);
    color: #d68910;
}

.alert-danger {
    border-left-color: var(--danger);
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

.alert-info {
    border-left-color: var(--info);
    background-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
}

/* ==================== SECTIONS ==================== */

.section {
    padding: 4rem 0;
    animation: slideInUp 0.8s ease;
}

.section-bg {
    background: linear-gradient(180deg, var(--light-bg) 0%, #ffffff 100%);
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== FEATURE BOXES ==================== */

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.15) rotate(360deg);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: #666;
    font-size: 0.95rem;
}

/* ==================== SCROLLING ANIMATIONS ==================== */

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
}

.scroll-animate.visible {
    animation: fadeUpSmooth 0.4s ease-out forwards;
}

/* Staggered animation delays for child elements */
.scroll-animate:nth-child(1) { animation-delay: 0s; }
.scroll-animate:nth-child(2) { animation-delay: 0s; }
.scroll-animate:nth-child(3) { animation-delay: 0s; }
.scroll-animate:nth-child(4) { animation-delay: 0s; }
.scroll-animate:nth-child(5) { animation-delay: 0s; }
.scroll-animate:nth-child(6) { animation-delay: 0s; }
.scroll-animate:nth-child(7) { animation-delay: 0s; }
.scroll-animate:nth-child(8) { animation-delay: 0s; }

/* Fade in all sections smoothly as they come into viewport */
.section {
    opacity: 0;
}

.section.visible {
    animation: fadeUpSmooth 0.5s ease-out forwards;
}

/* ==================== PARALLAX ==================== */

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .section {
        padding: 2rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .feature-box {
        margin-bottom: 1.5rem;
    }

    .status-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .parallax {
        min-height: 250px;
    }
}

/* ==================== FLOATING CHAT BUTTONS ==================== */

.floating-chat-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: slideInRight 0.2s ease;
}

.chat-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.chat-btn:hover {
    transform: scale(1.18) translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA58 100%);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20BA58 0%, #1a8a44 100%);
}

.messenger-btn {
    background: linear-gradient(135deg, #0084FF 0%, #0073E6 100%);
}

.messenger-btn:hover {
    background: linear-gradient(135deg, #0073E6 0%, #005acc 100%);
}

@media (max-width: 768px) {
    .floating-chat-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    .chat-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* Inline floating buttons for main layout: horizontal line, non-overlapping */
.floating-inline-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    pointer-events: auto;
}

.floating-inline-buttons .chat-btn {
    width: 52px;
    height: 52px;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.phone-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f0b65a 100%);
}

/* Ensure inline buttons don't overlap other bottom UI like toast containers; push slightly left if needed */
.floating-inline-buttons { margin-right: 10px; }

@media (max-width: 768px) {
    /* On small screens we stack vertically to avoid consuming horizontal space */
    .floating-inline-buttons {
        flex-direction: column;
        right: 16px;
        bottom: 16px;
    }
    .floating-inline-buttons .chat-btn { width: 48px; height: 48px; font-size:18px }
}

/* ==================== ANNOUNCEMENT POPUP ==================== */

.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
}

.announcement-modal.show {
    opacity: 1;
    visibility: visible;
}

.announcement-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideInDown 0.4s ease;
    border-top: 5px solid var(--accent-light);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.2) rotate(90deg);
}

.announcement-content h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.announcement-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==================== TWINKLING STARS BACKGROUND ==================== */

.twinkle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

.twinkle-star {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.8;
    width: 2px;
    height: 2px;
}

@keyframes twinkleStar {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 0.2;
        transform: scale(1.5);
    }
}

.twinkle-star {
    animation: twinkleStar 2.5s infinite ease-in-out;
}

/* ==================== UTILITY CLASSES ==================== */

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success) !important;
}

.bg-primary-light {
    background-color: var(--light-bg) !important;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.shadow-lg-custom {
    box-shadow: var(--shadow-lg) !important;
}

.rounded-lg {
    border-radius: 15px;
}

.transition-all {
    transition: all 0.3s ease;
}

.overflow-hidden {
    overflow: hidden;
}

/* ==================== ACCESSIBILITY ==================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== MILL STATUS BADGE ==================== */
.mill-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    padding: .4rem .75rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-size: .9rem;
}
.mill-status-open { background: rgba(40, 167, 69, .1); color: #28a745; border: 1px solid rgba(40,167,69,.2); }
.mill-status-closed { background: rgba(220, 53, 69, .1); color: #dc3545; border: 1px solid rgba(220,53,69,.2); }
.mill-status-warning { background: rgba(255, 193, 7, .12); color: #b88600; border: 1px solid rgba(255,193,7,.3); }

.mill-status-badge::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%; display: inline-block;
    background: currentColor; box-shadow: 0 0 0 0 rgba(0,0,0,0);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  0% { transform: scale(1); opacity: .9; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: .9; }
}
