/* Base Styles */
:root {
    --primary-color: #3a56e4;
    --secondary-color: #ff6b6b;
    --accent-color: #25d366;
    --dark-color: #2c3e50;
    --light-color: #f9f9f9;
    --grey-color: #f1f1f1;
    --text-color: #333;
    --white-color: #fff;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), #7367f0);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: #666;
    max-width: 700px;
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-light {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text .highlight {
    color: var(--primary-color);
}

.menu {
    display: flex;
}

.menu li {
    margin: 0 12px;
}

.menu li a {
    position: relative;
    padding: 5px 0;
}

.menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.menu li a:hover::after,
.menu li a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    margin-left: 20px;
    font-size: 1.2rem;
    color: var(--dark-color);
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background :
    linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.8)),
    url('https://paperdraft.net/old/assets/svg/paperdraft-hero-bg.svg');
  background-size: cover;
  background-position: center;

}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateY(-5deg);
}

.hero h1 {
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--grey-color);
}

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

.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.product-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 10px 20px;
    border: none;
    background-color: var(--grey-color);
    color: var(--text-color);
    cursor: pointer;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--white-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    color: #ffb100;
    font-size: 0.8rem;
}

.product-rating span {
    color: #666;
    margin-left: 5px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--grey-color);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

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

.testimonial-card {
    min-width: 100%;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white-color);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 30px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--white-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* Animation Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.animate-fade-up:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-up:nth-child(3) {
    animation-delay: 0.4s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: var(--shadow-md);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 70px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .product-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    
    .category-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Make the logo icon larger */
.logo-icon {
    font-size: 2rem; /* Increase from default size */
    margin-right: 8px; /* Add some spacing between icon and text */
    color: var(--primary-color); /* Match the highlight color */
    vertical-align: middle; /* Align with the text */
}

/* Adjust overall logo alignment */
.logo {
    display: flex;
    align-items: center;
}