/* ==========================================================================
   Shri Datiya Foods Pvt. Ltd. - Design System (Logo-Matching Brand Theme)
   Colors: Navy Blue (#2E3192), Wheat Gold/Orange (#F58220), Olive Green (#5B7F24)
   ========================================================================== */

/* --- CSS custom properties / Logo Theme --- */
:root {
    /* Primary: Navy Blue (from SDF logo) */
    --primary-color: #2E3192;
    --primary-light: #4447ad;
    --primary-dark: #1b1e6b;
    --primary-rgb: 46, 49, 146;

    /* Secondary: Fresh Olive Green (from SDF logo) */
    --secondary-color: #5B7F24;
    --secondary-light: #7da839;
    --secondary-dark: #3f5918;

    /* Accent: Wheat Gold / Orange (from SDF logo) */
    --accent-color: #F58220;
    --accent-light: #ff9b44;
    --accent-dark: #cc640c;

    /* Neutrals */
    --text-dark: #1F2937;
    --text-muted: #4B5563;
    --text-light: #FFFFFF;

    /* Backgrounds - matching logo colors */
    --bg-light: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-alt: #F3F4F6;
    --bg-wheat-soft: #FCF7EE;
    --bg-brand-soft: #F0F2FB; /* Light Navy tint */

    /* UI Sizing & Spacing */
    --container-max-width: 1260px;
    --header-height: 80px;

    /* Design Tokens */
    --border-radius-sm: 50px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --box-shadow-md: 0 8px 24px rgba(0,0,0,0.10);
    --box-shadow-lg: 0 20px 50px rgba(46,49,146,0.10), 0 6px 20px rgba(0,0,0,0.06);
    --box-shadow-premium: 0 30px 60px rgba(46,49,146,0.15), 0 10px 30px rgba(0,0,0,0.05);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Global Reset & Base Elements --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

p {
    font-family: var(--font-body);
    color: var(--text-muted);
}

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

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility Components / Badges & Buttons --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-brand-soft);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1.5px solid rgba(46,49,146,0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    position: relative;
}

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

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(46, 49, 146, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 49, 146, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-sm);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Top Bar Elements - Britannia Style
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    padding: 9px 0;
    border-bottom: none;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--accent-color);
}

.top-socials {
    display: flex;
    gap: 16px;
}

.top-socials a:hover {
    color: var(--accent-color);
}

/* Sticky Main Header - crisp white Britannia style */
.main-header {
    height: 60px; /* Reduced from 80px */
    background-color: #FFFFFF;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    height: 42px; /* Reduced from 56px */
    width: 42px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: var(--box-shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem; /* Reduced from 1.15rem */
    letter-spacing: 0.2px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.6rem; /* Reduced from 0.7rem */
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
    line-height: 1.1;
}

/* Menu items */
.nav-list {
    display: flex;
    gap: 20px; /* Reduced from 32px */
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem; /* Reduced from 0.95rem */
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Thinner smaller button */
.nav-actions .btn-primary {
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    height: auto;
    line-height: 1.2;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Slideshow Box Section (Photos Only - Completely Separate)
   ========================================================================== */
.slideshow-section {
    width: 100%;
    background-color: #EEF2FC;
    padding: 0;
    margin: 0;
    border-bottom: 4px solid var(--primary-color);
}

.slideshow-box {
    position: relative;
    width: 100%;
    height: 480px;
    margin: 0;
    overflow: hidden;
    background-color: #EEF2FC; /* Halka Blue background */
}

/* Slides inside the box - Flex center layout to allow overflow positioning */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3-card layout styling */
.hero-slideshow .slide {
    position: absolute;
    width: 28%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6) translateX(0);
    z-index: 1;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s ease-in-out, z-index 0.65s;
    background: transparent;
    pointer-events: none;
}

/* img fills the box nicely, keeping aspect ratio */
.hero-slideshow .slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 12px 24px rgba(46, 49, 146, 0.15));
}

/* Active middle slide */
.hero-slideshow .slide.active {
    opacity: 1;
    transform: scale(1.0) translateX(0);
    z-index: 5;
    pointer-events: auto;
}

