/* Privacy Policy Page Styles */
.privacy-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Top-bar alignment to match other policy pages */
header .top-bar .contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    order: 1;
    font-size: 0.9rem;
}

header .top-bar .contact-info span {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    position: relative;
}

header .top-bar .contact-info i {
    color: #FFD700 !important;
}

header .top-bar .social-icons { order: 2; }
header .top-bar .top-right-buttons { order: 3; }

@media (max-width: 768px) {
    header .top-bar { flex-direction: column !important; gap: 8px !important; padding: 10px 15px !important; }
    header .top-bar .contact-info { font-size: 0.75rem !important; gap: 8px !important; }
}

@media (max-width: 480px) {
    header .top-bar { padding: 8px 10px !important; }
    header .top-bar .contact-info { font-size: 0.7rem !important; gap: 8px !important; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    background: linear-gradient(135deg, #7157A0 0%, #8B6BC4 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(113, 87, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.hospital-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.hospital-info h2 {
    color: #7157A0;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.hospital-info p {
    color: #666;
    font-size: 1.1rem;
}

.privacy-section {
    background: white;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(113, 87, 160, 0.2);
}

.privacy-header {
    background: linear-gradient(135deg, #7157A0 0%, #8B6BC4 100%);
    color: white;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.privacy-header:hover {
    background: linear-gradient(135deg, #5a4a7f 0%, #7a5ba8 100%);
}

.privacy-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.privacy-header i {
    transition: transform 0.3s ease;
}

.privacy-header.active i {
    transform: rotate(180deg);
}

.privacy-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.privacy-content.active {
    padding: 25px;
    max-height: 1000px;
}

.privacy-content ul {
    list-style: none;
    padding-left: 0;
}

.privacy-content li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.privacy-content li:last-child {
    border-bottom: none;
}

.privacy-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7157A0;
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.important-notice::before {
    content: '⚠️';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.3;
}

.important-notice h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.important-notice ul {
    list-style: none;
    padding-left: 0;
}

.important-notice li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.important-notice li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.contact-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.contact-section h3 {
    color: #7157A0;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #7157A0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(113, 87, 160, 0.2);
}

.contact-item i {
    color: #7157A0;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    line-height: 1.4;
}

.back-home {
    text-align: center;
    margin: 40px 0;
}

.back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #7157A0 0%, #8B6BC4 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(113, 87, 160, 0.3);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(113, 87, 160, 0.4);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left { 
    opacity: 0; 
    transform: translateX(-50px); 
    animation: slideInLeft 0.8s ease forwards; 
}

@keyframes slideInLeft { 
    to { 
        opacity: 1; 
        transform: translateX(0); 
    } 
}

.slide-in-right { 
    opacity: 0; 
    transform: translateX(50px); 
    animation: slideInRight 0.8s ease forwards; 
}

@keyframes slideInRight { 
    to { 
        opacity: 1; 
        transform: translateX(0); 
    } 
}

/* Enhanced Privacy Section Styling */
.privacy-section .privacy-content strong {
    color: #7157A0;
    font-weight: 600;
}

.privacy-section .privacy-content ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.privacy-section .privacy-content ul li strong {
    display: inline-block;
    min-width: 120px;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 { 
        font-size: 2rem; 
    }
    
    .page-header p { 
        font-size: 1rem; 
    }
    
    .container { 
        padding: 15px; 
    }
    
    .privacy-header { 
        padding: 15px 20px; 
    }
    
    .privacy-content.active { 
        padding: 20px; 
    }
    
    .contact-info { 
        grid-template-columns: 1fr; 
    }
    
    .important-notice {
        padding: 20px;
    }
    
    .important-notice::before {
        font-size: 2.5rem;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .page-header h1 { 
        font-size: 1.8rem; 
    }
    
    .privacy-header h3 { 
        font-size: 1.1rem; 
    }
    
    .hospital-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-section h3 {
        font-size: 1.5rem;
    }
    
    .important-notice h3 {
        font-size: 1.3rem;
    }
}

/* Enhanced Hover Effects */
.privacy-section:hover .privacy-header {
    background: linear-gradient(135deg, #5a4a7f 0%, #7a5ba8 100%);
}

.privacy-content.active {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Special Styling for Privacy-specific Elements */
.privacy-section .privacy-content .privacy-highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    margin: 15px 0;
}

.privacy-section .privacy-content .privacy-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff9800;
    margin: 15px 0;
}

/* Enhanced Contact Section */
.contact-section .contact-item:nth-child(1) {
    border-left-color: #2196f3;
}

.contact-section .contact-item:nth-child(2) {
    border-left-color: #4caf50;
}

.contact-section .contact-item:nth-child(3) {
    border-left-color: #ff9800;
}

.contact-section .contact-item:nth-child(4) {
    border-left-color: #9c27b0;
}

.contact-section .contact-item:nth-child(5) {
    border-left-color: #607d8b;
}

.contact-section .contact-item:nth-child(6) {
    border-left-color: #795548;
}
