h1, h2, h3, h4, h5, h6 {
    font-family: var(--primary-font);
}

p, li, a, span, div {
    font-family: var(--primary-font);
}

main {
    flex: 1 0 auto;
}
/* Hero Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 690px;
    background-image: url("https://nekinsan-admin.s3.ap-south-1.amazonaws.com/web_images/find_location_banner_13_oct.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide .content {
    display: flex;
    align-items: center;
    width: 100%;
}

.slide .text {
    flex: 1;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.3s;
    margin-left: 5rem;
    max-width: 600px;
}

.slide.active .text {
    opacity: 1;
    transform: translateY(0);
}

.slide .text h1 {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.slide .text h1 .highlight-s {
    color: #bf023f;
    font-size: 5rem;
}

.slide .text p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0;
    line-height: 1.3;
}

/* Find Location Section */
.location-content {
    padding-right: 2rem;
    text-align: left;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.find-location-section .feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.find-location-section .feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 208, 209, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: rgba(255, 0, 0, 1);
    font-size: 1.2rem;
    font-weight: bold;
}

.feature-text {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    text-align: left;
}

/* Visual Section */
.location-visual {
    text-align: center;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* CTA Button Section */
.cta-section {
    text-align: center;
    background: linear-gradient(89.76deg, #6886FF -4.67%, #55129D 21.48%, #8B1789 47.63%, #FF053C 99.93%);
}

.cta-container {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    width: 100%;
    position: relative;
}

.qr-image {
    border-radius: 10px;
    padding: 10px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code {
    width: 150px;
    height: auto;
}

.cta-button {
    background: white;
    color: black;
    border: none;
    width: 192px;
    height: 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    opacity: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: 3px solid white;
    outline-offset: 4px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.3);
    color: black;
    background: white;
    outline: 3px solid white;
    outline-offset: 4px;
}

/* Modal Styles */
.modal-header {
    background-color: #bf023f;
    color: white;
    border-bottom: none;
    border-radius: 0.5rem 0.5rem 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-weight: 700;
    font-size: 1.4rem;
}

.modal-body {
    padding: 1rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.required {
    color: #dc3545;
    margin-left: 2px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    height: auto;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(191, 2, 63, 0.15);
}

.form-control::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background-color: var(--primary-red);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(191, 2, 63, 0.3);
}

/* Steps Section */
.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.steps-header {
    text-align: center;
    margin-bottom: 50px;
}

.steps-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.steps-subtitle {
    font-size: 1.2rem;
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 0;
}

/* Desktop Horizontal Layout */
.steps-row {
    position: relative;
}

.steps-images {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 60px;
}

.step-image-container {
    flex: 1;
    text-align: center;
}

.step-image {
    width: 100%;
    max-width: 180px;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.connecting-line {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #bf023f);
    border-radius: 2px;
}

.steps-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.step-info {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 25px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545, #bf023f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    margin: 0 auto 15px auto;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 50px;
}

.step-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Hide vertical layout on desktop */
.vertical-steps {
    display: none;
}

/* Note Section */
.note {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px 20px;
    border-radius: 8px;
    color: #856404;
    font-size: 15px;
    line-height: 1.6;
    margin: 10px;
}

/* Images Section */
.images-section {
    margin: 20px 0;
}

.safety-bottom-image {
    text-align: center;
    margin-top: 20px;
}

.bottom-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.bottom-image:hover {
    transform: translateY(-5px);
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
   
    .location-content {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 3rem;
        text-align: center;
    }
    .demo-image {
    width: 100%;
    height: 200px;
    }
    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    /* Show vertical steps on mobile */
    .steps-images,
    .connecting-line,
    .steps-info {
        display: none !important;
    }

    .vertical-steps {
        display: block !important;
    }

    .vertical-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
        position: relative;
        background: white;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        margin-left: 40px;
    }

    .vertical-step:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .vertical-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: -40px;
        top: 25px;
        width: 3px;
        height: calc(100% + 40px);
        background: linear-gradient(180deg, #dc3545, #bf023f);
        z-index: 1;
    }

    .vertical-number {
        position: absolute;
        left: -65px;
        top: 0;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #dc3545, #bf023f);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.4rem;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        z-index: 2;
    }

    .vertical-image {
        width: 120px;
        height: 200px;
        object-fit: contain;
        border-radius: 8px;
        flex-shrink: 0;
        order: 2;
        align-self: center;
    }

    .vertical-content {
        flex: 1;
        order: 1;
    }

    .vertical-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .vertical-description {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .slide .text {
        margin-left: 2rem;
        max-width: 90%;
    }

    .slide .text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .slide .text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .section-description {
        font-size: 1rem;
    }
    .demo-image {
        height: 180px;
        }
    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-text {
        font-size: 1rem;
    }

    .cta-container {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 10px;
        gap: 20px;
    }

    .qr-image {
        margin: 0;
        padding: 5px;
        width: 80px;
        height: 80px;
    }

    .qr-code {
        width: 70px;
        height: auto;
    }

    .vertical-step {
        gap: 20px;
        padding: 15px;
    }

    .vertical-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .vertical-image {
        width: 100px;
        height: 180px;
    }

    .vertical-title {
        font-size: 1rem;
    }

    .vertical-description {
        font-size: 0.9rem;
    }

    .steps-title {
        font-size: 2rem;
    }

    .steps-subtitle {
        font-size: 1.1rem;
    }
}
 .demo-image {
   width: 100%;
   height: 320px;
   object-fit: fill;
   border-radius: 15px;
   box-shadow: 0px 3.99px 3.99px 0px rgba(0, 0, 0, 0.25);
   display: block;
   margin: 0 auto;
   }
   .tracking-demo {
   margin-top: 3rem;
   margin-bottom: 3rem;
   text-align: center;
   }
@media (max-width: 576px) {
    .hero-slider {
        height: 220px;
        width: 100%;
        position: relative;
        top: 0;
        background-image: url("https://nekinsan-admin.s3.ap-south-1.amazonaws.com/web_images/find_location_bannerM_13_oct.webp");
    }

    .slide .text {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .slide .text h1 {
        font-size: 2rem;
    }

    .slide .text p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .demo-image {
    height: 150px;
    object-fit: fill;
    }
    .find-location-section .feature-list {
        gap: 1rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 1rem;
    }

    .steps-container {
        padding: 0 15px;
    }

    .vertical-step {
        flex-direction: column;
        text-align: left;
        gap: 15px;
        margin-left: 50px;
    }

    .vertical-number {
        left: -60px;
    }

    .vertical-step:not(:last-child)::after {
        left: -38px;
        transform: translateX(-50%);
    }

    .vertical-image {
        width: 140px;
        height: 200px;
    }

    .steps-title {
        font-size: 1.8rem;
    }

    .steps-subtitle {
        font-size: 1rem;
    }
}