/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', system-ui, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container img {
    width: 50px;
    height: 50px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.logo-text p {
    font-size: 0.875rem;
    color: #4b5563;
    margin-top: -0.25rem;
}

/* Navigation */
.nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .header .btn-primary svg{
        display: none;
    }
    .header .btn-primary {
        padding: 6px 18px;
    }
    .logo-text h1 {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

/* Button */
.btn-primary {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('./img/hero1.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.footer img {
    width: 100px;
}

.hero-content {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: #93c5fd;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-large {
    background-color: white;
    color: #1e40af;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-large:hover {
    background-color: #eff6ff;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Common */
section {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #2563eb;
    bottom: -8px;
    right: 0;
}

.section-title-center {
    text-align: center;
}

.section-title-center:after {
    right: 50%;
    transform: translateX(50%);
}

/* Grid System */
.grid-2 {
    display: grid;
    gap: 4rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards */
.card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.service-card {
    background: white;
    border: 1px solid #f3f4f6;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
}

/* About Section */
.about-list {
    list-style: none;
    margin-top: 1.5rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: #0f172a;
    color: white;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: #1e3a8a;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    color: white;
    font-family: 'Vazirmatn', sans-serif;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #60a5fa;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select option {
    background-color: #0f172a;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 0;
    text-align: center;
}

/* Utilities */
.bg-white {
    background-color: white;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.text-center {
    text-align: center;
}

.text-blue-600 {
    color: #2563eb;
}

.text-lg {
    font-size: 1.125rem;
}

.text-gray-600 {
    color: #4b5563;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-8 {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.overflow-hidden {
    overflow: hidden;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.dir-ltr {
    direction: ltr;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.gap-8 {
    gap: 2rem;
}

.leading-relaxed {
    line-height: 1.625;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}
/* Expert Counseling Section */
.expert-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 5rem 0;
}

.expert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    width: fit-content;
    margin: 0 auto 2rem auto;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-icon {
    font-size: 1.125rem;
}

.expert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .expert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expert-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.expert-card.featured {
    border: 2px solid #f59e0b;
    transform: scale(1.02);
}

.expert-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.expert-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.expert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expert-card:hover .expert-img {
    transform: scale(1.05);
}

.expert-rating {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-size: 0.75rem;
}

.expert-rating span:last-child {
    color: white;
    font-weight: 600;
}

.expert-info {
    padding: 1.5rem;
}

.expert-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.expert-title {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1rem;
}

.expert-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.expert-stats .stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    font-size: 0.7rem;
    color: #6b7280;
}

.expert-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-expert {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-expert:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: scale(1.02);
}

.btn-expert .price {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    margin-right: 0.5rem;
}

/* Expert Features */
.expert-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .expert-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.expert-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #eff6ff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.expert-features .feature h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.expert-features .feature p {
    font-size: 0.75rem;
    color: #6b7280;
}