/* Main CSS for Nobati Theme - Dynamic Color Scheme */

/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* CSS Variables - Clean system without color customization */
:root {
    /* Fixed values */
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    padding-top: 84px; /* Reduced by 30% from 120px */
}

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

/* Top Bar - Dynamic colors */
.top-bar {
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    padding: 8px 0;
    text-align: center;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.search-icon {
    color: #666666;
    font-size: 18px;
    transition: var(--transition);
}

.search-icon:hover {
    color: #5a3bf1;
}

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

.top-nav-menu a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    font-weight: 500;
}

.top-nav-menu a:hover {
    color: #5a3bf1;
}

/* Header Styles - Dynamic colors */
.site-header {
    position: fixed;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-header {
    padding: 10px 0; /* Reduced by 30% from 15px */
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 16px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}
.site-branding a{
    float: right;
    width: 100%;
    height: 100%;
}
.site-branding a img{
    float: right;
    width: 100%;
    height: 100%;
}
.logo-container {
    position: relative;
    width: auto;
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 100%;
    height: 100%;
    background: none;
    border-radius: 0;
    display: block;
    position: relative;
    overflow: hidden;
}

.logo-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-icon img:hover {
    transform: scale(1.05);
}

.custom-logo {
    max-width: 200px;
    max-height: 60px;
    width: auto;
    height: auto;
}
.brand-text{
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 0 !important;
    padding: 0;
    margin: 0;
    opacity: 0;
}
.brand-tagline {
    font-size: 0;
    color: #5a3bf1;
    font-weight: 600;
    margin: 0;
}

.brand-name {
    font-size: 0;
    font-weight: 700;
    color: #333333;
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
}

/* Navigation - Dynamic colors */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.main-navigation a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    color: #5a3bf1;
}

.main-navigation a.current-menu-item {
    color: #DC3545;
}



/* Mobile Menu Toggle - Dynamic colors */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333333;
    font-size: 24px;
    padding: 8px;
}

/* Header Actions - Exact match with saramohajeri.ir */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

/* Old btn-header styles removed - using new system */

/* Hero Background Elements - Enhanced with animations */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-element {
    position: absolute;
    background: linear-gradient(45deg, rgba(90, 59, 241, 0.15), rgba(124, 58, 237, 0.15));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-bg-element-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-bg-element-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-bg-element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.05);
        opacity: 1;
    }
}

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Hero Section - Dynamic colors with enhanced animations */
.hero-section {
    background: #5a3bf1;
    position: relative;
    overflow: hidden;
    min-height: auto; /* 70% of viewport height */
    display: flex;
    align-items: center;
    margin-top: -84px; /* Reduced by 30% from -120px */
    padding-top: 80px; /* Adjusted for new height */
}

.hero-background {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    flex-direction: row-reverse;
}

.hero-content {
    flex: 0 0 50%;
    text-align: right;
    padding: 40px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInUp 1s ease-out;
}

.clinic-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.clinic-info a{
    width: 250px;
}
.clinic-name {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.2;
}

