/* DineFlow - Restaurant Billing Software Styles */

:root {
    /* --primary-color: #2563eb;
    --primary-dark: #1d4ed8; */
     --primary-color: #eb2525;
    --primary-dark: #d81d1d;
    --secondary-color: #f97316;
    --success-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}


.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
}

.hero-image-wrapper {
    position: relative;
}

.main-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.floating-card {
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid #e5e7eb;
}

.trust-bar h5 {
    color: var(--text-dark);
    font-size: 1.25rem;
}

/* Restaurant Tabs */
.nav-pills .nav-link {
    color: var(--text-gray);
    background-color: transparent;
    border: 2px solid #e5e7eb;
    margin: 0 0.25rem;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
}

.nav-pills .nav-link:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.nav-pills .nav-link:hover {
    text-decoration: none !important;
}

/* How It Works */
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.text-orange {
    color: var(--secondary-color);
}
@media (min-width:992px){
    .demo-video{
        height: 350px;
    }
}

/* Feature Cards */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* Popup for feature cards */
.promo-modal {
    background: #dbeeff;
}

.promo-modal h2 {
    color: #1e4ed8;
}

.promo-modal .btn-danger {
    background: #ff4d4d;
    border: none;
}

.promo-modal .btn-danger:hover {
    background: #e63939;
}
.btn-close {
  background-color: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  position: absolute;
  z-index: 1060;       /* 🔥 MOST IMPORTANT */
  pointer-events: auto;
}

/* Pricing */
.pricing .card {
    border-radius: 16px;
    transition: var(--transition);
}

.pricing .card:hover:not(.border-primary) {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}




/* Compact Demo Form Styling */
.bookdemocontainer {
    border-top: 5px solid var(--primary-color); /* Professional accent line */
}

.inptstyle {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-size: 13px;
    transition: all 0.2s ease;
}

.inptstyle:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}

.selec {
    color: var(--text-gray);
    height: 41px; /* Matches input height */
}

.contact-icon {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Accordion */
.accordion-button {
    padding: 1.25rem;
    font-size: 1.1rem;
    background-color: white;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--primary-color);
}

.accordion-button::after {
    background-size: 1.2rem;
}

.accordion-body {
    padding: 0 1.25rem 1.25rem;
    line-height: 1.7;
}



/* Utility Classes */
.transition-all {
    transition: var(--transition);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Play Button Animation */
.play-button button {
    transition: var(--transition);
}

.play-button button:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    .floating-card {
        display: none !important;
    }
    
    .trust-bar .col-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, footer {
        display: none;
    }
}