/**
 * ==========================================
 * SERVICES PAGE - COMPLETE STYLESHEET
 * eTaxBook Solutions
 * ==========================================
 */

 /* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors - Enhanced */
    --primary-color: #253679;
    --primary-light: #3d4d99;
    --primary-gradient: linear-gradient(135deg, #253679 0%, #3d4d99 100%);
    
    --secondary-color: #f2675d;
    --secondary-light: #ff7e75;
    --secondary-gradient: linear-gradient(135deg, #f2675d 0%, #ff7e75 100%);
    
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-gray: #6c757d;
    --border-color: #dee2e6;
    --border-light: #e5e7eb;
    
    /* Fonts */
    --ff-display: 'Poppins', sans-serif;
    --ff-body: 'Roboto', sans-serif;
    
    /* Shadows - Enhanced */
    --shadow-sm: 0 2px 8px rgba(37, 54, 121, 0.08);
    --shadow-md: 0 4px 12px rgba(37, 54, 121, 0.12);
    --shadow-lg: 0 10px 30px rgba(37, 54, 121, 0.18);
    --shadow-hover: 0 15px 35px rgba(37, 54, 121, 0.25);
    --shadow-glow: 0 0 20px rgba(242, 103, 93, 0.3);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    
    /* Animations */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-base: all 0.4s var(--ease-smooth);
    --transition-fast: all 0.2s var(--ease-smooth);
    
    /* Spacing */
    --section-padding: 80px 0;
}

/* ==========================================
   SERVICE CATEGORY CARDS - ENHANCED
   ========================================== */

.service-category-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-decoration: none;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Animated background gradient on hover */
.service-category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-base);
    transform: rotate(45deg);
    z-index: 0;
}

.service-category-card:hover::before {
    opacity: 0.05;
    animation: shimmer 2s infinite;
}

.service-category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* Card content wrapper */
.service-category-card > * {
    position: relative;
    z-index: 1;
}


/* Category Icon - Enhanced */
.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 54, 121, 0.1) 0%, rgba(37, 54, 121, 0.05) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.category-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: var(--transition-base);
}

.service-category-card:hover .category-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-md);
}

.service-category-card:hover .category-icon::before {
    opacity: 1;
    animation: spin 3s linear infinite;
}

/* Category Title */
.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    transition: var(--transition-fast);
    line-height: 1.4;
}

.service-category-card:hover .category-title {
    color: var(--primary-color);
}

/* Service Card Tagline */
.service-card-tagline {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    /* font-style: italic; */
    opacity: 0.9;
}

/* Category Description */
.category-desc {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}




/* Category Link */
.category-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.category-link i {
    transition: var(--transition-fast);
}

.service-category-card:hover .category-link {
    color: var(--primary-color);
}

.service-category-card:hover .category-link i {
    transform: translateX(8px);
}

/* ==========================================
   SERVICE DETAIL SECTIONS WITH BACKGROUNDS
   ========================================== */

.service-detail-section {
    position: relative;
    overflow: hidden;
}

/* Background Image Layer */
.service-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
}

/* Gradient Overlay Layer - REDUCED OPACITY */
.service-detail-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    background: linear-gradient(
        135deg,
        rgba(37, 54, 121, 0.75) 0%,
        rgba(37, 54, 121, 0.65) 50%,
        rgba(242, 103, 93, 0.7) 100%
    );
    z-index: 1;
}

/* Ensure content is above both layers */
.service-detail-section .container {
    position: relative;
    z-index: 2;
}

/* Section Header Wrapper */
.service-detail-section .row:first-child {
    padding: 80px 0 60px;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}

/* Text Styling for Better Readability */
.service-detail-section .section-title {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 3;
}

.service-detail-section .section-title::after {
    background: var(--white);
}

.service-detail-section .text-muted {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
}

/* Service Detail Icon */
.service-detail-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 2rem !important;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.service-detail-icon::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    animation: rotate 15s linear infinite;
}

.service-detail-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    /* background: var(--primary-gradient); */
    animation: pulse 2s ease-in-out infinite;
}

/* ==========================================
   INDIVIDUAL SECTION BACKGROUNDS
   ========================================== */

