/* Critical CSS - Above-the-fold styles only */
/* This file contains ONLY the essential styles needed for initial page render */

/* CSS Variables - Essential */
:root {
    --primary-color: #2D5016;
    --secondary-color: #2C3E50;
    --accent-color-orange: #87A96B;
    --accent-color-teal: #2E8B57;
    --main-bg-color: #FFFDF3;
    --text-color: #2C3E50;
    --light-bg: #F8F9FA;
}

/* Essential Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Anek Bangla', sans-serif;
    background-color: var(--main-bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation - Critical */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-brand img {
    height: 90px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section - Critical */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

/* Smart Recognition Badge - Critical */
.smart-recognition-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,249,250,0.9));
    border: 2px solid #87A96B;
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(135, 169, 107, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.recognition-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.search-term {
    color: #6c757d;
    font-size: 1rem;
}

.evolution-arrow {
    color: #87A96B;
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-name {
    color: #2D5016;
    font-size: 1.3rem;
    font-weight: 700;
}

.tagline-smart {
    color: #2E8B57;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Title - Critical */
.hero-title-animated {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bengali-text {
    display: block;
    margin-bottom: 0.5rem;
}

.subtitle-line {
    display: block;
    font-size: 2rem;
    font-weight: 500;
}

/* Service Highlights Strip - Critical */
.service-highlights-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 12px 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(135,169,107,0.3);
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.highlight-item i {
    color: #87A96B;
    font-size: 1rem;
}

.highlight-separator {
    color: #87A96B;
    font-weight: bold;
    opacity: 0.7;
}

/* Buttons - Critical */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color-orange));
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.discover-btn {
    background: linear-gradient(135deg, var(--accent-color-orange), var(--accent-color-teal));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Mobile Responsive - Critical */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 60px;
    }
    
    .hero-title-animated {
        font-size: 2.5rem;
    }
    
    .subtitle-line {
        font-size: 1.5rem;
    }
    
    .service-highlights-strip {
        flex-direction: column;
        gap: 8px;
    }
    
    .highlight-separator {
        display: none;
    }
    
    .smart-recognition-badge {
        padding: 10px 18px;
    }
    
    .recognition-text {
        font-size: 1rem;
    }
}

/* Essential animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Visually hidden utility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}

/* Essential Bootstrap classes for layout */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col, .col-md-6, .col-lg-4, .col-lg-3, .col-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Essential section styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-color);
    line-height: 1.6;
}

/* Essential utilities */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.h-100 {
    height: 100%;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.flex-column {
    flex-direction: column;
}

.gap-4 {
    gap: 1.5rem;
}

/* Responsive grid */
@media (max-width: 991.98px) {
    .col-lg-4, .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    .col-md-6, .col-lg-4, .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
} 