@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-color: #005204;
    --primary-glow: #008f04;
    --secondary-color: #011101;
    --accent-color: #00ff08;
    --whatsapp-color: #25d366;
    --text-white: #ffffff;
    --text-light: #f8faf8;
    --text-dark: #121212;
    --text-muted: #889988;
    --bg-white: #ffffff;
    --bg-light: #f4fcf4;
    --glass-bg: rgba(2, 26, 2, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    --transition-smooth: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
}

.body-dark {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-glow);
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navigation */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

#header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 17, 1, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

nav {
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 991px) {
    nav {
        padding: 15px 5%;
    }
}

nav.scrolled .nav-links a {
    color: var(--text-white);
}

nav.scrolled .logo span {
    color: var(--text-white);
}

.logo span {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span b {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    opacity: 1;
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(0, 82, 4, 0.4);
}

.cta-button:hover {
    background: transparent;
    border-color: var(--primary-glow);
    color: var(--accent-color);
    box-shadow: 0 0 25px rgba(0, 255, 8, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10% 80px;
    position: relative;
    overflow: hidden;
    background: var(--secondary-color);
    color: var(--text-white);
}

.hero-content {
    max-width: 600px;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 8, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -3px;
}

/* Stats Section */
.stats-section {
    padding: 80px 10%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    z-index: 20;
    position: relative;
}

@media (max-width: 991px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 5%;
    }
}

@media (max-width: 576px) {
    .stats-section {
        grid-template-columns: 1fr;
        padding: 40px 5%;
    }
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -2px;
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.75rem;
}

.hero p {
    font-size: 1.25rem;
    color: #b0c4b0;
    margin-bottom: 45px;
    max-width: 500px;
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.secondary-btn {
    border: 1px solid var(--glass-border);
    padding: 12px 25px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-dark);
}

/* Background Gradients */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(150px);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.4;
}

.blob-1 {
    top: -200px;
    right: -200px;
    background: #005204;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
    background: #022a04;
}

/* Features Section */
.section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-white);
    font-weight: 800;
    letter-spacing: -2px;
}

.section-light {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.section-dark {
    background-color: #000000;
    color: var(--text-white);
}

.section-light .section-header h2,
.section-dark .section-header h2 {
    color: var(--text-white);
}

.section-header p {
    color: #b0c4b0;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 60px 45px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    background: #0052043d;
    box-shadow: none;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-white);
    font-weight: 700;
}

.feature-card p {
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.9;
}

.section-dark .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .feature-card h3 {
    color: var(--text-white);
}

.section-dark .feature-card p {
    color: #b0c4b0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.package-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.package-card h3 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.package-card p {
    color: #ffffff !important;
    opacity: 0.9;
    margin-bottom: 20px;
}

.package-card.popular {
    background: var(--secondary-color);
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    z-index: 5;
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 800;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
}

.pkg-features {
    list-style: none;
    margin-bottom: 30px;
}

.pkg-features li {
    margin-bottom: 15px;
    color: #ffffff;
}

.pkg-features li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Mobile POS Section */
.mobile-pos {
    background: #ffffff;
    color: var(--secondary-color);
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mobile-img {
    position: relative;
}

.mobile-img img {
    width: 100%;
    border-radius: 30px;
}

/* Footer */
footer {
    padding: 80px 10% 30px;
    background: #011101;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about h3 span {
    color: var(--accent-color);
}

.footer-links h4 {
    margin-bottom: 25px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #b0c4b0;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    color: #889988;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section {
        padding: 60px 5%;
    }
    
    .hero {
        padding: 120px 5% 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        height: auto;
        min-height: 100vh;
    }
}

/* Dealer & Owner Cards */
.dealer-card {
    background: var(--bg-white);
    border: 1px solid #e0eee0;
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
}

.dealer-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.owner-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info-list i {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.white-card {
    background: #fff;
    color: var(--secondary-color);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: pulse-wa 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #fff;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .floating-wa {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}


.text-white {
    color: var(--text-white) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Form Styles */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 8, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: none;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
    padding-right: 50px;
}

select.form-control option {
    background: #121212;
    color: #fff;
    padding: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 40px 20px;
    }
}

/* Valued Clients & Reviews */
.clients-section {
    padding: 100px 10%;
    background: #fdfdfd;
}

.client-logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 80px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition-smooth);
}

.client-logo-cloud:hover {
    opacity: 1;
    filter: grayscale(0);
}

.client-logo-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: #444;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Floating Partner Badges (Side Arrival) */
.partner-side-badges {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2000;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.badge-item {
    position: absolute;
    background: #ffffff;
    border: 1px solid #eee;
    padding: 15px 25px;
    border-radius: 15px 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    pointer-events: auto;
    transition: var(--transition-smooth);
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.1);
    right: 0;
    width: 280px;
    /* Increased width for all containers */
}

.badge-item:hover {
    width: 310px;
    /* Expands on hover */
}


/* Removed unused hover states */

