/* 
   Vertex Sphere - Custom Services Stylesheet
   Centralized styling for service pages, pricing tables, and animations.
*/

/* 1. Typing Effects */
.typewriter-cursor {
    border-right: 3px solid #a70006;
    white-space: nowrap;
    overflow: hidden;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    0%, 100% { border-color: #a70006; }
    50% { border-color: transparent; }
}

/* 2. Pricing & Service Template Styles */
.pricing-section {
    background-color: #000;
    padding: 100px 0;
    color: #fff;
}

.package-card {
    background: #000;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: #a70006;
}

.card-header-box {
    background: #000;
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid #fff;
}

.card-header-box.dark {
    background: #1a1a1a;
}

.h-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.package-type {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.package-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 0;
}

.package-price {
    font-size: 36px;
    font-weight: 800;
}

.rocket-icon {
    font-size: 28px;
    opacity: 0.8;
    color: #fff;
}

.package-list {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 40px !important;
}

.package-list li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #ccc !important;
    list-style-type: none !important;
}

.package-list li.not-included {
    opacity: 0.35 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    /* text-decoration: line-through; Optional: User might prefer just the icon change */
}

.package-list li.not-included i {
    color: #e74c3c !important; /* Red color for cross icon */
}

.package-list li i {
    color: #a70006;
    font-size: 14px;
}

.pricing-btn {
    width: 100%;
    border: 1px solid #fff;
    color: #fff !important;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    text-transform: capitalize;
    font-size: 16px;
    position: relative;
}

.pricing-btn.dark {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff !important;
}

.pricing-btn:hover {
    background: #fff;
    border-color: #000;
    color: #000 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-btn.dark:hover {
    background: #333;
}

.sub-badge {
    background: rgba(167, 0, 6, 0.1);
    color: #a70006;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(167, 0, 6, 0.1);
    border: 1px solid rgba(167, 0, 6, 0.3);
}

.mb-60 {
    margin-bottom: 60px;
}

