/* ABALI Organic Tea - Professional Colorful Theme */
:root {
    /* Brand Colors */
    --leo-green: #7CB342;
    --leo-dark-green: #558B2F;
    --leo-red: #E74C3C;
    --leo-dark: #2d3e2d;
    --leo-gray: #5a6b5a;
    --leo-light: #f0f7f0;
    --leo-border: #d4e8d4;
    --leo-accent: #8BC34A;
    --leo-teal: #2E7D32;
    --leo-amber: #aca218;
    --leo-blue: #1565C0;
}

body {
    font-family: 'Open Sans', 'Inter', sans-serif;
    color: var(--leo-gray);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf8 50%, #f0f7f0 100%);
    font-size: 14px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', 'Playfair Display', sans-serif;
    color: var(--leo-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: var(--leo-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--leo-green);
}

/* ================= HEADER ================= */

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #2d3e2d 0%, #3d5a3d 50%, #2d3e2d 100%);
    color: #c8e6c9;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(124, 179, 66, 0.3);
}

.top-bar a {
    color: #c8e6c9;
    margin-left: 15px;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: #fff;
}

/* Middle Header */
.main-header {
    padding: 25px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
    border-bottom: 2px solid #e8f5e9;
}

.search-form .form-control {
    border: 2px solid #e8f5e9;
    border-right: none;
    border-radius: 8px 0 0 8px;
    box-shadow: none;
}
.search-form .form-control:focus {
    border-color: var(--leo-green);
    box-shadow: 0 0 0 2px rgba(124, 179, 66, 0.2);
}

.search-form .btn {
    border: 2px solid var(--leo-green);
    border-left: none;
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: #fff;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
}
.search-form .btn:hover {
    background: linear-gradient(135deg, #558B2F, #2E7D32);
    color: #fff;
}

.header-cart-btn {
    background: linear-gradient(135deg, #E74C3C, #c0392b);
    color: #fff;
    padding: 8px 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    transition: all 0.3s;
}

.header-cart-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

/* Navbar - Colorful Professional */
.main-nav {
    background: linear-gradient(90deg, #ffffff 0%, #f8fdf8 50%, #ffffff 100%);
    border-top: 2px solid #e8f5e9;
    border-bottom: 3px solid var(--leo-green);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.main-nav .nav-link {
    color: var(--leo-dark) !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 25px !important;
    font-size: 13px;
    border-right: 1px solid #e8f5e9;
    transition: all 0.3s;
}

.main-nav .nav-link:hover {
    background: linear-gradient(135deg, #8BC34A, #7CB342);
    color: #fff !important;
}

.main-nav .nav-link.active {
    background: linear-gradient(135deg, #558B2F, #2E7D32);
    color: #fff !important;
    box-shadow: inset 0 -2px 8px rgba(0,0,0,0.15);
}

/* ================= HERO & ADS ================= */
.hero-wrapper {
    margin-top: 20px;
}

.main-slider {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    height: 400px;
}

.main-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero caption - separate text from image for visibility */
.main-slider .carousel-item {
    position: relative;
}
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    pointer-events: none;
}
.hero-caption-wrap {
    bottom: 8%;
    left: auto;
    right: 5%;
    z-index: 2;
}
.hero-caption-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.25rem 1.75rem;
    border-radius: 8px;
    border-right: 4px solid var(--leo-green);
    max-width: 380px;
    display: inline-block;
    backdrop-filter: blur(4px);
}
.hero-caption-title {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    margin-bottom: 0.25rem;
}
.hero-caption-sub {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-caption-box .btn {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.side-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8e9 100%);
    border: 2px solid #e8f5e9;
    border-left: 4px solid var(--leo-green);
    padding: 15px;
    margin-bottom: 20px;
    height: 190px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.15);
}

.side-banner-content h4 {
    color: var(--leo-green);
    font-weight: 800;
    margin-bottom: 5px;
}

.promo-badge {
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: #fff;
    padding: 6px 14px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.4);
}

/* Home page section backgrounds - alternating professional colors */
section.py-5.bg-light {
    background: linear-gradient(180deg, #f1f8e9 0%, #e8f5e9 50%, #f1f8e9 100%) !important;
    border-top: 1px solid #c8e6c9;
    border-bottom: 1px solid #c8e6c9;
}

section.py-4.bg-white {
    background: linear-gradient(90deg, #ffffff 0%, #f8fdf8 50%, #ffffff 100%) !important;
}

section.py-5:not(.bg-light):not(.bg-white) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fdf8 100%);
}

/* Products page - colorful professional */
section.py-5.bg-white {
    background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 50%, #f1f8e9 100%) !important;
}
.text-primary-custom { color: var(--leo-dark-green) !important; }
.section-marker {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--leo-green), var(--leo-dark-green));
    border-radius: 2px;
}
/* Products page - card and image styling */
section.py-5.bg-white .card {
    border: 2px solid #e8f5e9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
section.py-5.bg-white .card:hover {
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.2);
    border-color: var(--leo-green);
}

