html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* CSS Variables for VTSimu Main Theme */
:root {
  --primary-bg: #0b1120;
  --secondary-bg: #111827;
  --accent-orange: #fa8231;
  --accent-orange-hover: #eb7a2b;
  --accent-cyan: #0fb9b1;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --logo-blue: #1e58a1;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(0, 0, 0, 0.05);
}

body.bg-dark-blue {
  background-color: var(--primary-bg);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #fff;
}

/* Glassmorphism Navbar */
.glass-nav {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  padding: 0.75rem 0;
  transition: all 0.3s ease-in-out;
}

.text-primary-accent {
  color: var(--logo-blue);
}

.glass-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151 !important;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.3s;
  padding: 8px 0;
  margin: 0 12px;
  display: inline-flex;
  align-items: center;
}

.glass-nav .nav-link:hover, .glass-nav .nav-link.active {
  color: var(--logo-blue) !important;
}

.glass-nav .nav-icon {
  color: var(--logo-blue);
  font-size: 1.1rem;
  margin-right: 6px;
  transition: transform 0.2s;
}

.glass-nav .nav-link:hover .nav-icon {
  transform: scale(1.1);
}

.glass-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--logo-blue);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.glass-nav .nav-link:hover::after, .glass-nav .nav-link.active::after {
  width: 100%;
}

/* Call to Action Button */
.btn-cta {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(250, 130, 49, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 130, 49, 0.6);
  color: #fff;
}

.login-link {
  transition: opacity 0.2s;
}
.login-link:hover {
  opacity: 0.8;
}

/* Main Content Area */
.main-content {
  min-height: calc(100vh - 160px);
}

/* Modern Footer */
.footer-modern {
  background-color: var(--secondary-bg);
  border-top: 1px solid var(--glass-border);
}

.footer-modern a:hover {
  color: var(--accent-orange) !important;
}

.hover-white:hover {
  color: #ffffff !important;
  transition: color 0.2s ease-in-out;
}

/* Hero Section styles */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #0d75db; /* Bright blue base matching image */
    background: linear-gradient(135deg, #0d75db 0%, #064c99 100%);
}

.hero-bg-accent {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.text-primary-accent {
    color: var(--accent-orange) !important;
}

.hero-bullets li {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.hero-bullets .text-primary-accent {
    font-size: 1.25rem;
}

.btn-get-started {
    background: linear-gradient(180deg, #ff9f43 0%, #fa8231 100%);
    color: #fff !important;
    border: 2px solid #eb7a2b;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    letter-spacing: 0.5px;
}

.btn-get-started:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 130, 49, 0.5) !important;
    background: linear-gradient(180deg, #ffa852 0%, #fb893b 100%);
}

.btn-arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 1rem;
    font-style: normal;
    background-color: rgba(255, 255, 255, 0.2);
}

.swiper-slide img {
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-orange);
}

/* Packages Section */
.packages-section {
    background-color: var(--secondary-bg);
}

.package-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.package-header {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    padding: 1.5rem;
    border-radius: 16px 16px 0 0;
}

.pro-header {
    background: linear-gradient(135deg, var(--accent-cyan), #0c968f);
}

.package-features {
    font-size: 1.1rem;
    color: var(--text-main);
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Download Page Styles */
.download-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.feature-box:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.requirements-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* FAQ Page Styles */
.faq-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
}

.faq-category-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-category-header h4 {
    color: #fff;
}

.collapse-toggle {
    color: var(--accent-orange);
    font-size: 0.875rem;
    cursor: pointer;
}

.collapse-toggle:hover {
    text-decoration: underline;
}

.accordion-item {
    background: transparent;
    border: none;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

.accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 500;
    padding: 1rem 1.25rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--accent-orange);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(67%) sepia(67%) saturate(2000%) hue-rotate(347deg) brightness(100%) contrast(96%);
}

.accordion-collapse {
    background: transparent;
}

.accordion-body {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1.25rem 1rem 1.25rem;
    line-height: 1.7;
}

.accordion-body a {
    color: var(--accent-orange);
    text-decoration: underline;
}

.accordion-body a:hover {
    color: #fff;
}

.accordion-body code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #e2e8f0;
}

/* Business Page Styles */
.business-features li {
    font-size: 1.1rem;
    color: #e2e8f0;
}

.business-placeholder {
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.placeholder-laptop {
    background: linear-gradient(180deg, #d1d5db 0%, #9ca3af 100%);
    border-radius: 12px 12px 0 0;
    padding: 15px 15px 30px 15px;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.placeholder-screen {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.success-icon span {
    font-size: 2.5rem !important;
}

/* Contact Page Styles */
.contact-info-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #e2e8f0;
    line-height: 1.7;
}

.contact-form-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.contact-form-box .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #fff;
}

.contact-form-box .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(250, 130, 49, 0.2);
    color: #fff;
}

.contact-form-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form-box .input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form-box .input-group .form-control {
    border-left: none;
}

.contact-form-box .input-group:focus-within .input-group-text {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form-box .form-icon {
    font-style: normal;
    font-size: 1rem;
}

.contact-form-box textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-box .invalid-feedback {
    display: none;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-form-box .is-invalid {
    border-color: #f87171 !important;
}

.contact-form-box .g-recaptcha {
    display: inline-block;
}

.contact-email-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #e2e8f0;
}

.contact-form-box .alert {
    border-radius: 8px;
}

.contact-form-box .alert-success {
    background-color: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.contact-form-box .alert-danger {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* Auth Pages Styles */
.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-card .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.auth-card .form-control {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
}

.auth-card .form-control:focus {
    border-color: var(--logo-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 88, 161, 0.15);
}

.auth-card .input-group .form-control {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.auth-card .input-group-text {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    color: #64748b;
    border-radius: 8px 0 0 8px;
}

.auth-card .input-group:focus-within .input-group-text {
    border-color: var(--logo-blue);
}

.auth-card .input-group .btn-outline-secondary {
    border: 1px solid #e2e8f0;
    border-left: none;
    color: #64748b;
    border-radius: 0 8px 8px 0;
}

.auth-card .input-group .btn-outline-secondary:hover {
    background: #f1f5f9;
    color: #374151;
}

.auth-card .input-group:focus-within .btn-outline-secondary {
    border-color: var(--logo-blue);
}

.auth-card .invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.auth-card .is-invalid {
    border-color: #dc3545 !important;
}

.auth-card .is-invalid ~ .input-group-text,
.auth-card .input-group:has(.is-invalid) .input-group-text {
    border-color: #dc3545 !important;
}

.auth-card .form-check-input:checked {
    background-color: var(--logo-blue);
    border-color: var(--logo-blue);
}

.auth-card .alert {
    border-radius: 8px;
    font-size: 0.9rem;
}

.text-primary-link {
    color: var(--logo-blue);
    text-decoration: none;
}

.text-primary-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* About Page Styles */
.about-section {
    max-width: 900px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 900px;
}

.legal-section p,
.legal-section li {
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 1rem;
}

.legal-heading {
    color: var(--accent-orange);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-section h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    padding-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}