/* Modern Redesigned Stylesheet - Matching designeras.in */

:root {
    --primary-color: #1673FD;
    --secondary-color: #4A9FFF;
    --success-color: #1673FD;
    --orange-color: #ff6b35;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --white-color: #ffffff;
    --text-color: #374151;
    --border-color: #e5e7eb;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white-color);
}

/* ========== NAVIGATION ========== */
.navbar {
    padding: 1rem 0;
    background: var(--white-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    padding: 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-collapse {
    flex-grow: 1;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color);
}

/* Mobile navbar fix - only apply to mobile screens */
@media (max-width: 991.98px) {
    .navbar .container {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    .navbar-brand {
        margin-right: 1rem !important;
        flex-shrink: 0 !important;
    }
    
    .navbar-brand img {
        height: 85px;
    }
    
    .navbar-toggler {
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
    
    .navbar-collapse {
        flex-basis: 100% !important;
    }
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Thin black overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--white-color);
    animation: fadeInUp 1s ease-out;
}

.hero-search {
    max-width: 600px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease-out;
}

.search-wrapper {
    position: relative;
    display: flex;
}

.search-wrapper .form-control {
    border-radius: 50px;
    border: none;
    padding: 1rem 5rem 1rem 1.5rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.search-wrapper .btn-search {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.search-wrapper .btn-search:hover {
    background: var(--secondary-color);
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1.2s ease-out;
}

/* ========== SECTIONS ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Make all containers wider */
.container {
    max-width: 1600px;
}

/* ========== HOW TO ORDER SECTION ========== */
.how-to-order-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

/* Connection line between steps (horizontal on desktop) */
.steps-container::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover .step-icon-wrapper::after {
    opacity: 1;
}

.step-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.step-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    padding: 0 1rem;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 5rem 0;
    background: var(--white-color);
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ========== VIDEOS SECTION ========== */
.videos-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.videos-section .container {
    max-width: 1600px; /* Wider container */
}

.video-card-modern {
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100%; /* Allow cards to be bigger */
}

.video-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-thumbnail-modern {
    position: relative;
    width: 100%;
    padding-top: 165%; /* Increased height - even taller cards */
    overflow: hidden;
    background: linear-gradient(135deg, #1673FD 0%, #ff6b35 100%);
}

.video-thumbnail-modern img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;
}

.video-card-modern:hover .video-thumbnail-modern img {
    transform: scale(1.05);
}

.video-placeholder-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
}

.video-placeholder-modern p {
    font-size: 1rem;
    margin-top: 1rem;
}

.video-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card-modern:hover .video-overlay-modern {
    opacity: 1;
}

.btn-preview {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-preview:hover {
    transform: scale(1.05);
    background: var(--primary-color);
    color: white;
}

.video-content-modern {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-title-modern {
    font-size: 1.2rem;
;
    font-weight: 600;
    color: var(--dark-color);
    /* margin-bottom: 1.2rem; */
    /* min-height: 60px; */
    line-height: 1.4;
}

.video-price-modern {
    margin-bottom: 1.5rem;
}

.price-original {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.price-discount {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.video-actions-modern {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-order-modern {
    flex: 1;
    background: #1DAA61 !important;
    color: white;
    border: none;
    padding: 1rem 1.3rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-order-modern:hover {
    background: #ff5722;
    transform: translateY(-2px);
    color: white;
}

.btn-share-modern {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.3rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.btn-share-modern:hover {
    background: var(--secondary-color);
}

.btn-more-videos {
    background: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
}

.btn-more-videos:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    color: white;
}

/* ========== CATEGORIES SECTION ========== */
.categories-section {
    padding: 5rem 0;
    background: var(--white-color);
}

.category-card {
    display: block;
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 280px;  /* Changed from 250px */
}

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

.category-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #f3f4f6;  /* Added background */
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Changed from cover */
    object-position: center;  /* Added */
    transition: transform 0.5s;
}

.category-card:hover .category-image img {
    transform: scale(1.05);  /* Changed from 1.1 */
}
.category-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white-color);
    padding: 2rem 1.5rem;
}

.category-overlay h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    opacity: 0.7;
}

/* ========== RESPONSIVE ========== */

/* Custom 5-column grid for wider screens */
@media (min-width: 1200px) {
    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Mobile responsive for How To Order section */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        max-width: 100%;
    }
    
    .video-thumbnail-modern {
        padding-top: 165%; /* Keep tall on mobile too */
    }
    
    /* How To Order - Vertical on Mobile */
    .steps-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    /* Vertical line on mobile */
    .steps-container::before {
        top: 80px;
        left: 80px;
        right: auto;
        bottom: 80px;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    }
    
    .step-item {
        display: flex;
        text-align: left;
        align-items: center;
        gap: 2rem;
    }
    
    .step-icon-wrapper {
        flex-shrink: 0;
        margin: 0;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .step-description {
        padding: 0;
    }
    
    /* FAQ Responsive */
    .accordion-button {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .accordion-button i {
        font-size: 1.1rem;
        margin-right: 0.75rem !important;
    }
    
    .accordion-body {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .payment-details {
        padding: 1rem;
    }
    
    .payment-details strong {
        min-width: 120px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
}

/* ========== SHARE MODAL ========== */
.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-buttons .btn {
    width: 100%;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 5rem 0;
    background: var(--white-color);
}

.accordion {
    --bs-accordion-border-color: #e5e7eb;
    --bs-accordion-border-radius: 15px;
}

.accordion-item {
    border: 2px solid #e5e7eb;
    border-radius: 15px !important;
    margin-bottom: 1.5rem;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: white;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1673FD 0%, #4A9FFF 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed) i {
    color: white;
}

.accordion-button i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231673FD'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    background: #f9fafb;
}

.accordion-body p {
    margin-bottom: 0.75rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.payment-details {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.payment-details li {
    padding: 0.5rem 0;
    color: var(--dark-color);
}

.payment-details strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 140px;
}
/* ========== HOW TO ORDER SECTION - DETAILED VERSION ========== */
.how-to-order-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.steps-container-detailed {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item-detailed {
    background: white;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item-detailed::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #1673FD 0%, #4A9FFF 100%);
}

.step-item-detailed:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(22, 115, 253, 0.2);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1673FD 0%, #4A9FFF 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(22, 115, 253, 0.3);
}

.step-content-detailed {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-emoji {
    flex-shrink: 0;
    font-size: 2.5rem;
    line-height: 1;
}

.step-title-detailed {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
    margin: 0;
    font-weight: 400;
}

.step-title-detailed strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Responsive for tablets */
@media (max-width: 991px) {
    .steps-container-detailed {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .step-item-detailed {
        padding: 1.5rem 2rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .step-emoji {
        font-size: 2rem;
    }
    
    .step-title-detailed {
        font-size: 1.05rem;
    }
    
    .step-title-detailed strong {
        font-size: 1.1rem;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .how-to-order-section {
        padding: 3rem 0;
    }
    
    .steps-container-detailed {
        gap: 1.5rem;
    }
    
    .step-item-detailed {
        padding: 1.5rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .step-item-detailed::before {
        width: 100%;
        height: 5px;
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
    }
    
    .step-item-detailed:hover {
        transform: translateY(-5px);
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step-content-detailed {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }
    
    .step-title-detailed {
        font-size: 1rem;
        text-align: left;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .step-item-detailed {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-emoji {
        font-size: 1.8rem;
    }
    
    .step-title-detailed {
        font-size: 0.95rem;
    }
    
    .step-title-detailed strong {
        font-size: 1rem;
    }
}