/* Custom Styles for PrepFort Website - Exact Match */

:root {
    --primary-color: #ff663b;
    --primary-dark: #c7380f;
    --primary-light: #f56b42;
    --secondary-color: #6c757d;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
    --blue: #ff663b;
    --orange: #ff663b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 0;
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Bootstrap Primary Color Override - Remove all blue touches */
.bg-primary,
.bg-primary:hover {
    background-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.progress-bar.bg-primary {
    background-color: var(--primary-color) !important;
}

* {
    box-sizing: border-box;
}

/* Performance optimizations */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    height: auto;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    color: var(--primary-color) !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-dark) !important;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Hero Section - Matching PrepFort */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    margin-top: 76px;
    overflow: visible;
    margin-bottom: 0;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
}

/* Keep homepage slider height uniform across all slides */
#heroCarousel .carousel-item,
#heroCarousel .hero-section {
    min-height: 600px;
    height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 71, 24, 0.85) 0%, rgba(199, 56, 15, 0.85) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

#heroCarousel .carousel-item.active .hero-inner {
    animation: heroContentIn 0.75s ease both;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-inner p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 100px;
    font-size: 15px;
    color: white;
    font-weight: normal;
    transition: all 0.6s ease-in-out;
    background: var(--blue);
    padding: 12px 28px;
    text-decoration: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.hero-btn:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn:focus-visible {
    outline: 1px solid var(--blue);
    outline-offset: 2px;
}

/* Home hero slider controls */
.hero-slider-btn {
    width: 64px;
    opacity: 1;
}

.hero-slider-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider-icon i {
    animation: heroArrowFloat 1.8s ease-in-out infinite;
}

.hero-slider-btn:hover .hero-slider-icon {
    background: rgba(0, 0, 0, 0.65);
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .hero-slider-btn {
        width: 52px;
    }

    .hero-slider-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}


/* Cards - Consistent Styles Across All Pages */
.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.card.animate {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Contact page cards should not shift into next sections */
.contact-page-content .contact-static-card {
    opacity: 1 !important;
    transform: none !important;
}

.contact-page-content .contact-static-card:hover {
    transform: none !important;
}

.card-body {
    padding: 2rem;
}

.card-header {
    padding: 1.5rem;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.featured-pricing {
    border: 2px solid var(--primary-color) !important;
    position: relative;
}

.featured-pricing::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.1;
}

/* Blog Cards */
.blog-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
    filter: brightness(1);
}

.blog-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.blog-overlay .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Dashboard Stat Cards */
.dashboard-stat-card {
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 71, 24, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.1);
    background: rgba(239, 71, 24, 0.2);
}

.service-card {
    min-height: 100%;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Feature Icons */
.feature-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Partner Logos */
.partner-logo {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
    border-radius: 8px;
    background: white;
    padding: 1.5rem;
    height: 100px;
}

.partner-logo.animate {
    opacity: 1;
    transform: scale(1);
}

.partner-logo:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo-text {
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

.partner-logo:hover .partner-logo-text {
    transform: scale(1.1);
}

.partner-logo svg {
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
}

.partner-logo:hover svg {
    transform: scale(1.1);
}

.partner-logo img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials */
.testimonial-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    background: white;
}

.testimonial-card:hover {
    border-left-width: 5px;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-dark);
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

/* Forms */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(239, 71, 24, 0.25);
    transform: translateY(-2px);
    outline: none;
}

.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    z-index: 1;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    border-width: 2px;
}

