:root {
    /* Colors - Updated Scheme */
    --primary-color: #338502; /* India green - kept as primary */
    --secondary-color: #02172D; /* Oxford Blue - changed from #2A2A2A */
    --background-color: #FFFFF6; /* Baby powder - new */
    --accent-color: #DDF2FF; /* Alice Blue - new */
    --text-color: #02172D; /* Oxford Blue for text */
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    
    /* Typography - Updated with better fallbacks */
    --font-family: 'Century Gothic', 'Nunito Sans', 'Futura PT', 'Arial', sans-serif;
    --bs-body-font-family: 'Century Gothic', 'Nunito Sans', 'Futura PT', 'Arial', sans-serif;
    --bs-btn-font-family: 'Century Gothic', 'Nunito Sans', 'Futura PT', 'Arial', sans-serif !important`;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Gradients - Updated */
    --gradient-primary: linear-gradient(135deg, #338502 0%, #4db504 100%);
    --gradient-secondary: linear-gradient(135deg, #02172D 0%, #0a2e4e 100%);
    --gradient-light: linear-gradient(135deg, #FFFFF6 0%, #FFFFFF 100%);
    --gradient-accent: linear-gradient(135deg, #DDF2FF 0%, #FFFFFF 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 16px rgba(51, 133, 2, 0.2);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Bootstrap Overrides */
    --bs-primary: #338502;
    --bs-primary-rgb: 51, 133, 2;
    --bs-secondary: #02172D;
    --bs-secondary-rgb: 2, 23, 45;
    --bs-blue: #338502;
    --bs-link-color: #338502;
    --bs-link-hover-color: #2c7302;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
}

body {
    font-family: var(--font-family) !important;
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header.scrolled {
    background: var(--white);
}

.navbar {
    padding: var(--spacing-md) 0;
}

/* Enhanced navbar container for better mobile responsiveness */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px; /* Add gap between elements */
    flex-wrap: unset !important;
}

.logo img {
    height: 40px;
}

/* logo text styles */

.logo {
    text-decoration: none;
}

/* .logo-container {
    padding: 10px;
    background: white;
    border-radius: 8px;
} */

.logo-text {
    font-family: var(--font-family) !important;
    font-weight: 700 !important;
    font-size: 21px !important;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sufu {
    color: #338502;
}

.ride {
    color: #2A2A2A;
    position: relative;
}

.ride::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #338502;
}
/* end of logo text styles */

/* Update navigation styles to prevent button wrapping */
.nav-links {
    display: flex;
    align-items: center;
    margin: 0 auto; /* Center the nav links */
    margin-right: 20px; /* Space between nav-links and auth buttons */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px; /* Slightly smaller font */
    border-radius: 0.375rem;
    white-space: nowrap;
    padding: 5px 10px; /* Reduced padding */
    margin: 0 2px; /* Reduced margin between links */
}

.nav-links a:hover {
    color: var(--bs-white);
background-color: var(--primary-color);
}

/* Mobile menu styles update */
@media (max-width: 991px) {
    /* Create a wrapper for the right-side elements */
    .navbar .container {
        padding-right: 10px; /* Ensure buttons don't touch the edge */
    }
    
    /* Position mobile menu button */
    .mobile-menu-btn {
        display: block !important;
        order: 3; /* Place at the end */
        margin-left: 10px;
    }
    
    /* Fix auth buttons positioning */
    .auth-buttons {
        position: relative;
        order: 2; /* Place before mobile menu button */
        display: flex;
        gap: 5px;
        margin-left: auto; /* Push to right */
    }
    
    /* Ensure logo stays left */
    .logo {
        order: 1;
    }
    
    /* Make auth buttons smaller on mobile */
    .auth-buttons .btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        text-align: center;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 10px 0;
        font-size: 1rem;
    }
}

/* Special handling for medium laptop screens */
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-links a {
        margin-left: 5px;
        font-size: 0.75rem;
    }
    
    .auth-buttons .btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* For very small screens, make buttons even smaller */
@media (max-width: 480px) {
    .auth-buttons .btn {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    /* Add some space between buttons and menu */
    .mobile-menu-btn {
        margin-left: 5px;
    }
    
    .auth-buttons .btn {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: #2c7302 !important;
    border-color: #2c7302 !important;
}

.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary:hover, 
.btn-secondary:focus, 
.btn-secondary:active {
    background-color: #032445 !important;
    border-color: #032445 !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.btn-outline-secondary {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

/* Updated Hero Section Styles */
.hero {
    position: relative;
    padding: 75px 0 75px;
    background-color: var(--background-color);
    overflow: hidden;
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23338502' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(51, 133, 2, 0.1);
    top: -100px;
    right: 10%;
    animation: floatAnimation 8s ease-in-out infinite;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(2, 23, 45, 0.08);
    bottom: -80px;
    left: 15%;
    animation: floatAnimation 10s ease-in-out infinite reverse;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(221, 242, 255, 0.3);
    top: 30%;
    right: 5%;
    animation: floatAnimation 12s ease-in-out infinite 1s;
}

.hero-shapes .shape-4 {
    width: 100px;
    height: 100px;
    background: rgba(51, 133, 2, 0.15);
    top: 60%;
    left: 5%;
    animation: floatAnimation 9s ease-in-out infinite 0.5s;
}

@keyframes floatAnimation {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, 15px) rotate(5deg); }
    50% { transform: translate(0, 30px) rotate(0deg); }
    75% { transform: translate(10px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Hero Content */
.hero-content{
    margin-top:10px !important;
}
.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-left: 30px;
}

.hero-subtitle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-style:italic;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(51, 133, 2, 0.2);
    z-index: -1;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(51, 133, 2, 0.3);
    transition: all 0.4s ease;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(51, 133, 2, 0.4);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

.btn-outline-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.4s ease;
}

.btn-outline-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.feature-tag i {
    color: var(--primary-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    margin-left: 30px;
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) !important;
    transition: all 0.5s ease;
    height:495px;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(51, 133, 2, 0.3) 0%, rgba(221, 242, 255, 0.1) 100%);
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}


.booking-widget {
    position: absolute;
    bottom:-50px;
    left:-185px;
    /*bottom: -50px;*/
    /*left: -80px;*/
    width: 320px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.booking-form .form-group {
    margin-bottom: 15px;
    position: relative;
}

.booking-form .form-control {
    padding: 12px 15px 12px 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.booking-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(51, 133, 2, 0.1);
}

.booking-form i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.floating-element:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.floating-rate {
    top: -30px;
    right: -30px;
}

.rate-icon {
    width: 40px;
    height: 40px;
    background: rgba(51, 133, 2, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.rate-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.rate-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.rate-subtitle {
    font-size: 0.8rem;
    color: #777;
}

.app-download {
    /* margin-bottom: var(--spacing-lg); */
    text-align: right;
}

.app-buttons {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-md);
}

.app-button {
    display: flex;
    transition: var(--transition-normal);
}

.app-button img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.app-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}
  /*.custome{*/
  /*      background-image: url('../images/785.png');*/
      
  /*  height: 750px;*/
  /*  background-repeat: no-repeat;*/
  /*  background-size: cover;*/
  /*  margin-top:96px;*/
  /*  }*/
    
/* Common laptop screen sizes: 1024px to 1440px wide */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
  /* Styles for laptops */
    .booking-widget{
        left:-125px !important;
        width:285px !important;
    }
}

/* Mobile responsiveness for app download section */
@media (max-width: 767px) {
    /*.custome{*/
    /*    height:192px !important;*/
        
    /*}*/
    .hero-image{
        height:unset !important;
    }
    .app-download {
        margin-top:50px !important;
        text-align: center;
        /*margin-bottom: var(--spacing-md);*/
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .app-button img {
        height: 36px;
    }
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: var(--gradient-primary);*/
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.feature-card:hover i {
    transform: rotateY(360deg);
}

.feature-card i {
    transition: transform 0.8s ease;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-color);
}

/* Safety Section */
.safety {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.safety-features {
    margin-top: 30px;
}

.safety-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.safety-feature i {
    width: 50px;
    height: 50px;
    background: rgba(51, 133, 2, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.safety-feature h3 {
    margin-bottom: 8px;
    font-weight: 600;
}

.safety-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 500px;
    overflow: hidden; /* Prevent scrollbars on this grid */
}

.safety-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.safety-image-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.safety-image-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.safety-image-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 991px) {
    .safety-image-grid {
        height: 400px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-image-grid {
        height: 300px;
    }
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-xl) 0;
    background-color: var(--accent-color);
    position: relative;
    overflow: hidden;
    opacity: 1 !important; /* Force visibility */
    visibility: visible !important;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-color);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: visible; /* Change to visible for vertical content */
    position: relative;
    z-index: 1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.pricing-details {
    margin-bottom: var(--spacing-lg);
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-item:last-child {
    border-bottom: none;
}

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

/* Contact Section - Redesigned */
.contact {
    padding: var(--spacing-xl) 0 calc(var(--spacing-xl) * 1.5);
    background: linear-gradient(to bottom right, #f9f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23338502' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.contact .section-description {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(221, 242, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(51, 133, 2, 0.03);
    border-radius: 0 0 0 100%;
    z-index: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(51, 133, 2, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(51, 133, 2, 0.15);
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    color: white;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.contact-details p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

.contact-details a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.social-media {
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-media h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}
.social-icons a{
    text-decoration: none;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(51, 133, 2, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(51, 133, 2, 0.15);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-title {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.input-container {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.input-container i {
    width: 50px;
    display: flex;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 12px 15px 12px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    outline: none;
}

.input-container input::placeholder,
.input-container textarea::placeholder {
    color: #888;
}

.input-container:focus-within {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(51, 133, 2, 0.1) !important;
}

.textarea-container {
    min-height: 120px;
    align-items: flex-start;
}

.textarea-container i {
    padding-top: 14px;
}

.textarea-container textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 12px;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.submit-btn i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #2c7302;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Show filled input with light background */
.input-container.filled {
    background-color: rgba(221, 242, 255, 0.3);
}

/* Form messages */
.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(51, 133, 2, 0.1);
    color: var(--primary-color);
}

.form-message.error {
    display: block;
    background: rgba(255, 76, 76, 0.1);
    color: #ff4c4c;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .submit-btn {
        padding: 12px;
    }
}

/* Improved Footer Design */
.footer {
    background: linear-gradient(145deg, #02172D 0%, #0a284a 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23338502' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.6;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    padding-right: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration:none;
}

.social-links a:hover {
    color: var(--white);
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    width: 12px;
}

.footer-download h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-download h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.app-button {
    display: block;
    transition: all 0.3s ease;
}

.app-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.app-button img {
    border-radius: 6px;
    max-width: 150px;
}

.footer-settings {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.language-select select,
.currency-select select {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 8px 30px 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select select:hover,
.currency-select select:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Footer Responsive Styles */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: 1;
        padding-right: 0;
    }
    
    .footer-settings {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 15px;
    }
    
    .footer-bottom-links a {
        margin: 0 10px;
    }
}

/* Driver Partner Section */
.driver-partner {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.driver-partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.text-left {
    text-align: left;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
}

.driver-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.benefit-item {
    padding: var(--spacing-md);
    background: var(--accent-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.benefit-item h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.driver-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.footer-settings {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-settings select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--white);
    border-radius: var(--border-radius-sm);
}

.footer-settings select option {
    background: var(--secondary-color);
}

/* Add animation classes */
.animate-fade-up {
    animation: fadeUp 0.5s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Update preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none; /* Prevent interaction while loading */
}

/* Optional: Add this if you want to prevent scrolling while preloader is visible */
body.loading {
    overflow: hidden;
}

.loader {
    width: 80px;
    height: 80px;
}

.loader-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: loader 2s linear infinite;
}

@keyframes loader {
    0% {
        stroke-dashoffset: 200;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -200;
    }
}

/* Redesigned Testimonials Section */
.testimonials {
    padding: var(--spacing-xl) 0 calc(var(--spacing-xl) * 1.5);
    background: linear-gradient(to bottom, #f9f9ff, #ffffff);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23338502' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.title-decoration {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--spacing-sm);
}

.title-decoration span {
    display: inline-block;
    height: 4px;
    border-radius: 2px;
}

.title-decoration span:nth-child(1) {
    width: 30px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.title-decoration span:nth-child(2) {
    width: 50px;
    background-color: var(--primary-color);
}

.title-decoration span:nth-child(3) {
    width: 30px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.testimonials-container {
    position: relative;
    padding: 40px 20px;
    overflow: visible;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.4s ease !important;
    border: 1px solid rgba(221, 242, 255, 0.7);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(2, 23, 45, 0.08);
}

.quote-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(51, 133, 2, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.quote-icon i {
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0.7;
}

.testimonial-card:hover .quote-icon {
    transform: translateY(-2px);
    background: rgba(51, 133, 2, 0.1);
}

.testimonial-card:hover .quote-icon i {
    opacity: 1;
}

.testimonial-card .quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    padding-right: 40px;
    padding-top: 25px;
    position: relative;
    font-style: italic;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .quote {
    opacity: 1;
}

.testimonial-card .quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 50px;
    color: rgba(51, 133, 2, 0.07);
    font-family: Georgia, serif;
}

.rating {
    margin-bottom: var(--spacing-md);
}

.rating i {
    color: #FFD700;
    font-size: 0.9rem;
    margin-right: 2px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--spacing-md);
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(51, 133, 2, 0.1);
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.testimonial-info .role {
    margin: 0;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Swiper Navigation Styling */
.testimonials-swiper {
    padding-bottom: 60px;
    overflow: visible;
}

/* Uncomment below if you want to hide arrows completely */

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}


/* .swiper-pagination {
    bottom: 0 !important;
} */

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(51, 133, 2, 0.2);
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 30px;
    border-radius: 6px;
}

/* Further refined navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(2, 23, 45, 0.05);
    color: var(--secondary-color) !important;
    transition: all 0.3s ease;
    outline: none;
    top: 45%;
    opacity: 0.7;
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color) !important;
    color: white;
    box-shadow: 0 5px 15px rgba(51, 133, 2, 0.15);
    opacity: 1;
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 0.8rem;
    font-weight: bold;
}

.swiper-button-next {
    right: -5px;
}

.swiper-button-prev {
    left: -5px;
}

@media (max-width: 768px) {
    .swiper-button-next, 
    .swiper-button-prev {
        display: none;
    }
    
    .testimonial-card {
        padding: var(--spacing-lg);
    }
}

/* Update logo styles */
/* .logo-container {
    padding: 10px;
    background: white;
    border-radius: 8px;
    transition: var(--transition-normal);
} */

/* .logo-container:hover {
    transform: scale(1.05);
} */

/* Add these modern CSS enhancements */

/* Animated Shapes */
.shape-1, .shape-2, .shape-3 {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 4px 20px rgba(51, 133, 2, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
}

/* Statistics Section */
.statistics {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-item p {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Section Decoration */
.section-decoration {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 0;
}

.deco-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.2;
}

.deco-line {
    width: 2px;
    height: 100px;
    background: var(--primary-color);
    margin-left: 20px;
    opacity: 0.2;
}

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(51, 133, 2, 0.2);
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
    z-index: 9999;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0;
}

body:hover .cursor-follower {
    opacity: 1;
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
    width: 60px;
    height: 60px;
}

/* Make sure the title and cards are also visible */
.pricing .section-title, 
.pricing .pricing-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix slide opacity during transitions */
.swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.8s ease !important;
}

.swiper-slide-active, 
.swiper-slide-next, 
.swiper-slide-prev {
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonial-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Make sure slides are always visible */
.swiper-slide,
.swiper-slide-active,
.swiper-slide-next,
.swiper-slide-prev,
.swiper-slide-duplicate,
.swiper-slide-duplicate-active,
.swiper-slide-duplicate-next,
.swiper-slide-duplicate-prev {
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.7s ease !important;
    pointer-events: auto !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .swiper-button-next, 
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        top: 40%;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .swiper-button-next, 
    .swiper-button-prev {
        display: none;
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    .swiper-pagination-bullet-active {
        width: 25px;
    }
    
    .testimonial-card .quote {
        font-size: 0.95rem;
        padding-right: 30px;
        padding-top: 20px;
    }
}

/* Link Colors */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #2c7302;
}

/* Form Controls */
.form-control:focus {
    border-color: rgba(51, 133, 2, 0.5) !important;
    box-shadow: 0 0 0 0.25rem rgba(51, 133, 2, 0.25) !important;
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.pagination .page-link {
    color: var(--primary-color) !important;
}

/* Navbar - if you're using Bootstrap navbar */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Footer Links Consistency */
.footer-links ul li a::before,
.footer-links h4::after,
.footer-download h4::after {
    background: var(--primary-color) !important;
}

/* Social Links in Footer */
.social-links a:hover {
    background: var(--primary-color) !important;
}

/* Ensure text consistency */
h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--secondary-color);
}

/* Submit button and other custom buttons */
.submit-btn,
.app-download-btn,
.contact-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.submit-btn:hover,
.app-download-btn:hover,
.contact-btn:hover {
    background-color: #2c7302;
    border-color: #2c7302;
}

/* Fix any Bootstrap dropdowns */
.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--primary-color) !important;
}

/* Custom form check (checkboxes, radios) */
.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Apply Century Gothic to all headings explicitly */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.section-title,
.hero-title,
.feature-card h3,
.pricing-header h3,
.footer h4,
.logo-text {
    font-family: var(--font-family) !important;
    font-weight: 700 !important;
}

/* Apply Century Gothic to all text elements */
body,
p,
a,
button,
input,
textarea,
select,
.btn,
.nav-links a,
.footer-links a,
.feature-tag span,
.stat-item p,
.testimonial-card .quote,
.contact-details p {
    font-family: var(--font-family) !important;
}

/* Update specific elements that might need font adjustments */
.logo-text {
    font-family: var(--font-family) !important;
    letter-spacing: -0.2px;
}

/* Optimize font rendering */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Better weight mappings for Century Gothic */
strong, b {
    font-weight: 700; /* Use the bold weight explicitly */
}

/* Fix for Safari's font rendering issues */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        body {
            font-weight: 400 !important;
        }
        h1, h2, h3, h4, h5, h6,
        .strong, .bold, strong, b {
            font-weight: 700 !important;
        }
    }
}

/* Additional CSS for utilizing all font weights */

/* Super light elements like captions */
.caption, .text-light, .hero-subtitle, .text-thin {
    font-weight: 300;
}

/* Semi-bold headers or emphasized text */
.section-subtitle, .feature-card h3, .semi-bold {
    font-weight: 600;
}

/* Extra bold for strong emphasis or large headlines */
.hero-title, .extra-bold, .display-heading {
    font-weight: 800;
}

/* Black weight for very high contrast elements */
.ultra-bold, .pricing-number, .stat-item h2 {
    font-weight: 900;
}

/* Thin weight for elegant, minimal elements */
.elegant-text, .quote-attribution, .footer-note {
    font-weight: 100;
}

/* Vehicle Types Section */
.vehicle-types {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-light);
    position: relative;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vehicle-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: visible; /* Change to visible for vertical content */
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.vehicle-image {
    /*height: 200px;*/
    border-radius: var(--border-radius-lg);
    border:2px solid forestgreen;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius-lg);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-details h3 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.vehicle-details p {
    height: 50px; /* Set fixed height */
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
}

.vehicle-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-grow: 1;
}

.vehicle-features li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
}

.vehicle-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

.btn-outline-primary {
    margin-top: auto;
}

/* Safety Section */
.safety {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.safety-features {
    margin-top: 30px;
}

.safety-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.safety-feature i {
    width: 50px;
    height: 50px;
    background: rgba(51, 133, 2, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
}

.safety-feature h3 {
    margin-bottom: 8px;
    font-weight: 600;
}

.safety-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 500px;
    overflow: hidden; /* Prevent scrollbars on this grid */
}

.safety-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.safety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.safety-image-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.safety-image-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.safety-image-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 991px) {
    .safety-image-grid {
        height: 400px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-image-grid {
        height: 300px;
    }
}

/* Enhanced mobile menu button styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
} 

/* Improved wave separator styles for better responsiveness */
.wave-separator {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -100px;
    z-index: 1;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-separator .shape-fill {
    fill: var(--white);
}

@media (max-width: 767px) {
    .wave-separator {
        margin-top: -50px;
    }
    
    .wave-separator svg {
        height: 40px;
    }
}

/* Fix for horizontal overflow issue */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Additional overflow check for all sections and containers */
/* section, .container, .row {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden; 
} */

/* Fix for potentially overflowing images */
img {
    max-width: 100%;
    height: auto;
}

/* Enhanced responsive adjustments */
@media (max-width: 991px) {
    .row {
        margin-right: -15px;
        margin-left: -15px;
    }
    
    [class*="col-"] {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Better handling for fixed-height elements */
.safety-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 500px;
    overflow: hidden; /* Prevent scrollbars on this grid */
}

/* Vertical overflow fix for common elements */
.vehicle-card, .feature-card, .testimonial-card, .pricing-card {
    overflow: visible;
}

/* Ensure text elements don't cause overflow */
p, h1, h2, h3, h4, h5, h6 {
    max-width: 100%;
    word-wrap: break-word;
}

/* Fix Firefox scrollbar issues */
* {
    scrollbar-width: thin;
}

/* Fix for mobile Safari overflow bugs */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: auto;
    }
}

/* Better spacing for responsive layouts */
@media (max-width: 767px) {
    .row {
        margin-right: 0;
        margin-left: 0;
    }
    
    [class*="col-"] {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    /* Reduce fixed heights on mobile */
    .vehicle-image {
        height: 200px;
    }
}

/* Contact Section Responsive Fixes */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(51, 133, 2, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-form-container {
    padding: 30px;
    background: var(--gradient-light);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

/* Responsive adjustments for contact section */
@media (max-width: 1200px) {
    .contact-wrapper {
        gap: 20px;
    }
    
    .contact-card, .contact-form-container {
        width: 100%;
        padding: 25px;
    }
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info {
        order: 2; /* Move contact info below form on tablets */
    }
    
    .contact-form-container {
        order: 1; /* Move form to top on tablets */
    }
}

@media (max-width: 767px) {
    .contact-card, .contact-form-container {
        padding: 20px;
        border-radius: var(--border-radius-sm);
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 12px;
    }
    
    .contact-details h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    /* Improve form elements on mobile */
    .input-container {
        height: 45px;
    }
    
    textarea {
        min-height: 120px;
    }
    
    .submit-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Additional form input styles */
.input-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
    height: 50px;
    padding: 0 15px;
    transition: var(--transition);
}

.input-container i {
    color: var(--text-color);
    opacity: 0.5;
    margin-right: 10px;
}

.input-container input, 
.input-container textarea {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-family: var(--font-family);
    color: var(--text-color);
    font-size: 0.95rem;
}

.textarea-container {
    height: auto;
    padding: 15px;
    align-items: flex-start;
}

.textarea-container i {
    margin-top: 5px;
}

.textarea-container textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn i {
    margin-left: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Auth buttons styling */
.auth-buttons {
    display: flex;
    gap: 8px; /* Reduced gap between buttons */
    margin-left: auto; /* Push to the right */
    flex-shrink: 0; /* Prevent shrinking */
}

.auth-buttons .btn {
    padding: 5px 15px; /* Compact buttons */
    font-size: 14px; /* Match nav link size */
    white-space: nowrap;
}

/* Laptop screens specific adjustments */
@media (min-width: 1024px) and (max-width: 1440px) {
    .nav-links {
        margin-right: 10px; /* Reduce right margin */
    }
    
    .nav-links a {
        padding: 4px 6px; /* Further reduce padding */
        font-size: 12px; /* Smaller font size */
        margin: 0 1px; /* Minimal margins */
    }
    
    .auth-buttons {
        gap: 5px; /* Reduce gap between auth buttons */
    }
    
    .auth-buttons .btn {
        padding: 4px 10px; /* Smaller padding */
        font-size: 12px; /* Match nav links */
    }
    
    .navbar .container {
        gap: 5px; /* Reduce container gap */
    }
    
    /* Make logo slightly smaller */
    .logo-text {
        font-size: 18px !important;
    }
}

/* Specific adjustments for 1024px */
@media (min-width: 992px) and (max-width: 1024px) {
    .nav-links a {
        padding: 3px 5px; /* Minimum padding */
        font-size: 11px; /* Even smaller font */
        margin: 0 1px;
    }
    
    .auth-buttons .btn {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .navbar .container {
        gap: 3px;
    }
    
    .logo-text {
        font-size: 16px !important;
    }
    
    .nav-links {
        margin-right: 5px;
    }
    
    .auth-buttons {
        gap: 4px;
    }
}

.signup-options {
    /* padding: var(--spacing-xl) 0; */
    background: var(--color-background);
    position: relative;
    z-index: 1;
}

.signup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.signup-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.signup-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    font-weight: 600;
}

.signup-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--spacing-md);
}

.signup-card .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.signup-card .btn:hover i {
    transform: translateX(5px);
}

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

@media (max-width: 767px) {
    .signup-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-card {
        padding: var(--spacing-md);
    }
}