/* Tax & GST Section */
#income-tax-gst::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?w=1600&q=80');
}

#income-tax-gst::after {
    background: linear-gradient(
        135deg,
        rgba(37, 54, 121, 0.7) 0%,
        rgba(102, 126, 234, 0.6) 100%
    );
}

/* Business Registration Section */
#company-registration::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80');
}

#company-registration::after {
    background: linear-gradient(
        135deg,
        rgba(37, 54, 121, 0.7) 0%,
        rgba(26, 188, 156, 0.6) 100%
    );
}

/* Licences & Registrations Section */
#licences-registrations::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600&q=80');
}

#licences-registrations::after {
    background: linear-gradient(
        135deg,
        rgba(118, 75, 162, 0.7) 0%,
        rgba(242, 103, 93, 0.65) 100%
    );
}

/* Business Compliance Section */
#business-compliance::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1600&q=80');
}

#business-compliance::after {
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.7) 0%,
        rgba(46, 204, 113, 0.6) 100%
    );
}

/* Business Advisory Section */
#business-advisory::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&q=80');
}

#business-advisory::after {
    background: linear-gradient(
        135deg,
        rgba(231, 76, 60, 0.7) 0%,
        rgba(230, 126, 34, 0.65) 100%
    );
}

/* Intellectual Property Section */
#intellectual-property::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80');
}

#intellectual-property::after {
    background: linear-gradient(
        135deg,
        rgba(88, 86, 214, 0.7) 0%,
        rgba(155, 89, 182, 0.65) 100%
    );
}

/* Technology & Automation Section */
#technology-automation::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1600&q=80');
}

#technology-automation::after {
    background: linear-gradient(
        135deg,
        rgba(37, 54, 121, 0.7) 0%,
        rgba(52, 152, 219, 0.6) 100%
    );
}

/* Accounting & Bookkeeping Section */
#accounting-bookkeeping::before {
    background-image: linear-gradient(rgba(37, 54, 121, 0.3), rgba(37, 54, 121, 0.3)), 
                      url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80');
}

#accounting-bookkeeping::after {
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.7) 0%,
        rgba(37, 54, 121, 0.65) 100%
    );
}

/* ==========================================
   ANIMATED PATTERN OVERLAY
   ========================================== */

.service-detail-section .container > .row:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 450px;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    animation: backgroundScroll 20s linear infinite;
    pointer-events: none;
}

/* Decorative Floating Elements */
.service-detail-section .container > .row:first-child::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

/* ==========================================
   SERVICE DETAIL CARDS - ENHANCED
   ========================================== */

.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.service-detail-card:hover::after {
    transform: scaleX(1);
}

.service-detail-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

/* Service Detail Header */
.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Service Detail Icon Small */
.service-detail-icon-sm {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(242, 103, 93, 0.15) 0%, rgba(242, 103, 93, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-detail-icon-sm::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0;
    transition: var(--transition-base);
}

.service-detail-card:hover .service-detail-icon-sm {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: var(--shadow-md);
}

.service-detail-card:hover .service-detail-icon-sm::before {
    opacity: 1;
}

.service-detail-card:hover .service-detail-icon-sm i {
    color: var(--white);
    position: relative;
    z-index: 1;
}

/* Service Detail Title */
.service-detail-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--dark-color);
    transition: var(--transition-fast);
    line-height: 1.4;
}

.service-detail-card:hover .service-detail-title {
    color: var(--primary-color);
}

/* Service Detail Description */
.service-detail-desc {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Service Detail Features */
.service-detail-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-detail-features li {
    padding: 1rem 0;
    color: var(--dark-color);
    border-bottom: 1px solid rgba(37, 54, 121, 0.1);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.service-detail-features li:last-child {
    border-bottom: none;
}

.service-detail-features li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.service-detail-card:hover .service-detail-features li {
    padding-left: 10px;
}

.service-detail-card:hover .service-detail-features li i {
    transform: scale(1.2);
}

/* Service Detail Footer */
.service-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(37, 54, 121, 0.1);
}

.price-badge {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.15rem;
    background: rgba(37, 54, 121, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.service-detail-card:hover .price-badge {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.05);
}

/* Enhanced Button Styles */
.service-detail-footer .btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-detail-footer .btn::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.6s, height 0.6s;
}

.service-detail-footer .btn:hover::before {
    width: 300px;
    height: 300px;
}

.service-detail-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   BENEFIT CARDS - ENHANCED
   ========================================== */

.benefit-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 0;
}