/* Product image wrapper - fixed height for consistent, professional look */
.product-img-wrapper {
    height: 260px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fdf8 0%, #f1f8e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
section.py-5.bg-white .card:hover .product-img-wrapper img {
    transform: scale(1.05);
}
section.py-5.bg-white .btn-outline-primary {
    border-color: var(--leo-green);
    color: var(--leo-dark-green);
}
section.py-5.bg-white .btn-outline-primary:hover {
    background: linear-gradient(135deg, #7CB342, #558B2F);
    border-color: var(--leo-green);
    color: #fff;
}

/* Products page - professional refinements */
.products-page .card-body {
    padding: 1.5rem 1.5rem 1.75rem;
}
.products-page .card-body h5 {
    font-size: 1.1rem;
    color: var(--leo-dark);
    line-height: 1.35;
}
.products-page .card-body .text-muted {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--leo-gray) !important;
}
.letter-spacing-1 { letter-spacing: 0.15em; }

/* Product image responsive heights */
@media (max-width: 767px) {
    .product-img-wrapper {
        height: 220px;
    }
}

/* ITEP cards - enhance */
.card.border-0.shadow-sm .card-header.bg-success {
    background: linear-gradient(135deg, #558B2F, #2E7D32) !important;
}

/* Section badges - gradient */
.bg-success.text-white.px-4.py-2 {
    background: linear-gradient(135deg, #558B2F, #2E7D32) !important;
}

/* Banner strip */
.bg-success.text-white.rounded {
    background: linear-gradient(135deg, #558B2F 0%, #7CB342 50%, #558B2F 100%) !important;
    border: none;
}

/* Artisan & Vedic sections - equal height columns and collages */
.artisan-collage,
.vedic-collage {
  min-height: 300px;
  align-items: stretch;
}
.artisan-collage .col-4,
.artisan-collage .col-6,
.vedic-collage .col-6 {
  display: flex;
}
.artisan-collage img,
.vedic-collage img {
  width: 100%;
  flex: 1;
  min-height: 140px;
  object-fit: cover;
}

/* Our Land section - image height adjusted to match text block */
.land-culture-img-wrap {
  max-height: 320px;
  overflow: hidden;
}
.land-culture-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ================= PRODUCTS ================= */
.section-title {
    border-bottom: 3px solid var(--leo-green);
    margin-bottom: 20px;
    position: relative;
}

.section-title h3 {
    display: inline-block;
    background: transparent;
    padding-right: 20px;
    margin-bottom: 0;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--leo-dark-green);
}

.product-grid .col-md-3 {
    margin-bottom: 30px;
}

.product-card {
    border: 2px solid #e8f5e9;
    background: linear-gradient(180deg, #ffffff 0%, #fafdfa 100%);
    transition: all 0.3s;
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.2);
    border-color: var(--leo-green);
    transform: translateY(-3px);
}

.product-img {
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-sale {
    background: var(--leo-green);
    color: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-details {
    padding: 15px;
    text-align: left;
    border-top: 1px solid var(--leo-border);
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--leo-green);
}

.product-excerpt {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--leo-red);
}

.product-actions {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.action-btn {
    border: 1px solid var(--leo-border);
    background: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--leo-green);
    color: #fff;
    border-color: var(--leo-green);
}

/* ================= FOOTER ================= */
.footer-top {
    background: linear-gradient(90deg, #2d3e2d 0%, #3d5a3d 50%, #2d3e2d 100%);
    padding: 40px 0;
    border-top: 2px solid rgba(124, 179, 66, 0.4);
}

.footer-top h4 {
    color: #fff !important;
}

.footer-top .text-muted {
    color: #c8e6c9 !important;
}

.footer-top .form-control {
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.footer-top .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}
.footer-top .btn-success {
    background: linear-gradient(135deg, #7CB342, #558B2F);
    border: none;
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.4);
}

.footer-main {
    background: linear-gradient(180deg, #f8fdf8 0%, #e8f5e9 50%, #f1f8e9 100%);
    padding: 50px 0;
    border-top: 1px solid #c8e6c9;
}

.footer-col h4 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--leo-dark-green);
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--leo-green);
    display: inline-block;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--leo-gray);
    font-size: 13px;
    transition: all 0.2s;
}

.footer-links a:before {
    content: '+';
    margin-right: 5px;
    color: var(--leo-green);
}

.footer-links a:hover {
    color: var(--leo-dark-green);
    padding-left: 5px;
}

.contact-widget img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    float: left;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--leo-green);
}

