/* Basic Reset and Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 20px 40px;
    position: relative;
    z-index: 1000;
    font-size: 40px;
}

.logo-text {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 100;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-links a {
   font-size: 20px;
}

.nav-item, .dropbtn {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item:hover, .dropbtn:hover {
    color: #e30613;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3e3e3e;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #e30613;
}

.dropdown:hover .dropdown-content, .dropdown.active .dropdown-content {
    display: block;
}

/* Notification Bar */
.notification-bar {
    background-color: #e30613;
    color: white;
    padding: 8px 0;
    font-size: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 150px;
    padding-left: 100%; /* Start off-screen */
    animation: ticker-move 60s linear infinite;
}

/* New animation keyframes */
@keyframes ticker-move {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-200%); /* Adjust to move both content blocks */
    }
}

/* Pause animation on hover */
.notification-bar:hover .ticker-content {
    animation-play-state: paused;
}

/* Main Content and Hero Section */
/* Main Content and Hero Section */
.main-content {
    position: relative;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.hero-section {
    flex-grow: 1;
    position: relative;
    overflow: hidden; /* Ensure video doesn't overflow */
}

.hero-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; /* Place video behind overlay */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensure video covers the entire area */
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 40px;
    position: relative; /* Ensure overlay is above video */
    z-index: 2; /* Place overlay above video */
}

.hero-text {
    color: white;
    max-width: 600px;
    position: relative; /* Ensure text is above overlay */
    z-index: 3;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: #e30613;
}

.service-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-item {
    font-size: 18px;
    color: white;
    font-weight: 500;
}

/* Responsive CSS for Main Content and Hero Section */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        height: auto;
    }
    
    .hero-section {
        height: 500px; /* Set a fixed height for hero on mobile */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .service-list {
        justify-content: center;
    }
    
    .track-card-container {
        position: static;
        transform: none;
        width: 100%;
        padding: 20px;
        box-shadow: none;
    }

    .track-card {
        padding: 20px;
        margin-top: -80px;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-overlay {
        padding-left: 15px;
    }
}
/* Track Card Container */
.track-card-container {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
    width: 400px;
}

/* Track Card */
.track-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.track-card-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    position: relative;
    transition: color 0.3s ease;
}

.tab-item.active {
    color: #e30613;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e30613;
}

.track-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.tracking-options {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #e3e3e3;
    margin-bottom: 20px;
}

.track-option {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #888;
    position: relative;
    transition: color 0.3s ease;
}

.track-option.active {
    color: #e30613;
}

.track-option.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e30613;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

#tracking-input {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.otp-button {
    background-color: #e30613;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.otp-button:hover {
    background-color: #b30510;
}

.app-downloads {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.app-downloads p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.app-button:hover {
    background-color: #555;
}
/* Updated Stats Section */
.stats-section {
    padding: 80px 40px;
    background-color: #f7f7f7;
    position: relative;
    overflow: hidden;
}

/* Background wave line */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path fill="none" stroke="%23ddd" stroke-width="2" d="M0,50 C250,100 750,0 1000,50 L1000,100 L0,100 Z" stroke-dasharray="8,8"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
}

.stats-header {
    margin-bottom: 60px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative; /* Ensure the header is above the background line */
    z-index: 2;
}

.stats-header h2 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.stats-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    flex-wrap: wrap;
    z-index: 2; /* Ensure the stats are above the background line */
}

.stat-item {
    position: relative;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    width: 220px; /* Adjust width to match the new design */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* Red lines at the top and bottom of each card */
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #e30613;
    border-radius: 8px 8px 0 0;
}

/* Icon Container */
.stat-icon-container {
    background-color: #f7f7f7; /* Background color for the icon circle */
    border: 1px solid #ddd;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.stat-icon {
    font-size: 36px;
    color: #e30613;
}

