/* Base styles and CSS variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --success-color: #27ae60;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Dropdown Button Styles */
.emergency-dropdown-btn {
    position: relative;
    width: 100%;
    padding: 16px 20px;
    margin-top: 20px;
    border: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.emergency-dropdown-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}

.emergency-dropdown-btn:hover::before {
    left: 100%;
}

.emergency-dropdown-btn:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.emergency-dropdown-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.1);
}

.emergency-dropdown-btn.active {
    border-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.emergency-dropdown-btn .btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.emergency-dropdown-btn .btn-icon {
    width: 22px;
    height: 22px;
    padding: 3px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.emergency-dropdown-btn:hover .btn-icon {
    background: rgba(52, 152, 219, 0.2);
    transform: rotate(360deg);
}

.emergency-dropdown-btn.active .btn-icon {
    background: rgba(255, 255, 255, 0.2);
}

.emergency-dropdown-btn .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.emergency-dropdown-btn.active .btn-arrow {
    transform: rotate(180deg);
}

.emergency-dropdown-btn .btn-text {
    font-size: 15px;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .emergency-dropdown-btn {
        padding: 14px 16px;
    }
    
    .emergency-dropdown-btn .btn-text {
        font-size: 14px;
    }
    
    .emergency-dropdown-btn .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    .emergency-dropdown-btn .btn-arrow {
        width: 18px;
        height: 18px;
    }
}

/* Service Cards Styles */
.service-card-new {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #3498db;
}

.service-card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
    pointer-events: none;
}

.service-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.service-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-service-call {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-service-call::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-service-call:hover::before {
    width: 300px;
    height: 300px;
}

.btn-service-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.btn-service-call:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-service-call svg {
    width: 18px;
    height: 18px;
}

/* Alternative button styles for variation */
.btn-service-secondary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-service-secondary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

@media (max-width: 768px) {
    .service-card-image-wrapper {
        height: 150px;
    }
    
    .service-card-body {
        padding: 20px;
    }
    
    .service-card-title {
        font-size: 1.2rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }
}

/* Team Section Mobile Styles */
@media (max-width: 768px) {
    .team-section {
        padding: 20px 15px !important;
    }
    
    .team-section h2 {
        font-size: 1.3rem !important;
    }
    
    .team-section img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    
    .team-section > div:first-child {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .team-section {
        margin-top: 30px !important;
        padding: 15px 10px !important;
    }
    
    .team-section h2 {
        font-size: 1.2rem !important;
    }
    
    .team-section p {
        font-size: 0.85rem !important;
    }
    
    /* Hungarian team banner responsive */
    .team-section div[style*="position: absolute"][style*="bottom: 0"] {
        padding: 10px 15px 8px !important;
    }
    
    .team-section div[style*="position: absolute"][style*="bottom: 0"] div[style*="font-size: 0.9rem"] {
        font-size: 0.8rem !important;
    }
    
    .team-section div[style*="position: absolute"][style*="bottom: 0"] div[style*="font-size: 0.75rem"] {
        font-size: 0.65rem !important;
    }
    
    /* Top badge responsive */
    .team-section div[style*="position: absolute"][style*="top: 15px"] {
        top: 10px !important;
        right: 10px !important;
        padding: 4px 10px !important;
        font-size: 0.65rem !important;
    }
    
    /* Stats cards responsive */
    .team-section > div > div:last-child {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .team-section > div > div:last-child > div {
        padding: 12px !important;
    }
    
    .team-section > div > div:last-child p:first-child {
        font-size: 1.5rem !important;
    }
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon svg {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.call-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(231, 76, 60, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }
}

.call-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.call-btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 280px;
    margin-top: 60px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: zoomIn 1.5s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.1) 0%, 
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: absolute;
    bottom: -250px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    max-width: 700px;
    z-index: 10;
    animation: slideUp 0.8s ease-out 0.5s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-title-box {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 30px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}

.hero-title-box:hover {
    transform: translateY(-5px);
}

.rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.rating-stars {
    display: flex;
    gap: 1px;
    font-size: 1.1rem;
    color: #FFD700;
}

.rating-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.rating-count {
    font-size: 0.9rem;
    color: #666;
}

.verified-icon {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
    color: var(--success-color);
}

.verified-icon svg {
    width: 12px;
    height: 12px;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-accent {
    color: var(--secondary-color);
    display: block;
    font-size: 3.5rem;
    animation: colorPulse 2s ease-in-out infinite;
}

@keyframes colorPulse {
    0%, 100% {
        color: var(--secondary-color);
    }
    50% {
        color: #ff6b6b;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.hero-btn {
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-btn-primary {
    background: #e74c3c !important;
    color: white !important;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
    font-weight: 600;
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    border: 2px solid #e74c3c;
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(231, 76, 60, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
    }
}

.hero-btn-primary:hover {
    background: #c0392b !important;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(231, 76, 60, 0.6);
}

.hero-btn-primary:active {
    transform: translateY(0);
}

/* Mini Testimonial */
.mini-testimonial {
    margin-top: 20px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

.quick-review {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    animation: fadeInUp 1s ease-out 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.review-content {
    flex: 1;
}

.review-stars {
    color: #FFD700;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.review-text {
    color: rgba(44, 62, 80, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    font-style: italic;
}

.review-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: rgba(44, 62, 80, 0.7);
    white-space: nowrap;
}

.time-dot {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Modern CTA Button */
.modern-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px 35px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.modern-cta-button::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.6s;
}

.modern-cta-button:hover::before {
    left: 100%;
}

.modern-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.cta-icon-wrapper {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cta-text-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cta-main-text {
    font-size: 0.9rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.cta-phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-arrow {
    margin-left: auto;
    animation: slideArrow 1.5s ease-in-out infinite;
}

@keyframes slideArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Emergency Section */
.emergency-section {
    padding: 3rem 0;
    background: #fafafa;
    position: relative;
}

.emergency-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.emergency-title span {
    color: var(--secondary-color);
}

.emergency-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.emergency-subtitle::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.emergency-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInCard 0.6s ease-out forwards;
}

.emergency-card:nth-child(1) { animation-delay: 0.1s; }
.emergency-card:nth-child(2) { animation-delay: 0.2s; }
.emergency-card:nth-child(3) { animation-delay: 0.3s; }
.emergency-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emergency-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px 12px 0 0;
    filter: brightness(0.98);
    transition: transform 0.3s;
}

.emergency-card:hover .emergency-card-image {
    transform: scale(1.05);
}

.emergency-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.emergency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #3498db;
}

.emergency-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.emergency-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: auto;
    flex-grow: 1;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f8ff;
    color: #3498db;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    align-self: flex-start;
}

.emergency-cta {
    text-align: center;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 12px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.25);
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.emergency-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.35);
    background: linear-gradient(135deg, #c0392b, #a02820);
}

.emergency-call-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.emergency-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-weight: 500;
}

.emergency-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.pulse-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title span {
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
    min-height: 180px;
}

.service-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.service-icon svg {
    color: white;
    width: 30px;
    height: 30px;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.service-cta-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border: 2px solid var(--secondary-color);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(231, 76, 60, 0.2);
        border-color: var(--secondary-color);
    }
    50% {
        box-shadow: 0 5px 30px rgba(231, 76, 60, 0.5);
        border-color: #ff6b6b;
    }
}

.service-cta-card:hover {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
    transform: translateY(-5px) scale(1.02);
}

.service-cta-card:hover * {
    color: white !important;
}

.cta-icon {
    background: white;
    animation: iconPulse 2s infinite;
}

.cta-icon svg {
    color: var(--secondary-color);
}

@keyframes iconPulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.service-call-btn {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s;
    animation: blinkText 2s ease-in-out infinite;
}

@keyframes blinkText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.service-cta-card:hover .service-call-btn {
    color: white !important;
    text-decoration: underline;
}

.service-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.services-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.services-note {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: white;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.gps-map {
    position: relative;
    width: 100%;
    height: 450px;
    background: #e5f2e5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* Additional Components */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #2980b9;
}

/* Sticky Rating Box */
.sticky-rating-box {
    position: fixed;
    top: -200px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    border-bottom: 2px solid rgba(231, 76, 60, 0.1);
    z-index: 999;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-rating-box.show {
    top: 0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.3rem 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Technician Card Styles */
.tech-card-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-info-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 280px;
}

.tech-photo-container {
    position: relative;
    flex-shrink: 0;
}

.tech-photo-container img {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tech-status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #3498db;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}

.tech-details {
    flex: 1;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.tech-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #2c3e50;
}

.badge-available {
    background: #e3f2fd;
    color: #2196F3;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tech-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.tech-stats span {
    font-size: 0.8rem;
    white-space: nowrap;
}

.tech-call-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 15px rgba(231, 76, 60, 0.25);
    transition: all 0.3s;
    flex-shrink: 0;
}

.tech-call-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.35);
}

/* Utilities */
.bg-light-gradient {
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.card-primary {
    background: white;
    border: 1px solid #e0e0e0;
}

.border-green {
    border-color: #4CAF50 !important;
}

.shimmer-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 50%, #4CAF50 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.container-850 {
    max-width: 850px;
    margin: 0 auto;
}

.p-20 {
    padding: 20px;
}

.p-15 {
    padding: 15px;
}

.mt-15 {
    margin-top: 15px;
}

.rounded-15 {
    border-radius: 15px;
}

.rounded-10 {
    border-radius: 10px;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.shadow-md {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.text-small {
    font-size: 0.85rem;
}

.text-muted {
    color: #666;
}

.text-italic {
    font-style: italic;
}

.heading-md {
    font-size: 1.1rem;
    font-weight: 600;
}

.heading-xl {
    font-size: 1.8rem;
    font-weight: 700;
}

.bg-green-gradient {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.bg-white {
    background: white;
}

.border-light {
    border: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (min-width: 769px) {
    .header-content {
        gap: 60px;
    }
    
    .header-info {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    header {
        padding: 14px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        gap: 30px;
    }
    
    .logo {
        font-size: 1.3rem;
        gap: 6px;
        font-weight: 600;
    }
    
    .logo svg {
        width: 22px;
        height: 22px;
    }
    
    .call-btn {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }
    
    .call-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    /* Technician Card Mobile Styles */
    .tech-card-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .tech-info-section {
        width: 100%;
        min-width: auto;
    }
    
    .tech-photo-container img {
        width: 60px;
        height: 60px;
    }
    
    .tech-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .tech-header h3 {
        font-size: 1rem;
    }
    
    .tech-stats {
        gap: 8px;
    }
    
    .tech-stats span {
        font-size: 0.75rem;
    }
    
    .tech-call-button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .tech-details {
        width: 100%;
    }
    
    .heading-xl {
        font-size: 1.5rem;
    }
    
    .heading-md {
        font-size: 1rem;
    }
    
    .p-20 {
        padding: 15px;
    }
    
    .container-850 {
        padding: 0 10px;
    }
    
    /* Counter section mobile */
    .bg-white.rounded-10.shadow-sm {
        width: 100%;
        margin-top: 20px !important;
    }
    
    .card-primary {
        margin-bottom: 15px;
    }
    
    #requests-counter {
        font-size: 1.3rem;
    }
    
    /* Hero section - показываем 50% фото мастера */
    .hero-section {
        margin-bottom: 300px;
    }
    
    .hero-image-wrapper {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-content {
        width: 95%;
        bottom: -280px;
        transform: translateX(-50%);
    }
    
    .hero-image {
        object-position: center center;
        object-fit: cover;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, 
            rgba(0,0,0,0) 0%, 
            rgba(0,0,0,0) 50%,
            rgba(0,0,0,0.2) 100%);
    }
    
    .hero-title-box {
        padding: 20px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(8px);
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-accent {
        font-size: 1.8rem;
        display: inline-block;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        margin-bottom: 15px;
    }
    
    .mini-testimonial {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .emergency-section {
        padding: 2rem 0;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    /* Modern CTA Button Mobile */
    .modern-cta-button {
        width: 100%;
        padding: 15px 25px;
        gap: 15px;
        border-radius: 15px;
        justify-content: center;
    }
    
    .cta-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .cta-text-content {
        flex: 1;
        text-align: left;
    }
    
    .cta-main-text {
        font-size: 0.8rem;
    }
    
    .cta-phone-number {
        font-size: 1.1rem;
    }
    
    .cta-arrow {
        display: none;
    }
    
    .services-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.5rem 1rem;
        min-height: 150px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .map-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .call-btn {
        padding: 9px 14px !important;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    /* Hero section - показываем больше фото мастера */
    .hero-section {
        margin-bottom: 320px;
    }
    
    .hero-content {
        bottom: -300px !important;
        width: 92%;
        transform: translateX(-50%);
    }
    
    .hero-image-wrapper {
        height: 45vh !important;
        min-height: 320px !important;
    }
    
    .hero-image {
        object-position: center center !important;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, 
            rgba(0,0,0,0) 0%, 
            rgba(0,0,0,0) 60%,
            rgba(0,0,0,0.1) 100%) !important;
    }
    
    /* Hero Title Mobile Fix */
    .hero-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
        white-space: nowrap;
    }
    
    .hero-accent {
        font-size: 1.5rem !important;
        letter-spacing: -0.5px;
        display: inline-block;
        white-space: nowrap;
    }
    
    .hero-title-box {
        padding: 20px 15px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    /* Hero button and testimonial mobile */
    .hero-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        gap: 6px !important;
    }
    
    .hero-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .hero-buttons {
        margin: 15px 0;
    }
    
    .mini-testimonial {
        margin-top: 15px !important;
        padding-top: 12px !important;
    }
    
    .quick-review {
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    
    .review-avatar {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
    }
    
    .review-text {
        font-size: 0.75rem !important;
    }
    
    .review-stars {
        font-size: 0.8rem !important;
    }
    
    /* Technician Card Extra Small Screens */
    .tech-info-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .tech-photo-container {
        margin: 0 auto;
    }
    
    .tech-details {
        text-align: center;
    }
    
    .tech-header {
        align-items: center;
        justify-content: center;
    }
    
    .tech-stats {
        justify-content: center;
    }
    
    .badge-available {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .text-small {
        font-size: 0.75rem;
    }
    
    /* Counter adjustments */
    .bg-green-gradient.rounded-10.p-15 {
        padding: 10px;
    }
    
    .bg-green-gradient svg {
        width: 20px;
        height: 20px;
    }
    
    #requests-counter {
        font-size: 1.2rem;
    }
    
    .shimmer-bar {
        height: 2px;
    }
}

/* Extra small screens */
@media (max-width: 380px) {
    /* Hero positioning - максимально показываем фото мастера */
    .hero-section {
        margin-bottom: 340px !important;
    }
    
    .hero-content {
        width: 90% !important;
        bottom: -320px !important;
        transform: translateX(-50%);
    }
    
    .hero-image-wrapper {
        height: 40vh !important;
        min-height: 300px !important;
    }
    
    .hero-image {
        object-position: center center !important;
    }
    
    .hero-overlay {
        background: transparent !important;
    }
    
    .hero-title {
        font-size: 1.1rem !important;
        white-space: nowrap;
    }
    
    .hero-accent {
        font-size: 1.2rem !important;
        letter-spacing: -0.5px;
        white-space: nowrap;
    }
    
    .hero-title-box {
        padding: 15px 10px;
        border-radius: 15px;
    }
    
    .rating-section {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .rating-stars {
        font-size: 0.9rem;
    }
    
    .rating-number {
        font-size: 1rem;
    }
    
    /* Hero button extra small adjustments */
    .hero-btn {
        padding: 9px 16px !important;
        font-size: 0.85rem !important;
    }
    
    .hero-buttons {
        margin: 12px 0 8px 0;
    }
    
    .mini-testimonial {
        margin-top: 12px !important;
    }
    
    .quick-review {
        padding: 6px 8px !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .review-time {
        font-size: 0.7rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}