/* ========================================
   SERVICE DETAIL PAGE STYLES
   ======================================== */

/* Service Detail Hero */
.service-detail-hero {
    padding: 60px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-detail-header {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
    text-decoration: none;
    color: var(--white);
}

.service-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px;
    animation: float 3s ease-in-out infinite;
}

.service-hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.service-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.service-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-service-primary,
.btn-service-secondary {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-service-primary {
    background: var(--white);
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-service-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    color: #667eea;
}

.btn-service-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-service-secondary:hover {
    background: var(--white);
    color: #667eea;
    text-decoration: none;
}

/* Service Content Section */
.service-content-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.service-main-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.service-content-block {
    margin-bottom: 40px;
}

.service-content-block:last-child {
    margin-bottom: 0;
}

.service-content-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-content-block h2 i {
    color: #667eea;
}

.service-content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Service Image */
.service-image-wrapper {
    position: relative;
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-detail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-image-wrapper:hover .service-detail-image {
    transform: scale(1.02);
}

.service-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 20px;
}

.service-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-image-badge i {
    font-size: 1.2rem;
    color: #fbbf24;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}

.feature-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Documents List */
.documents-list {
    display: grid;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.document-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.document-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Info Cards */
.service-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.info-card p {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: #667eea;
}

/* Contact Card */
.contact-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    color: #667eea;
    font-size: 1.3rem;
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    margin: 2px 0;
}

.contact-item a:hover {
    color: #667eea;
    text-decoration: underline;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    color: var(--white);
}

/* Other Services List */
.other-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.other-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.other-service-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
    text-decoration: none;
}

.other-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.other-service-item span {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.other-service-item > i {
    color: var(--text-light);
    font-size: 0.9rem;
}

.view-all-services {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    transition: all 0.3s ease;
}

.view-all-services:hover {
    gap: 12px;
    text-decoration: none;
}

/* Enquiry Form Section */
.enquiry-form-section {
    padding: 60px 0;
    background: var(--white);
}

.enquiry-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.enquiry-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.enquiry-form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.enquiry-form-header h2 i {
    color: #667eea;
}

.enquiry-form-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Form Styles */
.service-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #667eea;
    font-size: 0.9rem;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-enquiry-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-enquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-enquiry-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2rem;
    }

    .service-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .service-hero-actions {
        flex-direction: column;
    }

    .btn-service-primary,
    .btn-service-secondary {
        width: 100%;
        justify-content: center;
    }

    .service-main-content {
        padding: 25px;
    }

    .enquiry-form-wrapper {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .service-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-detail-hero {
        padding: 40px 0 60px;
    }

    .service-hero-content h1 {
        font-size: 1.6rem;
    }

    .service-content-block h2 {
        font-size: 1.4rem;
    }
}