/* Prev slide on the left - translucent */
.hero-slideshow .slide.prev {
    opacity: 0.35;
    transform: scale(0.72) translateX(-130%);
    z-index: 2;
    pointer-events: auto;
}

/* Next slide on the right - translucent */
.hero-slideshow .slide.next {
    opacity: 0.35;
    transform: scale(0.72) translateX(130%);
    z-index: 2;
    pointer-events: auto;
}

/* Arrows inside the slideshow box */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.40);
    background: rgba(17, 19, 60, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.slide-arrow:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 18px rgba(245, 130, 32, 0.5);
}

.slide-prev { left: 18px; }
.slide-next { right: 18px; }

/* Dots inside the box */
.slide-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 8px;
}

.slide-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.slide-dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(245, 130, 32, 0.7);
}

/* ==========================================================================
   Hero Text Section (Completely Separate - Below Slideshow)
   ========================================================================== */
.hero-section {
    padding: 50px 0 50px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

/* Subtle red wavy decoration */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(46,49,146,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* hero-content-wrapper must sit above overlay */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Three inline badges on the right */
.hero-badges-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-radius: var(--border-radius-md);
    background: var(--bg-brand-soft);
    border: 1.5px solid rgba(46,49,146,0.12);
    transition: var(--transition-smooth);
}

.hero-badge-item:hover {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(46,49,146,0.12);
    transform: translateY(-3px);
}


.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: var(--bg-brand-soft);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(46,49,146,0.2);
}

.hero-subtitle i {
    color: #FFC85E;
    font-size: 1.1rem;
    animation: pulseWheat 2s infinite ease-in-out;
}

@keyframes pulseWheat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 800;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.75;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-section .btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(46,49,146,0.35);
    border-radius: 50px;
}

.hero-section .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46,49,146,0.5);
}

.hero-section .btn-secondary {
    border: 2.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 50px;
}

.hero-section .btn-secondary:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Hero Badge Cards — hide them (content moved to bottom strip) */
.hero-visual-card {
    display: none;
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.badge-card:hover {
    transform: translateY(-6px) translateX(-4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35);
}

.badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--bg-brand-soft);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1.5px solid rgba(46,49,146,0.15);
}

.badge-icon.green-icon {
    background-color: rgba(46,125,50,0.08);
    color: var(--secondary-color);
    border-color: rgba(46,125,50,0.15);
}

.badge-icon.gold-icon {
    background-color: rgba(245,166,35,0.10);
    color: var(--accent-dark);
    border-color: rgba(245,166,35,0.15);
}

.badge-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.badge-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Stats Showcase Banner
   ========================================================================== */
.stats-section {
    background: var(--primary-color);
    padding: 25px 0;
    color: var(--text-light);
    position: relative;
    z-index: 20;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    display: inline-block;
    color: var(--text-light);
}

.stat-suffix {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    padding: 30px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-container {
    width: 100%;
    aspect-ratio: 1.15;
    background-color: #fcefdc;
    border-radius: var(--border-radius-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-md);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
}

.about-image-container:hover .about-img {
    transform: scale(1.05);
}

.img-overlay-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 5px solid var(--accent-color);
}

.overlay-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--primary-color);
    line-height: 1;
}

.overlay-txt {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.about-paragraph {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-key-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
}

.about-feature-item .feature-icon {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 2px;
}

.about-feature-item h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.about-feature-item p {
    font-size: 0.92rem;
}

/* ==========================================================================
   Products Grid Section
   ========================================================================== */
.products-section {
    background-color: var(--bg-wheat-soft);
    padding: 30px 0;
    border-top: 1px solid rgba(245, 130, 32, 0.05);
    border-bottom: 1px solid rgba(245, 130, 32, 0.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-premium);
    border-color: rgba(46, 49, 146, 0.1);
}

.product-image-container {
    background-color: var(--bg-alt);
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.product-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.12));
}

.product-card:hover .product-card-img {
    transform: scale(1.06) translateY(-4px);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}

.product-image-container.text-icon-header {
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.08), rgba(46, 49, 146, 0.08));
    color: var(--accent-color);
    font-size: 5rem;
}

.product-card:hover .product-image-container.text-icon-header {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-light);
}

.product-body {
    padding: 30px;
    flex-grow: 1;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.product-tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-dark);
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.product-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    border-top: 1px solid var(--bg-alt);
    padding-top: 18px;
}

