/* ============================================
   CSS RESET & GLOBAL STYLES
   ============================================ */

/* CSS Variables */
:root {
  --bg: #fbfdff;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #2b6cb0;
  --radius: 10px;
  --container: 1400px;
  --primary-color: #06065D;
  --secondary-color: #5A5B93;
  --border-color: #d3d3d3;
  --hover-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Graphik LCG", verdana, arial, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  color: var(--primary-color);
}

.section {
  padding: 10px 0;
}

/* Center utility */
.center-this {
  text-align: center;
  color: var(--primary-color);
  font-weight: 500;
  padding: 50px 0;
  font-size: 30px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.brand span {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  font-size: 16px;
  margin-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Add blue background to contact button */
.main-nav a.btn {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  background-color: var(--accent);
  color: white !important;
  border-radius: 30px;
  padding: 8px 12px !important;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
  font-weight: 500;
}

.main-nav a.btn:hover {
  background-color: #1a5ca8;
  border-color: #1a5ca8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  color: var(--primary-color);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.cta .btn {
  margin: 10px 10px 10px 0;
}

/* ============================================
   CARD SYSTEM (Base Styles)
   ============================================ */

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px 0 20px;
}

/* Base card styles */
.card,
.card_stats,
.card_layer_01,
.stat-item,
.partner-card,
.philosophy-category {
  background: transparent;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  box-shadow: none;
  transition: all 0.3s ease;
  font-family: "Graphik LCG", verdana, arial, sans-serif;
}

/* Remove hover animation from the hero split card only */
.card_layer_01.card-split {
  transition: none;
}

.card_layer_01.card-split:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border-color);
}

/* But keep hover animation on buttons inside the card */
.card_layer_01.card-split .btn {
  transition: all 0.3s ease;
}

.card_layer_01.card-split .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.card_layer_01.card-split .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

/* Hover effect for ALL cards */
.card:hover,
.card_stats:hover,
.card_layer_01:hover,
.stat-item:hover,
.partner-card:hover,
.philosophy-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: #0066cc;
}

/* ============================================
   SPECIFIC CARD TYPES
   ============================================ */

/* Product Highlight Cards */
.card {
  padding: 18px;
  flex: 1 1 calc(33.333% - 26.66px);
  min-width: 350px;
  min-height: 250px;
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.5;
}

/* Only target product highlight card icons */
.card:not(.diverse-needs .card) img {
  width: 56px;
  height: 56px;
}

/* Stats Cards */
.card_stats {
  padding: 20px;
  flex: 1 1 calc(25% - 30px);
  min-width: 200px;
  min-height: 60px;
  background: #f0f2f9;
}

.card_stats h2 {
  font-size: 18px;
  line-height: 1.25;
  color: var(--primary-color);
  font-weight: 600;
}

.card_stats p {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.4;
  margin-top: 0.25rem;
  font-weight: 500;
  padding-top: 8px;
}

/* Hero Split Card */
.card_layer_01 {
  padding: 18px;
  flex: 1 1 calc(25% - 30px);
  min-width: 400px;
  min-height: 80px;
  background: #f0f2f9;
  color: #595A93;
}

.card_layer_01 h3,
.card_layer_01 .title {
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.card_layer_01 p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #595A94;
  padding: 20px 0;
}

.card-split {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 24px;
  border-radius: 55px;
  background: #f0f2f9;
  padding-right: 0px;
}

.card-split .left-side {
  color: var(--primary-color);
  flex: 1;
}

.card-split .right-side {
  flex: 1;
  display: flex;
  justify-content: right;
  height: 135%;
}

.solutions.section .card_layer_01 .left-side h1 {
  font-weight: 300;
  font-size: 33px;
  line-height: 1.2;
  color: var(--primary-color);
}

.solutions.section .card_layer_01 .left-side a.btn {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  font-weight: 400;
  color: var(--primary-color);
  border-radius: 30px;
}

.solutions.section .card_layer_01 .left-side a.btn.btn-primary {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  font-weight: 400;
  color: white;
}

