:root {
    --primary: #5c59e8;
    --primary-dark: #4b48d6;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --font-family: 'Inter', system-ui, sans-serif;
}

/* Language-specific typography */
html[lang="ar"] { --font-family: 'Cairo', system-ui, sans-serif; }
html[lang="bn"] { --font-family: 'Hind Siliguri', system-ui, sans-serif; }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Header & Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 1.5rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.brand-logo {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-select {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    color: var(--text);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #eef2ff;
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 2rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Highlights Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.stat-card .icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-card .val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 0.25rem;
}

/* Feature Gallery Showcase */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.showcase-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 4rem;
}

.showcase-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
}

.showcase-preview {
    background: #f1f5f9;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-inline-end: 1px solid var(--border);
}

.preview-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.showcase-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.showcase-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-inline-start: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Layout */
@media (max-width: 900px) {
    .showcase-body {
        grid-template-columns: 1fr;
    }
    .showcase-preview {
        border-inline-end: none;
        border-bottom: 1px solid var(--border);
    }
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        gap: 1rem;
    }

    .nav-links.open {
        display: flex;
    }
}
/* Hero Header for Subpages */
.hero-section {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.info-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Core Values Section */
.values-section {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.values-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.value-item {
    padding: 1rem;
    border-inline-start: 3px solid var(--primary);
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

html[dir="rtl"] .value-item {
    border-radius: 8px 0 0 8px;
}

.value-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
}
/* Booking Card & Form Styles */
.booking-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.booking-header {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.booking-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
}

/* Time Slots Grid */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.slot-btn {
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.slot-btn:hover,
.slot-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Submit Button & Confirmation */
.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.success-message {
    display: none;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}