
@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: 60px;
}

.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;
}

.video-background-container {
    position: relative;
    height: 100vh; /* Example: make the div fill the viewport height */
    overflow: hidden; /* Hide any overflowing parts of the video */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire area without distortion */
    z-index: -1; /* Puts the video in the background */
}

.content-overlay {
    position: absolute; /* Positions the overlay relative to the container */
    top: 100px;             /* Aligns the overlay to the top edge of the container */
    left: 0;            /* Aligns the overlay to the left edge of the container */
    width: 100%;        /* Makes the overlay span the full width of the container */
    height: 30%;       /* Makes the overlay span the full height of the container */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background for readability */
    color: white;       /* Optional: sets text color */
    display: flex;      /* Optional: use flexbox to center content */
    justify-content: center; /* Optional: center content horizontally */
    align-items: center;     /* Optional: center content vertically */
    flex-direction: column;  /* Optional: stack content vertically */
    z-index: 10;        /* Ensures the overlay is stacked above the vi */
}

/* --- Hero Section: Asymmetric Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-mockup {
    background: linear-gradient(135deg, var(--primary-soft) 0%, #fff 100%);
    padding: 20px;
    border-radius: var(--radius);
    position: relative;
}

.hero-mockup img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
}

/* --- Feature Layout: Alternating --- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 100px 0;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse .text-content { direction: ltr; }

.feature-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.feature-row h2 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: -1px; }

.visual-box {
    background: var(--white);
    height: 400px;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 1px solid #f1f5f9;
}

/* --- Responsive Design --- */
@media (max-width: 968px) {
    .hero, .feature-row { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content p { margin: 0 auto 40px; }
    .feature-row.reverse { direction: ltr; }
    .nav-links { display: none; }
}