/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #444C9B;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --gray: #95a5a6;
    --light-gray: #bdc3c7;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 3rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn.primary {
    background-color: var(--secondary-color);
    color: var(--white);
    margin-top: 20px;
}

.btn.primary:hover {
    cursor: pointer;
    transform: translateY(-2px);
}
.contact-btn:hover{
    background-color: white;
    background: white;
    color: var(--secondary-color);
}
.btn.secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}


.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Actions (search + language toggle) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    opacity: 0;
    transition: all 1s ease-in-out;
}

.hero-slide.active {
    left: 0;
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
}

/* Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    max-width: 550px;
    z-index: 10;
}

/* Bottom-right slider buttons */
.hero-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--secondary-color);
    cursor: pointer;
    transition: 0.3s;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}


/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Search Box Styles */
.search-box {
    width: 280px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 8px 15px;
    padding-right: 35px;
    border: 2px solid #444C9B;
    border-radius: 20px;
    font-size: 14px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(var(--secondary-color-rgb), 0.1);
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    background-color: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Search Box Styles */
.search-box {
    position: relative;
    width: 230px;
}

.search-box button {
    position: absolute;
    right: 1px;
    padding: 10px !important;
    top: 50%;
    border-radius: 50%;
    padding: 1px;
    transform: translateY(-50%);
    background: var(--secondary-color);
    border: none;
    color: white;
    cursor: pointer;
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    background-color: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.language-toggle button {
    padding: 6px 15px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.language-toggle button.active {
    background: var(--secondary-color);
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .header-actions {
        display: none; /* Hide on mobile - can be shown in mobile menu */
    }
    
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        display: none;
    }
}

.logo img {
    width: 200px;
    transition: var(--transition);
}

/* Navigation Styles */
nav ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    position: relative;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    border-radius: 3px;
    transition: var(--transition);
}

nav ul li a:hover::before,
nav ul li a.active::before {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

/* Language Toggle Styles */
.language-toggle {
    display: flex;
    background-color: var(--light-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-left: 20px;
}

.language-toggle button {
    padding: 6px 15px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.language-toggle button.active {
    background: var(--secondary-color);
    color: var(--white);
}

/* Mobile menu (hidden by default) */
.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .mobile-menu {
        display: block;
    }
    
    nav ul {
        display: none;
    }
    
    .language-toggle {
        margin-left: auto;
        margin-right: 15px;
    }
    .hero-img-container {
        flex-direction: column;
    }
    .hero-img-container {
        margin-top: 40px !important;
    }
    .welcome-msg {
        width: 90% !important;
    }
}
.hero-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}
.welcome-msg {
    width: 50%;
}

.welcome-msg h1{
    font-size: -webkit-xxx-large;
    color: var(--secondary-color);
}
.welcome-msg h2{
    font-size: -webkit-xx-large;
    color: var(--secondary-color);
}
.hero-img {
    height: 70vh;
}

/* Hero Section */
.hero {
     height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: left;
    margin-top: 30px;
    gap: 20px;
    animation: fadeIn 1.5s ease;
}

/* About Section */
.about-section .container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.about-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 50%;
  
}

.about-content h2 {
    font-size: -webkit-xxx-large;
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 2rem;
    text-align: center;
}



.about-image img {
    height: 50vh;
}

/* img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
} */

img {
    transition: transform 0.3s ease; /* apply transition normally too */
}


/* Services Section */
.services-section {
    padding: 10px 0;
    margin-top: 40px;
    background-color: #f9f9f9;
}
.home-products-section{
    padding-bottom: 50px;
    margin-top: 0px;
}
.services-section h2 {
    text-align: center;
  font-size: -webkit-xxx-large;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}
.products-div {
    /* padding: 20px; */
    align-items: center;
    margin-top: 40px;
    justify-content: center;
    display: flex;
}

.products-div a.btn{
    width: 50%;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.partners-section {
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
}

.partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.partners-slider {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(250px * 70); /* Adjust based on number of images */
    animation: scroll 130s linear infinite;
}

.slider-track img {
    height: 100px;
    margin: 0 20px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Keyframes for smooth horizontal scroll */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Sleek Horizontal Footer */
.new-footer {
        background-color: var(--secondary-color);
   color: var(--light-gray);
    font-weight: bold;
    padding: 10px 0;
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-block {
    flex: 1 1 60%;
    max-width: 60%;
}

.contact-block p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.contact-block i {
   color: var(--light-gray);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-block {
    flex: 1 1 35%;
    max-width: 35%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.social-links a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.new-footer .copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--light-gray);
    opacity: 0.8;
}


/* Page Banner */
.page-banner {
       background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-content-section {
    padding: 0px 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-intro h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.about-intro p {
    color: var(--text-light);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mission, .vision {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.mission h3, .vision h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.journey-timeline h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    padding: 10px 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
    position: absolute;
    top: 10px;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -80px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -80px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    color: var(--primary-color);
}

/* Services Page */
.services-content-section {
    padding: 80px 0;
}

.service-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--light-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.service-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image img {
    transition: var(--transition);
    width: 100%;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-description h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-description p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-description ul {
    margin-bottom: 2rem;
}

.service-description ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-description ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.partnership-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partnership-item:hover {
    transform: translateY(-5px);
}

.partnership-item img {
    max-height: 80px;
    margin-bottom: 15px;
}

/* Products Page */
.products-filter {
    background-color: #f9f9f9;
    padding: 30px 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.search-box {
    display: flex;
    max-width: 400px;
}



.products-grid-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-author {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
}

.product-stock {
    color: #27ae60;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-gray);
    background-color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.page-btn.next {
    width: auto;
    padding: 0 15px;
}

.featured-publishers {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.featured-publishers h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.publishers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.publisher-card {
    background-color: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.publisher-card:hover {
    transform: translateY(-5px);
}

.publisher-card img {
    max-height: 60px;
    margin-bottom: 15px;
}

.publisher-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.publisher-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Partners Page */
.partners-content-section {
    padding: 80px 0;
}

.partners-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.partners-intro h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.partners-categories {
    margin-bottom: 60px;
}

.category {
    margin-bottom: 40px;
}

.category h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.partner-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.learn-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.become-partner {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    color: var(--white);
}

.become-partner h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.become-partner p {
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Contact Page */
.contact-content-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.map-section {
    padding: 0 0 80px;
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.departments-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.departments-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.department-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-5px);
}

.department-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.department-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.department-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.department-card a {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Single Product Page Styles */
.single-product-page {
    padding: 40px 0 80px;
}

.product-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.product-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

.product-breadcrumb i {
    margin: 0 8px;
    font-size: 0.8rem;
    color: #999;
}

/* Product Main Content */
.product-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .product-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Product Images Section */
.product-images-section {
    position: sticky;
    top: 20px;
}

.product-main-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eee;
    background: #f9f9f9;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    z-index: 2;
}

.product-out-of-stock {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
}

.product-gallery-thumbs {
    overflow: hidden;
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.thumbnail-slider::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-slider::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumb.active {
    border-color: #0073aa;
}

.gallery-thumb:hover {
    border-color: #005a87;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    padding: 20px 0;
}

.product-header {
    margin-bottom: 25px;
}

.product-title {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-sku {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.product-sku .label {
    font-weight: 600;
    margin-right: 5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.star-rating {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.no-rating {
    color: #999;
    font-style: italic;
}

.product-price-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #0073aa;
}

.price del {
    color: #999;
    font-size: 1.5rem;
    margin-right: 10px;
}

.price ins {
    text-decoration: none;
}

.product-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* Product Variations */
.variations_form .variations {
    margin-bottom: 25px;
}

.variation-row {
    margin-bottom: 20px;
}

.variation-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.variation-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    color: #333;
    transition: border 0.3s ease;
}

.variation-row select:focus {
    outline: none;
    border-color: #0073aa;
}

/* Quantity Selector */
.quantity-selector {
    margin-bottom: 25px;
}

.quantity-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.quantity-input {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quantity-input button:hover {
    background: #e9ecef;
}

.quantity-input input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background: white;
}

.quantity-input input:focus {
    outline: none;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.product-actions .btn {
    flex: 1;
    min-width: 150px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
}

.product-actions .btn.primary {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.product-actions .btn.primary:hover {
    background: #005a87;
}

.product-actions .btn.secondary {
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}

.product-actions .btn.secondary:hover {
    background: #f8f9fa;
    border-color: #0073aa;
}

.product-actions i {
    margin-right: 8px;
}

/* Product Meta Info */
.product-meta-info {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

.product-categories,
.product-tags,
.product-share {
    margin-bottom: 20px;
}

.product-categories:last-child,
.product-tags:last-child,
.product-share:last-child {
    margin-bottom: 0;
}

.product-meta-info .label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.category-link,
.tag-link {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 8px 8px 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-link:hover,
.tag-link:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

/* Product Tabs */
.product-tabs-section {
    margin: 60px 0;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tabs-nav li {
    padding: 15px 30px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tabs-nav li:hover {
    color: #0073aa;
}

.tabs-nav li.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.tab-pane {
    display: none;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 1.3rem;
    margin: 20px 0 15px;
    color: #333;
}

.tab-pane p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.tab-pane ul,
.tab-pane ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tab-pane li {
    margin-bottom: 8px;
    color: #555;
}

/* Product Attributes Table */
.product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.product-attributes th,
.product-attributes td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.product-attributes th {
    font-weight: 600;
    color: #333;
    width: 200px;
    background: #f1f1f1;
}

.product-attributes tr:last-child th,
.product-attributes tr:last-child td {
    border-bottom: none;
}

/* Related Products */
.related-products-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #eee;
}

.related-products-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

.related-product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.related-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-product-info {
    padding: 20px;
}

.related-product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-product-info h3 a {
    color: #333;
    text-decoration: none;
}

.related-product-info h3 a:hover {
    color: #0073aa;
}

.related-product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0073aa;
    margin-bottom: 15px;
}

.related-product-info .btn.small {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    display: block;
    transition: background 0.3s ease;
}

.related-product-info .btn.small:hover {
    background: #005a87;
}

/* No Product Found */
.no-product-found {
    text-align: center;
    padding: 80px 20px;
}

.no-product-found h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.no-product-found p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.no-product-found .btn.primary {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tabs-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

/* Zoom Effect for Images */
.product-main-image {
    cursor: zoom-in;
}