.clinic-slogan {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

.clinic-name {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.2;
}

.clinic-slogan {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-image {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.clinic-manager-image {
  width: 280px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  transition: var(--transition);
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-background {
    display: flex;
    width: 100%;
    height: 100%;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.hero-content {
    flex: 1;
    padding: 30px; /* Reduced to half from 60px */
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo {
    display: flex;
    align-items: center;
    gap: 15px; /* Reduced from 20px */
    margin-bottom: 20px; /* Reduced to half from 40px */
}



.hero-logo .logo-text {
    color: #FFFFFF;
}

.hero-logo .logo-subtitle {
    font-size: 14px; /* Reduced from 18px */
    font-weight: 400;
    margin: 0 0 3px 0; /* Reduced from 5px */
}

.hero-logo .logo-title {
    font-size: 24px; /* Reduced from 36px */
    font-weight: 700;
    margin: 0;
}

.hero-promo {
    text-align: center;
}

.hero-tagline {
    font-size: 16px; /* Reduced from 20px */
    margin-bottom: 8px; /* Reduced from 10px */
}

.hero-subtitle {
    font-size: 14px; /* Reduced from 16px */
    margin-bottom: 20px; /* Reduced from 30px */
    opacity: 0.9;
}

/* Old btn-hero styles removed - using new system */

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.9) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Old btn-hero:hover styles removed - using new system */

/* Section Headers - Dynamic colors */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.section-tagline {
    font-size: 16px;
    color: #5a3bf1;
    font-weight: 600;
}

/* Services Section - Dynamic colors */
.services-section {
    background: #FFFFFF;
    padding: 80px 0;
    color: #333333;
    margin-top: 0;
}

.services-section .section-title,
.services-section .section-description,
.services-section .section-tagline {
    color: #333333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-item {
    text-align: center;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed, #9333ea);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(90, 59, 241, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.service-item p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0 0;
    opacity: 0.9;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 59, 241, 0.4);
}

/* Distinguishing Factors Section - Dynamic colors */
.distinguishing-factors {
    padding: 80px 0;
    background: #FFFFFF;
    position: relative;
    color: #333333;
}

.distinguishing-factors .section-title,
.distinguishing-factors .section-description,
.distinguishing-factors .section-tagline {
    color: #333333;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.factor-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 2px solid #E9ECEF;
    position: relative;
    overflow: hidden;
}

.factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5a3bf1, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.factor-card:hover::before {
    transform: scaleX(1);
}

.factor-card:hover {
    transform: translateY(-10px);
    background: #F8F9FA;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #5a3bf1;
}

.factor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #FFFFFF;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(90, 59, 241, 0.3), 0 4px 15px rgba(90, 59, 241, 0.2);
}

.factor-icon i {
    color: #FFFFFF;
    font-size: 32px;
}

.factor-card h3 {
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    font-family: 'Vazirmatn', sans-serif;
}

.factor-card p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
}

/* Booking CTA Section */
.booking-cta {
    padding: 0;
    background: #5a3bf1;
    height: 150px;
    display: flex;
    align-items: center;
}

.booking-cta-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 40px;
    height: 100%;
}
.booking-cta-content a{
    background: #fff;
    color: #5a3bf1;
}
.booking-cta-content a i {
    color: #5a3bf1;
    font-size: 24px;
}
.booking-cta-content a:hover i{
    color: #fff;
}
.booking-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.booking-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.booking-message {
    text-align: center;
    color: #ffffff;
}

.booking-message h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    font-family: 'Vazirmatn', sans-serif;
    color: #ffffff;
}

.booking-message p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    font-family: 'Vazirmatn', sans-serif;
    color: #ffffff;
}

.booking-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Old btn-booking styles removed - using new system */

/* Old btn-booking:hover styles removed - using new system */

/* Pricing Section - Dynamic colors */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    position: relative;
}

/* Pricing Section Title and Description Colors */
.pricing .section-title,
.pricing .section-description {
    color: #424242 !important;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(#5a3bf1, 0.03), rgba(#7c3aed, 0.03));
    pointer-events: none;
    z-index: 1;
}