.product-specs li {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-specs li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.product-footer {
    padding: 0 30px 30px;
}

.product-btn {
    border-radius: var(--border-radius-sm);
}

/* ==========================================================================
   Infrastructure Tour Section
   ========================================================================== */
.infrastructure-section {
    padding: 30px 0;
}

.infra-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
}

.infra-paragraph {
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.infra-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.infra-step-card {
    display: flex;
    gap: 24px;
}

.step-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent-color);
    background-color: var(--bg-wheat-soft);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(245, 130, 32, 0.15);
}

.step-details h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.step-details p {
    font-size: 0.95rem;
}

/* Technical Details Right Visual Panel */
.infra-visuals {
    display: flex;
    align-items: center;
    justify-content: center;
}

.infra-card-main {
    background: linear-gradient(145deg, var(--primary-dark) 0%, #171a53 100%);
    color: var(--text-light);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    text-align: center;
    width: 100%;
}

.infra-card-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.infra-card-main h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.infra-card-main p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.98rem;
    margin-bottom: 40px;
}

.infra-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.infra-sub-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.infra-sub-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.infra-sub-item i {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.infra-sub-item span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Infrastructure Gallery Grid Styles */
.infra-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.infra-gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 135px;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(46, 49, 146, 0.08);
}

.infra-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-md);
}

.infra-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.infra-gallery-item:hover .infra-gallery-img {
    transform: scale(1.06);
}

.infra-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(27, 30, 107, 0.9));
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 16px 20px 10px;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Quality Control & Testing Section
   ========================================================================== */
.quality-section {
    background-color: var(--bg-alt);
    padding: 30px 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
}

.quality-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(91, 127, 36, 0.1);
}

.quality-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.quality-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.quality-item p {
    font-size: 0.92rem;
}