/* Images in cards */
.feature-img {
  width: 100%;
  max-width: 330px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.right-img {
  width: 100%;
  height: 100%;
  max-width: 480px;
  border-radius: 100px;
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-section {
  text-align: center;
  max-width: 1500px;
  width: 100%;
  background: transparent;
  border-radius: 30px;
  padding: 50px 60px;
  margin: 0 auto;
  color: var(--primary-color);
}

.section-header {
  margin-bottom: 25px;
}

.section-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding: 30px 0;
}

.section-subtitle {
  font-size: 18px;
  color: var(--secondary-color);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 50px;
}

/* Security Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  min-height: 180px;
  max-width: 500px;
  width: 100%;
}

.stat-icon {
  background-color: #f0f7ff;
  color: #0066cc;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 15px;
  align-self: flex-start;
}

.stat-content h4 {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-color);
  margin: 0 0 8px 0;
  line-height: 1.3;
  text-align: left;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */

.partners-section {
  padding: 80px 0;
  width: 100%;
}

.partners-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.partners-section .main-title {
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  padding-bottom: 50px;
}

.partner-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
  width: 100%;
}

.partner-card {
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  height: 500px;
  box-sizing: border-box;
}

.partner-card .card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #518CFF, #E18CFF);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 30px;
  color: white;
}

.partner-card .card-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.partner-card .card-desc {
  font-size: 16px;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */

/* Philosophy Section with Icons */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.philosophy-category {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 20px;
  height: 70px;
  width: 70px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.category-title {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--primary-color);
  margin-top: 15px;
  line-height: 1.4;
}

.philosophy-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.philosophy-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
}

/* ============================================
   CUSTOMERS LOGOS
   ============================================ */

.customers.section h2 {
  font-weight: 500;
  font-size: 30px;
  margin-bottom: 20px;
}

.logos {
  display: flex;
  align-items: center;
  gap: 150px;
  filter: grayscale(100%);
  /* Optional: adjust brightness if it's too dark */
  filter: grayscale(100%) brightness(100%);
}

.logo-aot {
  width: 150px;
  height: auto;
}

.logo-ghani {
  width: 180px;
  height: auto;
}

.logo-puehs {
  width: 120px;
  height: auto;
}

.logo-suthra {
  width: 160px;
  height: auto;
}

.logo-mughal {
  width: 180px;
  height: 250px;
}

/* ===== FOOTER TRUSTED SECTION ===== */
section.gps-footer-trusted-section {
    text-align: left;
    margin-bottom: 40px;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

h2.gps-footer-trusted-title {
    color: #DDDDDD;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 30px;
    display: block;
    font-family: inherit;
}

div.gps-footer-trusted-container {
    width: 100%;
    box-sizing: border-box;
}

div.gps-footer-trusted-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

div.gps-footer-trusted-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px;
    min-height: 100px;
    background: transparent;
    border: none;
    box-sizing: border-box;
}

img.gps-footer-trusted-logo {
    display: block !important;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    box-sizing: border-box;
    visibility: visible !important;
}

div.gps-footer-trusted-item:hover img.gps-footer-trusted-logo {
    filter: grayscale(100%);
  /* Optional: adjust brightness if it's too dark */
  filter: grayscale(100%) brightness(100%);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    div.gps-footer-trusted-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 768px) {
    div.gps-footer-trusted-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    section.gps-footer-trusted-section {
        padding: 15px 0;
    }
}

@media screen and (max-width: 480px) {
    div.gps-footer-trusted-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    div.gps-footer-trusted-item {
        min-height: 80px;
        padding: 15px;
    }
    
    img.gps-footer-trusted-logo {
        max-width: 120px;
        max-height: 50px;
    }
}


/* Print styles */
@media print {
    section.gps-footer-trusted-section {
        display: none;
    }
}

/* ===== FOOTER STYLES ===== */
.gps-footer {
    background: #444444;
    font-family: var(--font-family);
    color: #ecf0f1;
    line-height: 1.6;
    padding: 60px 0 30px;
}

