/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.action-buttons-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100px;
    cursor: pointer;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
}

.btn-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.suggestion-btn .btn-icon { color: #10b981; }
.review-btn .btn-icon { color: #f59e0b; }
.complaint-btn .btn-icon { color: #ef4444; }

.btn-text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Login Popup Styles */
.login-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-popup-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.4s ease;
}

.login-popup-header {
    background: #00a5bd;
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.login-popup-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.login-popup-header p {
    opacity: 0.9;
}

.login-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.login-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.login-popup-body {
    padding: 25px;
}

.login-popup-icon {
    text-align: center;
    margin-bottom: 20px;
}

.login-popup-icon i {
    font-size: 48px;
    color: #00a5bd;
    background: #dbeafe;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-popup-message {
    text-align: center;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.login-popup-buttons {
    display: flex;
    gap: 15px;
}

.login-popup-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-popup-btn-primary {
    background: #00a5bd;
    color: white;
}

.login-popup-btn-primary:hover {
    background: #00a5bd;
    transform: translateY(-2px);
}

.login-popup-btn-outline {
    background: transparent;
    color: #00a5bd;
    border: 2px solid #00a5bd;
}

.login-popup-btn-outline:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/*-------------------------------*/
.section-title {
    position: static !important;
    text-align: left !important;
}
:root {
    --primary-color: #3b82f6;
    --secondary-color: #2563eb;
    --light-color: #f3f4f6;
    --dark-color: #1f2937;
    --accent-color: #10b981;
    --text-color: #334155;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--text-color);
    line-height: 1.6;
}

.profile-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}


/* Profile Header */
.profile-header {
    background: white;
    border-radius: 16px;
    padding: 15px 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-color);
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.back-button:hover {
    opacity: 0.8;
}

.profile-main {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-image-container {
    position: relative;
    flex-shrink: 0;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
    min-width: 300px;
        display: flex;
        justify-content: space-between;
}

.profile-name {
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark-color);
}

.profile-position {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

.profile-badge {
    display: inline-block;
    background: var(--light-color);
    color: var(--dark-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.profile-description {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.profile-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    height: fit-content;
}

.profile_contant_head{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-item {
    background: var(--light-color);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

@media (max-width: 1000px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
}

/* Details Section */
.profile-details {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-color);
    color: var(--dark-color);
    font-weight: 600;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.detail-card {
    background: var(--light-color);
    border-radius: 12px;
    padding: 20px;
}

.detail-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.detail-card h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.detail-item {
    margin-bottom: 12px;
    display: flex;
}

.detail-label {
    font-weight: 600;
    min-width: 140px;
    color: var(--dark-color);
}

.detail-value {
    color: var(--text-color);
    flex: 1;
}

/* Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-box {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-list {
    list-style: none;
    margin-bottom: 20px;
}

.contact-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-main {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
  
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
    }
}

/* Loading Animation */
#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade-in Animation */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/*--------------------------------*/
  /* Button Container Styles */
.action-buttons-container {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual Button Styles */
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 75px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #334155;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 16px 16px 0 0;
}

.suggestion-btn::before {
    background: #00a5bd;
}

.review-btn::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.complaint-btn::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}
.appointment-btn::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.suggestion-btn .btn-icon {
    color: #3b82f6;
}

.review-btn .btn-icon {
    color: #10b981;
}

.complaint-btn .btn-icon {
    color: #ef4444;
}

.btn-text {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    padding: 0 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1f2937;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    /*font-size: 1rem;*/
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    /*font-size: 1rem;*/
}

.submit-btn:hover {
    background: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons-container {
        gap: 10px;
    }
    
    .action-btn {
        width: 110px;
        height: 110px;
    }
    
    .btn-icon {
        font-size: 1.8rem;
    }
    
    .btn-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .action-buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        height: 80px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 20px;
        gap: 15px;
    }
    
    .btn-icon {
        margin-bottom: 0;
        font-size: 1.5rem;
    }
}
/* Suggestion – light orange */
.action-btn.suggestion-filled {
    background-color: #ffe0b3;   /* pastel orange */
    color: #7a4d00;              /* darker text for contrast */
}

/* Review – light green */
.action-btn.review-filled {
    background-color: #d4f5d4;   /* pastel green */
    color: #2e6e2e;
}

/* Complaint – light red/pink */
.action-btn.complaint-filled {
    background-color: #ffd6d6;   /* pastel red/pink */
    color: #a33a3a;
}

/* optional: icon color adjust */
.action-btn.suggestion-filled .btn-icon i {
    color: #7a4d00;
}
.action-btn.review-filled .btn-icon i {
    color: #2e6e2e;
}
.action-btn.complaint-filled .btn-icon i {
    color: #a33a3a;
}

