/* Fast Care Labs - Modern Medical Laboratory Website CSS */

/* CSS Variables */
:root {
    --primary-color: #66258d;
    --secondary-color: #d560a5;
    --accent-color: #2ECC71;
    --background-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
    --container-max-width: 1200px;
    --container-padding: 20px;
}

/* Universal Text Centering */
main {
    text-align: center;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    text-align: center;
    margin: 0 auto 1rem;
}

main p {
    text-align: center;
    margin: 0 auto;
}

/* Reset for specific left-aligned content */
.testimonial-text,
.goal {
    text-align: left;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 48px;
}

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

.btn-primary:hover {
    background-color: #0a2f4a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: #0095d9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo {
    max-width: 80px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/home-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Packages Page Hero Background */
.packages-hero {
    background-image: url('../images/packages-hero.jpg') !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    text-align: center;
    margin: 0 auto 1rem;
    margin-bottom: 1rem;
}

.section-header p {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    font-size: 1.125rem;
}

/* Services Section */
.services {
    background-color: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Tests Section */
.test-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-bar {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-bar i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-lighter);
}

.filter-dropdown select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.test-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.test-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.test-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.test-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Appointment Section */
.appointment {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.appointment-info h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.appointment-info p {
    color: white;
}

.info-points {
    margin: 2rem 0;
}

.info-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-point i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.appointment-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

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

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

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

.appointment-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: white;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    text-align: right;
}

.footer-section ul {
    list-style: none;
    text-align: right;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    text-align: right;
}

.footer-section ul li a {
    color: white;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

/* RTL Footer Contact Info */
.footer-section .contact-info {
    text-align: right !important;
    direction: rtl;
}

.footer-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: right !important;
    justify-content: flex-end;
    direction: rtl;
}

.footer-section .contact-item i {
    order: 1;
    margin-left: 0.5rem;
    margin-right: 0;
}

.footer-section .contact-item span,
.footer-section .contact-item a {
    order: 2;
    text-align: right !important;
    direction: rtl;
}

/* Footer Navigation Styles */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    text-align: right;
}

.footer-nav li a {
    color: white;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
    padding-right: 0;
}

.footer-nav li a:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.footer-nav li a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.footer-nav .btn-primary {
    margin-top: 0.5rem;
    align-self: flex-end;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a,
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66258d;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: white;
}

.footer-bottom a {
    color: white;
}

.footer-bottom a:hover {
    color: white;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: white;
}

/* Contact Page Header */
.contact-header {
    background: linear-gradient(135deg, #66258d, #8e44ad);
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 1;
}

.contact-header .container {
    position: relative;
    z-index: 2;
}

/* Service Detail Pages */
.service-detail {
    padding: 80px 0;
}

.service-detail.alternate {
    background-color: #f8fafc;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-text h2 {
    margin-bottom: 1.5rem;
}

.service-text p {
    margin-bottom: 1.5rem;
}

.service-features,
.benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.feature,
.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    direction: rtl;
    text-align: right;
}

.feature i,
.benefit i {
    order: 2;
}

.feature span,
.benefit span {
    order: 1;
    text-align: right;
    direction: rtl;
    width: 100%;
}

.feature i,
.benefit i {
    color: var(--accent-color);
    font-size: 1.125rem;
}

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

.testing-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.package {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.package h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package ul {
    list-style: none;
}

.package ul li {
    padding: 0.25rem 0;
    padding-right: 1.5rem;
    padding-left: 0;
    position: relative;
    direction: rtl;
    text-align: right;
}

.package ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    left: auto;
    color: var(--accent-color);
}

/* About Us Page */
.mission-section,
.vision-section {
    padding: 80px 0;
}

.mission-section {
    background-color: #f8fafc;
}

.mission-content,
.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-icon,
.vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    direction: rtl;
    text-align: right;
}

.point i {
    color: var(--accent-color);
    font-size: 1.125rem;
    order: 2;
}