.gps-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== MANUFACTURERS GALLERY ===== */
.gps-manufacturers-section {
    text-align: left;
    margin-bottom: 60px;
}

.gps-section-title {
    color: #DDDDDD;
    font-size: 20px;
    font-weight: 100;
    position: relative;
    display: inline-block;
}

.gps-manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-right: 60px;
    margin-left: 60px;
    margin-top: 30px;
}

.gps-manufacturers-grid img {
    width: 120px;
    max-width: 80%;
    height: auto;
    display: block;
    filter: grayscale(100%);
  /* Optional: adjust brightness if it's too dark */
  filter: grayscale(100%) brightness(100%);
}

@media (max-width: 1024px) {
    .gps-manufacturers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .gps-manufacturers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .gps-manufacturers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Manufacturer cards */
.gps-manufacturer-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for manufacturer logos visibility */
.gps-manufacturer-logo {
    max-width: 100%;
}

/* ===== FOOTER COLUMNS ===== */
.gps-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .gps-footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .gps-footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.gps-footer-column h3 {
    color: #DDDDDD;
    font-size: 20px;
    font-weight: 100;
    position: relative;
    margin-bottom: 10px;
}

.gps-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gps-footer-links a {
    color: #7A7A7A;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

/* ===== DIVIDERS ===== */
.gps-footer-divider {
    margin: 40px 0;
    height: 1px;
    background: #4e4e4e;
}

/* ===== BOTTOM SECTION ===== */

.gps-copyright {
    color: #7f8c8d;
    font-size: 0.85rem;
    font-weight: 400;
    text-align: center;
    margin-top: 60px;
    padding-bottom: 40px;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-form {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  max-width: 600px;
  padding: 40px;
  background: white;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  margin-left: 35px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input:hover,
.form-group textarea:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #0066cc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
  border-color: #0066cc;
}

.contact-header {
  text-align: left;
  margin-bottom: 40px;
  margin-left: 35px;
}

/* ============================================
   COMMITMENT SECTION STYLES
   ============================================ */

.commitment.section {
  padding: 0px 0px;
}

.commitment.section .card {
  margin-top: 20px;
  margin-bottom: 20px;
}

.commitment-header {
  text-align: center;
  margin-top: 100px;
}

.commitment-header h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 500;
}

.commitment.section article {
  background: white;
  border-radius: 12px;
  padding: 35px 40px;
  max-width: 100%;
  margin: 0 auto;
}

.commitment-body {
  text-align: center;
  margin-bottom: 80px;
  margin-top: 80px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.commitment-body h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.commitment-body p {
  color: var(--secondary-color);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 50px;
}

/* ============================================
   DIVERSE NEEDS SECTION 
   ============================================ */

.diverse-needs .cards {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.diverse-needs .card {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  text-align: center;
  padding: 0 0 20px 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.diverse-needs .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: var(--accent);
}

.diverse-needs h1 {
  font-family: "Graphik LCG", verdana, arial, sans-serif;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 2.5rem;
  margin: 50px 0;
  text-align: center;
}

.diverse-needs .card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 30px 30px 0 0;
  margin-bottom: 15px;
  display: block;
}

.diverse-needs .card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-color);
  margin: 15px 15px 10px 15px;
  text-align: left;
}

.diverse-needs .card p {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.6;
  text-align: left;
  margin: 0 15px;
}

.empty-card {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ============================================
   COMPATIBLE DEVICES SECTION
   ============================================ */

.compatible-devices.section {
  padding: 80px 0;
  background: #f0f2f9;
  border-radius: 30px;
  margin: 60px auto;
  max-width: 1200px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.devices-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 40px;
}

.devices-stats {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.stats-number {
  font-size: 50px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  line-height: 1;
}

.stats-label {
  font-size: 25px;
  color: var(--secondary-color);
  font-weight: 500;
  margin-top: 10px;
  line-height: 1.3;
  margin-top: 20px;
}

.devices-description p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--secondary-color);
  max-width: 700px;
}

/* ============================================
   FUNCTIONALITY SECTION
   ============================================ */

.functionality-section {
  padding: 80px 0;
}

.functionality-header h1 {
  text-align: center;
  margin-top: 0px;
  color: var(--primary-color);
  font-size: 35px;
  font-weight: 500;
}

.functionality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
}