.btn-outline-primary:hover {
    background-color: #000000;
    border-color: #000000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Animations */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure hero section and titles are always visible */
.hero-section {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.hero-section *,
.hero-heading,
.hero-inner,
.hero-inner p,
.hero-btn,
.section-title,
.service-main,
.service-main h3,
.service-main p,
.how-it-works-section,
.how-it-works-section *,
.process-step,
.step-number,
.step-number-wrapper,
.stats-section,
.stats-section *,
.stats-section .container,
.stats-section .row,
.stats-section .col-6,
.stats-section .col-md-3,
.stat-box,
.stat-icon,
.stat-number,
.stat-label {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-heading,
.section-title {
    display: block !important;
}

.hero-btn {
    display: inline-flex !important;
}

section.bg-light {
    background-color: var(--bg-light) !important;
    position: relative;
    z-index: 1;
}

/* Consistent Section Spacing - Moved to consolidated section below */

/* Why Choose PrepFort Section */
.why-choose-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

/* Stagger Animation for Cards */
.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }
.card:nth-child(5) { transition-delay: 0.5s; }
.card:nth-child(6) { transition-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    .hero-section {
        min-height: auto;
        text-align: center;
        padding: 80px 0 120px;
        margin-top: 70px;
        overflow: visible;
    }

    #heroCarousel .carousel-item,
    #heroCarousel .hero-section {
        min-height: 460px;
        height: 460px;
    }
    
    .hero-stats-card {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .why-choose-hero-section,
    .services-hero-section {
        min-height: 300px;
        padding: 60px 0;
    }
    
    .why-choose-heading,
    .services-heading {
        font-size: 2rem !important;
    }
    
    .why-choose-inner p,
    .services-inner p {
        font-size: 1rem;
    }
    
    .why-choose-features-section,
    .services-content-section {
        padding-top: 3rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-feature-item {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-stats-card {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .hero-main-image {
        max-width: 100%;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem !important;
    }
    
    .d-flex.gap-2 .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
    
    section {
        padding: 3rem 0;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .partner-logo {
        min-height: 80px;
        padding: 1rem;
    }
    
    .feature-icon-bg {
        width: 100px;
        height: 100px;
    }
    
    .feature-icon-large {
        font-size: 2.5rem;
    }
    
    .service-image-wrapper {
        height: 200px;
    }
    
    .service-icon-top {
        width: 50px;
        height: 50px;
    }
    
    .service-icon-main {
        font-size: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Effects */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Grid Layout for Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Loading States */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 1000px 100%;
}

/* Focus States for Accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-progress,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
}

/* Footer */
footer {
    position: relative;
}

footer a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--primary-color) !important;
}

/* Service icons */
.service-icon {
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Service Card Images */
.service-image-wrapper {
    overflow: hidden;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image-wrapper {
    transform: scale(1.1);
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.05);
}

.service-image-wrapper img {
    transition: transform 0.4s ease;
}

/* Feature Card Images */
.feature-image-wrapper img {
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-image-wrapper img {
    transform: scale(1.1);
}

/* Testimonial Images */
.testimonial-card img {
    transition: transform 0.3s ease;
}

.testimonial-card:hover img {
    transform: scale(1.1);
}

/* Hero Image */
.hero-image-wrapper img {
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Loading Spinner */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(239, 71, 24, 0.3);
}

/* Floating WhatsApp Button */
.floating-whatsapp-left {
    position: fixed;
    left: 16px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.floating-whatsapp-left:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .floating-whatsapp-left {
        left: 12px;
        bottom: 16px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@keyframes heroContentIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroArrowFloat {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(2px);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #heroCarousel .carousel-item.active .hero-inner,
    .hero-slider-icon i,
    .floating-whatsapp-left {
        animation: none !important;
    }
}

/* Number Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Text Animations */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.display-4, .display-5, .display-6 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #000000 !important;
    color: white !important;
    padding: 60px 0 40px !important;
    margin-top: 0 !important;
}

footer.py-5 {
    padding: 60px 0 40px !important;
}

footer h5, footer h6 {
    color: white !important;
    font-weight: 600;
}

footer p, footer li, footer span {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a:hover {
    color: white !important;
    transform: translateX(5px);
}

footer .text-primary {
    color: var(--primary-light) !important;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.social-links a {
    color: white !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--primary-light) !important;
}

/* Section Spacing Fixes - Consolidated */
section.py-5 {
    padding: 60px 0 !important;
    position: relative;
    z-index: 1;
    margin-bottom: 0 !important;
}

section.py-5.bg-light {
    background-color: var(--bg-light) !important;
}

section.py-5.text-white {
    position: relative;
    z-index: 1;
}

/* Partners Section */
section.py-5.bg-light .partner-logo {
    transition: all 0.3s ease;
}

/* Awards Section */
section.py-5 .award-logo {
    transition: all 0.3s ease;
}

/* Testimonials Section */
section.py-5.bg-light .testimonial-card {
    transition: all 0.3s ease;
}

/* CTA Banner Section - foot.html design */
.cta-section {
    padding: 60px 0 !important;
    position: relative;
    z-index: 1;
    margin-bottom: 0 !important;
}

.cta-banner {
    position: relative;
    height: 420px;
    border-radius: 40px;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1920&h=1080&fit=crop&q=90');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    will-change: transform;
}

/* Dark overlay */
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 50, 0.55);
}

/* Content above overlay */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Title */
.cta-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
}

/* Subtitle */
.cta-sub {
    font-size: 20px;
    opacity: 0.9;
    color: white;
}

/* Button */
.btn-cta {
    background: #ff663b;
    color: #fff;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-cta:hover {
    background: #000000;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-title {
        font-size: 32px;
    }
    .cta-banner {
        height: 300px;
        border-radius: 25px;
    }
}

/* Footer - Consolidated */
footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px !important;
    margin-top: 0 !important;
}

/* Service Card Images - Enhanced */
.service-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.service-card:hover .service-image {
    transform: scale(1.15);
    filter: brightness(1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(239, 71, 24, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay-icon {
    font-size: 4rem;
    color: white;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-overlay-icon {
    transform: scale(1);
}

.service-icon-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(239, 71, 24, 0.3);
}

.service-card:hover .service-icon-top {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(239, 71, 24, 0.4);
}

.service-icon-main {
    font-size: 1.8rem;
    color: white;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon-main {
    transform: scale(1.1);
}

/* Feature Icons - Enhanced */
.feature-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon-bg {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(239, 71, 24, 0.3);
}

.feature-icon-bg::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.feature-card:hover .feature-icon-bg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(239, 71, 24, 0.4);
}

.feature-card:hover .feature-icon-bg::before {
    opacity: 0.6;
}

.feature-icon-large {
    font-size: 3.5rem;
    color: white;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon-large {
    transform: scale(1.1);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-image-wrapper img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Amazon Partner Section */
.amazon-partner-section {
    padding: 60px 0 !important;
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.amazon-partner-section .row {
    align-items: center;
    min-height: auto;
}

.amazon-partner-section .col-lg-6:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.amazon-partner-section .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: left;
}

.amazon-partner-section h2 {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    white-space: normal;
}

.amazon-partner-section .lead {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    white-space: normal;
}

/* Amazon Logo Section */
.amazon-logo-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 250px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.amazon-logo-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.amazon-logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .amazon-partner-section .col-lg-6:first-child {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .amazon-partner-section .col-lg-6:last-child {
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 1rem;
    }
    
    .amazon-partner-section .row {
        min-height: auto;
    }
    
    .amazon-partner-section h2 {
        font-size: 1.75rem !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        hyphens: auto;
        line-height: 1.4;
        max-width: 100%;
        text-align: center;
    }
    
    .amazon-partner-section .lead {
        font-size: 1rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .amazon-partner-section h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    .amazon-partner-section .lead {
        font-size: 0.95rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}

/* Award Logo */
.award-logo {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.award-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.award-logo img {
    border-radius: 8px;
}

/* Statistics Section */
.stats-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0 !important;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 0 !important;
}

.stats-section *,
.stats-section .container,
.stats-section .row,
.stats-section .col-6,
.stats-section .col-md-3,
.stats-section i,
.stats-section h3,
.stats-section p {
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
}

.stats-section .text-white {
    color: white !important;
}

.stats-section .row {
    align-items: center;
    min-height: auto;
}

.stats-section .col-6,
.stats-section .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.stat-box {
    padding: 1rem 0.5rem;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-icon {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem !important;
    flex-shrink: 0;
    width: 100%;
}

.stat-icon.mb-3 {
    margin-bottom: 0.75rem !important;
}

.stat-icon i {
    display: block;
}

.stat-box:hover .stat-icon {
    transform: scale(1.1);
    color: white !important;
}

.stat-number {
    font-size: 2.5rem;
    color: white !important;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
    flex-shrink: 0;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    opacity: 1 !important;
    visibility: visible !important;
    display: block;
    flex-shrink: 0;
    margin-top: 0;
}

/* How It Works Section */
.how-it-works-section {
    background: #f8f9fa;
    padding: 80px 0 !important;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.how-it-works-section * {
    opacity: 1 !important;
    visibility: visible !important;
}

.process-step {
    padding: 2rem;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(239, 71, 24, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 40px rgba(239, 71, 24, 0.4);
}

.process-step:hover .step-number::before {
    opacity: 0.6;
}

.process-step h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services Overview Section - suggest.html design */
section[style*="background: #f3f5ff"] {
    padding: 60px 0 !important;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Reduce gap above Services Overview */
.how-it-works-section {
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
}

section[style*="background: #f3f5ff"] * {
    opacity: 1 !important;
    visibility: visible !important;
}

.section-title {
    font-size: 80px;
    font-weight: 800;
    color: #151c4a !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.service-main,
.service-main h3,
.service-main p,
.service-img {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Side Vertical Tabs */
.service-tab {
    background: #fff;
    border-radius: 30px;
    width: 90px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: 0.3s;
}

.service-tab:hover {
    transform: rotate(180deg) scale(1.05);
}

.service-tab.active {
    background: #ff663b;
    color: #fff;
    box-shadow: 0 5px 25px rgba(239, 71, 24, 0.3);
}

/* Main Card */
.service-main {
    background: #fff;
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    min-height: 420px;
}

.service-content {
    transition: opacity 0.3s ease-in-out;
}

/* Text */
.service-main h3 {
    font-weight: 700;
    color: #151c4a;
}

.service-main p {
    color: #333;
    line-height: 1.8;
}

/* Button */
.btn-orange {
    background: #ff663b;
    color: #fff;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-orange:hover {
    background: #000000;
    color: #fff;
}

/* Image */
.service-img {
    border-radius: 25px;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .section-title {
        font-size: 42px;
        text-align: center;
    }

    .service-tab {
        display: none;
    }

    .service-main {
        padding: 30px;
    }
}

/* Why Choose PrepFort Section - why.html design */
.why-section {
    padding: 100px 0 60px;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

/* Heading highlight style */
.highlight {
    background: #e6e6e6;
    padding: 10px 20px;
    display: inline-block;
    font-weight: 800;
}

.title-big {
    font-size: 64px;
    line-height: 1.1;
}

/* Paragraph */
.desc {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
}

/* Button */
.btn-darkblue {
    background: #ff663b;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-darkblue:hover {
    background: #000000;
    color: #fff;
}

/* Right Feature Grid */
.features-wrapper {
    position: relative;
}

/* Cards */
.feature-card {
    background: #fff;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
}

/* Icon */
.feature-icon {
    width: 60px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Center Logo Circle */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: #ff663b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.center-logo img {
    width: 45px;
}

/* Responsive */
@media (max-width: 991px) {
    .title-big {
        font-size: 38px;
    }
    .center-logo {
        display: none;
    }
}

