:root {
    --primary-color: #266c6c;
    --secondary-color: #1d5252;
    --accent-color: #266c6c;
    --accent-color-dark: #1d5252;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #dddddd;
    --white: #ffffff;
    --max-width: 1200px;
    --border-radius: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links .cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    font-weight: 600;
}

.nav-links .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 4rem 1rem;
    background-color: var(--light-gray);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Featured Products */
.featured-products {
    padding: 4rem 1rem;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.equipment-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.equipment-item img {
    width: 80%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.equipment-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.equipment-item p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.equipment-item .cta-button {
    display: inline-block;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 1rem 1rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-bottom a {
    color: var(--white);
}

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

.footer-section a {
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
}

.footer-contact-link:hover {
    color: white;
    transform: translateY(-1px);
}

.footer-contact-link i {
    margin-right: 8px;
    transition: all 0.2s ease;
}

.footer-contact-link:hover i {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-section {
    padding: 3rem 0.5rem;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    background-color: var(--accent-color);
    padding: 4rem 1rem;
}

.testimonial-slider {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 0 40px;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    margin: 0 -15px;
    position: relative;
}

.testimonials-slider .slick-list {
    padding: 20px 0;
    overflow: hidden;
}

.testimonials-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.testimonial {
    padding: 0 15px;
    height: 100%;
    box-sizing: border-box;
}

.testimonial > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slick-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-dots .slick-active button {
    background: var(--primary-color);
    width: 12px;
    height: 12px;
}

.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 1;
    font-size: 0;
    transition: all 0.3s ease;
}

.slick-arrow:hover {
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.15); */
    transform: translateY(-50%) scale(1.05);
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

.slick-arrow:before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    border-width: 2px 2px 0 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

.slick-next:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 1024px) {
    .slick-prev {
        left: -20px;
    }
    
    .slick-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .slick-arrow {
        display: none !important;
    }
    
    .testimonials-slider {
        margin: 0 -5px;
    }
    
    .testimonial {
        padding: 0 5px;
    }
}

.slick-slide {
    padding: 10px 0;
}

.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    /*box-shadow: 0 2px 15px rgba(0,0,0,0.1); */
    margin: 0 5px;
}

.testimonials {
    background: #f9f9f9;
    padding: 60px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

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

.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.testimonial .quote {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial .author {
    color: #666;
    font-weight: 600;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .testimonial {
        padding: 20px;
    }
}

/* Equipment Styles */
.equipment-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
}

.equipment-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.equipment-item p {
    color: #666;
    line-height: 1.6;
}

/* Products Page */
.products {
    padding: 60px 0;
}

.products h1 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.product-card img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.feature p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

.product-card .cta-button {
    display: block;
    width: max-content;
    margin: 30px auto 0;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-card .cta-button:hover {
    background-color: var(--accent-color-dark);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    color: var(--white);
}

.contact-info {
    padding: 2rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    display: inline-block;
}

.info-item {
    margin-bottom: 2rem;
}

.info-card {
    margin-bottom: 2rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 1rem;
}

.info-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.info-card h3 {
    margin-bottom: 0.5rem;
}

.info-card .subtitle {
    font-size: 0.9rem;
    color: var(--white);
}

.rental-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

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

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
}

.submit-btn:disabled {
    background-color: var(--medium-gray);
    cursor: not-allowed;
}

.required-fields {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.error-message,
.success-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
}

.error-message {
    background-color: #ffe6e6;
    color: #cc0000;
    border: 1px solid #ffcccc;
}

.success-message {
    background-color: #e6ffe6;
    color: #006600;
    border: 1px solid #ccffcc;
}

.map-section {
    margin: 4rem 0;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Pricing Calculator */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.calculator-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.calculator {
    margin-top: 1.5rem;
}

.duration-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.calculate-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.calculate-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.price-breakdown {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.price-breakdown h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.breakdown-total {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.price-updated {
    animation: priceUpdate 0.3s ease;
}

@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: var(--primary-color);
    }
    100% {
        transform: scale(1);
    }
}

.pricing-features {
    background-color: var(--light-gray);
    padding: 4rem 0;;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1000;
}

/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
}

.faq-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.faq-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.faq-search i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a1dada;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    padding-right: 2rem;
}

.faq-question i {
    color: black;
    transition: transform 0.3s ease;
}

.faq-question i.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
.faq-answer a:hover {
    color: var(--secondary-color);      /* change text color */
    background-color: rgba(0, 0, 0, 0.05); /* subtle highlight background */
    text-decoration: underline;         /* optional underline */
  }
  
.faq-item.active .faq-question {
    border-bottom: 1px solid var(--medium-gray);
}

.no-results {
    text-align: center;
    padding: 2rem;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.no-results p {
    margin-bottom: 1rem;
}

.no-results a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.no-results a:hover {
    text-decoration: underline;
}

.faq-contact {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

.faq-contact h2 {
    margin-bottom: 1rem;
}

.faq-contact p {
    margin-bottom: 2rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-option span {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-option small {
    color: #666;
}

/* Reviews Page Styles */
.reviews-summary {
    padding: 3rem 0;
    background-color: var(--accent-color);
}

.summary-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.overall-rating {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--text-color);
    font-size: 0.9rem;
}

.rating-breakdown {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-label {
    min-width: 60px;
}

.progress-bar {
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-percent {
    min-width: 40px;
    text-align: right;
}

.reviews-filter {
    padding: 2rem 0;
}

.filter-options {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-reviews {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-reviews input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-reviews i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.sort-select select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5rem;
}

.reviews-list {
    padding: 2rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.reviewer-details h3 {
    margin: 0;
    font-size: 1.1rem;
}

.review-meta {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.2rem;
}

.verified-badge {
    color: #28a745;
    margin-left: 0.5rem;
}

.review-rating {
    color: var(--primary-color);
}

.review-rating .empty {
    color: var(--medium-gray);
}

.review-content {
    margin-bottom: 1rem;
}

.review-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.review-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
    font-size: 0.9rem;
    color: var(--text-color);
}

.product-rented i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-btn:hover {
    background-color: var(--primary-dark);
}

.write-review {
    padding: 4rem 0;
    background-color: var(--accent-color);
}

.review-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-form-container h2 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.review-form-container > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--medium-gray);
    transition: color 0.3s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: var(--primary-color);
}

.star-rating label.hover {
    color: var(--primary-color);
}

.review-form .checkbox {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.review-form .checkbox input {
    margin-top: 0.3rem;
}

.review-form .checkbox label {
    margin: 0;
    font-size: 0.9rem;
}

.review-form .checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.review-form .checkbox a:hover {
    text-decoration: underline;
}

.submit-review-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-review-btn:hover {
    background-color: var(--primary-dark);
}

.success-message {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border-radius: var(--border-radius);
    color: #155724;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Reviews Section Styles */
.reviews-section {
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #333;
}

.review-rating {
    color: #266c6c;
    letter-spacing: 2px;
}

.review-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-form h2 {
    color: #266c6c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin: 10px 0;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    color: #ddd;
    font-size: 24px;
    position: relative;
    width: 24px;
    height: 24px;
}

/* Hide default star content */
.rating-input label i {
    display: none;
}

/* Show empty stars by default */
.rating-input label:before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 400; /* Regular (empty) star */
    position: absolute;
    left: 0;
    top: 0;
}

/* Fill stars on hover and when checked */
.rating-input label:hover:before,
.rating-input input[type="radio"]:checked ~ label:before,
.rating-input input[type="radio"]:hover ~ label:before {
    font-weight: 900; /* Solid star */
    color: #f8ce0b;
}

/* Fill previous stars on hover */
.rating-input label:hover ~ label:before {
    font-weight: 900;
    color: #f8ce0b;
}

/* Keep filled stars after selection */
.rating-input input[type="radio"]:checked + label:before {
    font-weight: 900;
    color: #f8ce0b;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: #266c6c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background: #1d5252;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Politika privatnosti Styles */
.privacy-content {
    padding: 4rem 0;
}

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

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.policy-section h3 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

/* ===== Blog Styles ===== */
.blog-container {
    padding: 0rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.blog-card .excerpt {
    color: var(--text-color);
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 0.9rem;
    color: #666;
}

.blog-card .date {
    color: #666;
}

.blog-card .read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card .read-more:hover {
    color: var(--accent-color-dark);
    text-decoration: underline;
}

/* Blog Post Styles */
.blog-post-container {
    padding: 4rem 0;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-post-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-height: 500px;
}

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

.blog-post-content {
    line-height: 1.8;
    color: var(--text-color);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.blog-post-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

.blog-post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.back-link i {
    margin-right: 0.5rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(38, 108, 108, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Admin Controls */
.admin-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 0;
}

.modal-content {
    background: var(--white);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 700px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group textarea,
.editor {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea,
.editor {
    min-height: 150px;
    resize: vertical;
}

.editor {
    padding: 1rem;
    line-height: 1.6;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    min-height: 300px;
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Error and Empty States */
.error-message,
.no-posts {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.error-message i,
.no-posts i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.no-posts i {
    color: #3498db;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}

.policy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-details {
    background: #d4e9e9;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 0.5rem;
}

/* Fix header overlap for all pages except home */
.page-header {
    margin-top: 80px;
    padding: 2rem 0;
    background: var(--light-gray);
    text-align: center;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Enhance section headings */
section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.hidden {
    display: none !important;
}

dialog {
    border: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 0;
    width: auto;
    height: auto;
  }
  
  dialog img {
    max-width: 90vw;
    max-height: 90vh;
  }

/* Markdown Content Styles */
.markdown-content {
    line-height: 1.6;
    margin: 1.5em 0;
}

.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    margin: 1.5em 0 0.8em 0;
    color: var(--primary-color);
}

.markdown-content p {
    margin: 1em 0;
}

.markdown-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content ul,
.markdown-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.markdown-content code {
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.markdown-content pre {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5em 0;
}

/* Custom Checkbox Styling */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    line-height: 1.5;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #4f46e5;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: #4f46e5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

/* Contact Form Styling */
.contact-section {
    padding: 1rem 0;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5ee;
    max-width: 600px;
    width: 100%;
    transition: all 0.3s ease;
    margin: 2rem auto;
}

.contact-form h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.5px var(--secondary-color);
    background-color: #ffffff;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--secondary-color);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
}