.pricing-swiper {
    margin-top: 50px;
    padding: 20px 0;
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(90, 59, 241, 0.08), 0 6px 20px rgba(90, 59, 241, 0.04);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    z-index: 50;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(#5a3bf1, 0.05), rgba(#7c3aed, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(90, 59, 241, 0.15), 0 15px 35px rgba(90, 59, 241, 0.08);
    border-color: rgba(90, 59, 241, 0.3);
}

.pricing-card.featured {
    border-color: #5a3bf1;
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured::after {
    content: 'پیشنهاد ویژه';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    color: #FFFFFF;
    padding: 8px 40px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(#5a3bf1, 0.3);
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    color: #333333;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px;
    font-family: 'Vazirmatn', sans-serif;
}

.price {
    color: #5a3bf1;
    font-size: 28px;
    font-weight: 800;
    font-family: 'Vazirmatn', sans-serif;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.pricing-features li {
    color: #666666;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(#5a3bf1, 0.1);
    font-family: 'Vazirmatn', sans-serif;
    position: relative;
    padding-right: 25px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 12px;
    color: #5a3bf1;
    font-weight: bold;
    font-size: 18px;
}

/* Old pricing-card .btn-reserve styles removed - using new system */

/* Old pricing-card .btn-reserve:hover styles removed - using new system */

/* Team Section - Dynamic colors */
.team {
    padding: 80px 0;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(#5a3bf1, 0.05), rgba(#7c3aed, 0.05));
    pointer-events: none;
}

.team-swiper {
    margin-top: 50px;
    padding: 20px 0;
}

.team-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(90, 59, 241, 0.08), 0 6px 20px rgba(90, 59, 241, 0.04);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(90, 59, 241, 0.15), 0 15px 35px rgba(90, 59, 241, 0.08);
    border-color: rgba(90, 59, 241, 0.3);
}

.member-photo {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

img.attachment-team-thumb.size-team-thumb.wp-post-image {
    float: right;
    width: 100%;
    height: 100%;
}


.member-info {
    padding: 30px;
    text-align: center;
}

.member-name {
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    font-family: 'Vazirmatn', sans-serif;
}

.member-role {
    display: inline-block;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Vazirmatn', sans-serif;
}

.member-specialty {
    display: inline-block;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Vazirmatn', sans-serif;
    box-shadow: 0 4px 15px rgba(#5a3bf1, 0.3);
    transition: var(--transition);
}

.member-specialty:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(#5a3bf1, 0.4);
}



.member-rating {
    margin-bottom: 15px;
}

.member-rating i {
    color: #FFD700;
    font-size: 18px;
    margin: 0 2px;
}

.member-description {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
    font-family: 'Vazirmatn', sans-serif;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(#5a3bf1, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(#5a3bf1, 0.4);
}

/* Booking Section - Exact height and spacing from saramohajeri.ir */
.booking-section {
    background-color: #F8F9FA;
    padding: 80px 0;
    margin-top: 0; /* No gap from team */
}

.booking-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.booking-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #F8F9FA;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5a3bf1;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    height: 48px;
}

/* Footer - Exact height and spacing from saramohajeri.ir */
.site-footer {
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0; /* No gap from booking */
}

.footer-content {
    padding: 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.clinic-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 0 0 15px;
}

.social-links .social-link {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.9);
    height: 40px;
}

.contact-item i {
    color: #ffffff;
    font-size: 18px;
    width: 20px;
}

/* Location Map Column */
.location-map .map-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.location-map .map-container iframe {
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.location-map .map-container iframe:hover {
    transform: scale(1.02);
}

.map-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-info i {
    color: #ffffff;
    font-size: 16px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
}

/* Old btn styles removed - using new system */

/* Old btn-primary styles removed - using new system */

/* Enhanced Button Effects - Base styles for all buttons */

/* Utility Classes - Dynamic colors */
.text-primary { color: #5a3bf1 !important; }
.text-secondary { color: #7c3aed !important; }
.text-success { color: #28A745 !important; }
.text-warning { color: #FFC107 !important; }
.text-error { color: #DC3545 !important; }
.text-info { color: #17A2B8 !important; }
.text-accent { color: #FFD700 !important; }

.bg-primary { background-color: #5a3bf1 !important; }
.bg-secondary { background-color: #7c3aed !important; }
.bg-success { background-color: #28A745 !important; }
.bg-warning { background-color: #FFC107 !important; }
.bg-error { background-color: #DC3545 !important; }
.bg-info { background-color: #17A2B8 !important; }
.bg-accent { background-color: #FFD700 !important; }

/* Responsive Design - Exact breakpoints from saramohajeri.ir */
@media (max-width: 768px) {
    .hero-content {
        padding: 40px 20px;
    }
    
    .hero-logo .logo-title {
        font-size: 28px;
    }
    
    .distinguishing-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-swiper {
        padding: 10px 0;
    }
    
    .team-swiper {
        padding: 10px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Mobile spacing adjustments */
    .services-section,
    .distinguishing-section,
    .pricing-section,
    .team-section,
    .booking-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Mobile header adjustments */
    .site-header {
        height: auto;
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .site-branding {
        order: 1;
    }
    
    .mobile-menu-toggle {
        order: 2;
    }
    
    .top-bar {
        height: auto;
        padding: 6px 0;
    }
    
    .top-nav-menu {
        gap: 20px;
    }
    
    .top-nav-menu a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .pricing-card,
    .team-card {
        padding: 20px;
        height: auto;
    }
    
    .pricing-footer {
        padding-top: 20px;
    }
    
    .pricing-card .btn-primary {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .booking-form {
        padding: 30px 20px;
    }
    
    /* Small mobile spacing adjustments */
    .services-section,
    .distinguishing-section,
    .pricing-section,
    .team-section,
    .booking-section {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    /* Small mobile header adjustments */
    .site-title {
        font-size: 20px;
    }
    
    .site-description {
        font-size: 12px;
    }
    
    
    .top-nav-menu {
        gap: 15px;
    }
    
    .top-nav-menu a {
        font-size: 12px;
    }
}

/* Custom Cursor Effects - Disabled for simple cursor */
.custom-cursor {
    display: none !important;
}

.cursor-dot {
    display: none !important;
}

.custom-cursor.cursor-hover {
    display: none !important;
}

.cursor-dot.cursor-hover {
    display: none !important;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-on-scroll.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Elements */
.parallax {
    will-change: transform;
}

/* Button and Link styles removed - using clean system */

/* ===== NEW BUTTON AND LINK SYSTEM ===== */

/* Button Type 1: White background, purple text */
.btn-primary {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    border: 2px solid #5a3bf1 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-primary:hover {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(90, 59, 241, 0.3) !important;
}

.btn-primary:hover i {
    color: #ffffff !important;
}

/* Button Type 2: Purple background, white text */
.btn-secondary {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    border: 2px solid #5a3bf1 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-secondary:hover {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    border-color: #5a3bf1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(90, 59, 241, 0.3) !important;
}

.btn-secondary:hover i {
    color: #5a3bf1 !important;
}

/* Link Type 1: Purple text, white background on hover */
.link-primary {
    color: #5a3bf1 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.link-primary:hover {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(90, 59, 241, 0.2) !important;
}

.link-primary:hover i {
    color: #5a3bf1 !important;
}

/* Link Type 2: White text, purple background on hover */
.link-secondary {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.link-secondary:hover {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(90, 59, 241, 0.2) !important;
}

.link-secondary:hover i {
    color: #ffffff !important;
}

/* Specific button classes for different sections */
.btn-hero {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    border: 2px solid #5a3bf1 !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-hero:hover {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(90, 59, 241, 0.3) !important;
}

.btn-hero:hover i {
    color: #ffffff !important;
}

.btn-header {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    border: 2px solid #5a3bf1 !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-header:hover {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    border-color: #5a3bf1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(90, 59, 241, 0.2) !important;
}

.btn-header:hover i {
    color: #5a3bf1 !important;
}

.btn-reserve {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    border: 2px solid #5a3bf1 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-reserve:hover {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    border-color: #5a3bf1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(90, 59, 241, 0.3) !important;
}

.btn-reserve:hover i {
    color: #5a3bf1 !important;
}

.btn-booking {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    border: 2px solid #5a3bf1 !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.btn-booking:hover {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(90, 59, 241, 0.3) !important;
}

.btn-booking:hover i {
    color: #ffffff !important;
}

/* Navigation links */
.nav-link {
    color: #333333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    display: inline-block !important;
}

.nav-link:hover {
    color: #5a3bf1 !important;
    background-color: rgba(90, 59, 241, 0.1) !important;
    transform: translateY(-1px) !important;
}

.nav-link:hover i {
    color: #5a3bf1 !important;
}

/* Social links */
.social-link {
    color: #5a3bf1;
    background:#fff;
    text-decoration: none !important;
    font-size: 25px !important;
    padding: 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    width: 40px !important;
    height: 40px !important;
    text-align: center !important;
    line-height: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.social-link:hover {
    color: #fff !important;
    background-color:#5a3bf1  !important;
    transform: translateY(-2px) !important;
}

/* Portfolio item links */
.portfolio-item-link {
    color: #5a3bf1 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.portfolio-item-link:hover {
    color: #5a3bf1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(90, 59, 241, 0.2) !important;
}

.portfolio-item-link:hover i {
    color: #5a3bf1 !important;
}

/* Blog read more links */
.blog-read-more {
    color: #5a3bf1 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.blog-read-more:hover {
    background-color: #ffffff !important;
    color: #5a3bf1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(90, 59, 241, 0.2) !important;
}

.blog-read-more:hover i {
    color: #5a3bf1 !important;
}

/* Category and tag links */
.category-link,
.tag-link {
    color: #5a3bf1 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    font-size: 12px !important;
    background-color: rgba(90, 59, 241, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.category-link:hover,
.tag-link:hover {
    background-color: #5a3bf1 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.category-link:hover i,
.tag-link:hover i {
    color: #ffffff !important;
}



/* Hover effects for links in different sections */
.hero-section a:hover {
    color: #FFFFFF !important;
    opacity: 0.9;
}

.services-section a:hover,
.distinguishing-factors a:hover,
.pricing a:hover {
    color: #5a3bf1 !important;
}

.team a:hover,
.portfolio a:hover {
    color: #FFFFFF !important;
}

.footer a:hover {
    color: #FFFFFF !important;
    opacity: 0.8;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Portfolio Items */
.portfolio-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(90, 59, 241, 0.15), 0 4px 15px rgba(90, 59, 241, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(#5a3bf1, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 59, 241, 0.25), 0 8px 25px rgba(90, 59, 241, 0.15);
}

/* Portfolio Item Link Styles */
.portfolio-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.portfolio-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.portfolio-item-link:hover .portfolio-item {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 59, 241, 0.25), 0 8px 25px rgba(90, 59, 241, 0.15);
}

/* Single Portfolio Page Styles */
.portfolio-single {
    padding: 40px 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.portfolio-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio-categories .portfolio-category {
    background: #5a3bf1;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    font-size: 14px;
}

.portfolio-single .portfolio-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.2;
}

.portfolio-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-content {
    margin-bottom: 40px;
}

.portfolio-description {
    background: #F8F9FA;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    border-right: 4px solid #5a3bf1;
}

.portfolio-full-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.portfolio-full-content p {
    margin-bottom: 20px;
}

.portfolio-full-content h2,
.portfolio-full-content h3,
.portfolio-full-content h4 {
    color: #333333;
    margin: 30px 0 15px 0;
}

.portfolio-tags {
    margin-bottom: 40px;
}

.portfolio-tags h3 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 15px;
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-link {
    background: #F8F9FA;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-link:hover {
    background: #5a3bf1;
    color: #fff;
    border-color: #5a3bf1;
    transform: translateY(-2px);
}

.portfolio-navigation {
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid #E9ECEF;
    border-bottom: 1px solid #E9ECEF;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333333;
    padding: 20px;
    border-radius: 15px;
    background: #F8F9FA;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #5a3bf1;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(90, 59, 241, 0.3);
}

.nav-previous a {
    text-align: right;
}

.nav-next a {
    text-align: left;
    flex-direction: row-reverse;
}

.nav-previous span,
.nav-next span {
    font-size: 14px;
    opacity: 0.8;
}

.nav-previous strong,
.nav-next strong {
    font-size: 16px;
    font-weight: 600;
}

.related-portfolios {
    margin-top: 60px;
}

.related-portfolios h2 {
    font-size: 28px;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}

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

.related-portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.related-portfolio-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-portfolio-info {
    padding: 20px;
    background: #F8F9FA;
}

.related-portfolio-info h3 {
    font-size: 18px;
    color: #333333;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.related-category {
    background: #5a3bf1;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive adjustments for single portfolio */
@media (max-width: 768px) {
    .portfolio-single {
        padding: 20px 0;
    }
    
    .portfolio-single .portfolio-title {
        font-size: 28px;
    }
    
    .portfolio-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-previous a,
    .nav-next a {
        padding: 15px;
    }
    
    .related-portfolios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    position: relative;
    overflow: hidden;
}

.swiper-button-next::before,
.swiper-button-prev::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #5a3bf1, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.swiper-button-next:hover::before,
.swiper-button-prev:hover::before {
    opacity: 1;
}

/* Enhanced Portfolio Overlay */
.portfolio-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth Transitions for All Elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Focus States */
.swiper-button-next:focus,
.swiper-button-prev:focus,
.portfolio-item:focus,
.btn:focus {
    outline: 2px solid #5a3bf1;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(#5a3bf1, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F8F9FA;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Pricing and Team Swiper Specific Styles */
.pricing-swiper .swiper-slide,
.team-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.pricing-swiper .pricing-card,
.team-swiper .team-card {
    width: 100%;
    height: 100%;
}

/* Enhanced Swiper Pagination */
.swiper-pagination-bullet {
    background: #5a3bf1;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #7c3aed;
    transform: scale(1.2);
}

/* Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333333;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-close:hover {
    background: #F8F9FA;
    color: #5a3bf1;
}

.search-form-container {
    margin-bottom: 20px;
}

.search-input-group {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #F8F9FA;
    border-radius: 15px;
    font-size: 16px;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #333333;
}

.search-input:focus {
    outline: none;
    border-color: #5a3bf1;
    box-shadow: 0 0 0 3px rgba(90, 59, 241, 0.1);
}

.search-submit {
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    width: 100%;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(90, 59, 241, 0.3);
}

.search-suggestions {
    margin-top: 20px;
}

.search-suggestions-title {
    font-size: 14px;
    color: #666666;
    margin-bottom: 15px;
    font-family: 'Vazirmatn', sans-serif;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    background: #F8F9FA;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    border: 1px solid transparent;
}

.search-tag:hover {
    background: #5a3bf1;
    color: #FFFFFF;
    border-color: #5a3bf1;
}

/* Print Styles */
@media print {
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination,
    .custom-cursor,
    .cursor-dot {
        display: none !important;
    }
    
    .swiper-wrapper {
        transform: none !important;
    }
    
    .swiper-slide {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #5a3bf1;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(90, 59, 241, 0.3);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(90, 59, 241, 0.4);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}

/* Portfolio Section Styles */
.portfolio {
    padding: 80px 0;
    background: #5a3bf1;
    position: relative;
    color: #FFFFFF;
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background: #FFFFFF;
}

/* Blog Section Title and Description Colors */
.blog-section .section-title,
.blog-section .section-description {
    color: #424242 !important;
}

.blog-swiper {
    margin-top: 50px;
    padding: 20px 0;
}

.blog-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #E9ECEF;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #5a3bf1;
}

.blog-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 48px;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #5a3bf1;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666666;
    font-family: 'Vazirmatn', sans-serif;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: #5a3bf1;
    font-size: 14px;
}

.blog-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'Vazirmatn', sans-serif;
}

.blog-title a {
    color: #333333;
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: #5a3bf1;
}

.blog-excerpt {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    font-family: 'Vazirmatn', sans-serif;
}

.blog-read-more {
    color: #5a3bf1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Vazirmatn', sans-serif;
    align-self: flex-start;
}

.blog-read-more:hover {
    color: #7c3aed;
    transform: translateX(-5px);
}

.blog-cta {
    margin-top: 40px;
}

.portfolio .section-title,
.portfolio .section-description {
    color: #FFFFFF;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.15' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,65.6-49.24V0Z' opacity='.25' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    pointer-events: none;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.15' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,65.6-49.24V0Z' opacity='.25' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    transform: rotate(180deg);
    pointer-events: none;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #FFFFFF;
    color: #333333;
    border: 2px solid #E9ECEF;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #5a3bf1;
    color: #FFFFFF;
    border-color: #5a3bf1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 59, 241, 0.3);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #FFFFFF;
    box-shadow: 0 8px 25px rgba(90, 59, 241, 0.15), 0 4px 15px rgba(90, 59, 241, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(90, 59, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 59, 241, 0.25), 0 8px 25px rgba(90, 59, 241, 0.15);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 48px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    background: #5a3bf1;
    color: #FFFFFF;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.portfolio-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
    text-align: center;
    line-height: 1.3;
}

.portfolio-description {
    font-size: 14px;
    margin: 0 0 15px 0;
    opacity: 0.9;
    line-height: 1.4;
}

.portfolio-link {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #5a3bf1;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.portfolio-item:hover .portfolio-link {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-link:hover {
    background: #7c3aed;
    transform: scale(1.1);
}

.portfolio-navigation {
    text-align: center;
    margin-top: 40px;
}

.no-portfolio {
    text-align: center;
    color: #666666;
    font-size: 16px;
    grid-column: 1 / -1;
    padding: 40px;
}

/* Portfolio Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .portfolio-filter {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-title {
        font-size: 16px;
    }
    
    .portfolio-description {
        font-size: 13px;
    }
}

/* Single Portfolio Page Styles */
.portfolio-single {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.portfolio-meta {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-categories {
    margin-bottom: 20px;
}

.portfolio-categories .portfolio-category {
    background: #5a3bf1;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 5px;
    display: inline-block;
}

.portfolio-date {
    color: #666666;
    font-size: 16px;
    margin-top: 15px;
}

.portfolio-date i {
    margin-left: 8px;
    color: #5a3bf1;
}

.portfolio-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(90, 59, 241, 0.2);
}

.portfolio-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-content {
    margin-bottom: 50px;
}

.portfolio-description {
    background: #F8F9FA;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    border-right: 4px solid #5a3bf1;
}

.portfolio-full-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
}

.portfolio-full-content h2,
.portfolio-full-content h3,
.portfolio-full-content h4 {
    color: #333333;
    margin: 30px 0 15px 0;
    font-family: 'Vazirmatn', sans-serif;
}

.portfolio-full-content p {
    margin-bottom: 20px;
}

.portfolio-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E9ECEF;
}

.portfolio-tags h3 {
    color: #333333;
    margin-bottom: 20px;
    font-family: 'Vazirmatn', sans-serif;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    background: #F8F9FA;
    color: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E9ECEF;
}

.tag-link:hover {
    background: #5a3bf1;
    color: #FFFFFF;
    border-color: #5a3bf1;
    transform: translateY(-2px);
}

.portfolio-navigation {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #E9ECEF;
    border-bottom: 1px solid #E9ECEF;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    background: #F8F9FA;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #5a3bf1;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(90, 59, 241, 0.3);
}

.nav-previous a {
    text-align: right;
}

.nav-next a {
    text-align: left;
    flex-direction: row-reverse;
}

.nav-previous span,
.nav-next span {
    font-size: 14px;
    opacity: 0.8;
}

.nav-previous strong,
.nav-next strong {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
}

.related-portfolios {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #E9ECEF;
}

.related-portfolios h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333333;
    font-family: 'Vazirmatn', sans-serif;
}

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

.related-portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(90, 59, 241, 0.15);
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.related-portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(90, 59, 241, 0.25);
}

.related-portfolio-item a {
    text-decoration: none;
    color: inherit;
}

.related-portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-portfolio-info {
    padding: 20px;
}

.related-portfolio-info h4 {
    color: #333333;
    margin: 0 0 10px 0;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
}

.related-portfolio-info .category {
    background: #5a3bf1;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Archive Portfolio Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 20px 0;
    font-family: 'Vazirmatn', sans-serif;
}

.term-description {
    font-size: 18px;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Portfolio Pagination */
.navigation.pagination {
    margin-top: 50px;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #FFFFFF;
    color: #333333;
    text-decoration: none;
    border-radius: 50%;
    border: 2px solid #E9ECEF;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-numbers:hover,
.page-numbers.current {
    background: #5a3bf1;
    color: #FFFFFF;
    border-color: #5a3bf1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 59, 241, 0.3);
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 20px;
    border-radius: 25px;
}

/* Responsive Styles */
@media (max-width: 1000px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .booking-cta {
        height: auto;
        padding: 40px 0;
    }
    
    .booking-cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .booking-image img {
        width: 100px;
        height: 100px;
    }
    
    .booking-message h2 {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .booking-cta {
        padding: 30px 0;
    }
    
    .booking-cta-content {
        gap: 25px;
    }
    
    .booking-image img {
        width: 80px;
        height: 80px;
    }
    
    .booking-message h2 {
        font-size: 20px;
    }
    
    .booking-message p {
        font-size: 14px;
    }
    
    /* Old btn-booking responsive styles removed - using new system */
}

/* Responsive Styles for Portfolio Pages */
@media (max-width: 768px) {
    .portfolio-single {
        padding: 20px 0;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-previous a,
    .nav-next a {
        padding: 15px;
    }
    
    .related-portfolios-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .portfolio-description {
        font-size: 16px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-meta {
        margin-bottom: 30px;
    }
    
    .portfolio-categories .portfolio-category {
        margin: 5px;
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .portfolio-featured-image {
        margin-bottom: 30px;
    }
    
    .portfolio-content {
        margin-bottom: 40px;
    }
    
    .portfolio-description {
        font-size: 15px;
        padding: 15px;
    }
    
    .related-portfolios-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .term-description {
        font-size: 16px;
    }
}

/* Blog Page Styles */
.blog-hero {
    position: relative;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.hero-search .search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-search .search-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
}

.hero-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hero-search .search-submit {
    background: #ffffff;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    color: #5a3bf1;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search .search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 60px 0;
}

.content-area {
    min-height: 500px;
}

/* Blog Header */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.blog-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333333;
}

.blog-stats i {
    color: #5a3bf1;
}

.blog-filters {
    display: flex;
    gap: 10px;
}

.view-options {
    display: flex;
    background: #F8F9FA;
    border-radius: 8px;
    padding: 4px;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    color: #333333;
}

.view-btn.active,
.view-btn:hover {
    background: #ffffff;
    color: #5a3bf1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.posts-grid.list-view {
    grid-template-columns: 1fr;
}

.posts-grid.list-view .post-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.posts-grid.list-view .post-thumbnail {
    height: 200px;
}

.posts-grid.list-view .post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Post Cards */
.post-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.post-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.thumbnail-link {
    display: block;
    height: 100%;
    position: relative;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.thumbnail-overlay i {
    color: #ffffff;
    font-size: 24px;
}

.post-card:hover .thumbnail-overlay {
    opacity: 1;
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-categories {
    position: absolute;
    top: 15px;
    left: 15px;
}

.category-badge {
    background: #5a3bf1;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.category-badge:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.entry-title a {
    color: #333333;
    text-decoration: none;
    transition: var(--transition);
}

.entry-title a:hover {
    color: #5a3bf1;
}

.entry-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333333;
}

.meta-item i {
    color: #5a3bf1;
    width: 16px;
}

.meta-item a {
    color: inherit;
    text-decoration: none;
}

.meta-item a:hover {
    color: #5a3bf1;
}

.post-tags a {
    color: #5a3bf1;
    text-decoration: none;
    margin-right: 5px;
}

.post-tags a:hover {
    text-decoration: underline;
}

.entry-summary {
    margin-bottom: 25px;
    flex: 1;
}

.entry-summary p {
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

.entry-footer {
    margin-top: auto;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #5a3bf1;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-read-more:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.post-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #333333;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-stats i {
    color: #5a3bf1;
}

/* Pagination */
.pagination-wrapper {
    text-align: center;
    margin-top: 50px;
}

.pagination {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #F8F9FA;
    transition: var(--transition);
    font-weight: 600;
}

.pagination a:hover,
.pagination .current {
    background: #5a3bf1;
    color: #ffffff;
    border-color: #5a3bf1;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-icon {
    font-size: 64px;
    color: #F8F9FA;
    margin-bottom: 20px;
}

.no-posts h2 {
    font-size: 28px;
    color: #333333;
    margin-bottom: 15px;
}

.no-posts p {
    color: #333333;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Sidebar */
.widget-area {
    position: sticky;
    top: 20px;
}

.widget {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F8F9FA;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #5a3bf1;
}

/* Search Widget */
.search-form {
    margin: 0;
}

.search-input-group {
    display: flex;
    background: #F8F9FA;
    border-radius: 8px;
    overflow: hidden;
}

.search-field {
    flex: 1;
    border: none;
    padding: 12px 16px;
    background: transparent;
    font-size: 14px;
}

.search-submit {
    background: #5a3bf1;
    border: none;
    padding: 12px 16px;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background: #7c3aed;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    margin-bottom: 10px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #F8F9FA;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    transition: var(--transition);
}

.category-link:hover {
    background: #5a3bf1;
    color: #ffffff;
    transform: translateX(-5px);
}

.category-count {
    background: #ffffff;
    color: #5a3bf1;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.category-link:hover .category-count {
    background: #ffffff;
    color: #5a3bf1;
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F8F9FA;
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.recent-post-title a {
    color: #333333;
    text-decoration: none;
}

.recent-post-title a:hover {
    color: #5a3bf1;
}

.recent-post-date {
    font-size: 12px;
    color: #333333;
}

/* Tags Cloud Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: #F8F9FA;
    color: #333333;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.tag-link:hover {
    background: #5a3bf1;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-description {
    color: #333333;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-form {
    margin: 0;
}

.newsletter-input-group {
    display: flex;
    background: #F8F9FA;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-email {
    flex: 1;
    border: none;
    padding: 12px 16px;
    background: transparent;
    font-size: 14px;
}

.newsletter-submit {
    background: #5a3bf1;
    border: none;
    padding: 12px 16px;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-submit:hover {
    background: #7c3aed;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .widget-area {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .blog-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .posts-grid.list-view .post-card {
        grid-template-columns: 1fr;
    }
    
    .posts-grid.list-view .post-thumbnail {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-search .search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-search .search-field,
    .hero-search .search-submit {
        border-radius: 8px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .entry-title {
        font-size: 18px;
    }
    
    .post-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-read-more {
        justify-content: center;
    }
}

/* Archive Page Styles */
.archive-hero {
    position: relative;
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.archive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.archive-hero .hero-content {
    position: relative;
    z-index: 2;
}

.archive-hero .hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.archive-hero .hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.archive-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.archive-stats i {
    color: #ffffff;
}

/* Archive Header */
.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 25px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    gap: 20px;
}

.archive-filters {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.view-options {
    display: flex;
    background: #F8F9FA;
    border-radius: 8px;
    padding: 4px;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    color: #333333;
}

.view-btn.active,
.view-btn:hover {
    background: #ffffff;
    color: #5a3bf1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 16px;
    border: 2px solid #F8F9FA;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    outline: none;
    border-color: #5a3bf1;
}

/* No Posts Actions */
.no-posts-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Old no-posts-actions .btn styles removed - using new system */


/* Responsive Archive */
@media (max-width: 768px) {
    .archive-hero {
        padding: 60px 0;
    }

    
    .archive-hero .hero-title {
        font-size: 32px;
    }
    
    .archive-hero .hero-description {
        font-size: 16px;
    }
    
    .archive-stats {
        gap: 15px;
    }
    
    .archive-stats span {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .archive-header {
        flex-direction: column;
        text-align: center;
    }
    
    .archive-filters {
        justify-content: center;
    }
    
    .no-posts-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Old no-posts-actions .btn responsive styles removed - using new system */
}

/* Pricing Card Footer and Button Styles */
.pricing-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(90, 59, 241, 0.1);
}

.pricing-card .btn-primary {
    background: linear-gradient(135deg, #5a3bf1, #7c3aed);
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(90, 59, 241, 0.3);
    font-family: 'Vazirmatn', sans-serif;
    width: 100%;
    justify-content: center;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(90, 59, 241, 0.4);
    background: linear-gradient(135deg, #7c3aed, #5a3bf1);
    color: #FFFFFF;
    text-decoration: none;
}

.pricing-card .btn-primary i {
    font-size: 18px;
}

/* Featured pricing card button enhancement */
.pricing-card.featured .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.pricing-card.featured .btn-primary:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

@media (max-width: 480px) {
    .archive-hero {
        padding: 40px 0;
    }
    
    .archive-hero .hero-title {
        font-size: 28px;
    }
    
    .archive-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .archive-stats span {
        width: 100%;
        justify-content: center;
    }
}
