* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1877F2;
    --primary-hover: #166FE5;
    --secondary-color: #42A5F5;
    --accent-color: #FF6B35;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --text-primary: #1C1E21;
    --text-secondary: #65676B;
    --text-muted: #8E8E93;
    --bg-primary: #F0F2F5;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F7F8FA;
    --border-color: #DADDE1;
    --shadow-light: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 4px 16px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --border-radius-large: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
}

/* Header și Cover */
.cover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('https://petcare.h28.ro/header-petcare.jpg');
    background-size: cover;
    background-position: center 40%;
    height: 400px;
    position: relative;
    cursor: pointer;
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    overflow: hidden;
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.3) 0%, rgba(66, 165, 245, 0.3) 100%);
    z-index: 1;
}

.profile-header {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.profile-pic-container {
    position: absolute;
    bottom: -90px;
    left: 20px;
    z-index: 3;
    cursor: pointer;
    transition: var(--transition);
}

.profile-pic-container:hover {
    transform: scale(1.05);
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid var(--bg-secondary);
    object-fit: cover;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.profile-text {
    position: absolute;
    top: -100px;
    left: 220px;
    z-index: 2;
    max-width: 400px;
}

.text-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: var(--border-radius-large);
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-text h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.profile-text p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Navigare */
.tabs {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px 0 220px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-light);
}

.tabs ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 0;
}

.tabs a {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
}

.tabs a:hover {
    color: var(--primary-color);
    background-color: var(--bg-tertiary);
}

.tabs a.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tabs a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

/* Layout principal */
.main-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

.content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.services-post {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.services-post:hover {
    background-color: var(--bg-tertiary);
}

.services-post:last-child {
    border-bottom: none;
}

.services-post h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-post h2 i {
    font-size: 28px;
    color: var(--accent-color);
}

.services-post p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Grid servicii */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.service-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-item:hover::before {
    width: 6px;
}

.service-title {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.service-title i {
    font-size: 20px;
    color: var(--accent-color);
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonial */
.testimonial {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial p:last-child {
    margin-bottom: 0;
}

.testimonial i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 8px;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
    box-shadow: var(--shadow-light);
}

.feature-item i {
    color: var(--success-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-hover);
}

.contact-note {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

/* Social Cards */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: white;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #F77737);
}

.social-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.social-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.schedule-item {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.schedule-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.schedule-item.emergency {
    border-left-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 142, 83, 0.1));
}

.schedule-item .day {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.schedule-item .time {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.schedule-item.emergency .time {
    color: var(--accent-color);
    font-weight: 600;
}

/* Price Gallery */
.price-gallery {
    margin-top: 20px;
}

.gallery-main {
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.gallery-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.gallery-btn i {
    font-size: 20px;
    color: var(--text-primary);
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbnails .thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
    border: 2px solid transparent;
}

.gallery-thumbnails .thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.gallery-thumbnails .thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Testimonial Cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 24px;
    color: white;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #FFD700;
    font-size: 14px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Rating Summary */
.rating-summary {
    text-align: center;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.rating-stars i {
    color: #FFD700;
    font-size: 24px;
}

.rating-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.rating-count {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Promo Details */
.promo-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-item i {
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.promo-item span {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

/* Promotion Cards */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.promotion-card {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), #FF8E53);
}

.promotion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.promotion-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #FF8E53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.promotion-icon i {
    font-size: 32px;
    color: white;
}

.promotion-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.promotion-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.promotion-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #FF8E53);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Butoane */
.button-group {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

.btn i {
    font-size: 16px;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Sidebar */
.sidebar {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section h3 i {
    color: var(--primary-color);
}

.contact-info {
    background: var(--bg-tertiary);
    padding: 16px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 40px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    border-radius: var(--border-radius-large);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="%231877F2" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%231877F2" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%231877F2" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%231877F2" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%231877F2" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-section h2,
.hero-section p {
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

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

.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 25px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.promo-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.promo-link span {
    font-size: 12px;
    font-weight: 400;
    margin-left: 8px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 24px;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
}

.footer i {
    margin-right: 5px;
}

/* Image Overlay */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

/* Animații */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-post {
    animation: fadeInUp 0.6s ease-out;
}

.service-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .cover {
        height: 300px;
    }
    
    .profile-pic-container {
        bottom: -70px;
        left: 15px;
        z-index: 3;
    }
    
    .profile-pic {
        width: 140px;
        height: 140px;
    }
    
    .profile-text {
        top: -80px;
        left: 200px;
        max-width: 200px;
        z-index: 2;
    }
    
    .profile-text h1 {
        font-size: 20px;
    }
    
    .profile-text p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .text-box {
        padding: 12px 16px;
    }
    
    .tabs {
        padding: 80px 15px 0;
        z-index: 1;
        position: relative;
    }
    
    .tabs ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .tabs a {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .main-container {
        padding: 15px;
        margin: 20px auto;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        justify-content: center;
        padding: 14px 20px;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-section h2 {
        font-size: 24px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .services-post {
        padding: 20px;
    }
    
    .services-post h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .profile-pic-container {
        bottom: -60px;
        left: 10px;
        z-index: 3;
    }
    
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    
    .profile-text {
        position: static;
        margin-top: 60px;
        max-width: 100%;
        z-index: 2;
    }
    
    .text-box {
        text-align: center;
        margin: 0 10px;
        padding: 15px 20px;
    }
    
    .profile-text h1 {
        font-size: 22px;
    }
    
    .profile-text p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .tabs {
        padding: 60px 10px 0;
        z-index: 1;
        position: relative;
    }
    
    .tabs ul {
        justify-content: space-between;
    }
    
    .tabs a {
        padding: 10px 12px;
        font-size: 13px;
    }
}