* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --secondary: #2c2c2c;
    --accent: #c9a227;
    --accent-light: #d4af37;
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --success: #4CAF50;
    --danger: #f44336;
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f8f8;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

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

.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Updated Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px; /* Add consistent spacing */
    flex-shrink: 0; /* Prevent shrinking on mobile */
}

.logo-image {
    height: 60px;
    width: 60px;
    object-fit: contain;
    /* REMOVE the negative margin */
    margin-right: 0px; /* Changed from -108px */
}

.logo-text {
    display: flex;
    flex-direction: column;
    /* Ensure it doesn't wrap too early */
    min-width: max-content;
}

.logo-brand {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #c9a227;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
}

.logo-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #d4af37;
    letter-spacing: 0.5px;
    margin: 0;
    margin-top: 2px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.contact-buttons {
    display: flex;
    gap: 15px;
}

.contact-btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

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

.call-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: var(--accent);
    border: none;
    color: var(--primary);
    font-size: 32px;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: bold;
}

.hamburger:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-name {
    color: var(--text-light);
    font-size: 14px;
}

.logout-btn {
    padding: 8px 16px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
}

.hero-carousel {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-carousel.cars-hero {
    height: 50vh;
}

.hero-video {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 3px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cta-button {
    padding: 18px 40px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.cta-button.whatsapp {
    background: #25D366;
    color: white;
}

.cta-button.whatsapp:hover {
    background: #128C7E;
}

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

.page-header {
    background: var(--gradient);
    padding: 100px 0 60px;
    text-align: center;
    color: white;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.about-section {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary);
}

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

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.feature-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-dark);
}

.stats-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-hero {
    padding: 100px 0;
    background: #f8f8f8;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-image img,
.about-hero-image video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.values-section {
    padding: 100px 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.locations-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.location-card {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.location-icon {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

.location-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.location-address {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.direction-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.direction-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.why-choose-section {
    padding: 100px 0;
    background: white;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.why-item {
    text-align: left;
    padding: 30px;
}

.why-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
}

.why-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.why-item p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
    color: white;
}

.cta-content h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cars-section {
    padding: 60px 0;
    min-height: 60vh;
}

.search-section {
    margin-bottom: 50px;
}

.search-container {
    display: flex;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-btn,
.clear-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.search-btn:hover {
    background: var(--accent-light);
}

.clear-btn {
    background: #e0e0e0;
    color: var(--text-dark);
}

.clear-btn:hover {
    background: #d0d0d0;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.car-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.car-image {
    height: 250px;
    overflow: hidden;
}

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

.car-info {
    padding: 25px;
}

.car-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.car-specs {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.car-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #25D366;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: #128C7E;
}

.loading,
.no-results,
.error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #666;
}

.loading i,
.no-results i,
.error i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--accent);
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
    background: #f8f8f8;
}

.login-card {
    background: white;
    padding: 60px 50px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-icon {
    font-size: 56px;
    color: var(--accent);
    margin-bottom: 20px;
}

.login-card h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.login-card p {
    font-size: 14px;
    color: #666;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.input-group input,
.input-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 45px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 18px;
}

.login-btn {
    padding: 18px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    padding: 15px;
    background: #ffebee;
    color: #c62828;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.login-footer {
    background: var(--gradient);
    padding: 30px 0;
    text-align: center;
    color: white;
    margin-top: auto;
}

.dashboard-container {
    padding: 40px 30px;
    min-height: calc(100vh - 200px);
    background: #f8f8f8;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 36px;
}

.add-car-btn {
    padding: 15px 30px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.add-car-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 25px;
}

.stat-icon {
    font-size: 48px;
    color: var(--accent);
}

.stat-icon.available {
    color: var(--success);
}

.stat-icon.sold {
    color: #9e9e9e;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-info .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.cars-table-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.table-header h2 {
    font-size: 24px;
}

.table-responsive {
    overflow-x: auto;
}

.cars-table {
    width: 100%;
    border-collapse: collapse;
}

.cars-table th {
    background: var(--primary);
    color: white;
    padding: 18px 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cars-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.cars-table tr:last-child td {
    border-bottom: none;
}

.cars-table tr:hover {
    background: #f8f8f8;
}

.image-cell img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-badge.available {
    background: #e8f5e9;
    color: var(--success);
}

.status-badge.sold {
    background: #ffebee;
    color: var(--danger);
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    transition: all 0.3s;
}

.edit-btn {
    background: #2196F3;
    color: white;
}

.edit-btn:hover {
    background: #1976D2;
}

.delete-btn {
    background: var(--danger);
    color: white;
}

.delete-btn:hover {
    background: #c62828;
}

.loading-row,
.no-data-row,
.error-row {
    text-align: center;
    padding: 40px;
}

.loading-row i,
.no-data-row i,
.error-row i {
    font-size: 48px;
    margin-right: 15px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-small {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    font-size: 24px;
    color: var(--primary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--danger);
}

.car-form {
    padding: 30px;
}

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

.car-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--accent-light);
}

.submit-btn.whatsapp-btn {
    background: #25D366;
    color: white;
}

.submit-btn.whatsapp-btn:hover {
    background: #128C7E;
}

.cancel-btn {
    width: 100%;
    padding: 18px;
    background: #e0e0e0;
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: #d0d0d0;
}

.sales-info {
    padding: 30px;
    background: #e3f2fd;
    border-bottom: 1px solid #e0e0e0;
}

.sales-info p {
    text-align: center;
    font-size: 16px;
    color: var(--primary);
}

.delete-content {
    padding: 30px;
    text-align: center;
}

.delete-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.delete-buttons {
    display: flex;
    gap: 15px;
}

.delete-buttons .cancel-btn {
    margin-top: 0;
}

.delete-btn {
    flex: 1;
    padding: 15px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.delete-btn:hover {
    background: #c62828;
}

.footer {
    background: var(--gradient);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-text {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .about-content,
    .about-hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
        width: 50px;
        /* Remove the negative margin here too */
        margin-right: 5px; /* Changed from -108px */
    }

     .logo-text {
        font-size: 22px; /* Slightly smaller on mobile */
        margin-right: 228px;
    }

    .logo-brand {
        font-size: 22px; /* Slightly smaller on mobile */
        margin-right: 228px;

    }

    .logo-tagline {
        font-size: 10px; /* Slightly smaller on mobile */
        margin-right: 528px;
    }

    

    

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        margin: 10px 0;
    }

    .contact-buttons {
        display: none;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-btn,
    .clear-btn {
        width: 100%;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .dashboard-header h1 {
        font-size: 28px;
    }
    
    .table-responsive {
        overflow-x: scroll;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}