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

/* Global Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
    list-style-type: none; /* Remove bullet points */
}

.dropdown-menu a {
    color: #333;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    color: #007bff;
    background: #f8f9fa;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.cta-button {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cta-button:active::before {
    width: 300px;
    height: 300px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: #f8f9fa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.25);
}

/* Hero Slider Styles */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 60px; /* Add padding for arrows */
}

.hero-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    gap: 4rem;
    padding: 2rem 0;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.hero-content {
    max-width: 600px; /* Limit content width */
    text-align: center; /* Center text */
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none; /* Prevent arrows from blocking content */
}

.hero-nav button {
    background: rgba(128, 128, 128, 0.2); /* Light gray with transparency */
    color: #666; /* Darker gray for the arrow */
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    pointer-events: auto; /* Re-enable clicks on buttons */
}

.hero-nav button:hover {
    background: rgba(128, 128, 128, 0.3);
    color: #333;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,123,255,0.3);
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero-dot.active {
    background: #007bff;
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        padding: 0 40px; /* Smaller padding on mobile */
    }
    
    .hero-slide {
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .hero-slide {
        flex-direction: column;
        text-align: center;
    }
    .hero-nav {
        display: none; /* Hide arrows on mobile */
    }
    .hero-slide {
        justify-content: center; /* Center slide content on mobile */
        align-items: center;
    }
}

/* Products Section */
.products-section {
    padding: 4rem 0;
}

.products-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #007bff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product-card:active {
    transform: scale(0.98);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
}

.product-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.product-link:hover {
    color: #0056b3;
}

/* Product Details Section */
.product-details {
    padding: 4rem 0;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-header h1 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.product-header .subtitle {
    font-size: 1.2rem;
    color: #666;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

.product-features h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.product-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: #444;
}

.product-features li:last-child {
    border-bottom: none;
}

.cta-section {
    text-align: center;
    margin-top: 2rem;
}

.cta-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Footer Styles */
footer {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

footer h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    color: #666;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #0056b3;
}

.copyright {
    text-align: center;
    color: #999;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

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

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

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding: 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-content p {
        font-size: 1rem;
    }
}

/* Feedback Slider */
.feedback-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.feedback-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.feedback-item {
  min-width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(30px);
  animation: slideIn 0.5s ease forwards;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.feedback-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.feedback-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.feedback-occupation {
  font-size: 0.85rem;
  color: #666;
}

.feedback-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.feedback-nav button {
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin: 0 1rem;
  border-radius: 4px;
  transition: background 0.3s;
  background: #007bff;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.feedback-nav button:hover {
  background: #eee;
  opacity: 1;
  background: #007bff;
}

/* Update Feedback Slider styles */
#customer-feedback {
  padding: 4rem 0;
  background: #f8f9fa;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

#customer-feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    pointer-events: none;
}

.feedback-slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
}

.feedback-item {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.feedback-item p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Pricing Table Styles */
.pricing-section {
    padding: 4rem 0;
}

.pricing-section h1 {
    text-align: center;
    color: #007bff;
    margin-bottom: 3rem;
}

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

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.price-row {
    background: #f8f9fa;
    font-weight: 600;
}

.check {
    color: #28a745;
    font-size: 1.2rem;
}

/* Buy Now Button Styles */
.action-row {
    background: white;
}

.buy-now-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buy-now-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    padding-right: 2.5rem;
}

.buy-now-btn::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.buy-now-btn:hover::after {
    right: 1rem;
    opacity: 1;
}

@media (max-width: 768px) {
    .buy-now-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-table th,
    .pricing-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* Micro-interactions */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to {
        left: 100%;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus,
a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.3);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Page Transition Effects */
.page-content {
    animation: fadeInPage 0.3s ease-out;
    min-height: calc(100vh - 140px); /* Account for header and footer */
}

main {
    position: relative;
    overflow-x: hidden;
}

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

.page-exit {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
}

/* Keep header and footer above transitions */
header, footer {
    position: relative;
    z-index: 1000;
    background: #fff;
}