.contact-details {
    overflow: hidden;
}

.contact-phone {
    color: var(--leo-dark-green);
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.footer-bottom {
    background: linear-gradient(90deg, #2d3e2d 0%, #1b2e1b 100%);
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid var(--leo-green);
    color: #c8e6c9;
}

.footer-bottom p {
    color: #c8e6c9;
}

.scroll-top {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: #fff;
    line-height: 40px;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 -2px 10px rgba(124, 179, 66, 0.5);
    transition: all 0.3s;
}
.scroll-top:hover {
    background: linear-gradient(135deg, #558B2F, #2E7D32);
    color: #fff;
}

/* Logo Flag Styles - Desktop (Square Logo in flag shape) */
.logo-flag {
    position: absolute;
    top: 0;
    left: 40px;
    width: 140px;
    height: 130px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #fff9a4 0%, #d1b24d 50%, #d8a71a 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(216, 167, 26, 0.5);
    overflow: hidden;
    padding: 18px 14px 24px;
}

.desktop-logo-img {
    width: 100%;
    height: 100%;
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    object-position: center;
}

/* Mobile Logo */
.mobile-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Image Lightbox Modal */
#imageLightbox .modal-content {
  background: transparent !important;
}
#imageLightbox .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.9;
}
/* Install App - small download icon (left bottom) */
.install-app-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

.install-app-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #558B2F, #7CB342);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.install-app-btn:hover {
    background: linear-gradient(135deg, #2E7D32, #558B2F);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.6);
}

/* Sticky WhatsApp CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.sticky-cta .btn {
    border-radius: 50px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s;
}
.sticky-cta .btn:hover {
    background: linear-gradient(135deg, #128C7E, #0a5f54) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* Header Adjustments */
.top-bar .container,
.main-header .container {
    padding-left: 170px;
}

@media (max-width: 991px) {
    .logo-flag {
        display: none;
    }

    .top-bar .container,
    .main-header .container {
        padding-left: 15px;
    }

    .main-header .col-md-3 {
        display: block;
    }
}

/* ================= CONTACT PAGE ================= */
.contact-hero {
    background: linear-gradient(135deg, #558B2F 0%, #7CB342 50%, #8BC34A 100%);
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.5;
}
.contact-hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-hero-decoration .deco-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8f5e9;
    border-left: 4px solid var(--leo-green);
}
.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    margin-right: 1rem;
}
.contact-icon-address { background: linear-gradient(135deg, #558B2F, #7CB342); }
.contact-icon-factory { background: linear-gradient(135deg, #2E7D32, #4CAF50); }
.contact-icon-phone { background: linear-gradient(135deg, #E65100, #FF9800); }
.contact-icon-email { background: linear-gradient(135deg, #1565C0, #42A5F5); }
.contact-item a {
    color: #555 !important;
    transition: color 0.2s;
}
.contact-item a:hover { color: var(--leo-green) !important; }

.contact-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #555;
    transition: all 0.3s ease;
}
.contact-social-btn:hover {
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: #fff;
    transform: translateY(-2px);
}
.contact-social-whatsapp:hover { background: linear-gradient(135deg, #25D366, #128C7E) !important; }

.contact-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8f5e9;
}
.contact-form-card .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.6rem 1rem;
}
.contact-form-card .form-control:focus {
    border-color: var(--leo-green);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.2);
}

.contact-map-section .map-header {
    background: linear-gradient(135deg, #558B2F, #7CB342);
}

/* ================= ABOUT PAGE ================= */
.about-hero {
    background: linear-gradient(135deg, #558B2F 0%, #7CB342 50%, #8BC34A 100%);
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.5;
}
.about-hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-hero-decoration .deco-line {
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}

.about-cta {
    background: linear-gradient(135deg, #558B2F 0%, #7CB342 100%);
}