.badge-item img {
    height: 55px;
    /* Base larger logo size */
    width: auto;
    max-width: 80px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Custom size for Sales (Flash) */
.badge-item:nth-child(3) img {
    max-width: 80px;
    height: 55px;
}

/* Custom size for Hardware (Trelco) - Smaller */
.badge-item:nth-child(4) img {
    height: 45px;
    max-width: 70px;
}

.badge-item span {
    color: #121212;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

/* Adjusted Vertical Gap (85px increments for larger badges) */
.badge-item:nth-child(1) {
    top: -140px;
}

.badge-item:nth-child(2) {
    top: -50px;
}

.badge-item:nth-child(3) {
    top: 40px;
}

.badge-item:nth-child(4) {
    top: 130px;
}

/* Scroll Hide State */
.badges-hidden {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 1200px) {
    .badge-item span {
        display: none;
    }

    .badge-item {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .partner-side-badges {
        display: none;
    }

    /* Hide on small mobile to avoid clutter */
}

.reviews-widget-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.reviews-main,
.reviews-sidebar {
    width: 100%;
}

@media (max-width: 992px) {
    .reviews-widget-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .client-logo-cloud {
        gap: 30px;
    }
}
/* ── Previous Works Slider ── */

/* ── Previous Bills Slider ── */
.pb-slider-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pb-slider-track {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.pb-cards-row {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pb-img-card {
  flex-shrink: 0;
  width: calc(33.333% - 10px);
  height: auto;
  margin: 0 5px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 8, 0.08);
  background: #111;
  aspect-ratio: 3/4;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 991px) {
  .pb-img-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .pb-img-card {
    width: calc(100% - 10px);
  }
}

.pb-img-card:hover {
  border-color: rgba(0, 255, 8, 0.35);
  box-shadow: 0 0 30px rgba(0, 255, 8, 0.1), 0 20px 40px rgba(0,0,0,0.5);
}

.pb-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.pb-img-card:hover img {
  transform: scale(1.03);
}

/* Subtle green glow overlay on hover */
.pb-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 255, 8, 0.06) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pb-img-card:hover::after {
  opacity: 1;
}

.pb-nav-btn {
  width: 46px;
  height: 46px;
  background: rgba(0, 255, 8, 0.05);
  border: 1px solid rgba(0, 255, 8, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent-color);
  font-size: 22px;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.pb-nav-btn:hover {
  background: rgba(0, 255, 8, 0.12);
  border-color: rgba(0, 255, 8, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 8, 0.15);
}

.pb-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.pb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pb-dot.active {
  width: 24px;
  border-radius: 4px;
  background: rgba(0, 255, 8, 0.2);
  border: 1px solid rgba(0, 255, 8, 0.4);
}

.pb-dot.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--accent-color);
  border-radius: 4px;
  width: 0%;
  animation: pbDotProgress 3s linear forwards;
}

@keyframes pbDotProgress {
  from { width: 0%; }
  to   { width: 100%; }
}
/* ── Previous Bills Slider ── */
.pw-slider-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pw-slider-track {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.pw-cards-row {
  display: grid;
  grid-template-rows: 1fr 1fr;    /* exactly 2 rows */
  grid-auto-flow: column;          /* fills column by column */
  grid-auto-columns: calc(25% - 10px);  /* 4 columns visible */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 10px;
}

@media (max-width: 991px) {
  .pw-cards-row {
    grid-auto-columns: calc(33.333% - 10px);
  }
}
@media (max-width: 768px) {
  .pw-cards-row {
    grid-auto-columns: calc(50% - 10px);
  }
}
@media (max-width: 480px) {
  .pw-cards-row {
    grid-auto-columns: calc(100% - 10px);
  }
}

.pw-img-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 8, 0.08);
  background: #fff;
  width: 100%;
  height: 180px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pw-img-card:hover {
  border-color: rgba(0, 255, 8, 0.35);
  box-shadow: 0 0 30px rgba(0, 255, 8, 0.1), 0 20px 40px rgba(0,0,0,0.5);
}

.pw-img-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.pw-img-card:hover img {
  transform: scale(1.03);
}

.pw-nav-btn {
  width: 46px;
  height: 46px;
  background: rgba(0, 255, 8, 0.05);
  border: 1px solid rgba(0, 255, 8, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--accent-color);
  font-size: 22px;
  transition: all 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.pw-nav-btn:hover {
  background: rgba(0, 255, 8, 0.12);
  border-color: rgba(0, 255, 8, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 8, 0.15);
}

.pw-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.pw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pw-dot.active {
  width: 24px;
  border-radius: 4px;
  background: rgba(0, 255, 8, 0.2);
  border: 1px solid rgba(0, 255, 8, 0.4);
}

.pw-dot.active::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--accent-color);
  border-radius: 4px;
  width: 0%;
  animation: pwDotProgress 3s linear forwards;
}

@keyframes pwDotProgress {
  from { width: 0%; }
  to   { width: 100%; }
}



/* Promotion models - Updated to Premium Design */

#promoModal .modal-content {
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#promoModal {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#promoModal .promo-banner-side {
    background: linear-gradient(135deg, #1e1e24 0%, #111115 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

#promoModal .promo-banner-side::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -25%;
    left: -25%;
    z-index: 1;
}

#promoModal .promo-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

#promoModal .promo-form-side {
    background-color: #ffffff;
    padding: 40px;
}

