/* Custom Properties */
:root {
    --brand-primary: #1B4332;
    --brand-primary-light: #2D6A4F;
    --brand-accent: #D4AF37;
    --brand-text: #111827;
    --brand-muted: #6B7280;
    --brand-bg: #FFFFFF;
    --brand-surface: #F9FAFB;
    --brand-border: #E5E7EB;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    background-color: var(--brand-bg);
    color: var(--brand-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--brand-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand-primary);
    text-decoration: none;
}

.logo-box {
    width: 32px;
    height: 32px;
    background: var(--brand-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: var(--brand-surface);
    text-align: center;
}

.badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: rgba(27, 67, 50, 0.05);
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--brand-primary);
}

.hero h1 span {
    color: var(--brand-accent);
}

.hero p {
    font-size: 1.125rem;
    color: var(--brand-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Service Cards */
.services {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--brand-primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service Cards - Premium Upgrade */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.card {
    background: white;
    border: 1px solid var(--brand-border);
    border-radius: 32px;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(27, 67, 50, 0.15);
    border-color: var(--brand-primary);
}

.card-header {
    padding: 2.5rem 2.5rem 1.5rem;
}

.card-badge-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 99px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-tag.hot {
    background: var(--brand-primary);
    color: var(--brand-accent);
    border: none;
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--brand-primary);
    line-height: 1.4;
}

.card-description {
    font-size: 0.95rem;
    color: var(--brand-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    display: block;
}

.card-content {
    padding: 0 2.5rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-table {
    background: var(--brand-surface);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pricing-row.recommended {
    background: white;
    border-left: 4px solid var(--brand-accent);
}

[dir="rtl"] .pricing-row.recommended {
    border-left: none;
    border-right: 4px solid var(--brand-accent);
}

.pricing-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing-label .plan-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-muted);
    text-transform: uppercase;
}

.pricing-row.recommended .plan-name {
    color: var(--brand-primary);
}

.pricing-amount {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--brand-primary);
}

/* Updated Button Styles */
.btn-whatsapp {
    background: #25D366;
    color: white;
    height: 64px;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

/* Featured Styling for specific cards */
.card-featured {
    border: 2px solid var(--brand-accent);
}

.card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brand-accent);
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-primary-light);
}

/* Form Section */
.contact-section {
    padding: 5rem 0;
    background: var(--brand-surface);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--brand-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid var(--brand-border);
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
}

/* Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.location-badge {
    font-size: 0.75rem; 
    font-weight: 800; 
    color: var(--brand-muted);
}

.lang-switcher {
    position: relative;
}

.lang-select {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    background: white;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-select:hover {
    border-color: var(--brand-primary);
}

/* RTL Specific adjustments for standard CSS */
[dir="rtl"] .logo-box {
    margin-left: 0;
    margin-right: 0;
}

[dir="rtl"] .btn svg {
    transform: rotate(180deg);
}

/* Hindi Specific Font */
[lang="hi"] body {
    font-family: 'Noto Sans Devanagari', 'Cairo', sans-serif;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--brand-border);
    text-align: center;
}

.footer-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .form-container { padding: 2rem; }
}