.certifications-banner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background-color: var(--bg-white);
    padding: 30px 50px;
    border-radius: 50px;
    box-shadow: var(--box-shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.cert-item {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cert-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ==========================================================================
   Testimonials/Feedback Section
   ========================================================================== */
.testimonials-section {
    padding: 30px 0;
    background: radial-gradient(circle at 10% 20%, rgba(245, 130, 32, 0.03) 0%, rgba(46, 49, 146, 0.03) 90%);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(245, 130, 32, 0.12);
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-user h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.testimonial-user span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Contact Section & Inquiry Form
   ========================================================================== */
.contact-section {
    padding: 30px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 30px;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-card {
    display: flex;
    gap: 20px;
}

.method-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(46, 49, 146, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.method-info p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Glassmorphism Form Card */
.glass-form-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-premium);
    padding: 50px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.glass-form-card h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.glass-form-card p {
    font-size: 0.92rem;
    margin-bottom: 36px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.form-group .required {
    color: #DC2626;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--bg-alt);
    background-color: var(--bg-alt);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.08);
}

.form-group textarea {
    resize: vertical;
}

/* Form success notification state */
.hidden {
    display: none !important;
}

.form-success-alert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    animation: zoomIn 0.4s ease-out;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.success-check-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.form-success-alert h4 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-success-alert p {
    font-size: 0.98rem;
    margin-bottom: 30px;
    max-width: 320px;
}

/* ==========================================================================
   Footer Section Styling
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 90px 0 0;
    border-top: 5px solid var(--accent-color);
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 25px;
    margin-bottom: 25px;
}

.logo-area-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: contain;
}

.brand-text-light .brand-name {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 800;
}

.brand-text-light .brand-sub {
    color: var(--accent-color);
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.footer-about-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

.footer-cin {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.footer-cin i {
    color: var(--accent-color);
}

.footer-grid h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul, .footer-products ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a:hover, .footer-products a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact p i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.animate-heart {
    color: #DC2626;
    animation: heartBeat 1.5s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ==========================================================================
   Responsive & Interactive Animation System
   ========================================================================== */

/* Intersection Observer Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Delays for children stagger loading */
.delayed-1 { transition-delay: 0.15s; }
.delayed-2 { transition-delay: 0.3s; }
.delayed-3 { transition-delay: 0.45s; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 36px;
    }
    
    .hero-cta-buttons {
        justify-content: center;
    }
    
    .hero-visual-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .infra-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .top-bar {
        display: none; /* Hide top utility bar on small screens to save space */
    }
    
    /* Shrink logo brand on mobile to fit nicely */
    .logo-area {
        gap: 6px;
    }
    .nav-logo {
        height: 38px;
        width: 38px;
    }
    .brand-name {
        font-size: 0.82rem;
    }
    .brand-sub {
        font-size: 0.5rem;
    }
    
    /* Hamburger Menu Logic */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .btn-nav {
        display: none; /* Hide nav button in header, link to footer contact instead */
    }
    
    /* Hamburger Active Rotation */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Mobile Slideshow Resizing */
    .slideshow-box {
        height: 300px;
    }
    .hero-slideshow .slide {
        width: 58%;
        height: 85%;
    }
    .hero-slideshow .slide.prev {
        transform: scale(0.75) translateX(-110%);
    }
    .hero-slideshow .slide.next {
        transform: scale(0.75) translateX(110%);
    }
    .slide-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .slide-prev { left: 8px; }
    .slide-next { right: 8px; }
    
    /* Typography responsive fixes */
    .section-title {
        font-size: 1.8rem !important;
    }
    .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stats-section {
        padding: 40px 20px;
        width: calc(100% - 32px);
    }
    
    .stats-grid {
        gap: 30px;
    }
    
    .certifications-banner {
        padding: 24px 30px;
        border-radius: var(--border-radius-md);
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .testimonial-card {
        padding: 40px 24px;
    }
    
    .glass-form-card {
        padding: 30px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Wrap profile details vertically on small screen sizes */
    .info-item {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 4px;
    }
}

/* ==========================================================================
   Farmer & Partner Portal Section
   ========================================================================== */
.portal-section {
    padding: 30px 0;
    background-color: var(--bg-white);
}

.portal-box {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 40px;
}

.portal-tabs {
    display: flex;
    background-color: var(--bg-alt);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--primary-color);
    background-color: rgba(46, 49, 146, 0.03);
}

.tab-btn.active {
    color: var(--primary-color);
    background-color: var(--bg-white);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 50px;
    animation: fadeInTab 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.portal-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 25px;
    align-items: start;
}

.portal-desc-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
}

.portal-desc-card h3 i {
    color: var(--accent-color);
}

.portal-desc-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.portal-note {
    background-color: var(--bg-wheat-soft);
    border-left: 4px solid var(--accent-color);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 0.92rem;
    color: var(--text-dark);
}

.portal-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.portal-checklist li {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-checklist li i {
    color: var(--secondary-color);
}

.portal-form-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.portal-inner-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.input-with-button {
    display: flex;
    gap: 12px;
}

.input-with-button input {
    flex-grow: 1;
}

/* Payment advice search results */
.advice-result-box {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    border: 1.5px solid rgba(46, 49, 146, 0.1);
    padding: 30px;
    margin-top: 20px;
    animation: zoomIn 0.3s ease-out;
}

.result-header {
    border-bottom: 1.5px solid var(--bg-alt);
    padding-bottom: 16px;
    margin-bottom: 20px;
    position: relative;
}

.result-header h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.result-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: rgba(91, 127, 36, 0.12);
    color: var(--secondary-color);
    border: 1px solid rgba(91, 127, 36, 0.2);
}

.result-details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    border-bottom: 1px dashed var(--bg-alt);
    padding-bottom: 8px;
}

.detail-row span {
    color: var(--text-muted);
}

.detail-row strong {
    color: var(--text-dark);
}

.detail-row-highlight {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    background-color: var(--bg-wheat-soft);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--primary-dark);
    margin-top: 10px;
}

.result-footer {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid var(--bg-alt);
    padding-top: 20px;
}

.bank-ref-text {
    font-size: 0.88rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Error box */
.advice-error-box {
    background-color: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    animation: zoomIn 0.3s ease-out;
}

.error-icon {
    font-size: 3rem;
    color: #EF4444;
    margin-bottom: 16px;
}

.advice-error-box h4 {
    color: #991B1B;
    margin-bottom: 8px;
}

.advice-error-box p {
    font-size: 0.9rem;
    color: #7F1D1D;
    max-width: 400px;
    margin: 0 auto;
}

/* Success box for general portal transactions */
.portal-success-box {
    text-align: center;
    padding: 40px 20px;
    animation: zoomIn 0.3s ease-out;
}

.portal-success-box .success-icon {
    font-size: 4.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.portal-success-box h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.portal-success-box p {
    font-size: 0.98rem;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .portal-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 16px;
        font-size: 0.95rem;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: var(--primary-color);
    }
    
    .tab-content {
        padding: 30px 20px;
    }
    
    .portal-form-card {
        padding: 24px;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .input-with-button {
        flex-direction: column;
    }
}

/* Cursor tail removed – default system cursor used */

/* Hide on mobile */
@media (max-width: 768px) {
    .cursor-tail { display: none !important; }
}

/* ==========================================================================
   Customer Portal Forms & Dashboard Styling
   ========================================================================== */
.form-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--bg-brand-soft);
    padding-bottom: 10px;
}

.form-switch-text {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.form-switch-text a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.form-switch-text a:hover {
    color: var(--accent-color);
}

.error-msg-inline {
    background-color: #FFF0F2;
    border: 1px solid #FFC8D2;
    color: #C8102E;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    margin-top: 12px;
}

/* Dashboard UI */
.customer-dashboard-box {
    animation: fadeInTab 0.5s ease-out;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-brand-soft);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 25px;
}

.user-avatar i {
    font-size: 3rem;
    color: var(--primary-color);
}

.user-meta h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.dashboard-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    border-bottom: 1px dashed #F3F4F6;
    padding-bottom: 8px;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item span {
    color: var(--text-muted);
}

.info-item span i {
    width: 20px;
    color: var(--primary-color);
}

.dashboard-orders-section {
    margin-bottom: 25px;
}

.dashboard-orders-section h5 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.mock-order-card {
    background-color: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-status-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.status-dispatched {
    background-color: rgba(91,127,36,0.12);
    color: var(--secondary-color);
}

.order-details strong {
    font-size: 0.92rem;
    display: block;
    color: var(--text-dark);
}

.order-details p {
    font-size: 0.8rem;
    margin-top: 2px;
}

.dashboard-actions {
    display: flex;
    gap: 16px;
}

.dashboard-actions button {
    flex: 1;
}

.animate-pulse {
    animation: dashPulse 2s infinite ease-in-out;
}

@keyframes dashPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.95; }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF;
}

