:root {
  /* === Blue Gradient Theme === */
  --primary-color: #172efb;         /* Bright Blue from image */
  --secondary-color: #000000;       /* Black */
  --accent-color: #3556ff;          /* Light blue accent */
  --dark-color: #000000;            /* True black background */
  --light-color: #FFFFFF;           /* White text */

  /* === Blue Gradients === */
  --gradient: linear-gradient(135deg, #172efb 0%, #3556ff 50%, #001133 100%);
  --gradient-alt: linear-gradient(135deg, #3556ff 10%, #172efb 50%, #001133 90%);
  --gradient-with-pink: linear-gradient(135deg, #172efb, #3556ff);

  /* === Blue Glow Effects === */
  --glow: 0 0 30px rgba(23, 46, 251, 0.9),
           0 0 60px rgba(53, 86, 255, 0.5);
  --glow-with-pink: 0 0 30px rgba(23, 46, 251, 0.9),
                    0 0 60px rgba(53, 86, 255, 0.5);
    
  /* === Purple Theme for Features === */
  --p1: #a800ff;
  --p2: #6a00ff;
  --b1: #0077ff;
  --b2: #00ccff;
}

body {
  background: radial-gradient(circle at 50% 40%, #172efb 0%, #001133 70%, #000000 100%);
  background-attachment: fixed;
  color: var(--light-color);
  font-family: 'Noto Sans Bengali', 'Poppins', sans-serif;
}

/* === Title Styles with White Text and Black Shadow === */
h1, h2, h3, .hero-title, .section-title {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  background: none;
  -webkit-text-fill-color: #FFFFFF;
}

/* === Navbar === */
.navbar {
  background: black !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(23, 46, 251, 0.3);
  padding: 15px 0;
  transition: all 0.3s;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff !important;
  display: flex;
  align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

/* === Hero Section === */
.hero-section {
  padding: 120px 0 80px;
  background: rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(23, 46, 251, 0.25) 0%, rgba(23, 46, 251, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.trust-badge:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* === Glowing 3D Buttons === */
.btn-purple {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(23, 46, 251, 0.5),
              inset 0 0 20px rgba(23, 46, 251, 0.4);
}

.btn-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(23, 46, 251, 0.9),
              0 0 60px rgba(23, 46, 251, 0.7);
}

/* === Outline Button (Secondary Style) === */
.btn-outline-purple {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(23, 46, 251, 0.3);
}

.btn-outline-purple:hover {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 25px rgba(23, 46, 251, 0.7);
  transform: translateY(-3px);
}

/* === Stats Section === */
.stats-section {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(23, 46, 251, 0.7);
    border-radius: 20px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: var(--glow);
    transform: translateY(-8px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === Features Section === */
.features-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, #050007 0%, #000000 100%);
    overflow: hidden;
}
.features-header {
    text-align: center;
    padding: 65px 20px 15px;
}
.features-header img {
    width: 90px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(23, 46, 251, 0.6); /* #172efb */
}
.features-header h1 {
    color: #ffffff;
    font-size: 26px;
    margin-top: 12px;
    letter-spacing: 0.5px;
}
.features-header h2 {
    color: #aaa;
    font-size: 18px;
    margin-top: 6px;
    font-weight: 400;
}
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    padding: 40px 30px 80px;
}

/* --- 3D FLASH CARD --- */
.feature-card {
    position: relative;
    border-radius: 20px;
    padding: 25px 20px 30px;
    background: #000;
    border: 1px solid rgba(23, 46, 251, 0.3); /* #172efb */
    box-shadow: 0 15px 40px rgba(23, 46, 251, 0.4),
                0 5px 15px rgba(255, 255, 255, 0.05) inset;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(23, 46, 251, 0.3),
                0 5px 15px rgba(255, 255, 255, 0.03) inset;
}
.feature-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    width: 85%;
    height: 25px;
    background: radial-gradient(circle at center, rgba(23, 46, 251, 0.6), transparent 80%); /* #172efb */
    filter: blur(15px);
    border-radius: 50%;
    z-index: -1;
}

/* --- ICON (Transparent Blue Glass Effect) --- */
.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    border-radius: 25px;
    background: rgba(23, 46, 251, 0.25); /* Transparent royal blue glass */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(23, 46, 251, 0.5); /* #172efb */
    box-shadow:
        inset -4px -4px 8px rgba(255,255,255,0.2),
        inset 4px 4px 12px rgba(0,0,0,0.3),
        0 0 25px rgba(23, 46, 251, 0.5); /* #172efb */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}
.feature-icon:hover {
    transform: scale(1.08);
    box-shadow:
        0 0 35px rgba(23, 46, 251, 0.7), /* #172efb */
        inset 0 0 12px rgba(255,255,255,0.2);
}

/* --- CARD TEXT --- */
.feature-card h4 {
    color: #fff;
    font-size: 18px;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

/* --- POPUP --- */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background: #000;
    border: 1px solid rgba(0, 153, 255, 0.7);
    border-radius: 22px;
    box-shadow: 0 0 50px rgba(0, 153, 255, 0.55),
                inset 0 0 25px rgba(0, 102, 255, 0.25);
    padding: 35px 25px;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 450px;
    animation: pop .3s ease;
}

@keyframes pop {
    from { transform: scale(.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-title {
    font-size: 22px;
    background: linear-gradient(90deg, #00aaff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.popup-desc {
    color: #e8f8ff;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

.btn-close {
    background: linear-gradient(90deg, #0077ff, #00ccff);
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 10px;
    padding: 10px 25px;
    margin-top: 15px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.6);
    transition: 0.3s;
}
.btn-close:hover { filter: brightness(0.9); }

/* === Services Section === */
.services-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.service-card {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(23, 46, 251, 0.7);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: var(--glow);
    transform: translateY(-8px);
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
}


/* === Demo Section Styles === */
.demo-section {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.demo-category {
  margin-bottom: 50px;
}

.demo-category-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
}

.demo-category-title i {
  margin-right: 15px;
  font-size: 1.5rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.demo-card {
  position: relative;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
}

.demo-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.demo-card:hover .demo-card-image {
  transform: scale(1.05);
}

.demo-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 20px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.demo-card:hover .demo-card-overlay {
  transform: translateY(0);
}

.demo-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.demo-card-category {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.demo-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.demo-card-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.demo-card:hover .demo-card-button {
  opacity: 1;
}
/* === Pricing Section === */
.pricing-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.pricing-card {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(23, 46, 251, 0.7);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.pricing-card.featured::before {
    content: 'জনপ্রিয়';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pricing-period {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* === Contact Section === */
.contact-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.contact-form {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(23, 46, 251, 0.7);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
}

.contact-form.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(23, 46, 251, 0.7);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-icon i {
    font-size: 1.3rem;
    color: white;
}

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.form-control, .form-select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(23, 46, 251, 0.3);
    color: white;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus, .form-select:focus {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(23, 46, 251, 0.25);
    color: white;
    outline: none;
}

/* === Footer === */
footer {
  background: #000000;
  color: white;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(23, 46, 251, 0.3);
}

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(23, 46, 251, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

/* === Order Modal === */
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.order-modal-content {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(23, 46, 251, 0.3);
    animation: slideUp 0.5s ease;
}

.order-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(23, 46, 251, 0.3);
    padding-bottom: 20px;
}

.order-modal-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-modal {
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.order-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.package-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.package-option {
    flex: 1;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(23, 46, 251, 0.3);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.package-option:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
    box-shadow: var(--glow-with-pink);
}

.package-option.selected {
    background: rgba(23, 46, 251, 0.2);
    border-color: var(--primary-color);
}

.package-option.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.package-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.package-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.package-features {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-method {
    flex: 1;
    min-width: 150px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(23, 46, 251, 0.3);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.payment-method:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
}

.payment-method.selected {
    background: rgba(23, 46, 251, 0.2);
    border-color: var(--primary-color);
}

.payment-method i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.payment-name {
    font-weight: 500;
}

.payment-details {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-details.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-alt);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(23, 46, 251, 0.4);
}


/* === Floating Buttons === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 25px rgba(23, 46, 251, 0.5);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(23, 46, 251, 0.8);
}

/* === Animations === */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 20px rgba(23, 46, 251, 0.3); }
  50% { box-shadow: 0 0 40px rgba(23, 46, 251, 0.7); }
  100% { box-shadow: 0 0 20px rgba(23, 46, 251, 0.3); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === Language Switcher === */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 5px;
    display: flex;
    align-items: center;
}

.language-switcher button {
    border: none;
    background: transparent;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--light-color);
}

.language-switcher button.active {
    background: var(--gradient);
    color: white;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .language-switcher {
    left: 20px;
    right: auto;
}

/* === Responsive === */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .chatbot-container {
        width: 300px;
        height: 450px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .demo-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .trust-badges { flex-direction: column; gap: 15px; }
    .chatbot-container { width: 280px; height: 400px; right: 10px; bottom: 80px; }
    .chatbot-toggle { right: 80px; }
    .whatsapp-float { right: 20px; bottom: 20px; }
    .order-modal-content { margin: 20px; padding: 30px 20px; }
    .package-selection { flex-direction: column; }
    .payment-methods { flex-direction: column; }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .language-switcher { top: 10px; right: 10px; }
    .hero-section { padding: 80px 0 50px; }
    .section-title { font-size: 2rem; }
    .chatbot-container { width: calc(100% - 20px); height: calc(100vh - 100px); right: 10px; bottom: 70px; }
    .chatbot-toggle { right: 70px; }
}




/* ================= CHATBOT CSS START ================= */

#htc-embed-wrapper {
    position: relative;
}

/* ================= TOGGLE BUTTON ================= */
#htc-embed-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg,#2E2BFF,#9F00FF);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    box-shadow: 0 0 25px rgba(159,0,255,0.6);
    color:#fff;
    font-size:24px;
}

/* ================= CHAT WINDOW ================= */
#htc-embed-chat {
    position: fixed;
    bottom: 110px;
    left: 30px;
    width: 390px;
    height: 580px;
    background: linear-gradient(180deg,#0B0F2A,#0E0033);
    border-radius: 22px;
    box-shadow: 0 0 60px rgba(111,0,255,0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all .35s ease;
    z-index: 99998;
    border: 1px solid rgba(255,255,255,0.05);
}

#htc-embed-chat.htc-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* ================= HEADER ================= */
.htc-embed-header {
    background: linear-gradient(135deg,#1A1F5C,#3A00A8);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.htc-embed-logo {
    width: 48px;
}

.htc-embed-header-text h3 {
    color: #ffffff;
    font-size: 16px;
    margin:0;
}

.htc-embed-header-text p {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin:2px 0 0;
}

/* ================= BODY ================= */
.htc-embed-body {
    flex: 1;
    padding: 18px;
    background: linear-gradient(180deg,#0E0033,#0B0F2A);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ================= MESSAGE ================= */
.htc-embed-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

/* BOT MESSAGE */
.htc-embed-bot {
    background: rgba(255,255,255,0.06);
    color: #e0e7ff;
    align-self: flex-start;
    backdrop-filter: blur(6px);
}

/* USER MESSAGE */
.htc-embed-user {
    background: linear-gradient(135deg,#2E2BFF,#9F00FF);
    color: #ffffff;
    align-self: flex-end;
    box-shadow: 0 0 15px rgba(159,0,255,0.5);
}

/* ================= FOOTER ================= */
.htc-embed-footer {
    padding: 14px;
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #0B0F2A;
}

#htc-embed-input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.08);
    outline: none;
    background: rgba(255,255,255,0.05);
    color: #fff;
}

#htc-embed-input::placeholder {
    color: rgba(255,255,255,0.4);
}

/* BUTTONS */
.htc-embed-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color:#fff;
    font-size:18px;
}

/* SEND */
#htc-embed-send {
    background: linear-gradient(135deg,#2E2BFF,#9F00FF);
    box-shadow: 0 0 15px rgba(159,0,255,0.6);
}

/* MIC */
#htc-embed-mic {
    background: #111933;
}

#htc-embed-mic.htc-listening {
    box-shadow: 0 0 18px rgba(159,0,255,0.9);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
    #htc-embed-chat {
        width: 100%;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
}

/* ================= CHATBOT CSS END ================= */