/* 3. Responsive Refinements */
@media (max-width: 991px) {
    .section.project-d {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    .project-d-group {
        margin-bottom: 25px !important;
    }
    .details-group {
        margin-bottom: 30px !important;
    }
    .pricing-section {
        padding: 60px 0 !important;
    }
    .package-card {
        padding: 30px !important;
    }
}

/* 4. Service Page Media Groups */
.poster-small img {
    border-radius: 20px;
    margin-bottom: 10px;
}

/* 5. UX Process & Service Features */
.ux-process-list .service-f-single {
    position: relative;
    padding-bottom: 30px;
}

.ux-process-list .service-f-single::after {
    content: "";
    position: absolute;
    left: 22.5px;
    top: 55px;
    width: 2px;
    height: calc(100% - 65px);
    background: rgba(167, 0, 6, 0.1);
    z-index: 0;
}

.ux-process-list .service-f-single:last-child::after {
    display: none;
}

.ux-icon-box {
    width: 45px;
    height: 45px;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 0, 6, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.service-f-single:hover .ux-icon-box {
    background: #a70006;
    border-color: #a70006;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(167, 0, 6, 0.4);
}

.ux-icon-box i {
    color: #a70006;
    font-size: 20px;
    transition: all 0.3s ease;
}

.service-f-single:hover .ux-icon-box i {
    color: #fff;
}

.ux-process-list h4 {
    margin: 0;
    transition: all 0.3s ease;
}

.service-f-single:hover h4 {
    color: #a70006;
}

/* 6. Technology Slider Styles */
.achievements {
    overflow: visible !important;
}

.achievements__slider {
    padding: 20px 0;
    overflow: visible !important;
}

.achievements__slider-single {
    min-height: 150px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.tech-logo-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s ease;
}

.tech-logo-item img {
    width: auto;
    height: 60px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.tech-name {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

@media (hover: hover) {
    .tech-logo-item:hover {
        transform: translateY(-12px);
    }
    
    .tech-logo-item:hover img {
        opacity: 1;
        transform: scale(1.3);
    }
    
    .tech-logo-item:hover .tech-name {
        color: #fff;
    }
}

/* 7. Navigation Dropdown Adjustments */
.navbar__sub-menu {
    width: max-content !important;
    min-width: unset !important;
}

.navbar__sub-menu li a {
    white-space: nowrap !important;
    padding-right: 30px !important;
}
 
 /* 8. Testimonial Rating Stars */
 .testi-rating {
     display: flex;
     gap: 5px;
     margin-top: 5px;
 }
 
 .testi-rating i {
     color: #ffb400; /* Gold color for stars */
     font-size: 14px;
 }
 
 /* 9. Equal Height Feedback Cards */
 #feedback-list {
     min-height: 800px; /* Prevent page collapse during loading */
     transition: all 0.3s ease;
 }
 
 .feedback-s__single {
     height: 100% !important;
     display: flex !important;
     flex-direction: column !important;
 }
 
 .feedback-s__single .content {
     flex: 1 0 auto !important;
 }
 
 /* 10. Feedback Submission Form */
 .feedback-form-section {
     padding: 0px 0 100px 0;
     background: #000;
 }
 
 .feedback-form-card {
     background: transparent;
     padding: 20px 0;
     border: none;
     max-width: 900px;
     margin: 0 auto;
 }
 
 .star-rating {
     display: flex;
     gap: 10px;
     margin-bottom: 20px;
 }
 
 .star-rating i {
     font-size: 24px;
     color: #888;
     cursor: pointer;
     transition: all 0.3s ease;
 }
 
 .star-rating i:hover,
 .star-rating i.active {
     color: #ffb400;
 }
 
 .char-counter {
     font-size: 12px;
     color: #888;
     text-align: right;
     margin-top: 5px;
 }
 
 .feedback-form-card label {
     font-weight: 500;
     margin-bottom: 5px;
     color: #888;
     font-size: 14px;
     text-transform: capitalize;
 }
 
 .feedback-form-card input,
 .feedback-form-card textarea {
     background: transparent !important;
     border: none !important;
     border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
     color: #fff;
     padding: 10px 0 !important;
     border-radius: 0 !important;
     width: 100%;
     margin-bottom: 20px;
     transition: border-color 0.3s ease;
 }
 
 .feedback-form-card input:focus,
 .feedback-form-card textarea:focus {
     border-bottom-color: #a70006 !important;
     outline: none;
 }
 
 .feedback-form-card .btn--primary {
     background: transparent !important;
     border: 1px solid rgba(255, 255, 255, 0.3) !important;
     color: #fff !important;
     border-radius: 50px !important;
     padding: 12px 35px !important;
     font-size: 14px;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     transition: all 0.3s ease;
 }
 
 .feedback-form-card .btn--primary:hover {
     background: #a70006 !important;
     border-color: #a70006 !important;
     color: #fff !important;
 }
 
 .load-more-btn {
     color: #fff !important;
     text-decoration: none !important;
     background: transparent !important;
     border: none !important;
     font-size: 18px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     display: inline-block;
     border-bottom: 2px solid #fff;
     padding-bottom: 2px;
     text-transform: capitalize;
 }
 
 .load-more-btn:hover {
     color: #a70006 !important;
     border-bottom-color: #a70006;
 }
 
 /* 11. Numbered Pagination */
 #pagination-container {
     display: flex;
     justify-content: center;
     gap: 15px;
     margin-top: 50px;
     margin-bottom: 30px;
 }
 
 .pagination-btn {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     border: 1px solid rgba(255, 255, 255, 0.25);
     background: #111;
     color: #fff;
     font-weight: 700;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
 }
 
 .pagination-btn.active {
     background: #a70006;
     border-color: #a70006;
     box-shadow: 0 5px 15px rgba(167, 0, 6, 0.4);
 }
 
 .pagination-btn:hover:not(.active) {
     background: rgba(167, 0, 6, 0.2);
     border-color: #a70006;
     color: #a70006;
 }
 
 /* 12. Loading Spinner */
 .feedback-loader {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 50px 0;
     width: 100%;
 }
 
 .spinner {
     width: 50px;
     height: 50px;
     border: 5px solid rgba(255, 255, 255, 0.1);
     border-top-color: #a70006;
     border-radius: 50%;
     animation: spin 1s linear infinite;
     margin-bottom: 15px;
 }
 
 @keyframes spin {
     to { transform: rotate(360deg); }
 }

/* 13. Package Slider (for pack.php) */
.package-slider-container {
    position: relative;
    padding: 20px 0;
}

.package-slider .slider-item {
    padding: 0 15px;
}

.package-slider .package-card {
    height: 100%;
}

.package-slider .slick-list {
    margin: 0 -15px;
    padding: 30px 0; /* Space for hover scale effect */
}

/* Industry Selector Styling */
.industry-selection-section {
    padding-bottom: 40px;
}

.industry-selector-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.industry-selector-wrapper::-webkit-scrollbar {
    height: 4px;
}

.industry-selector-wrapper::-webkit-scrollbar-thumb {
    background: #a70006;
    border-radius: 10px;
}

.industry-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    min-width: max-content;
    padding: 0 20px;
}

.industry-btn {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.industry-btn i {
    font-size: 16px;
    color: #a70006;
    transition: all 0.3s ease;
}

.industry-btn span {
    font-weight: 500;
    font-size: 14px;
}

.industry-btn:hover {
    border-color: #a70006;
    background: rgba(167, 0, 6, 0.05);
}

.industry-btn.active {
    background: #a70006;
    border-color: #a70006;
    color: #fff;
    box-shadow: 0 10px 20px rgba(167, 0, 6, 0.3);
}

.industry-btn.active i {
    color: #fff;
}

/* Niche Feature Highlight */
.niche-feature {
    color: #fff !important;
    font-weight: 600 !important;
    background: rgba(167, 0, 6, 0.15);
    border-left: 3px solid #a70006;
    padding: 8px 12px !important;
    border-radius: 4px;
    margin-top: 10px !important;
    display: block !important;
}

.niche-feature i {
    color: #a70006 !important;
}

@media (max-width: 991px) {
    .industry-nav {
        justify-content: flex-start;
    }
}
