/* Modern Redesign for Soft Goyal Online Service */

/* CSS Variables - New Modern Color Scheme */
:root {
    /* Primary Colors */
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #7f9cf5;
    
    /* Secondary Colors */
    --secondary-color: #764ba2;
    --secondary-dark: #6b46c1;
    --secondary-light: #8b5cf6;
    
    /* Accent Colors */
    --accent-color: #f093fb;
    --accent-dark: #ec4899;
    --accent-light: #f472b6;
    
    /* Neutral Colors */
    --text-color: #2d3748;
    --text-muted: #718096;
    --light-bg: #f7fafc;
    --white: #ffffff;
    
    /* Gradient Backgrounds */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Top Bar - Modern Design */
.top-bar {
    background: var(--primary-gradient) !important;
    backdrop-filter: blur(10px);
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    color: var(--white) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navigation - Glass Morphism Effect */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Hero Section - Modern Design */
/* Hero Section - Modern Design */
.hero-section {
    background-image: url('../softslider.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hero-section {
    /* background: var(--hero-gradient); */
    /* background-attachment: fixed; */
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.hero-section h1 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.bg-light {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%) !important;
}

/* Product Cards - Modern Design */
.product-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    position: relative;
    margin-bottom: 2rem;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.product-icon {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.product-card:hover .product-icon {
    transform: scale(1.05);
}

.product-card img {
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

/* Feature Box - Modern Cards */
.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.feature-box i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Buttons - Modern Design */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-gradient);
    color: var(--white);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer - Modern Design */
footer {
    background: var(--text-color) !important;
    color: var(--white);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

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

footer h5 {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--secondary-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Scroll to Top Button */
.scroll-to-top {
    background: var(--primary-gradient) !important;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top.show {
    display: block;
}

/* Form Styles */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.input-group .form-control {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.input-group .btn {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* Card Shadows */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Badge */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-lg);
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-item a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Cart Styles */
.cart-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(102, 126, 234, 0.05);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: var(--radius-lg);
}

.cart-item:last-child {
    border-bottom: none;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-control button {
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-control button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* About Stats */
.about-stat {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.about-stat:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

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

    .hero-section .lead {
        font-size: 1.125rem;
    }

    .top-bar .col-md-6:last-child {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .product-card {
        margin-bottom: 1.5rem;
    }

    .feature-box {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.5rem 1.5rem;
    }
}

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

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

.border-gradient {
    border: 2px solid;
    border-image: var(--primary-gradient) 1;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Floating Call Button */
    }
/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 25px 35px;
    box-shadow: var(--shadow-lg);
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    min-width: 250px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.floating-call-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
    font-size: 22px;
    background: var(--secondary-gradient);
}

.floating-call-btn i {
    font-size: 20px;
    margin-right: 10px;
}

.floating-call-btn .phone-text {
    line-height: 1.2;
}

/* Pulse animation for attention */
.floating-call-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 15px;
        left: 15px;
        padding: 18px 24px;
        font-size: 16px;
        min-width: 200px;
    }

    .floating-call-btn i {
        font-size: 18px;
        margin-right: 8px;
    }
}

@media (max-width: 576px) {
    .floating-call-btn {
        bottom: 10px;
        left: 10px;
        padding: 15px 20px;
        font-size: 14px;
        min-width: 180px;
    }
}


