/* Global Mobile Fixes */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

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

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    transform: translateY(-2px);
    border-radius: 25px;
    padding: 8px 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Three Wheeler Page Styles */
.three-wheeler-hero {
    margin-top: 10vh;
    height: 60vh;
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    color: white;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

.products-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 50px;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}



.product-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    padding: 20px;
    min-height: 600px;
}

.product-image-section img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    transition: transform 0.3s;
    border-radius: 10px;
}

.product-showcase:hover .product-image-section img {
    transform: scale(1.05);
}

.product-specs-section {
    padding: 20px;
}

.product-specs-section h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.product-tagline {
    color: #A6CE39;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.spec-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: background 0.3s;
}

.spec-box:hover {
    background: #e9ecef;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon i {
    color: white;
    font-size: 1.2rem;
}

.spec-content {
    display: flex;
    flex-direction: column;
}

.spec-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.spec-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.explore-btn {
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    color: white !important;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    width: fit-content;
    text-decoration: none !important;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(166, 206, 57, 0.3);
    color: white !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close:hover {
    color: #A6CE39;
}

.modal-header {
    position: relative;
    height: 300px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
    padding: 20px;
}

.modal-header img {
    width: 80%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 10px;
}

.modal-body {
    padding: 30px;
}

.modal-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-category {
    color: #A6CE39;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.modal-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.spec-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 1.1rem;
    color: #A6CE39;
    font-weight: 600;
}

.colors-section {
    margin-bottom: 30px;
}

.colors-section h4 {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #A6CE39;
}

.color-option[style*="#FFFFFF"] {
    border-color: #ccc;
}

.warranty-info {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.warranty-info h4 {
    color: #A6CE39;
    margin-bottom: 10px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.call-btn {
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    color: white;
}

.call-btn:hover {
    background: linear-gradient(135deg, #8FB32D, #7A9B28);
    color: white;
}

.primary-btn {
    background: linear-gradient(135deg, #A6CE39, #8FB32D);
    color: white;
}

.secondary-btn {
    background: white;
    color: #A6CE39;
    border: 2px solid #A6CE39;
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .product-showcase {
        padding: 40px 30px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 25px;
    }
    
    .product-showcase:nth-child(even) .product-image-section {
        order: 1;
    }
    
    .product-showcase:nth-child(even) .product-specs-section {
        order: 2;
    }
    
    .product-specs-section h2 {
        font-size: 2.5rem;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), url('../Images/Gemini_Generated_Image_b8golf.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section h3 {
    color: #A6CE39;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #A6CE39;
}

.footer-section h4 {
    color: #A6CE39;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #A6CE39;
}

.footer-section p {
    margin-bottom: 12px;
    color: #ddd;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section p i {
    color: #A6CE39;
    width: 20px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #A6CE39;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 2px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icons a:hover {
    border-color: #A6CE39;
    color: #A6CE39;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(166, 206, 57, 0.3);
}

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

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

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #A6CE39;
    padding-left: 8px;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 25px 0 0;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section p {
        justify-content: center;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .three-wheeler-hero {
        padding: 60px 0;
        margin-top: 70px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .products-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .products-list {
        gap: 30px;
        margin-top: 30px;
    }
    
    .product-showcase {
        padding: 20px 15px;
        gap: 20px;
        border-radius: 15px;
    }
    
    .product-image-section {
        padding: 20px 15px;
        min-height: 250px;
    }
    
    .product-image-section img {
        width: 100%;
        max-height: 200px;
    }
    
    .product-specs-section {
        padding: 15px;
        text-align: center;
    }
    
    .product-specs-section h2 {
        font-size: 2rem;
    }
    
    .product-tagline {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .specs-container {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .spec-box {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .spec-icon {
        width: 40px;
        height: 40px;
    }
    
    .spec-icon i {
        font-size: 1rem;
    }
    
    .spec-number {
        font-size: 1rem;
    }
    
    .spec-label {
        font-size: 0.75rem;
    }
    
    .colors-section {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .color-options {
        justify-content: center;
    }
    
    .explore-btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        height: 250px;
    }
    
    .modal-header img {
        max-height: 200px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .spec-item {
        padding: 12px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
        width: 90%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInMenu 0.3s ease-out forwards;
    }
    
    .nav-menu.active li {
        animation-delay: calc(var(--i) * 0.1s);
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 25px;
        color: #333;
        border-radius: 30px;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(135deg, #A6CE39, #8FB32D);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(166, 206, 57, 0.3);
    }
    
    @keyframes slideInMenu {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo img {
        height: 45px;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 15px 0 0;
        font-size: 0.85rem;
    }
}
    
    .three-wheeler-hero {
        padding: 50px 0;
        margin-top: 65px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .products-section {
        padding: 30px 0;
    }
    
    .products-list {
        gap: 25px;
        margin-top: 20px;
    }
    
    .product-showcase {
        padding: 15px 10px;
        gap: 15px;
        border-radius: 12px;
    }
    
    .product-image-section {
        padding: 15px 10px;
        min-height: 200px;
    }
    
    .product-image-section img {
        width: 100%;
        max-height: 180px;
    }
    
    .product-specs-section {
        padding: 10px;
    }
    
    .product-specs-section h2 {
        font-size: 1.4rem;
    }
    
    .product-tagline {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .specs-container {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .spec-box {
        padding: 12px;
    }
    
    .spec-icon {
        width: 35px;
        height: 35px;
    }
    
    .spec-icon i {
        font-size: 0.9rem;
    }
    
    .spec-number {
        font-size: 0.9rem;
    }
    
    .spec-label {
        font-size: 0.7rem;
    }
    
    .color-option {
        width: 20px;
        height: 20px;
    }
    
    .explore-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .modal-header {
        height: 200px;
    }
    
    .modal-header img {
        max-height: 150px;
    }
    
    .modal-body {
        padding: 15px 10px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-category {
        font-size: 0.9rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
    }
    
    .spec-item {
        padding: 10px;
    }
    
    .spec-label {
        font-size: 0.8rem;
    }
    
    .spec-value {
        font-size: 1rem;
    }
    
    .action-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .close {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-showcase:hover {
        transform: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .product-showcase:hover .product-image-section img {
        transform: none;
    }
    
    .spec-box:hover {
        background: #f8f9fa;
    }
    
    .explore-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .action-btn:hover {
        transform: none;
    }
    
    .color-option:hover {
        transform: none;
        border-color: #ddd;
    }
}
/* Override for hero h1 font size */
.three-wheeler-hero .hero-content h1 {
    font-size: 3.5rem !important;
}
/* Terms and conditions note styling */
.terms-note {
    margin-top: 15px;
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(166, 206, 57, 0.1), rgba(143, 179, 45, 0.1));
    border-left: 3px solid #A6CE39;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
    position: relative;
}

.terms-note::before {
    content: "ℹ️";
    margin-right: 5px;
    font-style: normal;
}