/* Reset dhe Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header dhe Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6B73FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #6c5ce7;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.logo-image {
    width: 60px;
    height: 60px;
    margin-right: 0.8rem;
    object-fit: contain;
    transition: all 0.3s ease;
    background: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo:hover .logo-image {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(108, 92, 231, 0.3));
}

/* Logo styling improvements */
.logo-image {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        width: 65px;
        height: 65px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}

/* Footer logo specific styling */
.footer .logo-image {
    width: 70px;
    height: 70px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.footer .logo:hover .logo-image {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #6B73FF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6B73FF;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #6B73FF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6c5ce7 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    color: white;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6c5ce7 100%); }
    25% { background: linear-gradient(135deg, #6c5ce7 0%, #667eea 50%, #764ba2 100%); }
    50% { background: linear-gradient(135deg, #764ba2 0%, #6c5ce7 50%, #667eea 100%); }
    75% { background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 50%, #667eea 100%); }
    100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6c5ce7 100%); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(108, 92, 231, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.2;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Floating Elements */
.hero .floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatAround 10s linear infinite;
    pointer-events: none;
}

.hero .floating-element:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.hero .floating-element:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.hero .floating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 15s;
}

@keyframes floatAround {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
    50% { transform: translateY(-60px) translateX(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) translateX(-30px) rotate(270deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
    margin-left: 60px;
    margin-right: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInUp 1s ease-out;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 1s ease-out, textShine 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a4fcf, #8b7ed8);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    animation: slideInRight 1s ease-out 0.9s both;
}

.hero-logo-container {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 3s linear infinite;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glow 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9ff;
    position: relative;
    z-index: 1;
    transform: none !important;
    animation: none !important;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #6B73FF;
    margin-bottom: 1rem;
    margin-top: 2rem;
    transition: none;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text h3:hover {
    transform: none;
    color: #6B73FF;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    transition: none;
}

.about-text p:hover {
    transform: none;
    color: #666;
}

.features-list {
    list-style: none;
    margin-top: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #666;
    transition: none;
}

.features-list li:hover {
    transform: none;
    color: #666;
}

.features-list i {
    color: #6B73FF;
    margin-right: 0.8rem;
    font-size: 0.9rem;
    transition: none;
}

.features-list i:hover {
    transform: none;
    color: #6B73FF;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #6B73FF, #9B59B6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(107, 115, 255, 0.2);
    transition: none;
}

.image-placeholder:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(107, 115, 255, 0.2);
}

.image-placeholder i {
    font-size: 4rem;
    color: white;
    transition: none;
}

.image-placeholder i:hover {
    transform: none;
    color: white;
}

/* Disable all scroll animations for About section */
.about * {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.about .section-header,
.about .section-title,
.about .section-subtitle {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Rigenera Technology Section */
.technology {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.technology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.technology-text {
    padding-right: 2rem;
}

.technology-text .section-title {
    color: #2d3436;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.technology-subtitle {
    color: #6c5ce7;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.technology-description p {
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.technology-description strong {
    color: #2d3436;
    font-weight: 700;
}

.technology-graphics {
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #6c5ce7;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.graphic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: #a29bfe;
}

.graphic-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

/* Device Image */
.device-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #6c5ce7;
    padding: 10px;
    background: white;
}

/* Technology Image */
.technology-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.graphic-card:hover .technology-image {
    transform: scale(1.05);
}

.graphic-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.graphic-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    text-align: center;
}

.overlay-content i {
    font-size: 3rem;
    color: #6c5ce7;
    animation: pulse 2s ease-in-out infinite;
}

.overlay-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    animation: pulse 2s ease-in-out infinite;
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.label-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.label-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.graphic-card:hover .label-logo-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(108, 92, 231, 0.3));
}

.graphic-label h4 {
    color: #2d3436;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
    line-height: 1.3;
}

.graphic-label p {
    color: #6c5ce7;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.4;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #636e72;
}

.legend-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-icon.progenitor {
    background: #6c5ce7;
}

.legend-icon.chondrocyte {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.legend-icon.pericyte {
    background: #e17055;
    border-radius: 12px 3px 12px 3px;
}

.legend-icon.ecm {
    background: #74b9ff;
    border-radius: 2px;
    width: 16px;
    height: 4px;
}

.legend-icon.genetic {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
}

/* Responsive Design for Technology Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-placeholder {
        width: 300px;
        height: 250px;
    }

    .technology-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .technology-text {
        padding-right: 0;
        text-align: center;
    }
    
    .technology-text .section-title {
        font-size: 2rem;
    }
    
    .technology-subtitle {
        font-size: 1.5rem;
    }
    
    .technology-description p {
        font-size: 1rem;
    }
    
    .graphic-card {
        padding: 1.5rem;
    }
    
    .graphic-image {
        height: 150px;
    }
    
    .device-image {
        max-width: 120px;
        max-height: 120px;
    }
    
    .technology-image {
        max-width: 350px;
        height: auto;
    }
    
    .legend {
        flex-direction: column;
        align-items: center;
    }
}

/* Departments Section */
.departments {
    padding: 100px 0;
    background: white;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.department-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 115, 255, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6B73FF, #9B59B6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.department-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.department-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9ff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-map {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 250px;
}

.map-info h4 {
    color: #2d3436;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-info p {
    color: #636e72;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.directions-btn {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.directions-btn:hover {
    background: #5a4fcf;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.directions-btn i {
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B73FF, #9B59B6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6B73FF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #6B73FF;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6B73FF;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #6B73FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #5a61e8;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 3rem 0 2rem;
    border-top: 1px solid #34495e;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe, #6c5ce7);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #ecf0f1;
    font-size: 0.95rem;
}

.brand-name {
    color: #6c5ce7;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-divider {
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #6c5ce7, transparent);
    margin: 0 1rem;
}

.footer-credits {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-credits .fas.fa-heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.agency-link {
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.agency-link:hover {
    color: #a29bfe;
    text-shadow: 0 0 8px rgba(108, 92, 231, 0.5);
}

.agency-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    transition: width 0.3s ease;
}

.agency-link:hover::after {
    width: 100%;
}

.biolis {
    color: #2ecc71;
    font-weight: 500;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::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;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    border-color: #a29bfe;
}

.social-link:nth-child(1):hover { background: #3b5998; }
.social-link:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link:nth-child(3):hover { background: #0077b5; }
.social-link:nth-child(4):hover { background: #1da1f2; }



/* Department Pages Styles */
.department-hero {
    padding: 8rem 0 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.department-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.9), rgba(162, 155, 254, 0.9));
    z-index: 1;
}

.department-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.mikrobiologji-hero {
    background: url('images/mikrohome.png'), linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.mikrobiologji-hero::before {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.6), rgba(0, 206, 201, 0.6));
}

.ortopedi-hero {
    background: url('images/orto.jpg'), linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.ortopedi-hero::before {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.6), rgba(9, 132, 227, 0.6));
}

.dermatologji-hero {
    background: url('images/dermo.png'), linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.dermatologji-hero::before {
    background: linear-gradient(135deg, rgba(168, 237, 234, 0.6), rgba(254, 214, 227, 0.6));
}

.department-hero-content {
    position: relative;
    z-index: 2;
}

.department-icon {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.department-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.department-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3)) brightness(0.7) contrast(1.2);
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.department-icon:hover .department-logo {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.4));
}

.department-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.department-icon:hover::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.department-icon-fallback {
    font-size: 3rem;
    color: white;
    animation: bounce 2s ease-in-out infinite;
}

.department-icon:hover .department-icon-fallback {
    transform: scale(1.1) rotate(5deg);
    color: #6c5ce7;
}

.department-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.department-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.department-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 1rem;
    opacity: 0.9;
}

.department-services {
    padding: 6rem 0;
    background: #f8f9fa;
}

.department-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3436;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(108, 92, 231, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

.service-card:hover h3 {
    color: #6c5ce7;
    transform: translateY(-2px);
}

.service-card:hover p {
    color: #2d3436;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::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;
}

.service-card:hover .service-icon::before {
    left: 100%;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.service-card p {
    color: #636e72;
    line-height: 1.6;
}

.department-doctor {
    padding: 6rem 0;
    background: white;
}

.doctor-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 35px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f2ff 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15), 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    z-index: 1;
    max-width: 400px;
    min-height: 200px;
    margin: 0 auto 2rem auto;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.doctor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4), 0 5px 15px rgba(240, 147, 251, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.doctor-info {
    flex: 1;
    z-index: 2;
    position: relative;
}

.doctor-info h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.specialty {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.experience {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-style: italic;
}

.doctor-details {
    margin-bottom: 2rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.detail i {
    color: #6c5ce7;
    width: 20px;
}

.contact-doctor {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-doctor .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-doctor .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.department-equipment {
    padding: 6rem 0;
    background: #f8f9fa;
}

.department-equipment h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3436;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.equipment-item i {
    font-size: 3rem;
    color: #6c5ce7;
    margin-bottom: 1rem;
}

.equipment-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.equipment-item p {
    color: #636e72;
    line-height: 1.6;
}

.department-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn-primary {
    background: white;
    color: #6c5ce7;
}

.cta-buttons .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #6c5ce7;
    transform: translateY(-3px);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-divider {
        width: 60px;
        height: 1px;
        background: linear-gradient(90deg, transparent, #6c5ce7, transparent);
        margin: 0.5rem auto;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    
    /* Dropdown Responsive */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border: none;
        border-radius: 0;
        margin-top: 0.5rem;
        padding: 0;
    }
    
    .dropdown-item {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        background: #6c5ce7;
        transform: none;
    }
    
    /* Department Pages Responsive */
    .department-hero h1 {
        font-size: 2.5rem;
    }
    
    .department-hero p {
        font-size: 1.1rem;
    }
    
    .department-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .doctor-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 350px;
    }

    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        margin: 1rem;
        max-width: none;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
    }

    .hero-placeholder i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6B73FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a61e8;
}

/* Products Gallery Section */
.products {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.products-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #6c5ce7;
    background: transparent;
    color: #6c5ce7;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.before-after-container {
    display: flex;
    height: 100%;
}

.before-after-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.before-after-image:first-child {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.before-after-image:last-child {
    background: linear-gradient(135deg, #2ed573 0%, #1e90ff 100%);
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.placeholder-image {
    text-align: center;
    color: white;
    padding: 20px;
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.placeholder-image p {
    font-size: 0.9rem;
    font-weight: 500;
}

.lab-result-container,
.xray-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.lab-result-image,
.xray-image {
    text-align: center;
    color: white;
    padding: 20px;
}

.lab-result-image i,
.xray-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.lab-result-image p,
.xray-image p {
    font-size: 1.1rem;
    font-weight: 500;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    background: #5a4fcf;
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.product-info p {
    color: #636e72;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e9ecef;
    color: #6c5ce7;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    color: #000;
    background: white;
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    min-height: 400px;
}

.modal-image-container {
    flex: 1;
    padding: 2rem;
}

.modal-before-after {
    display: flex;
    gap: 1rem;
    height: 100%;
}

.modal-image {
    flex: 1;
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.modal-image .image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #6c5ce7;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.modal-image .placeholder-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #636e72;
    padding: 2rem;
}

.modal-image .placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.modal-info {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.modal-info p {
    color: #636e72;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.treatment-details {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.detail-item {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-item strong {
    color: #6c5ce7;
    margin-right: 0.5rem;
}

/* Mobile Responsive for Products */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-filter {
        justify-content: center;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-before-after {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-image {
        min-height: 200px;
    }
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    gap: 3px;
    margin-left: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #6c5ce7;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 40px;
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.lang-btn:hover::before {
    opacity: 0.1;
}

/* Responsive Design për Doctor Profile */
@media (max-width: 768px) {
    .doctor-profile {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .doctor-image {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .doctor-info h2 {
        font-size: 1.3rem;
    }
    
    .specialty {
        font-size: 1rem;
    }
    
    .contact-doctor {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-doctor .btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .doctor-profile {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .doctor-image {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .doctor-info h2 {
        font-size: 1.1rem;
    }
    
    .specialty {
        font-size: 0.9rem;
    }
    
    .contact-doctor .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.lang-btn:hover {
    color: #6c5ce7;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.lang-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

/* Mobile responsive for language toggle */
@media (max-width: 768px) {
    .language-toggle {
        margin-left: 10px;
        margin-right: 10px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 30px;
    }
}

