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

/* Local Fonts */
@font-face {
    font-family: 'Vazir';
    src: url('fonts/vazir/Vazir.woff2') format('woff2'),
         url('fonts/vazir/Vazir.woff') format('woff'),
         url('fonts/vazir/Vazir.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('fonts/vazir/Vazir-Light.woff2') format('woff2'),
         url('fonts/vazir/Vazir-Light.woff') format('woff'),
         url('fonts/vazir/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('fonts/vazir/Vazir-Medium.woff2') format('woff2'),
         url('fonts/vazir/Vazir-Medium.woff') format('woff'),
         url('fonts/vazir/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('fonts/vazir/Vazir-Bold.woff2') format('woff2'),
         url('fonts/vazir/Vazir-Bold.woff') format('woff'),
         url('fonts/vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan';
    src: url('fonts/yekan/Yekan.eot');
    src: url('fonts/yekan/Yekan.eot?#iefix') format('embedded-opentype'),
         url('fonts/yekan/Yekan.woff') format('woff'),
         url('fonts/yekan/Yekan.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-base: 'Vazir', 'Yekan', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Yekan', 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    direction: rtl;
}

.hero-title,
.section-title,
.service-title,
.why-title,
.contact-cta-title,
.trust-number,
.nav-title,
.footer-title,
.story-title,
.mission-title,
.value-title,
.team-title,
.cta-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #eab308;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    color: #eab308;
}

.nav-title {
    font-size: 24px;
    font-weight: bold;
    color: #eab308;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #eab308;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #eab308;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #eab308;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(234, 179, 8, 0.1) 0%, transparent 50%);
    z-index: -1;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title-accent {
    color: #eab308;
}

.hero-description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #eab308;
    color: #000;
}

.btn-primary:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #eab308;
    border: 2px solid #eab308;
}

.btn-secondary:hover {
    background: #eab308;
    color: #000;
    transform: translateY(-2px);
}

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

.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    color: #eab308;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-services-grid {
    background: rgba(234, 179, 8, 0.1);
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    backdrop-filter: blur(10px);
}

.hero-service-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-service-card:hover {
    transform: translateY(-5px);
    background: rgba(234, 179, 8, 0.1);
}

.hero-service-icon {
    width: 48px;
    height: 48px;
    color: #eab308;
    margin-bottom: 15px;
}

.hero-service-card p {
    font-weight: 500;
    color: #d1d5db;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: rgba(26, 26, 26, 0.5);
}

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

.trust-item {
    padding: 20px;
}

.trust-number {
    font-size: 3rem;
    font-weight: bold;
    color: #eab308;
    margin-bottom: 10px;
}

.trust-label {
    color: #9ca3af;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    margin-bottom: 20px;
}

.accent {
    color: #eab308;
}

.section-description {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid #374151;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(234, 179, 8, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    background: rgba(234, 179, 8, 0.1);
    border-radius: 15px;
    padding: 20px;
    width: fit-content;
    margin: 0 auto 20px;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(234, 179, 8, 0.2);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: #eab308;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-description {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: right;
}

.service-features li {
    color: #6b7280;
    margin-bottom: 8px;
    position: relative;
    padding-right: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #eab308;
    font-weight: bold;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, rgba(234, 179, 8, 0.1) 100%);
}

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

.why-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    background: rgba(234, 179, 8, 0.1);
    border-radius: 50%;
    padding: 20px;
    width: fit-content;
    margin: 0 auto 20px;
}

.why-icon svg {
    width: 40px;
    height: 40px;
    color: #eab308;
}

.why-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.why-description {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Contact CTA Section */
.contact-cta {
    padding: 100px 0;
    background: #000;
}

.contact-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-cta-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 40px;
}

.contact-info {
    background: rgba(26, 26, 26, 0.5);
    border: 2px solid rgba(234, 179, 8, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #eab308;
    flex-shrink: 0;
}

.contact-details {
    text-align: right;
}

.contact-label {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #111827;
    border-top: 1px solid #374151;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
    color: #eab308;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #eab308;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    color: #9ca3af;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links li:hover,
.footer-contact li:hover {
    color: #eab308;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-services-grid {
        width: 100%;
        padding: 30px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-cta-title {
        font-size: 1.75rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

    .hero-services-grid {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.pulse {
    animation: pulse 2s infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #eab308;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Selection */
::selection {
    background: rgba(234, 179, 8, 0.3);
    color: #fff;
}

/* Focus States */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-buttons {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