.stat-value {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-description {
    font-size: 16px;
    color: #555;
    text-align: center;
    font-weight: 500;
}

/* Responsive CSS */
@media (max-width: 768px) {
    .stats-section {
        padding: 40px 20px;
    }
    
    .stats-header {
        text-align: center;
        margin: 0 auto 40px;
    }
    
    .stats-header h1 {
        font-size: 32px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
}

/* New Section: Services Grid */
.services-section {
    padding: 80px 40px;
    background-color: #f7f7f7;
}

.services-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.services-header-column {
    padding-top: 20px;
}

.services-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background-color: #e30613;
}

.services-cards-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.services-card:hover {
    transform: translateY(-5px);
}

.card-image-container {
    position: relative;
    height: 180px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.card-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.card-description {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.card-description p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.know-more {
    display: inline-flex;
    align-items: center;
    color: #e30613;
    font-weight: 500;
    text-decoration: none;
    margin-top: 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.know-more i {
    margin-left: 8px;
}

.know-more:hover {
    color: #c90510;
}

/* New Section: Call to Action */
.cta-section {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 10px;
}

.cta-content h2 strong {
    font-weight: 700;
}

.cta-content p {
    font-size: 16px;
    font-weight: 400;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    background-color: white;
    color: #1a1a1a;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #e30613;
    color: white;
}

/* New Section: Footer */
.site-footer {
    background-color: #f8f8f8;
    padding: 60px 40px;
    font-family: 'Roboto', sans-serif;
}

.footer-top {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text {
    color: #000;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-meta p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.footer-links-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #e30613;
}

/* ------------------------------------- */
/* ----------- RESPONSIVE CSS ---------- */
/* ------------------------------------- */

@media (max-width: 1024px) {
    /* Navbar */
    .nav-links {
        gap: 15px;
    }
    
    /* Stats Section */
    .stats-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .stats-container::before {
        display: none;
    }

    .stat-item {
        width: 150px;
    }

    .stat-value {
        font-size: 32px;
    }

    /* Services Section */
    .services-content-wrapper {
        grid-template-columns: 1fr;
    }

    .services-header-column {
        text-align: center;
        padding-top: 0;
    }

    .services-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .services-cards-column {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer Section */
    .footer-links-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Main Content */
    .main-content {
        flex-direction: column;
        height: auto;
    }
    
    .hero-section {
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .service-list {
        justify-content: center;
    }
    
    .track-card-container {
        position: static;
        transform: none;
        width: 100%;
        padding: 20px;
        box-shadow: none;
    }

    .track-card {
        padding: 20px;
        margin-top: -80px;
        position: relative;
        z-index: 20;
    }

    /* Navbar */
    .navbar {
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #2b2b2b;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #3e3e3e;
    }

    .nav-item.dropdown .dropbtn {
        display: block;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 0;
        background-color: #444;
        box-shadow: none;
        border-radius: 0;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    /* Stats Section */
    .stats-header {
        text-align: center;
    }

    .stats-header h1 {
        font-size: 32px;
    }

    /* CTA Section */
    .cta-content h2 {
        font-size: 28px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Services Section */
    .services-cards-column {
        grid-template-columns: 1fr;
    }

    /* Footer Section */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .footer-links-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    /* General */
    .navbar, .notification-bar, .stats-section, .services-section, .cta-section, .site-footer {
        padding: 10px 15px;
    }
    
    /* Hero Section */
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-overlay {
        padding-left: 15px;
    }

    /* Stats Section */
    .stats-header {
        padding: 0 15px;
    }
    
    .stats-header h1 {
        font-size: 32px;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .stat-item {
        width: 100%;
    }
    
    /* Services Section */
    .services-cards-column {
        grid-template-columns: 1fr;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 24px;
    }
    
    /* Footer Section */
    .footer-links-container {
        grid-template-columns: 1fr;
    }
}

/* Solutions Section */
.solutions-section {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 40px;
}

.solutions-header-container {
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 3px solid #e30613;
    display: inline-block;
}

.solutions-title {
    font-size: 36px;
    font-weight: 700;
}

.solutions-container {
    display: flex;
    gap: 40px;
}

.solution-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.solution-icon-container {
    width: 60px;
    height: 60px;
    background-color: #e30613;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.solution-icon-container i {
    color: white;
    font-size: 30px;
}

.solution-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.solution-card p {
    font-size: 16px;
    color: #b0b0b0;
}

/* Responsive CSS for Solutions Section */
@media (max-width: 768px) {
    .solutions-section {
        padding: 40px 20px;
        text-align: center;
    }
    
    .solutions-header-container {
        border-bottom: none;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .solutions-title {
        font-size: 28px;
        display: block;
        position: relative;
        padding-bottom: 10px;
    }
    
    .solutions-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: #e30613;
    }

    .solutions-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .solution-card {
        align-items: center;
    }
}

/* Popup Styles */
       
        /* Base styles for the popup container */
        .popup-container {
            display: none; /* Hide the popup by default */
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent overlay */
            backdrop-filter: blur(5px);
            justify-content: center;
            align-items: center;
        }
        /* Styles for the popup's content box */
        .popup-content {
            background-color: #fff;
            padding: 40px;
            border-radius: 10px;
            max-width: 500px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: fadeIn 0.5s ease-in-out;
            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

        }
        /* Close button style */
        .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            color: #888;
            
        }
        .popup-close:hover {
            color: #333;
        }
        /* Title and message text styles */
        .popup-title {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #333;
        }
        .popup-message {
            font-size: 1rem;
            color: #666;
            margin-bottom: 20px;
            font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        }
        /* Button styles */
        .popup-actions {
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        .btn-primary, .btn-secondary {
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            text-transform: uppercase;
            transition: transform 0.2s;
        }
        .btn-primary {
            background-color: #dc3545; /* Red color from the image */
            color: #fff;
        }
        .btn-secondary {
            background-color: #f0f0f0; /* Light gray color */
            color: #333;
        }
        .btn-primary:hover, .btn-secondary:hover {
            transform: translateY(-2px);
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .popup-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Floating chat button hover effect */
#open-chat-btn:hover {
    background: #b71c1c;
}

/* Chat popup scrollbar styling */
#chat-popup::-webkit-scrollbar,
#chat-section::-webkit-scrollbar,
#chat-admin-list::-webkit-scrollbar {
    width: 6px;
    background: #f1f1f1;
}
#chat-popup::-webkit-scrollbar-thumb,
#chat-section::-webkit-scrollbar-thumb,
#chat-admin-list::-webkit-scrollbar-thumb {
    background: #e53935;
    border-radius: 6px;
}