.whatsapp-icon {
    font-size: 34px;
    margin-top: 0;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Portal Modal Overlay Layout */
.portal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 19, 60, 0.7);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.portal-modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.portal-modal-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-premium);
    width: 90%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px 24px;
    animation: slideDownModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--primary-color);
}

@keyframes slideDownModal {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.portal-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.portal-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.btn-nav-portal {
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-nav-portal:hover {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
}

/* Fullscreen Dashboard Layout Rules */
.portal-modal-overlay.fullscreen-active {
    background-color: var(--bg-white);
    backdrop-filter: none;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.portal-modal-overlay.fullscreen-active .portal-modal-card {
    width: 100%;
    max-width: 100% !important;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.portal-modal-overlay.fullscreen-active .portal-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portal-modal-overlay.fullscreen-active .portal-modal-close {
    display: none; /* Hide original small close button */
}

.portal-modal-overlay.fullscreen-active .portal-modal-header {
    display: none; /* Hide default simple login header */
}

.portal-modal-overlay.fullscreen-active .portal-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.profile-dropdown-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-dropdown-card.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    display: none !important;
}

.profile-icon-trigger:hover {
    background: rgba(255,255,255,0.22) !important;
}

.dash-tab-btn {
    border: 2px solid transparent !important;
    transition: var(--transition-smooth);
}

.dash-tab-btn.active {
    background: var(--accent-color) !important;
    color: #FFF !important;
    border-color: #FFF !important;
}

.dash-tab-content-pane.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .dash-navbar {
        padding: 10px 15px !important;
        flex-direction: column;
        gap: 10px;
        align-items: stretch !important;
    }
    
    .dash-logo {
        justify-content: center;
    }
    
    .dash-user-section {
        justify-content: space-between;
    }
    
    .dash-content-container {
        padding: 15px !important;
    }
}