.benefit-card:hover::before {
    opacity: 0.05;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

/* Benefit Icon */
.benefit-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(37, 54, 121, 0.1) 0%, rgba(242, 103, 93, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.benefit-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0;
    transform: scale(1.2);
    transition: var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    animation: bounce 0.6s ease;
}

.benefit-card:hover .benefit-icon::after {
    opacity: 0.5;
    transform: scale(1.3);
    animation: rotate 3s linear infinite;
}

/* Benefit Title & Description */
.benefit-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    transition: var(--transition-fast);
}

.benefit-card:hover .benefit-title {
    color: var(--primary-color);
}

.benefit-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   PRICING HIGHLIGHT - ENHANCED
   ========================================== */

.pricing-highlight {
    background: var(--primary-gradient) !important;
    position: relative;
    overflow: hidden;
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.pricing-highlight h2,
.pricing-highlight p,
.pricing-highlight .btn {
    position: relative;
    z-index: 1;
}

.pricing-highlight .btn {
    border-width: 2px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 30px;
    transition: var(--transition-base);
}

.pricing-highlight .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--white);
    color: var(--primary-color);
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */

.final-cta-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: backgroundScroll 30s linear infinite;
}

.final-cta-section .btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-base);
}

.final-cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   MODAL & FORM STYLES
   Moved to common.css so the same modal/form
   styling applies site-wide. See common.css.
   ========================================== */

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg) scale(1.1);
    }
    to {
        transform: rotate(360deg) scale(1.1);
    }
}

@keyframes backgroundScroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

/* Reveal on Scroll Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth), 
                transform 0.6s var(--ease-smooth);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Multiple Elements */
.reveal-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.reveal-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.reveal-on-scroll:nth-child(6) { transition-delay: 0.6s; }
.reveal-on-scroll:nth-child(7) { transition-delay: 0.7s; }
.reveal-on-scroll:nth-child(8) { transition-delay: 0.8s; }

/* ==========================================
   TOAST NOTIFICATIONS
   ========================================== */

.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-toast.show {
    transform: translateX(0);
}

.custom-toast i {
    font-size: 1.5rem;
}

.toast-success {
    border-left: 4px solid #25D366;
}

.toast-success i {
    color: #25D366;
}

.toast-error {
    border-left: 4px solid #EA4335;
}

.toast-error i {
    color: #EA4335;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-detail-section::before,
    .service-detail-section::after,
    .service-detail-section .container > .row:first-child::before {
        height: 380px;
    }
    
    .service-detail-section .row:first-child {
        padding: 60px 0 40px;
    }
    
    .service-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-category-card {
        padding: 2rem 1.5rem;
    }
    
    .service-detail-card {
        padding: 2rem 1.5rem;
    }
    
    .service-detail-section::before,
    .service-detail-section::after,
    .service-detail-section .container > .row:first-child::before {
        height: 320px;
    }
    
    .service-detail-section .row:first-child {
        padding: 50px 0 30px;
    }
    
    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .service-detail-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .service-detail-footer .btn {
        width: 100%;
    }
    
    .service-detail-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    /* Hide decorative elements on mobile */
    .service-detail-section .container > .row:first-child::after {
        display: none;
    }
    
    .custom-toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .custom-toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .service-detail-icon-sm {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .benefit-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
    
    .service-features {
        gap: 0.4rem;
    }
    
    .service-features li {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .service-detail-section::before,
    .service-detail-section::after,
    .service-detail-section .container > .row:first-child::before {
        height: 350px;
    }
    
    .service-detail-section .row:first-child {
        padding: 40px 0 25px;
    }
    
    .service-detail-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.service-category-card:focus,
.service-detail-card:focus,
.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}



/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .service-category-card,
    .service-detail-card,
    .benefit-card {
        break-inside: avoid;
    }
    
    .service-detail-section::before,
    .service-detail-section::after {
        display: none;
    }
}