/* promo button - Updated to Premium Bottom-Left Floating Design */

.promo-btn {
    position: fixed;
    bottom: 30px;
    right: 120px;
    left: auto;
    background: linear-gradient(135deg, #FF0080 0%, #7928CA 100%);
    color: #fff;
    width: 65px;
    height: 65px;
    padding: 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(255, 0, 128, 0.35);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseGlow 2.5s infinite;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .promo-btn {
        width: auto;
        height: 65px;
        padding: 0 32px;
        border-radius: 35px;
        font-size: 18px;
    }
    .promo-btn .promo-gift-icon {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .promo-btn {
        bottom: 20px;
        right: 85px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .promo-btn {
        bottom: 15px;
        right: 75px;
        width: 50px;
        height: 50px;
    }
}

.promo-btn:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 0, 128, 0.5);
    background: linear-gradient(135deg, #FF1C92 0%, #8B3EFD 100%);
}

.promo-btn .promo-gift-icon {
    font-size: 1.5em;
    display: inline-block;
}

.promo-tooltip {
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: linear-gradient(135deg, #FF0080 0%, #7928CA 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 0, 128, 0.3);
}

.promo-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #7928CA;
}

.promo-btn:hover .promo-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.promo-btn:hover .promo-gift-icon {
    animation: giftWobble 0.8s ease infinite;
}

@keyframes giftWobble {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    15% {
        transform: rotate(-12deg) scale(1.1);
    }

    30% {
        transform: rotate(14deg) scale(1.1);
    }

    45% {
        transform: rotate(-8deg) scale(1.1);
    }

    60% {
        transform: rotate(10deg) scale(1.1);
    }

    75% {
        transform: rotate(-4deg) scale(1.1);
    }

    90% {
        transform: rotate(4deg) scale(1.1);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0.5), 0 8px 24px rgba(255, 0, 128, 0.35);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255, 0, 128, 0), 0 8px 24px rgba(255, 0, 128, 0.35);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0), 0 8px 24px rgba(255, 0, 128, 0.35);
    }
}

/* Input Icon Group Styles */
.promo-form .input-icon-group {
    position: relative;
    margin-bottom: 18px;
}

.promo-form .input-icon-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    transition: color 0.3s ease;
    font-size: 16px;
    pointer-events: none;
}

.promo-form .input-icon-group.textarea-group i {
    top: 22px;
    transform: none;
}

.promo-form .form-control,
.promo-form .form-select {
    padding-left: 46px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    height: 48px;
    font-size: 15px;
    color: #2d3748;
    background-color: #f8fafc;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.promo-form textarea.form-control {
    height: auto;
    min-height: 100px;
    padding-top: 14px;
}

.promo-form .form-control:focus,
.promo-form .form-select:focus {
    border-color: #7928CA;
    box-shadow: 0 0 0 4px rgba(121, 40, 202, 0.12);
    background-color: #ffffff;
    outline: none;
}

.promo-form .form-control:focus+i,
.promo-form .form-select:focus+i {
    color: #7928CA;
}

/* Label styling */
.promo-form label {
    font-weight: 600;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 6px;
    display: inline-block;
}

/* Dropdown other field animation */
.other-industry-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), margin-bottom 0.4s ease;
}

.other-industry-wrap.show {
    max-height: 80px;
    margin-bottom: 18px;
}

/* Send button */
.btn-promo-send {
    background: #38393af0;
    color: #ffffff;
    border: none;
    font-weight: 600;
    height: 50px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* box-shadow: 0 6px 18px rgba(255, 0, 128, 0.25); */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-promo-send:hover:not(:disabled) {
    transform: translateY(-2px);
    /* box-shadow: 0 10px 24px rgba(255, 0, 128, 0.4); */
    color: #ffffff;
    background: #38393af0;
}

.btn-promo-send:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-promo-send:disabled {
    background: #cbd5e1;
    box-shadow: none;
    color: #64748b;
    cursor: not-allowed;
}

/* Error alert wrapper */
.promo-error-alert {
    display: none;
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 18px;
    animation: alertShake 0.4s ease;
}

@keyframes alertShake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

/* AJAX Success Screen Styling */
.promo-success-screen {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: successFadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.success-checkmark-circle {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 180, 219, 0.4);
    animation: checkmarkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s forwards;
    transform: scale(0);
}

.success-checkmark-circle i {
    color: #ffffff;
    font-size: 42px;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkmarkPop {
    to {
        transform: scale(1);
    }
}

/* Spinner */
.promo-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal.custom-zindex {
    z-index: 999999 !important;
}

.modal-backdrop {
    z-index: 999998 !important;
}

/* Offcanvas Full Mobile View */
@media (max-width: 991.98px) {
    .mobile-offcanvas-full {
        width: 100% !important;
        height: 100vh !important;
    }
}