/* --- Optimized and updated CSS for final index.php --- */

body {
    margin: 0;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
    background-color: #f4f7fa;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #1a2526, #2c3e50);
    color: #ffffff;
    padding: 12px 20px;
    position: relative;
    z-index: 1000;
}
.social-icons a {
    color: #ffffff;
    margin-right: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
    color: #00aaff;
    transform: scale(1.2);
}
.contact-info {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
}
.login-btn {
    background: #00aaff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}
.login-btn svg {
    margin-right: 8px;
    fill: #ffffff;
}
.login-btn:hover {
    background: #0088cc;
    transform: translateY(-2px);
}

/* Header/Nav */
.header {
    background: #ffffff;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: background 0.3s ease;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
}
.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}
.nav-link {
    color: #1a2526 !important;
    font-weight: 500;
    padding: 10px 15px !important;
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #00aaff;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: #00aaff !important;
}

/* Hero Section */
.hero {
    background: url('images/background-img-pictor-telematics.png') no-repeat center/cover;
    color: #ffffff;
    padding: 100px 20px;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}
.hero-btn {
    background: #00aaff;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    margin-right: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.hero-btn svg {
    margin-right: 8px;
    fill: #ffffff;
}
.hero-btn:hover {
    background: #0088cc;
    transform: translateY(-3px);
}
.no-underline {
    text-decoration: none !important;
}

/* Section Titles */
.choose-elocks-title {
    color: #161F2D;
    font-family: 'Jost', sans-serif;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #004080;
}
.final-cta-title {
    font-weight: 700;
    color: #ffffff;
}
.final-cta-desc {
    font-size: 1rem;
    color: #ffffff;
}

/* Cards */
.card-img-elock {
    max-width: 200px;
}
.card-title-elock {
    color: #161F2D;
    font-family: 'Jost', sans-serif;
}
.card-text-elock {
    color: #6c757d;
    font-family: 'Jost', sans-serif;
}
.get-quote-btn {
    background-color: #004080;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    transition: background 0.3s;
}
.get-quote-btn:hover {
    background-color: #00264d;
    color: #fff;
}

/* App Section */
.app-section {
    background: #111;
    color: #fff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.app-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}
.app-section p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #ffffff;
}
.feature-card {
    background: #ffffff;
    color: #1a2526;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.feature-card img, .feature-card svg {
    margin-bottom: 10px;
    width: 30px;
    height: 30px;
}
.feature-card h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #1a2526;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.app-btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    text-transform: uppercase;
    border: none;
}
.app-btn.request {
    background: #ff4d4d;
    color: #ffffff;
}
.app-btn.request:hover {
    background: #e04343;
    transform: translateY(-3px);
}
.app-btn.pricing {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.app-btn.pricing:hover {
    background: #ffffff;
    color: #1a2526;
    transform: translateY(-3px);
}
.app-btn svg {
    margin-right: 8px;
    fill: currentColor;
}
.phone-mockup {
    max-width: 100%;
    height: auto;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s;
}
.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Final CTA Section */
.final-cta-section {
    background: #161F2D;
    color: #ffffff;
    padding: 40px 20px;
}
.ask-expert-btn {
    background: #ff4d4d;
    color: #ffffff;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 10px;
    border: none;
    transition: background 0.3s;
}
.ask-expert-btn:hover {
    background: #e04343;
    color: #fff;
}
.get-dealership-btn {
    background: #004080;
    color: #ffffff;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: background 0.3s;
}
.get-dealership-btn:hover {
    background: #00264d;
    color: #fff;
}

/* Section */
.Section {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
}
.Section:nth-child(odd) {
    background: #f4f7fa;
}
.Section img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.5s;
}
.Section img:hover {
    transform: scale(1.03);
}

