/* Base Styles */
body {
    font-family: 'Vazirmatn', sans-serif;
    scroll-behavior: smooth;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Dropdown Menu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
    min-width: 180px;
    z-index: 50;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.services-dropdown:hover .submenu {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.submenu a:hover {
    background: rgba(200, 51, 152, 0.1);
    color: #c83398;
}

/* Dropdown Icon */
.dropdown-icon {
    transition: transform 0.3s ease;
}

.services-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, rgba(88, 182, 228, 0.1) 0%, rgba(200, 51, 152, 0.1) 100%);
}

/* Stat Card */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-button {
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Mobile Menu */
.submenu-mobile {
    transition: all 0.3s ease;
}

.services-dropdown-mobile.active .submenu-mobile {
    display: block;
}

.services-dropdown-mobile.active .dropdown-icon-mobile {
    transform: rotate(180deg);
}

/* Content Image */
.content-image {
    transition: all 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
}

/* Author Card */
.author-card {
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
}

/* Team Card */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

/* Blog Card */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Category Tag */
.category-tag {
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: #c83398;
    color: white;
}

/* Contact Card */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

/* Form Input */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #c83398;
    box-shadow: 0 0 0 2px rgba(200, 51, 152, 0.1);
}

/* Related Card */
.related-card {
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
}

/* Banner */
.banner {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1200');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Method Content */
.method-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.method-image {
    flex: 0 0 400px;
}

.method-image img {
    width: 100%;
    border-radius: 10px;
}

.method-text {
    flex: 1;
}

@media (max-width: 1024px) {
    .method-content {
        flex-direction: column;
    }
    .method-image {
        flex: 0 0 auto;
    }
}

/* Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    padding: 1rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: #c83398;
    color: white;
}

.slider-prev {
    right: 1rem;
}

.slider-next {
    left: 1rem;
}

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

.slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #0b48c1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #c83398;
}

.treatment-slider {
    height: 500px;
    position: relative;
}

.treatment-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.slide-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    /* border-bottom-left-radius: 1rem; */
    /* border-bottom-right-radius: 1rem; */
}

.slide-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.slide-description {
    font-size: 1rem;
    opacity: 0.9;
} 


.slider-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .slider-container > div {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
  }
  
  .slider-container > div.active {
    opacity: 1;
  }
  
  .slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }