/* ============================================
   OneDrive Used Auto Parts - Premium Design
   Modern, Unique & Professional UI
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary: #ff4d4d;
    --primary-dark: #cc0000;
    --primary-light: #ff8080;
    --secondary: #0a1628;
    --secondary-light: #1a2d4a;
    --accent: #ffd700;
    --accent-glow: rgba(255, 215, 0, 0.3);
    --dark: #050d1a;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient-primary: linear-gradient(135deg, #ff4d4d 0%, #ff8c00 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0a1628 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #162447 50%, #1f4068 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 77, 77, 0.3);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light);
    color: var(--secondary);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   PRELOADER / LOADING ANIMATION
   ============================================ */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hide {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.spinner::before,
.spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.spinner::before {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    animation: spin 1.2s linear infinite;
}

.spinner::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 4px solid transparent;
    border-bottom-color: var(--accent);
    border-left-color: var(--accent);
    animation: spin 0.8s linear infinite reverse;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px 0;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.navbar-brand i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 77, 77, 0.5));
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 18px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    transition: var(--transition);
    display: inline-block;
    white-space: nowrap;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    opacity: 1;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
    background: transparent;
}

.navbar-toggler:hover {
    border-color: var(--primary);
    background: rgba(255, 77, 77, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.3);
    outline: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.15;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--light) 0%, transparent 100%);
    z-index: 1;
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 50%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: slideInLeft 0.8s ease forwards;
}

.hero-badge i {
    color: var(--accent);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: slideInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-section h1 span {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    max-width: 550px;
    line-height: 1.7;
    animation: slideInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    animation: slideInUp 0.8s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.35);
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary-custom:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 77, 77, 0.5);
    color: #fff;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-secondary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary-custom:hover {
    color: var(--secondary);
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary-custom:hover::before {
    width: 100%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-padding {
    padding: 80px 0;
    position: relative;
}

.section-padding-sm {
    padding: 60px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 77, 77, 0.1);
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.05) 0%, transparent 70%);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    bottom: -50%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(255, 77, 77, 0.3);
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 77, 77, 0.3);
    animation: rotate 20s linear infinite;
}

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

.feature-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(255, 77, 77, 0.4);
}

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.feature-card:hover h4 {
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.15);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay a {
    padding: 14px 35px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transform: translateY(30px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4);
}

.product-card:hover .product-overlay a {
    transform: translateY(0);
}

.product-overlay a:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(255, 77, 77, 0.5);
}

.product-body {
    padding: 30px;
}

.product-body h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
}

.product-body p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--gradient-hero);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.1;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    position: relative;
    z-index: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stat-icon i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--gradient-primary);
}

.stat-item:hover .stat-icon i {
    -webkit-text-fill-color: #fff;
}

.stat-item h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-img {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 25px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: bounce 3s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-badge h3 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.about-badge p {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.about-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
}

.about-content h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.check-list li:hover {
    transform: translateX(10px);
    color: var(--primary);
}

.check-list li i {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

/* ============================================
   WHY CHOOSE / HOW IT WORKS
   ============================================ */
.why-card {
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card > * {
    position: relative;
    z-index: 1;
}

.why-card i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: block;
    transition: var(--transition);
}

.why-card:hover i {
    -webkit-text-fill-color: #fff;
    transform: scale(1.2);
}

.why-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.why-card:hover h5 {
    color: #fff;
}

.why-card p {
    color: var(--gray);
    line-height: 1.6;
    transition: var(--transition);
    margin: 0;
    font-size: 0.9rem;
}

.why-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Step Number */
.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
    transition: var(--transition);
}

.why-card:hover .step-number {
    background: #fff;
    color: var(--primary);
    transform: rotate(360deg);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: #fff;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(255, 77, 77, 0.1);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 3px 0;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.testimonial-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-location i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* ============================================
   CONTACT FORM & INFO
   ============================================ */
.contact-form {
    background: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.form-control {
    padding: 16px 22px;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: var(--transition);
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1);
    background: #fff;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 10px;
}

.contact-info-card {
    background: var(--gradient-hero);
    padding: 50px;
    border-radius: var(--border-radius);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.contact-info-item i {
    width: 55px;
    height: 55px;
    background: rgba(255, 77, 77, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover i {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1);
}

.contact-info-item h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    opacity: 0.1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: var(--transition);
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary);
}

.page-header .breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-widget h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 77, 77, 0.4);
}

.disclaimer {
    background: rgba(255, 77, 77, 0.1);
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 50px;
}

.disclaimer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

.disclaimer strong {
    color: var(--primary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 60px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-bottom i {
    color: var(--primary);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4);
}

.scroll-top::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 77, 77, 0.5);
}

/* ============================================
   SPEC CARDS
   ============================================ */
.spec-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.spec-card h5 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
}

.spec-card h5 i {
    color: var(--primary);
    font-size: 1.3rem;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card ul li {
    padding: 12px 0;
    color: var(--gray);
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.spec-card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.spec-card ul li:last-child {
    border-bottom: none;
}

.spec-card ul li:hover {
    color: var(--secondary);
    padding-left: 10px;
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-content {
    padding: 80px 0;
}

.policy-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 45px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.policy-content ul {
    color: var(--gray);
    line-height: 2;
    margin-bottom: 25px;
    padding-left: 25px;
}

.policy-content ul li {
    margin-bottom: 12px;
}

.policy-content a {
    color: var(--primary);
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion-item {
    border: none !important;
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: #fff !important;
    color: var(--secondary) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 25px;
    border: none !important;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    box-shadow: none;
}

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

.accordion-button::after {
    background-size: 16px;
    transition: var(--transition);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 20px 25px;
    color: var(--gray);
    line-height: 1.8;
    background: #fff;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: rgba(5, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 15px;
        margin-top: 10px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav {
        flex-direction: column;
        gap: 5px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 14px 20px !important;
        display: block;
        text-align: center;
        border-radius: 10px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: var(--gradient-primary);
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand i {
        font-size: 1.5rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stat-item {
        padding: 30px 15px;
    }

    .about-badge {
        position: static;
        display: inline-block;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-section {
        min-height: auto;
        padding: 160px 0 100px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 30px 25px;
    }

    .contact-info-card {
        padding: 30px 25px;
    }

    .page-header {
        padding: 140px 0 70px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer {
        padding: 70px 0 0;
    }

    .stat-item h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-secondary-custom {
        width: 100%;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand i {
        font-size: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-gradient-dark {
    background: var(--gradient-dark);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-6 {
    margin-bottom: 5rem;
}

.mt-6 {
    margin-top: 5rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

/* Fade Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Animations */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.scale-up {
    opacity: 0;
    transform: scale(0.5) translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Rotate Animations */
.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Slide Animations */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Flip Animations */
.flip-up {
    opacity: 0;
    transform: perspective(1000px) rotateX(45deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flip-up.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0);
}

/* Blur Animation */
.blur-in {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.6s ease, filter 0.6s ease;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Progress Bar Animation */
.progress-bar-animated {
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar-animated.visible {
    width: var(--progress-width, 100%);
}

/* Typing Animation */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    width: 0;
    animation: typing 3s steps(30) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Parallax Effect */
.parallax {
    transform: translateY(var(--parallax-offset, 0));
    transition: transform 0.1s linear;
}

/* Reveal from bottom */
.reveal-bottom {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-bottom.visible {
    clip-path: inset(0 0 0 0);
}

/* Bounce Animation */
.bounce-in {
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Glow Animation on Scroll */
.glow-on-scroll {
    transition: box-shadow 0.5s ease;
}

.glow-on-scroll.visible {
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.3);
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-101%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.visible::after {
    transform: translateX(101%);
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake-on-hover:hover {
    animation: shake 0.5s ease;
}

/* Float Animation on Scroll */
.float-on-scroll.visible {
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Gradient Border Animation */
.gradient-border-animate {
    position: relative;
}

.gradient-border-animate::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border-animate.visible::before {
    opacity: 1;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   ENHANCED SCROLL & HOVER EFFECTS
   ============================================ */

/* Card Tilt Transition */
.feature-card,
.testimonial-card,
.why-card,
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Glowing effect on cards */
.feature-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.1), rgba(255, 152, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before,
.testimonial-card:hover::before {
    opacity: 1;
}

/* Pulse ring effect for icons */
.feature-icon,
.stat-icon {
    position: relative;
}

.feature-icon::after,
.stat-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.feature-card:hover .feature-icon::after,
.stat-item:hover .stat-icon::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.3;
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Hero Content Animation */
.hero-content {
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    animation: badgePop 0.6s ease 0.3s forwards;
    opacity: 0;
    transform: scale(0.8);
}

@keyframes badgePop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-section h1 {
    animation: titleSlideIn 0.8s ease 0.1s forwards;
    opacity: 0;
}

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

.hero-buttons {
    animation: buttonsSlideUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

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

/* Magnetic button base styles */
.btn-primary-custom,
.cta-btn {
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Ripple effect on button click */
.btn-primary-custom,
.btn-secondary-custom,
.cta-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::after,
.btn-secondary-custom::after,
.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary-custom:active::after,
.btn-secondary-custom:active::after,
.cta-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Scroll indicator animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Stagger children animation */
.stagger-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-child.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section reveal animation */
.section-header {
    position: relative;
}

.section-badge {
    animation: none;
    transition: transform 0.3s ease;
}

.section-badge:hover {
    transform: scale(1.05);
}

/* Image hover zoom effect */
.product-img img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

/* Stats counter glow */
.stat-item h2 {
    transition: text-shadow 0.3s ease;
}

.stat-item:hover h2 {
    text-shadow: 0 0 20px rgba(255, 77, 77, 0.5);
}

/* Navbar link underline animation */
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
}

/* Scroll-triggered glow for CTA section */
.cta-section {
    transition: box-shadow 0.5s ease;
}

.cta-section.visible {
    box-shadow: inset 0 0 100px rgba(255, 77, 77, 0.1);
}

/* Social link hover effects */
.social-links a {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.3);
}

/* Footer link slide effect */
.footer-links li a {
    position: relative;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.footer-links li a:hover {
    padding-left: 10px;
}

/* Scroll top button pop animation */
.scroll-top.active {
    animation: popIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Loading spinner enhanced */
.loading .spinner {
    animation: spin 0.8s linear infinite, pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 77, 77, 0);
    }
}

/* Text shimmer effect for highlighted spans */
.section-title span {
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
