/* Service Page Specific Styles */

/* Service Section Header */
.service-section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: 'Panchang', 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.section-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Service Offerings Grid */
.service-offerings {
    margin-top: 4rem;
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.offering-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.75rem; /* Reduced padding to give more content space */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px; /* Slightly reduced minimum height */
}

.offering-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.offering-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 0, 64, 0.1) 0%, rgba(0, 128, 128, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.offering-item:hover::before {
    opacity: 1;
}

.offering-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 128, 128, 0.3);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.15);
}

.offering-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #090040, #008080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.offering-icon i {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.offering-item h3 {
    font-family: 'Panchang', 'Poppins', sans-serif;
    font-size: 1.4rem; /* Slightly reduced font size */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.875rem; /* Reduced margin */
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.offering-item > p {
    font-size: 0.9rem; /* Reduced font size */
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.25rem; /* Reduced margin */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.offering-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0; /* Reduced bottom margin */
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.offering-features li {
    font-size: 0.85rem; /* Reduced font size */
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4; /* Reduced line height */
    padding: 0.4rem 0; /* Reduced padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.25rem; /* Reduced padding */
    min-height: 2rem; /* Reduced minimum height */
}

.offering-features li:last-child {
    border-bottom: none;
}

.offering-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
    font-size: 1rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.primary-cta-btn,
.secondary-cta-btn {
    background: linear-gradient(135deg, #090040, #0d0060, #090040);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(9, 0, 64, 0.4),
        0 0 20px rgba(9, 0, 64, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

.secondary-cta-btn {
    background: linear-gradient(45deg, rgba(9, 0, 64, 0.3), rgba(0, 128, 128, 0.3));
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.primary-cta-btn:before,
.secondary-cta-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.primary-cta-btn:hover:before,
.secondary-cta-btn:hover:before {
    left: 100%;
}

.primary-cta-btn:hover,
.secondary-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(9, 0, 64, 0.6),
        0 0 40px rgba(9, 0, 64, 0.4),
        0 0 20px rgba(13, 0, 96, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #0a0048, #1a0080, #0a0048);
    background-size: 200% 200%;
    animation: moveGradient 2s ease infinite, enhancedGlow 2s ease-in-out infinite alternate;
}

.secondary-cta-btn:hover {
    background: linear-gradient(135deg, rgba(10, 0, 72, 0.6), rgba(26, 0, 128, 0.6), rgba(10, 0, 72, 0.6));
    background-size: 200% 200%;
    border-color: rgba(255, 255, 255, 0.4);
    animation: moveGradient 2s ease infinite, enhancedGlow 2s ease-in-out infinite alternate;
}

.primary-cta-btn:active,
.secondary-cta-btn:active {
    transform: translateY(0);
}

/* Additional Content Styles */
.additional-info {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.additional-info h3 {
    font-family: 'Panchang', 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.additional-info > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.additional-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-info li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.additional-info li:last-child {
    border-bottom: none;
}

.additional-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .offering-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .offering-item {
        padding: 1.5rem;
    }
    
    .offering-icon {
        width: 70px;
        height: 70px;
    }
    
    .offering-icon i {
        font-size: 1.75rem;
    }
    
    .offering-item h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .service-section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .offering-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .offering-item {
        padding: 1.25rem;
        min-height: auto;
    }
    
    .offering-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem; /* Reduced margin */
    }
    
    .offering-icon i {
        font-size: 1.5rem;
    }
    
    .offering-item h3 {
        font-size: 1.25rem; /* Adjusted font size */
    }
    
    .offering-item > p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .offering-features li {
        font-size: 0.85rem;
        padding: 0.375rem 0 0.375rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .service-section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .offering-item {
        padding: 1rem;
    }
    
    .offering-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .offering-icon i {
        font-size: 1.25rem;
    }
    
    .offering-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .offering-item > p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .offering-features li {
        font-size: 0.8rem;
        padding: 0.25rem 0 0.25rem 1rem;
    }
    
    .primary-cta-btn,
    .secondary-cta-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 200px;
    }
}

/* Animation Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .offering-item,
    .primary-cta-btn,
    .secondary-cta-btn {
        transition: none;
    }
    
    .primary-cta-btn:before,
    .secondary-cta-btn:before {
        display: none;
    }
    
    .primary-cta-btn,
    .secondary-cta-btn {
        animation: none;
    }
}

/* Keyframe Animations */
@keyframes subtleGlow {
    0% {
        box-shadow: 
            0 4px 20px rgba(9, 0, 64, 0.4),
            0 0 20px rgba(9, 0, 64, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 4px 25px rgba(9, 0, 64, 0.5),
            0 0 30px rgba(9, 0, 64, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes enhancedGlow {
    0% {
        box-shadow: 
            0 8px 30px rgba(9, 0, 64, 0.6),
            0 0 40px rgba(9, 0, 64, 0.4),
            0 0 20px rgba(13, 0, 96, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 8px 40px rgba(9, 0, 64, 0.8),
            0 0 60px rgba(9, 0, 64, 0.6),
            0 0 30px rgba(13, 0, 96, 0.4),
            0 0 10px rgba(26, 0, 128, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 128, 128, 0.3);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.15);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 0, 64, 0.1) 0%, rgba(0, 128, 128, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #090040, #008080);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.testimonial-info h4 {
    font-family: 'Panchang', 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.testimonial-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-card > p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.testimonial-stats {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-value {
    display: block;
    font-family: 'Panchang', 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Form Styles */
.contact-form-container {
    margin-top: 2rem;
    width: 100%;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 179, 179, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 179, 179, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile styles for small screens */
@media (max-width: 480px) {
    .service-section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .offering-item {
        padding: 1rem;
        min-height: auto;
    }
    
    .offering-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .offering-icon i {
        font-size: 1.25rem;
    }
    
    .offering-item h3 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }
    
    .offering-item > p {
        font-size: 0.85rem;
        margin-bottom: 0.875rem;
    }
    
    .offering-features li {
        font-size: 0.8rem;
        padding: 0.25rem 0 0.25rem 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        min-height: auto;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonial-avatar {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
}