/* Bootstrap 5.1.3 Compatible Premium Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 50%, #f1f8ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    pointer-events: none;
}

.welcome-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3.75rem 2.5rem;
    box-shadow: 
        0 1.5625rem 3.125rem -0.75rem rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, #00e0fe, #1107fe, #00e0fe);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Header Styles */
.welcome-header {
    border-bottom: 1px solid var(--bs-gray-200);
    padding-bottom: 1.875rem;
}

.brand-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0.625rem 1.5625rem rgba(0, 224, 254, 0.3);
}

.brand-icon i {
    font-size: 2.5rem;
    color: white;
}

.brand-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.625rem;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--bs-gray-600);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.brand-divider {
    width: 5rem;
    height: 0.25rem;
    background: linear-gradient(90deg, #00e0fe, #1107fe);
    margin: 0 auto 1.25rem;
    border-radius: 0.125rem;
}

.brand-tagline {
    font-size: 1.2rem;
    color: var(--bs-gray-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.brand-tagline::before,
.brand-tagline::after {
    content: '⭐';
    font-size: 1rem;
}

/* Services Grid */
.services-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--bs-gray-900);
    margin-bottom: 2.5rem;
    position: relative;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.75rem;
    height: 0.1875rem;
    background: linear-gradient(90deg, #00e0fe, #1107fe);
    border-radius: 0.125rem;
}

.service-item {
    background: var(--bs-gray-50);
    border-radius: 0.9375rem;
    padding: 1.5625rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid var(--bs-gray-200);
    height: 100%;
}

.service-item:hover {
    background: white;
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.1);
    border-color: #00e0fe;
}

.service-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 224, 254, 0.3);
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-gray-900);
    margin-bottom: 0.3125rem;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--bs-gray-600);
    margin: 0;
    line-height: 1.4;
}

/* Experience Stats */
.experience-stats {
    background: linear-gradient(135deg, var(--bs-gray-100), var(--bs-gray-200));
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid var(--bs-gray-200);
}

.stat-item {
    padding: 1.25rem;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.625rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--bs-gray-700);
    font-weight: 600;
}

.experience-text .lead {
    font-size: 1.1rem;
    color: var(--bs-gray-800);
    line-height: 1.6;
    max-width: 50rem;
    margin: 0 auto;
}

/* Contact Section */
.contact-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--bs-gray-900);
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -0.625rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.125rem;
    height: 0.1875rem;
    background: linear-gradient(90deg, #25d366, #128c7e);
    border-radius: 0.125rem;
}

.contact-card {
    background: white;
    border: 2px solid var(--bs-gray-200);
    border-radius: 0.9375rem;
    padding: 1.5625rem;
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    color: inherit;
}

.contact-card:hover {
    border-color: #25d366;
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.625rem 1.5625rem rgba(37, 211, 102, 0.2);
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 3.125rem;
    height: 3.125rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: white;
}

.contact-info h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-gray-900);
    margin-bottom: 0.1875rem;
}

.contact-info span {
    font-size: 0.9rem;
    color: var(--bs-gray-600);
}

/* Thank You Section */
.thank-you-section {
    background: linear-gradient(135deg, #fef7f0, #fef3ec);
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid #fed7aa;
}

.thank-you-content i {
    font-size: 2rem;
    color: #ea580c;
    margin-bottom: 0.9375rem;
}

.thank-you-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #9a3412;
    margin-bottom: 0.625rem;
}

.thank-you-content p {
    color: #a16207;
    font-size: 1rem;
    margin: 0;
}

/* Enhanced Service Cards for Original Services Section */
.service {
    background: white;
    border-radius: 0.9375rem;
    padding: 1.875rem;
    margin: 1.25rem 0;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service::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: 0.5s;
}

.service:hover::before {
    left: 100%;
}

.service:hover {
    transform: translateY(-0.625rem);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.2);
}

.service-img img {
    width: 100%;
    height: 12.5rem;
    object-fit: cover;
    border-radius: 0.625rem;
    transition: transform 0.3s ease;
}

.service-img img:hover {
    transform: scale(1.05);
}

/* Enhanced Features Section */
.feature {
    background: white;
    border-radius: 0.9375rem;
    padding: 1.5625rem;
    margin: 0.9375rem 0;
    box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.9375rem 2.1875rem rgba(0, 0, 0, 0.15);
}

.feature .service-img img {
    width: 100%;
    height: 11.25rem;
    object-fit: cover;
    border-radius: 0.625rem;
}

/* Enhanced Modal - Bootstrap 5.1.3 Compatible */
.modal-content {
    border-radius: 1.25rem;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(to right, #00e0fe, #1107fe);
    color: white;
    border: none;
}

#myModal .form-control {
    border-radius: 0.625rem;
    padding: 0.9375rem;
    border: 2px solid var(--bs-gray-300);
    background: white;
    color: var(--bs-gray-900);
    transition: all 0.3s ease;
}

#myModal .form-control:focus {
    border-color: #00e0fe;
    box-shadow: 0 0 0 0.2rem rgba(0, 224, 254, 0.25);
    background: white;
    color: var(--bs-gray-900);
}

