:root {
    --primary: #00355f;
    /* Deep Navy from logo */
    --secondary: #008080;
    /* Teal Green */
    --accent: #ffd700;
    /* Gold */
    --bg-light: #f5f8fa;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

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

body[dir="ltr"] {
    font-family: 'Inter', 'Vazirmatn', sans-serif;
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-svg {
    width: 60px;
    height: 60px;
}

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

.brand-title {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-btn .active {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e6eff5 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 128, 128, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 128, 128, 0.2);
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.feature-card span {
    font-weight: 500;
    font-size: 0.95rem;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-red {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.icon-blue {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.cta-box {
    background: var(--secondary);
    border-radius: 16px;
    padding: 30px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.wa-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-input,
.form-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-select option {
    background: var(--secondary);
    color: var(--white);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 500px;
}

/* Content Wrapper Layout */
.content-wrapper {
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* Sidebar Services */
.services-sidebar {
    background: var(--primary);
    color: var(--white);
    border-radius: 16px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    box-shadow: var(--shadow-md);
}

.services-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-header h3 {
    font-size: 1.3rem;
}

.services-list {
    list-style: none;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    transform: translateX(-5px);
}

body[dir="ltr"] .services-list li:hover {
    transform: translateX(5px);
}

.service-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Features Column */
.features-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 128, 128, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-box span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Why Us Section */
.why-us {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
}

.section-title {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 40px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-info,
.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-wa {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.footer-wa-text {
    display: flex;
    flex-direction: column;
}

.footer-wa-text strong {
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.footer-wa-text small {
    opacity: 0.8;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e6eff5 100%);
    min-height: calc(100vh - 200px);
}

.contact-container {
    display: flex;
    gap: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info-panel {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    flex: 1;
    min-width: 300px;
}

.contact-info-panel h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info-panel p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-detail-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail-box svg {
    flex-shrink: 0;
    color: var(--accent);
}

.contact-detail-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-detail-text span {
    opacity: 0.8;
}

.contact-form-panel {
    flex: 2;
    padding: 40px;
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .content-wrapper {
        flex-direction: column;
    }

    .content-wrapper {
        margin-top: 40px;
    }

    .hero-image {
        width: 100%;
        margin-top: 30px;
    }

    .features-grid {
        flex-direction: column;
    }

    .wa-form {
        flex-direction: column;
    }

    .btn-whatsapp {
        justify-content: center;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info-panel {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .brand-title {
        font-size: 0.8rem;
    }

    p.brand-subtitle {
        DISPLAY: NONE;
    }
}