.functionality-card {
  background: white;
  border-radius: 30px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.functionality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.functionality-card h2 {
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 500;
}

.app-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--primary-color);
  padding: 5px;
  display: grid;
  max-width: 1200px;
  margin: 50px auto;
  margin-top: 100px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-content {
  max-width: 1200px;
  margin-left: 35px;
}

main.section.container h1 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 35px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.about-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--secondary-color);
  text-align: left;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE STYLES
   ============================================ */

/* Samsung Galaxy S10 Lite: 1080x2400 pixels */
/* Samsung Galaxy S53: 1080x2340 pixels */
/* Common breakpoints for these devices */

/* Tablet and smaller laptops */
@media (max-width: 1024px) {
  .logos {
    gap: 80px;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
  }
}

/* Mobile menu appears here */
@media (max-width: 900px) {

  /* Navigation becomes mobile menu */
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    margin: 0;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
  }

  .main-nav a.btn {
    margin: 15px 0 0 0;
    text-align: center;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  /* Card layouts adjust */
  .card-split {
    flex-direction: column;
    text-align: center;
    padding-right: 24px;
    padding: 30px;
  }

  .card-split .left-side {
    text-align: center;
    padding-right: 0;
    width: 100%;
  }

  .card-split .right-side {
    justify-content: center;
    margin-top: 20px;
    height: auto;
    width: 100%;
  }

  .right-img {
    max-width: 100%;
    height: auto;
  }

  /* Logos adjustment */
  .logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }

  .logo-aot,
  .logo-ghani,
  .logo-puehs,
  .logo-suthra,
  .logo-mughal {
    width: 120px;
  }

  .logo-mughal {
    height: 200px;
  }
}

