html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@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%;
}

body {
  margin-bottom: 0;
}

.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;
}

/* SysAudio JP Custom Styles */

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%),
        url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?w=1920&h=1080&fit=crop') center/cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    position: relative;
}

/* Hover Cards */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

/* Carousel Enhancements */
.carousel-item img {
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.carousel-item:hover img {
    filter: brightness(1);
}

.carousel-caption {
    padding: 1rem 2rem;
    border-radius: 10px;
}

/* Card Animations */
.card {
    transition: all 0.3s ease;
}

/* Stats Section */
.stat-item h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #adb5bd;
    font-size: 1rem;
    margin: 0;
}

/* Testimonial Cards */
.card-body p.fst-italic {
    color: #6c757d;
    line-height: 1.6;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .carousel-item img {
        height: 300px !important;
    }
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Text Enhancements */
h2 {
    font-weight: 700;
    color: #2d3748;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

section h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Footer Styles */
.footer {
    background-color: #212529 !important;
}

.footer .hover-link {
    transition: color 0.3s ease;
}

.footer .hover-link:hover {
    color: #667eea !important;
}

.text-light-emphasis {
    color: #dee2e6 !important;
}