:root {
    --primary-color: #005A8D; /* آبی تیره */
    --secondary-color: #00A896; /* سبز-آبی ملایم */
    --light-bg: #f8f9fa;
    --dark-text: #343a40;
    --light-text: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.8;
    color: var(--dark-text);
    direction: rtl;
    text-align: right;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

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

/* --- Header --- */
.main-header {
    background-color: var(--light-text);
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

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

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 22px;
}
.logo span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-color);
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    display: inline-block;
    margin-right: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}
.main-nav a:hover {
    color: var(--secondary-color);
}

.btn {
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(0, 90, 141, 0.3);
}
.btn-primary:hover {
    background-color: #004a74;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}
.btn-secondary:hover {
    background-color: #008a79;
     transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('YOUR_BACKGROUND_IMAGE_URL.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--light-bg);
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    color: var(--dark-text);
    flex: 1;
    padding: 10px;
}

.trust-item i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.trust-item span {
    display: block;
    font-weight: 600;
}

/* --- Section Styling --- */
.section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.service-card i {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.service-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* --- About Section --- */
#about {
    background-color: var(--light-bg);
}
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-image {
    flex-basis: 35%;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.1));
}
.about-text {
    flex-basis: 65%;
}
.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.about-text p {
    margin-bottom: 20px;
}
.about-text ul {
    list-style: none;
    padding: 0;
}
.about-text li {
    margin-bottom: 10px;
    padding-right: 25px;
    position: relative;
}
.about-text li::before {
    content: "\f00c"; /* Font Awesome check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    right: 0;
    top: 5px;
}

/* --- Appointment Section --- */
.appointment-box {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 90, 141, 0.4);
}
.appointment-box h2 {
    color: var(--light-text);
    font-size: 32px;
}
.appointment-box p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.appointment-box .note {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    display: inline-block;
    margin-top: 20px;
}

/* --- Testimonials & Videos Section --- */
#testimonials, #videos {
    background-color: var(--light-bg);
}
.swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: auto;
}
.testimonial-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}
.testimonial-card p {
    flex-grow: 1;
    font-size: 16px;
    margin-bottom: 20px;
}
.testimonial-card::before {
    content: '\f10d'; /* Font Awesome quote icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 30px;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 15px;
    right: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}
.testimonial-author span {
    color: #6c757d;
    font-size: 14px;
}
.swiper-pagination-bullet-active {
    background-color: var(--primary-color) !important;
}
.video-slide {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.video-slide iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

/* --- Location Section --- */
.location-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.location-map {
    flex: 1;
    min-height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.location-details {
    flex: 1;
}
.location-details .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.location-details .info-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-left: 20px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}
.location-details h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 700;
}
.location-details p {
    margin: 0;
    line-height: 1.7;
}
.nav-buttons {
    margin-top: 20px;
}
.nav-buttons .btn {
    margin-left: 10px;
    margin-bottom: 10px;
    background-color: #f1f3f5;
    color: var(--dark-text);
    padding: 8px 15px;
    font-size: 14px;
}
.nav-buttons .btn:hover {
    background-color: #e9ecef;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 40px 0 20px 0;
}
.footer-content {
    text-align: center;
}
.footer-content h3 {
    font-size: 22px;
    font-weight: 700;
}
.footer-content p {
    font-size: 15px;
    color: #ced4da;
}
.social-links {
    margin-top: 20px;
}
.social-links a {
    color: var(--light-text);
    font-size: 24px;
    margin: 0 15px;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--secondary-color);
}
.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #495057;
    font-size: 14px;
    color: #adb5bd;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .main-nav { display: none; } /* Simple hiding for this example. A real site needs a hamburger menu. */
    .logo a { font-size: 20px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    .about-content { flex-direction: column; }
    .location-content { flex-direction: column; }
}
@media (max-width: 768px) {
    .trust-bar .container { flex-direction: column; gap: 20px; }
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 32px; }
    .btn { padding: 10px 20px; font-size: 15px; }
    .social-links a { margin: 0 10px; }
}
