/* Mobile-first layout: vertical stack */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.hero-content,
.hero-image {
    width: 100%;
    padding: 1rem 0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-buttons a {
    width: 100%;
    text-align: center;
}

@media (max-width: 767.98px) {
    .btn {
        font-size: 1rem;
        padding: 12px 16px;
    }
}

/* Desktop layout: image on right, content on left */
@media (min-width: 768px) {
    .hero-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 4rem;
    }

    .hero-content,
    .hero-image {
        width: 48%;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero-buttons a {
        width: auto;
        min-width: 150px;
    }

    .hero-buttons a+a {
        margin-left: 1rem;
    }
}

.rating-wrapper {
    flex-wrap: nowrap !important;
    /* no wrapping */
    gap: 1.5rem;
}

.rating-box {
    flex-shrink: 1;
    /* allow shrinking */
    min-width: 80px;
    /* minimum width for readability */
    text-align: center;
    min-width: 100px;
    padding: 10px 20px;
}

.rating-box img {
    height: 35px;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 1;
}

/* Scale down on small screens */
@media (max-width: 576px) {
    .rating-box img {
        height: 25px;
    }

    .rating {
        font-size: 13px;
    }

    .rating-box {
        min-width: 60px;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    /* color: #334053; */
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(180deg,rgba(220, 244, 247, 0.8) 0%,rgba(220, 244, 247, 0.3) 100%);
    border: 1px solid rgba(57, 183, 215, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(57, 183, 215, 0.15);
    border-color: rgba(57, 183, 215, 0.3);
}

/* Feature Images */
.feature-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
    border-radius: 10px;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* Feature Content */
.feature-title {
    /* color: #2c3e50; */
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.feature-description {
    /* color: #5a6c7d; */
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Learn More Button */
.learn-more-btn {
    background: #fff;
    color: #148899;
    border: none;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #148899;
}

.learn-more-btn:hover {
    background: #148899;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(20, 136, 153, 0.3);
}

.learn-more-btn i {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(3px);
}

.btn-gradient {
    background: linear-gradient(90deg, #009644 0%, #18adc0 100%);
    color: #fff;
    border: none;
    padding: 8px 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 150, 68, 0.3);
    text-decoration: none;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .feature-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .py-5 {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .feature-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .feature-image {
        height: 160px;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-image {
        height: 140px;
    }

    .learn-more-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Bootstrap Grid Spacing */

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

/* Main Classes Used in HTML */
.main-title {
    /* color: #2c3e50; */
    color: #4a5568;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.section-bg {
    background: linear-gradient(to bottom,rgba(226, 246, 205, 0.6) 0%,rgba(226, 246, 205, 0.3) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.camera-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.feature-title {
    /* color: #34495e; */
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    /* color: #7f8c8d; */
    color: #6c757d;
    line-height: 1.6;
}

/* Media Queries for the classes used in HTML */
@media (max-width: 768px) {
    .camera-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .camera-view i {
        font-size: 1.5rem;
    }

    .camera-view.large i {
        font-size: 2rem;
    }

    .section-bg {
        padding: 1.5rem;
        margin: 15px;
    }
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 1rem 0;
}

/* Feature Card Styling */
.feature-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.feature-icon i {
    font-size: 2rem;
    color: #0d6efd;
    /* Bootstrap Primary Blue */
}

/* Responsive Typography */
@media (max-width: 576px) {
    .feature-card {
        padding: 1rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.95rem;
    }
}

/* Platform Section Classes */
.platform-tag {
    /* display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334053;
    background: #ffffff;
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    z-index: 1; */


    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    color: #334053;
    background: #fff;
    z-index: 0;
    /* border: none;  */
}

.platform-tag::before {
    /* content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 30px;
    padding: 1px; 
    background: linear-gradient(to right, #00c96b, #00b5e2);
    --webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
     mask-composite: exclude; */

    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background: linear-gradient(to right, #00c96b, #00b5e2);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    z-index: 1;
}

.platform-tag i {
    color: #00c96b;
    font-size: 1.2rem;
    margin-right: 6px;
}

.section-title {
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.feature-card {
    background: linear-gradient(180deg,rgba(220, 244, 247, 0.8) 0%,rgba(220, 244, 247, 0.3) 100%);
    border: 1px solid rgba(57, 183, 215, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(57, 183, 215, 0.15);
    border-color: rgba(57, 183, 215, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.562);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(57, 183, 215, 0.3);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #39b7d7;
}

.card-title {
    font-weight: 600;
    /* color: #334053; */
    color: #4a5568;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card-text {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.cta-buttons {
    margin-top: 3rem;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gradient {
    background: linear-gradient(to right, #00c96b, #00b5e2);
    color: #fff;
    border: none;
}

.btn-custom-order {
    background-color: #e5f6fb;
    color: #004b5a;
    border: none;
}

.unordered-list-content {
    color: #5c6675;
}

/* Media Queries for Platform Section */
@media (max-width: 576px) {
    .platform-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .platform-tag i {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column !important;
    }

    .cta-buttons a {
        width: 100%;
        margin-bottom: 10px;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
    }

    .cta-buttons .ms-3 {
        margin-left: 0 !important;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon i {
        font-size: 1.2rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .mx-4 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .d-flex {
        text-align: center;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1.4rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Main Content Section Classes */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-content img {
    width: 100%;
    height: auto;
}

.text-section {
    width: 42%;
}

.card-text:last-child {
    margin-bottom: 0;
    /* color: #5c6675; */
    color: #6c757d;
}

/* Media Queries for Main Content Section */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        text-align: center;
    }

    .text-section {
        width: 100%;
        margin-bottom: 2rem;
    }
}

.vehicle-tracking-wrapper {
    background-color: #ffffff;
    padding: 60px 0;
}

.main-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.primary-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    /* color: #2c3e50; */
    color: #4a5568;
    margin-bottom: 20px;
}

.section-description-text {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.individual-device-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-image-container {
    text-align: center;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.device-info-section {
    padding: 10px 25px;
}

.device-model-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 5px;
}

.device-category-label {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.expandable-content-section {
    border-top: 1px solid #ecf0f1;
    margin-top: 15px;
}

.collapsible-item-wrapper {
    border-bottom: 1px solid #ecf0f1;
}

.section-toggle-button {
    width: 100%;
    padding: 15px 0;
    background: none;
    border: none;
    text-align: left;
    font-weight: 500;
    /* color: #34495e; */
    color: #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.section-toggle-button:hover {
    color: #2980b9;
}

.toggle-icon-element {
    transition: transform 0.3s ease;
}

.section-toggle-button[aria-expanded="true"] .toggle-icon-element {
    transform: rotate(180deg);
}

.collapsible-content-area {
    padding: 0 0 15px 0;
    color: #6c757d;
}

.feature-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-container li {
    padding: 5px 0;
    color: #5d6d7e;
    position: relative;
    padding-left: 20px;
}

.feature-list-container li:before {
    content: "•";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.action-buttons-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: nowrap;
}

.primary-action-btn {
    background: linear-gradient(to right, #009644, #18adc0);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-action-btn:hover {
    background-color: #219a52;
}

.secondary-action-btn {
    background-color: #e4fbfe;
    color: #148899;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* .secondary-action-btn:hover {
    background-color: #2980b9;
} */

.tertiary-action-btn {
    background-color: #e4fbfe;
    color: #148899;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tertiary-action-btn:hover {
    background-color: #7f8c8d;
}

@media (max-width: 768px) {
    .primary-section-title {
        font-size: 2rem;
    }

    .action-buttons-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .vehicle-tracking-wrapper {
        padding: 40px 0;
    }

    .primary-section-title {
        font-size: 1.8rem;
    }

    .section-description-text {
        font-size: 1rem;
    }

    .device-info-section {
        padding: 20px;
    }
}



@media (min-width: 850px) {
    .modal-dialog {
        width: 800px;
        max-width: 800px;
        margin: 30px auto;
    }
}

.modaltitlecus {
    font-size: 30px !important;
    font-family: "Inter", sans-serif;
    font-weight: 800 !important;
    color: #000 !important;
}

.modalname {
    font-size: 17px !important;
    font-family: "Inter", sans-serif;
    color: #000 !important;
}

.modalpara {
    font-size: 15px !important;
    font-family: "Inter", sans-serif;
    font-weight: 500 !important;
    color: #000 !important;
}

.boxsection {
    background-color: #efefef;
    border: solid 15px #fff;
    border-radius: 20px;
    padding: 15px;
}

.modalboxhead {
    font-size: 15px !important;
    font-family: "Inter", sans-serif;
    font-weight: 800 !important;
    color: #333 !important;
}

.modalboxpara {
    color: #6b6b6b !important;
    font-size: 12px !important;
    font-family: "Inter", sans-serif;
    font-weight: 500 !important;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#myModalBtn .modal-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 92px;
}

#myModalBtn .close,
#myModalDashcam .close {
    margin-top: 0 !important;
    margin-right: 0px;
}

#myModalBtn .modal-body {
    margin-left: 0px !important;
}

#myModalBtn .img_popup {
    width: 100%;
    margin-top: 31%;
}

#myModalBtn .popup-box {
    background-color: #f4ef94;
}

.formwidth {
    margin-left: auto;
    margin-right: auto;
    width: 88%;
}

.form_head1 {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 3px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 21px;
    text-align: center;
    line-height: 27px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
}

.contactform {
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    font-family: "Inter", sans-serif;
    font-size: 15px !important;
    color: #000 !important;
    height: 50px;
    font-weight: 500;
    padding: 0 10px;
}

.modal-body p {
    font-weight: 500;
    color: #666;
    margin: 0;
}

.custom-close:hover {
    color: #000 !important;
    opacity: 1;
}

.custom-close:hover {
    color: #ff0000 !important;
    opacity: 1;
}

.custom-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    opacity: 1;
    border: none;
    font-size: 24px;
    color: #ff0000;
    cursor: pointer;
    font-weight: 900;
    color: #ff0000;
}

@media (max-widtH: 767px) {
    .custom-close {
        position: absolute;
        top: 0;
        right: 0;
    }

    .hero-right-container::before {
        width: 100%;
    }

    .box.arrow-left:after {
        content: " ";
        position: absolute;
        left: -18px;
        /* top: 0; */
        bottom: 42%;
        border-top: 20px solid transparent;
        border-right: 20px solid #1fa0d6;
        border-left: none;
        border-bottom: 20px solid transparent;
    }
}


.contact-custom-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    font-weight: 900;
    color: #000;
    opacity: 1;
    text-shadow: 0 0 transparent;
}

.sideMainpara {
    font-family: "Inter", sans-serif;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000 !important;
}

.box {
    background-color: #1fa0d6;
    /* height: 100%; */
    padding: 20px;
}

.box.arrow-left:after {
    content: " ";
    position: absolute;
    left: 48%;
    top: 25px;
    border-top: 20px solid transparent;
    border-right: 20px solid #1fa0d6;
    border-left: none;
    border-bottom: 20px solid transparent;
}

.feedback-input {
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent !important;
    border: 1px solid #fff;
    transition: .3s;
    padding: 13px;
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 100%;
    outline: 0;
}

.sendEmail {
    width: 100%;
    background: #fff;
    border-radius: 50px !important;
    border: 0;
    color: #000;
    font-size: 20px;
    transition: .3s;
    margin-top: -4px;
}