/* Samsung Galaxy S10 Lite & S53 breakpoint (around 768px width) */
@media (max-width: 768px) and (min-width: 360px) {

  /* Global mobile adjustments */
  body {
    padding: 20px 10px;
    font-size: 16px;
  }

  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
  }

  .header-inner {
    padding: 12px 15px;
  }

  .brand span {
    font-size: 16px;
  }

  /* Typography scaling */
  .center-this {
    font-size: 24px;
    padding: 25px 0;
    text-align: center;
    width: 100%;
  }

  .section-title {
    font-size: 24px;
    padding: 20px 0;
    text-align: center;
  }

  .section-subtitle {
    font-size: 15px;
    padding-bottom: 25px;
    text-align: center;
  }

  /* Cards become single column and centered */
  .cards {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  .card,
  .card_stats,
  .card_layer_01 {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    width: 100%;
  }

  .card_stats {
    min-height: 50px;
    padding: 20px;
  }

  .card_stats h2 {
    font-size: 16px;
    text-align: center;
  }

  /* Fix solutions section centering */
  .solutions.section .container {
    padding: 0 10px;
    text-align: center;
  }

  .solutions.section .cards {
    justify-content: center;
    align-items: center;
  }

  .solutions.section .card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .solutions.section .card h3,
  .solutions.section .card p {
    text-align: center;
  }

  .solutions.section .card img {
    margin: 0 auto 15px auto;
    display: block;
  }

  /* Hero section mobile */
  .solutions.section .card_layer_01 .left-side h1 {
    font-size: 22px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .solutions.section .card_layer_01 .left-side p {
    text-align: center;
    padding: 10px 0;
  }

  .solutions.section .card_layer_01 .left-side .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .solutions.section .card_layer_01 .left-side .cta .btn {
    width: 100%;
    max-width: 250px;
    margin: 8px 0;
  }

  /* Security section */
  .security-section {
    padding: 30px 15px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    padding: 20px;
    min-height: 140px;
    text-align: left;
  }

  .stat-content h4 {
    text-align: left;
  }

  /* Partners section */
  .partners-section {
    padding: 40px 0;
  }

  .partners-section .main-title {
    font-size: 24px;
    padding-bottom: 25px;
    text-align: center;
  }

  .partner-options {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .partner-card {
    padding: 25px 20px;
    height: auto;
    min-height: auto;
    text-align: center;
  }

  .partner-card .card-title {
    font-size: 20px;
    text-align: center;
  }

  .partner-card .card-desc {
    font-size: 15px;
    text-align: center;
  }

  /* Philosophy section */
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .philosophy-category {
    padding: 25px 20px;
    text-align: center;
  }

  .category-icon {
    font-size: 1.8rem;
    height: 60px;
    width: 60px;
    margin: 0 auto 15px auto;
  }

  .category-title {
    text-align: center;
  }

  /* Customer logos - vertical line */
  .customers.section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
  }

  .logos {
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }

  .logo-aot,
  .logo-ghani,
  .logo-puehs,
  .logo-suthra,
  .logo-mughal {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .logo-mughal {
    height: 180px;
    width: 140px;
  }

  /* Footer */
  .site-footer .cols {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .site-footer a,
  .site-footer p {
    text-align: center;
    justify-content: center;
  }

  /* Contact form */
  .contact-form {
    margin-left: 0;
    padding: 25px 20px;
    width: 100%;
    max-width: 100%;
  }

  .contact-header {
    margin-left: 0;
    text-align: center;
    padding: 0 10px;
  }

  /* Commitment section */
  .commitment-header {
    margin-top: 40px;
  }

  .commitment-header h2 {
    font-size: 24px;
    text-align: center;
  }

  .commitment.section article {
    padding: 25px 20px;
    text-align: center;
  }

  .commitment-body {
    margin: 30px 0;
    padding: 25px 20px;
  }

  .commitment-body h3 {
    font-size: 18px;
    text-align: center;
  }

  .commitment-body p {
    font-size: 15px;
    margin-top: 15px;
    text-align: center;
  }

  /* Diverse needs */
  .diverse-needs h1 {
    font-size: 24px;
    margin: 30px 0;
    text-align: center;
  }

  .diverse-needs .cards {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .diverse-needs .card {
    max-width: 100%;
    text-align: center;
  }

  .diverse-needs .card h3,
  .diverse-needs .card p {
    text-align: center;
  }

  /* Compatible devices */
  .compatible-devices.section {
    padding: 40px 15px;
    margin: 30px auto;
    text-align: center;
  }

  .devices-content {
    flex-direction: column;
    gap: 25px;
    padding: 0 10px;
    text-align: center;
  }

  .stats-number {
    font-size: 36px;
  }

  .stats-label {
    font-size: 18px;
  }

  .devices-description p {
    font-size: 15px;
    text-align: center;
  }

  /* Functionality section */
  .functionality-section {
    padding: 40px 0;
    text-align: center;
  }

  .functionality-header h1 {
    font-size: 24px;
    text-align: center;
  }

  .functionality-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
    padding: 0 10px;
  }

  .functionality-card {
    padding: 20px 15px;
    text-align: center;
  }

  .functionality-card h2 {
    font-size: 16px;
    text-align: center;
  }

  .app-screenshot img {
    margin: 30px auto;
    border-radius: 15px;
    width: 95%;
  }

  /* About section */
  .about-content {
    margin-left: 0;
    padding: 0 10px;
    text-align: center;
  }

  main.section.container h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
  }

  .about-content p {
    font-size: 15px;
    text-align: center;
  }

  /* Buttons mobile */
  .btn {
    padding: 14px 20px;
    font-size: 15px;
    width: 100%;
    max-width: 300px;
    margin: 8px auto;
    display: block;
  }

  .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .cta .btn {
    width: 100%;
    max-width: 300px;
    margin: 5px auto;
  }
}

/* Extra small devices (Galaxy S10 Lite & S53 in portrait) */
@media (max-width: 480px) and (min-width: 360px) {
  body {
    padding: 15px 8px;
  }

  .center-this {
    font-size: 22px;
  }

  .section-title {
    font-size: 22px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  .logos {
    gap: 25px;
  }

  .logo-aot,
  .logo-ghani,
  .logo-puehs,
  .logo-suthra,
  .logo-mughal {
    width: 120px;
  }

  .logo-mughal {
    height: 150px;
    width: 120px;
  }

  .partner-card {
    padding: 20px 15px;
  }

  .partner-card .card-title {
    font-size: 19px;
  }

  .functionality-card h2 {
    font-size: 15px;
  }

  .stats-number {
    font-size: 32px;
  }

  .diverse-needs h1 {
    font-size: 22px;
  }

  /* Ensure everything is centered */
  .solutions.section .card_layer_01 .left-side h1 {
    font-size: 20px;
  }

  .solutions.section .container h1.center-this {
    font-size: 20px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* Fix viewport scaling */
@media screen and (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* Prevent horizontal scrolling */
  .container,
  .cards,
  .card,
  .logos,
  .partner-options,
  .philosophy-grid,
  .stats-grid,
  .functionality-grid {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* Samsung Galaxy devices specific fixes */
@supports (-webkit-touch-callout: none) {
  /* Safari/iOS specific */
  @media (max-width: 768px) {

    .card,
    .card_stats {
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
  }
}






/* NexFleet Solutions Hero Section - Specific Styles */
.nexfleet-solutions-hero {
  width: 100%;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.nexfleet-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  background: #f0f2f9;
  border-radius: 30px;
  border: 1px solid var(--border-color);

}

.nexfleet-hero-cards {
  width: 100%;
}

.nexfleet-hero-card {
  display: flex;
  flex-wrap: wrap;
  border-radius: 20px;
  overflow: hidden;
  
}

.nexfleet-split-card {
  display: flex;
  flex-direction: row;
}

.nexfleet-hero-left {
  flex: 1;
  min-width: 300px;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nexfleet-hero-feature {
  max-width: 300px;
  height: auto;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.nexfleet-hero-feature:hover {
  transform: scale(1.05);
}

.nexfleet-hero-title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: #1e293b;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.nexfleet-hero-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
}

.nexfleet-hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 35px;
  max-width: 700px;
}

.nexfleet-hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 0px;
}

.nexfleet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.nexfleet-btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nexfleet-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.nexfleet-btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.nexfleet-btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.nexfleet-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexfleet-hero-image {
  width: 500px;
  height: 500px;
  animation: nexfleet-pulse 6s infinite;
}

/* Change JUST the image size - add these to .nexfleet-hero-animation */
.nexfleet-hero-animation {
  /* Current properties */
  max-width: 500px;
  max-height: 437px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.5s ease;
  
  /* NEW: Add these to control size */
  width: 500px;        /* Set fixed width */
  height: 500px;       /* Set fixed height */
  object-fit: fill;   /* Ensures image fills container without distortion */
}

@keyframes nexfleet-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}



/* Responsive Design */
@media (max-width: 1024px) {
  .nexfleet-split-card {
    flex-direction: column;
  }
  
  .nexfleet-hero-left,
  .nexfleet-hero-right {
    padding: 40px 30px;
  }
  
  .nexfleet-hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nexfleet-solutions-hero {
    padding: 50px 0;
  }
  
  .nexfleet-hero-left {
    padding: 40px 25px;
  }
  
  .nexfleet-hero-title {
    font-size: 1.8rem;
  }
  
  .nexfleet-hero-desc {
    font-size: 1rem;
  }
  
  .nexfleet-hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .nexfleet-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nexfleet-hero-title {
    font-size: 1.6rem;
  }
  
  .nexfleet-hero-feature {
    max-width: 200px;
  }
  
  .nexfleet-hero-right {
    padding: 30px 20px;
  }
}