.point span {
    order: 1;
    text-align: right;
    direction: rtl;
    width: 100%;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal {
    text-align: left;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.why-choose-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.choose-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.choose-card h3 {
    text-align: center;
    margin: 0 auto 1rem;
}

.choose-card p {
    text-align: center;
    margin: 0 auto;
}

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

.choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.values-section {
    padding: 80px 0;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.value-item h3 {
    text-align: center;
    margin: 0 auto 1rem;
}

.value-item p {
    text-align: center;
    margin: 0 auto;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    text-align: center;
}

.team-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-title {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Page */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    direction: rtl;
    text-align: right;
    justify-content: flex-end;
}

.contact-icon {
    margin-left: 0;
    margin-right: 1rem;
}

.contact-details {
    text-align: right;
    direction: rtl;
    flex: 1;
}

.footer .contact-item span {
    color: white;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.social-section {
    margin-top: 2rem;
}

.social-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #66258d;
    font-size: 1.25rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.locations-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.location-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

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

.location-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-header h3 {
    color: white;
}

.location-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.location-details {
    padding: 1.5rem;
}

.location-address,
.location-phone,
.location-hours {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    direction: rtl;
    text-align: right;
    justify-content: flex-end;
}

.location-address i,
.location-phone i,
.location-hours i {
    color: var(--primary-color);
    order: 2;
    margin-left: 0;
    margin-right: 1rem;
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.location-address p,
.location-phone a,
.location-hours p {
    order: 1;
    text-align: right;
    direction: rtl;
    flex: 1;
}

.location-services h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

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

.location-services ul li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.location-services ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.location-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

/* Packages Page Styles */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home-hero.jpg') center/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.packages-section {
    padding: 80px 0;
    background: #f8fafc;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.package-card.featured {
    border: 2px solid var(--primary-color);
}

.package-card.featured::before {
    content: 'موصى به';
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.package-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.package-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.package-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.package-content {
    padding: 2rem;
}

.package-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.package-includes h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.package-includes ul {
    list-style: none;
    margin-bottom: 2rem;
}

.package-includes ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    position: relative;
    padding-right: 1.5rem;
}

.package-includes ul li:last-child {
    border-bottom: none;
}

.package-includes ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.package-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.package-actions .btn {
    flex: 1;
    min-width: 120px;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card.featured::before {
        right: -20px;
        padding: 3px 20px;
        font-size: 0.65rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Package Detail Page Styles */
.package-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.package-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.package-breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.package-breadcrumb a:hover {
    opacity: 1;
}

.package-breadcrumb span {
    opacity: 0.6;
}

.package-hero-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.package-hero-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
}

.package-hero-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.package-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.package-hero-description {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 0.5rem;
    max-width: 600px;
}

.package-details {
    padding: 80px 0;
    background: #f8fafc;
}

.package-details-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.package-main-content {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.detail-section {
    margin-bottom: 3rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.detail-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tests-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.test-item {
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.test-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.test-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.test-details p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.test-details ul {
    list-style: none;
    padding: 0;
}

.test-details ul li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.test-details ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.recommendation-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.recommendation-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.recommendation-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.recommendation-item h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recommendation-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.preparation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.prep-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}

.prep-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.prep-item h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prep-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.package-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.quick-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--border-radius-md);
}

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.info-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.info-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-card h3 {
    color: white;
}

.cta-card p {
    color: white;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-buttons .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.related-packages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-package {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-package:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.related-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.related-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive Design for Package Details */
@media (max-width: 1024px) {
    .package-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .package-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .package-hero-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .package-hero-info h1 {
        font-size: 2rem;
    }
    
    .package-main-content {
        padding: 2rem;
    }
    
    .recommendation-grid,
    .preparation-list {
        grid-template-columns: 1fr;
    }
    
    .package-sidebar {
        grid-template-columns: 1fr;
    }
}

.map-section {
    padding: 80px 0;
}

.map-container {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.map-visual {
    height: 300px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
}

.map-visual i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-visual h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-visual p {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.map-locations {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: var(--border-radius-lg);
}

.map-locations h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.location-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.location-link {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.location-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.location-link h5 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.location-link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.document-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.last-updated {
    color: var(--text-lighter);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.disclaimer {
    color: var(--text-light);
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1001;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .tests-grid,
    .choose-grid,
    .values-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .appointment-content,
    .service-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .test-controls {
        flex-direction: column;
    }
    
    .search-bar {
        min-width: 100%;
    }
    
    .mission-points,
    .service-features,
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .testing-packages,
    .vision-goals {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-document {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card,
    .choose-card,
    .team-member,
    .location-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .appointment-form {
        padding: 1.5rem;
    }
}


/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .testimonial-dots,
    .cta-section {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .legal-document {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}
