/* Services Page Specific Styles */

/* Hero styles moved to hero.css */

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
}

/* Section header styles moved to css/shared/common.css */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 10px;
    outline: none;
}

.service-card-link:focus {
    outline: 3px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

.service-card-link:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.7);
    outline-offset: 2px;
}

.service-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card-link:hover .service-box {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-card-link:active .service-box {
    transform: translateY(-8px) scale(0.98);
}

.service-card-link:focus .service-box {
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 32px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.service-card-link:hover .service-icon {
    background: var(--primary-color);
}

.service-card-link:hover .service-icon i {
    color: var(--secondary-color);
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-box p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-card-link:hover .service-link {
    background: var(--secondary-color);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

/* Service Detail Sections */
.service-detail {
    padding: 80px 0;
}

.service-detail.alternate {
    background-color: #f9f9f9;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.service-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.service-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
}

.service-features li i {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 16px;
}

.service-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 28px;
    color: var(--secondary-color);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.9), rgba(7, 19, 48, 0.8)), url('../../images/pages/about/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(212, 175, 55, 0.1) 100%);
    z-index: 1;
    animation: shimmer 8s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.cta-buttons .btn {
    padding: 14px 28px; /* Reduced for better proportion */
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 150px; /* Reduced minimum width */
    max-width: 280px; /* Prevent buttons from being too wide */
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap; /* Prevent text wrapping */
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-btn-primary,
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f1c40f 100%);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

.cta-btn-primary:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #f1c40f 0%, var(--secondary-color) 100%);
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

.cta-btn-secondary,
.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.cta-btn-secondary:hover,
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    /* Hero responsive styles moved to hero.css */
    
    .services-overview .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-overview .section-header p {
        font-size: 1.1rem;
    }
    
    .service-content {
        flex-direction: column;
    }
    
    .service-content.reverse {
        flex-direction: column;
    }
    
    .service-text {
        order: 1;
    }
    
    .service-image {
        order: 0;
        margin-bottom: 30px;
        min-height: 200px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        padding: 12px 20px; /* Reduced for better proportion */
        font-size: 14px;
        min-width: 120px; /* Reduced minimum width */
        max-width: 220px; /* Prevent buttons from being too wide */
        white-space: nowrap; /* Prevent text wrapping */
    }
}

@media (max-width: 576px) {
    /* Hero mobile responsive styles moved to hero.css */
    
    .services-overview .section-header h2 {
        font-size: 1.8rem;
    }
    
    .services-overview .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-text h2 {
        font-size: 24px;
    }
    
    .service-image {
        min-height: 180px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .cta-buttons .btn {
        padding: 10px 18px; /* Reduced for better proportion */
        min-width: 100px; /* Smaller minimum for very small screens */
        max-width: 180px; /* Prevent buttons from being too wide */
        font-size: 13px;
        white-space: nowrap; /* Prevent text wrapping */
    }
}