#myModal .form-control::placeholder {
    color: var(--bs-gray-500);
}

/* Blog Section Improvements */
#blog .section-intro {
    margin-bottom: 2.5rem;
}

#blog img {
    width: 100%;
    height: auto;
    border-radius: 0.625rem;
    transition: transform 0.3s ease;
}

#blog img:hover {
    transform: scale(1.05);
}

.image-card {
    margin-bottom: 1.875rem;
}

.image-card h5 {
    margin-top: 0.9375rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.image-card p {
    font-size: 0.875rem;
    color: var(--bs-gray-600);
}

/* Contact Form Enhancements */
#contact .btn-wrapper {
    gap: 1rem;
}

/* Responsive Design for Bootstrap 5.1.3 */
@media (max-width: 991.98px) {
    .welcome-card {
        padding: 2.5rem 1.5625rem;
        border-radius: 1.25rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 0.9375rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 0.625rem;
    }
}

@media (max-width: 767.98px) {
    .welcome-section {
        padding: 3.75rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .experience-stats,
    .contact-section,
    .thank-you-section {
        padding: 1.875rem 1.25rem;
    }
    
    .brand-tagline {
        flex-direction: column;
        gap: 0.3125rem;
    }
    
    .brand-tagline::before,
    .brand-tagline::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .welcome-card {
        padding: 1.875rem 1.25rem;
    }
    
    .service-item {
        padding: 1.25rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
}

/* Bootstrap 5.1.3 Utility Classes Override */
.text-decoration-none:hover {
    text-decoration: none !important;
}

/* Additional Bootstrap 5 Compatible Styles */
.btn-wrapper .btn {
    margin: 0.25rem;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Fix for Bootstrap 5 form validation */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--bs-success);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--bs-danger);
}/* Premium Welcome Section Styles */
.welcome-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 50%, #f1f8ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    pointer-events: none;
}

.welcome-card {
    background: white;
    border-radius: 25px;
    padding: 60px 40px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00e0fe, #1107fe, #00e0fe);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Header Styles */
.welcome-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 30px;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 224, 254, 0.3);
}

.brand-icon i {
    font-size: 2.5rem;
    color: white;
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 20px;
}

.brand-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00e0fe, #1107fe);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.brand-tagline {
    font-size: 1.2rem;
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brand-tagline::before,
.brand-tagline::after {
    content: '⭐';
    font-size: 1rem;
}

/* Services Grid */
.services-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
    position: relative;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00e0fe, #1107fe);
    border-radius: 2px;
}

.service-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.service-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #00e0fe;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 224, 254, 0.3);
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.service-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Experience Stats */
.experience-stats {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e2e8f0;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00e0fe, #1107fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #475569;
    font-weight: 600;
}

.experience-text .lead {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #25d366, #128c7e);
    border-radius: 2px;
}

.contact-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    border-color: #25d366;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
    text-decoration: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: white;
}

.contact-info h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.contact-info span {
    font-size: 0.9rem;
    color: #64748b;
}

/* Thank You Section */
.thank-you-section {
    background: linear-gradient(135deg, #fef7f0, #fef3ec);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #fed7aa;
}

.thank-you-content i {
    font-size: 2rem;
    color: #ea580c;
    margin-bottom: 15px;
}

.thank-you-content h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #9a3412;
    margin-bottom: 10px;
}

.thank-you-content p {
    color: #a16207;
    font-size: 1rem;
    margin: 0;
}

/* Enhanced Service Cards for Original Services Section */
.service {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service: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: 0.5s;
}

.service:hover:before {
    left: 100%;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-img img:hover {
    transform: scale(1.05);
}

/* Enhanced Features Section */
.feature {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature .service-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

/* Enhanced Modal */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(to right,#00e0fe, #1107fe);
    color: white;
    border: none;
}

#myModal .form-control {
    border-radius: 10px;
    padding: 15px;
    border: 2px solid #eee;
    background: white;
    color: #333;
    transition: all 0.3s ease;
}

#myModal .form-control:focus {
    border-color: #00e0fe;
    box-shadow: 0 0 0 0.2rem rgba(0, 224, 254, 0.25);
    background: white;
    color: #333;
}

#myModal .form-control::placeholder {
    color: #999;
}

/* Blog Section Improvements */
#blog .section-intro {
    margin-bottom: 40px;
}

#blog img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#blog img:hover {
    transform: scale(1.05);
}

.image-card {
    margin-bottom: 30px;
}

.image-card h5 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.image-card p {
    font-size: 14px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-card {
        padding: 40px 25px;
        border-radius: 20px;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-subtitle {
        font-size: 1.2rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .welcome-section {
        padding: 60px 0;
    }
    
    .services-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .experience-stats,
    .contact-section,
    .thank-you-section {
        padding: 30px 20px;
    }
    
    .brand-tagline {
        flex-direction: column;
        gap: 5px;
    }
    
    .brand-tagline::before,
    .brand-tagline::after {
        display: none;
    }
}