:root {
    --primary: #247DB8;
    --secondary: #003366;
    --accent: #F7931E;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #EAEAEA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url(../images/img4.gif), url(../images/img3.gif);
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: 50% 100%, 50% 100%;
    height: 450px;
    color: #fff;
    background-color: #000;
    position: relative;
}


.hero-content {
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
}



.hero-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.hero-section .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.hero-section .btn:hover {
    background-color: #e07d0a;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}



.btn:hover {
    background-color: #e07d0a;
    transform: translateY(-2px);
}



/* Main Content */
.main-content {
    display: flex;
    padding: 40px 0;
    gap: 30px;
}

.content-left {
    flex: 0 0 250px;
}

.category-menu {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.category-header {
    background-color: var(--secondary);
    color: white;
    padding: 15px;
    font-weight: 400;
    font-size: 15px;
}

.category-list {
    list-style: none;
    font-size: 12px;
    color: black;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: block;
    padding: 12px 15px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    background-color: #f8f9fa;
    color: var(--primary);
    padding-left: 20px;
}

.content-right {
    flex: 1;
}

/* Product Section */
.section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.section-title {
    color: var(--primary);
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: var(--accent);
}

/* Product Detail Styles */
.product-detail {
    margin-bottom: 40px;
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-title {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-right: 20px;
}

.product-model {
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.product-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.product-content-small {
    display: flex;
    flex-wrap: wrap; /* allow items to wrap on smaller screens */
    gap: 20px; /* spacing between items */
    justify-content: center; /* center items horizontally */
}

.product-image-small {
    flex: 1 1 250px; /* grow, shrink, min-width 250px */
    max-width: auto; /* optional max width */
    background: #f9f9f9;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.product-image-small img {
    width: 100%; /* make image fit the container */
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

@media screen and (max-width: 480px) {
    .product-image-small {
        flex: 1 1 100%; /* stack items vertically */
        max-width: 100%;
    }
}

.product-image-flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.product-image-flex img {
    max-width: 100%;
    height: auto;
    width: 45%;
    /* Adjust as needed */
    border: 1px solid #ccc;
    border-radius: 8px;
}


@media (max-width: 768px) {
    .product-image-flex img {
        width: 100%;
    }
}

.product-image {
    flex: 0 0 40%;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}


.product-image-medium img {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-image-small h5 {
    padding: 4px;
    margin-bottom: 5px;
}

.product-specs {
    flex: 1;
}

.product-specs p{
     font-size: 0.9rem;
}

@media (max-width: 992px) {
    .product-specs {
        flex-direction: column;
        width: 100%;
    }
}


.paragraph {
    font-weight: 500;
}

.spec-section {
    margin-bottom: 25px;
    overflow-x: auto;
}

.spec-section h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.spec-section p {
    color: #000;
    font-size: 0.8rem;
}

.spec-list {
    list-style-type: none;
}

.spec-list li {
    margin-bottom: 8px;
    margin-top: 5px;
    position: relative;
    padding-left: 25px;
    font-size: 0.85rem;
}

.spec-list li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.spec-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;


}

.spec-table th,
.spec-table td {
    text-align: start;
    padding: 5px;
    border: 1px solid #eee;
}

.spec-table th {
    background-color: #f8f9fa;
    color: var(--secondary);
    font-size: 12px;
}

.spec-table td {
    font-size: 12px;
}



.product-features {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.features-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: var(--accent);
    margin-right: 10px;
}

.note-box {
    background-color: #FFF8F0;
    padding: 15px;
    border-left: 4px solid var(--accent);
    margin-top: 20px;
    font-size: 0.8rem;
}

.note-box-small {
    background-color: #FFF8F0;
    padding: 5px;
    border-left: 4px solid var(--accent);
    margin-top: 10px;
    font-size: 0.6rem;
}

/* Related Products */
.related-products {
    margin-top: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card img {
    max-height: 300px;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-content {
    padding: 5px;
    margin: 5px;
}

.product-card-content a {
    margin-top: 15px;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-card-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.product-card-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(3px);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .content-left {
        flex: 1;
        margin-bottom: 30px;
    }

    .product-content {
        flex-direction: column;
        width: 100%;
    }

    .product-image {
        flex: 1;
        margin-bottom: 20px;
    }

    .product-image img{
        height: 550px;
    }
}

@media (min-width: 992px) {
  #onlyThisImage {
    max-width: 380px; 
  }
}

@media (max-width: 980px) {
  #onlyThisImage {
    max-width: 280px;   
  }
}

@media (max-width: 375px) {
  #onlyThisImage {
    max-width: 220px;   
  }
}

@media (max-width: 313px) {
  #onlyThisImage {
    max-width: 180px;   
  }
}

@media (max-width: 267px) {
  #onlyThisImage {
    max-width: 150px;   
  }
}







@media (max-width: 640px) {
        .product-image img{
            height: auto;
        }
}



@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        flex-direction: column;
    }

    .hero-section {
        height: auto;
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-icon {
    margin-top: 16px;
}



/* History Timeline */
.history-section {
    margin-top: 10px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--accent, #0077b6);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #fff;
    border: 4px solid var(--accent, #0077b6);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::before {
    left: -10px;
}

.timeline-item .content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.timeline-item .content i {
    font-size: 28px;
    color: var(--accent, #0077b6);
    margin-bottom: 10px;
    display: block;
}

.timeline-item .content h3 {
    margin: 0 0 10px;
    color: var(--accent, #0077b6);
    font-size: 20px;
    font-weight: 700;
}

.timeline-item .content p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    color: #444;
}

/* Hover animation */
.timeline-item .content:hover {
    transform: scale(1.05);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::before {
        left: 20px;
        right: auto;
    }
}