/* Services Page Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #FFD700 100%);
    min-height: 100vh;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7);
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Hero Stats */
.hero-stats {
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.2);
}

.stat-number {
    font-size: 16px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Hero Buttons */
.hero-buttons .btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Hero Visual - Floating Icons */
.hero-visual {
    height: 500px;
}

.floating-icon {
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-icon:hover {
    transform: scale(1.2);
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.floating-icon i {
    font-size: 36px;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: iconPulse 2s ease-in-out infinite;
}

/* Service Icon Positions */
.service-icon-1 {
    top: 8%;
    left: 15%;
    animation-delay: 0s;
}

.service-icon-2 {
    top: 25%;
    right: 8%;
    animation-delay: 0.5s;
}

.service-icon-3 {
    top: 45%;
    left: 8%;
    animation-delay: 1s;
}

.service-icon-4 {
    top: 65%;
    right: 15%;
    animation-delay: 1.5s;
}

.service-icon-5 {
    top: 15%;
    left: 50%;
    animation-delay: 2s;
}

.service-icon-6 {
    top: 80%;
    left: 40%;
    animation-delay: 2.5s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 215, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.scroll-arrow i {
    color: #FFD700;
    font-size: 16px;
}

/* Service Cards Enhancement */
.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FCD34D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #FFD700, #1E3A8A, #FFD700);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.service-icon i {
    font-size: 32px;
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

/* Process Cards */
.process-card {
    position: relative;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FCD34D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #1E3A8A;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.process-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.process-icon i {
    font-size: 28px;
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-card:hover .process-icon {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.process-card:hover .process-icon i {
    transform: scale(1.2);
    color: #FFD700;
}

/* Accordion Styling */
.accordion-item {
    border: none;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: #1E3A8A;
    padding: 20px;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #FFD700, #FCD34D);
    color: #1E3A8A;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px;
    background: #f8f9fa;
}

/* Form Styling */
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.form-floating > label {
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
    color: #FFD700;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.38 1.38'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4M6 7h.01'/%3e%3c/svg%3e");
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 3D Transform Effects */
.hero-content {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.hero-content:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #FFD700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .floating-icon {
        width: 70px;
        height: 70px;
    }
    
    .floating-icon i {
        font-size: 28px;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 30px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero-stats .col-4 {
        margin-bottom: 15px;
    }
    
    .stat-item {
        padding: 10px;
    }
    
    .floating-icon {
        width: 60px;
        height: 60px;
    }
    
    .floating-icon i {
        font-size: 24px;
    }
}