/* About Us, Stats, Trust */
.about-us {
    padding: 80px 20px;
    background: #ffffff;
}
.stats-section {
    background: #1a2526;
    color: #ffffff;
    padding: 50px 0;
    border-radius: 15px;
    margin-bottom: 50px;
}
.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}
.stat-item p {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ffffff;
}
.custom-section {
    padding: 80px 20px;
    background: #ffffff;
}
.custom-section:nth-child(even) {
    background: #f4f7fa;
}
.custom-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a2526;
    text-align: center;
    margin-bottom: 40px;
}
.trust-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.trust-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2526;
    margin-bottom: 10px;
}
.trust-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}
.trust-card svg {
    fill: #00aaff;
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

/* Partner Section */
.partner-section {
    padding: 60px 20px;
    background: #ffffff;
}
.partner-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a2526;
    text-align: center;
    margin-bottom: 40px;
}
.partner-marquee {
    overflow: hidden;
    position: relative;
}
.partner-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.partner-track:hover {
    animation-play-state: paused;
}
.partner-row {
    display: flex;
    align-items: center;
}
.partner-row img {
    height: 60px;
    margin: 0 30px;
    opacity: 0.7;
    transition: all 0.3s;
}
.partner-row img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 20px;
    background: #1a2526;
}
.testimonial-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
}
.testimonial-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #004080;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}
.testimonial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}
.play-overlay:hover {
    background: rgba(0,0,0,0.4);
}
.play-overlay svg {
    fill: #ff4d4d;
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}
.play-overlay:hover svg {
    transform: scale(1.1);
}
.testimonial-info {
    padding: 15px;
}
.testimonial-info h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}
.testimonial-info p {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: #E4EDF4;
    padding: 60px 20px;
}
.cta-section .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #004080;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #1a2526;
    padding: 40px 20px;
    text-align: center;
}
.footer a {
    color: #00aaff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}
.footer a:hover {
    color: #0088cc;
}
.footer p {
    margin: 10px 0 0;
    font-size: 0.9rem;
    font-weight: 300;
    color: #1a2526;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .app-section h2 { font-size: 2.2rem; }
    .feature-card { width: 100px; height: 100px; }
    .testimonial-card img { height: 150px; }
    .partner-row img { height: 50px; margin: 0 20px; }
    .custom-section h2 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .hero { min-height: 600px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .contact-info { text-align: center; margin-top: 15px; }
    .social-icons { text-align: center; margin-bottom: 15px; }
    .app-section { text-align: center; }
    .app-section img { max-width: 300px; margin: 0 auto 30px; }
    .feature-card { margin-bottom: 20px; width: 120px; height: 120px; }
    .app-btn { margin-bottom: 10px; }
    .testimonial-card { margin-bottom: 30px; }
    .testimonial-card img { height: 200px; }
    .partner-row img { height: 40px; margin: 0 15px; }
    .achievement-card, .trust-card { margin-bottom: 20px; }
}
@media (max-width: 576px) {
    .hero {
        padding: 40px 10px !important;
        min-height: 350px !important;
        text-align: center !important;
        display: block !important;
    }
    .hero-content {
        padding: 0 !important;
    }
    .hero h1 {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    .hero-btn {
        width: 100% !important;
        padding: 14px 0 !important;
        font-size: 1rem !important;
        border-radius: 30px !important;
        margin-right: 0 !important;
        margin-top: 12px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .no-underline {
        width: 100% !important;
        display: block !important;
    }
    .hero-btn {
        width: 100% !important;
        padding: 14px 0 !important;
        font-size: 1rem !important;
        border-radius: 30px !important;
        margin-right: 0 !important;
        margin-top: 12px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .stat-item h3 { font-size: 2rem; }
    .about-content h2 { font-size: 2rem; }
    .app-section h2 { font-size: 1.8rem; }
    .feature-card { width: 100px; height: 100px; }
    .partner-section h2 { font-size: 2rem; }
    .testimonial-section h2 { font-size: 2rem; }
    .custom-section h2 { font-size: 1.8rem; }
    .footer a { display: block; margin: 10px 0; }
    .partner-row img { height: 30px; margin: 0 10px; }
}
        
          .bg-dark-gradient {
            background: linear-gradient(45deg, #1a1a1a, #333333);
        }
        .feature-card {
            background: #ffffff;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        .feature-card i {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #000000; /* Black icons as in the image */
        }
        .feature-card p {
            font-family: 'Open Sans', sans-serif;
            font-size: 0.9rem;
            margin: 0;
            color: #000000; /* Black font color for feature labels */
        }
        .phone-img {
            max-width: 100%;
            height: auto;
        }
        h1 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: #ffffff;
        }
        p.lead {
            font-family: 'Open Sans', sans-serif;
            color: #ffffff;
        }
        

/* --- Mobile Responsiveness Improvements --- */
@media (max-width: 576px) {
  body, html {
    overflow-x: hidden;
  }
  .container, .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Headings and text */
  h1, .hero h1, .cta-title, .final-cta-title, .custom-section h2, .partner-section h2, .testimonial-section h2 {
    font-size: 1.3rem !important;
    line-height: 1.2;
  }
  p, .final-cta-desc, .card-text-elock, .stat-item p, .trust-card p, .testimonial-info p {
    font-size: 0.95rem !important;
  }
  /* Cards and feature cards */
  .card, .feature-card, .card-body, .trust-card, .testimonial-card {
    width: 100% !important;
    min-width: unset !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: block !important;
    box-sizing: border-box;
  }
  .feature-card {
    margin-bottom: 10px !important;
    padding: 10px !important;
    height: auto !important;
  }
  .card-img-elock {
    max-width: 100% !important;
    height: auto !important;
  }
  /* App section feature cards flex */
  .app-section .d-flex.flex-wrap.gap-3 {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  /* Buttons */
  .btn, .app-btn, .get-quote-btn, .ask-expert-btn, .get-dealership-btn {
    width: 100% !important;
    min-width: unset !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: block !important;
    font-size: 1rem !important;
    padding: 12px 0 !important;
  }
  /* Forms */
  form, .form-control, input, select, textarea, button {
    width: 100% !important;
    box-sizing: border-box;
  }
  form.d-flex, .d-flex.flex-column.flex-sm-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  /* Images */
  img, .img-fluid {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Footer links */
  .footer a {
    display: block !important;
    margin: 10px 0 !important;
    text-align: left !important;
  }
  /* Section paddings */
  .hero, .Section, .about-us, .stats-section, .custom-section, .partner-section, .testimonial-section, .cta-section, .final-cta-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  /* Navigation */
  .navbar-nav {
    background: #fff;
    padding: 10px 0;
  }
  .navbar-collapse {
    background: #fff;
  }
  .navbar-toggler {
    margin-top: 10px;
  }
  /* Modal */
  .modal-content {
    padding: 10px !important;
  }
}
/* Remove horizontal scroll on all devices */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.floating-cta-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  padding: 20px 40px;
  border-radius: 30px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
}
.floating-cta-btn:hover {
  background-color: #128c7e;
  box-shadow: 0 6px 32px rgba(0,0,0,0.20);
}
        
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
  z-index: 9999;
  padding: 16px 0 8px 0;
}

.cta-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.cta-bar-content.centered-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-bar-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cta-bar-info.centered-info {
  text-align: center;
  width: 100%;
}

.cta-bar-amount, .cta-bar-items, .cta-bar-message {
  font-size: 1rem;
  color: #222;
}

.cta-bar-amount strong {
  color: #1976d2;
  font-size: 1.2rem;
}

.cta-bar-btn {
  background-color: #25d366;
  color: #fff !important;
  padding: 18px 36px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.cta-bar-btn:hover {
  background-color: #128c7e;
}
        
@media (max-width: 600px) {
  /* Navbar mobile optimization */
  .top-bar .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 10px 0 !important;
  }
  .social-icons {
    margin-bottom: 8px !important;
    width: 100%;
    justify-content: flex-start !important;
  }
  .contact-info {
    font-size: 13px !important;
    margin-bottom: 4px !important;
    width: 100%;
    text-align: left !important;
  }
  .logo {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 10px 0 !important;
  }
  .logo img {
    height: 40px !important;
    margin: 0 auto !important;
  }

  /* Hero section mobile optimization */
  .hero {
    padding: 32px 8px 16px 8px !important;
    min-height: unset !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background-position: center top !important;
  }
  .hero h1 {
    font-size: 1.1rem !important;
    margin-bottom: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }
  .hero-btn {
    width: 100% !important;
    padding: 12px 0 !important;
    font-size: 1rem !important;
    border-radius: 18px !important;
    margin: 0 0 18px 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10) !important;
  }
  .hero img, .hero .img-fluid {
    max-width: 90% !important;
    height: auto !important;
    margin: 0 auto 10px auto !important;
    display: block !important;
  }
}
        
.bulk-quote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  background: #25d366;
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 20px 36px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  text-decoration: none !important;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  max-width: 400px;
}

.bulk-quote-btn:hover {
  background: #128c7e;
  color: #fff !important;
}

@media (max-width: 600px) {
  .bulk-quote-btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 16px 0;
    border-radius: 14px;
    max-width: 100%;
  }
}
        








