/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6C5CE7;
    --gradient-pink: #E4B3FF;
    --gradient-light: #F5E6FF;
    --bg-cream: #FFF9F3;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border-light: #E5E7EB;
    --green-positive: #10B981;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

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

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

/* Header */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: var(--border-color);
    border-radius: 15px;
    color: white;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#yesBtn {
    background: #6b2df0;
    color: #fff;
}

#yesBtn:hover {
    background: #3e8e41;
}

#noBtn {
    background: #9d3bf6;
    color: #fff;
}

#noBtn:hover {
    background: #d32f2f;
}

/* Warning section */
.warn {
    font-size: 16px;
    background-color: #000;
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
}

.warn.active {
    display: none;
}

.header {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 40px;
    height: 40px;
    display: block;
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-purple);
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #5B4CD6;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    z-index: 1000;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover {
    color: var(--primary-purple);
}

.mobile-nav .btn-primary {
    margin-top: 12px;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-pink) 0%, var(--gradient-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

/* Hero Slider - Left Side */
.hero-slider {
    flex: 0 0 45%;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(0.95);
}

.slider-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    z-index: 10;
    transition: var(--transition);
    opacity: 0;
}

.slider-container:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-nav.prev {
    left: 16px;
}

.slider-nav.next {
    right: 16px;
}

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    width: 24px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Hero Text - Right Side */
.hero-text {
    flex: 1;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.search-bar {
    display: flex;
    max-width: 100%;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-btn {
    background: var(--primary-purple);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #5B4CD6;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.subtitle-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-purple);
    margin-left: 8px;
}

.section-header {
    margin-bottom: 32px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-actions {
    display: flex;
    gap: 16px;
}

.link-action {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.link-action:hover {
    color: var(--primary-purple);
}

/* NFT Grids */
.nft-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* NFT Card - Notable Drops */
.nft-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.nft-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

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

.nft-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.nft-card:hover .nft-actions {
    opacity: 1;
}

.action-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.nft-info {
    padding: 16px;
}

.nft-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.nft-button {
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary-purple);
    padding: 16px 34px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nft-button:hover {
    background: #5B4CD6;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 16px rgba(108, 92, 231, 0.4);
}

.nft-button:active {
    transform: translateY(0) scale(0.98);
}

.nft-price-browse a {
    width: 100%;
    text-decoration: none;
}

.nft-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.nft-creator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creator-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name {
    font-size: 13px;
    color: var(--text-gray);
}

/* Top Selling Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.collection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-light);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.collection-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.collection-rank {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-gray);
    min-width: 24px;
}

.collection-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.collection-info {
    flex: 1;
}

.collection-name {
    min-width: 60px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.collection-floor {
    font-size: 12px;
    color: var(--text-gray);
}

.collection-volume {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-positive);
}

/* Today's Picks - Detailed Cards */
.nft-card-detailed {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nft-card-detailed:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.nft-image-detailed {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.nft-image-detailed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
}

.badge-time,
.badge-icon {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.nft-info-detailed {
    padding: 16px;
}

.nft-title-detailed {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.nft-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nft-category {
    font-size: 12px;
    color: var(--text-light);
}

.nft-creator-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.creator-avatar-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name-small {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
}

.nft-price-inline {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.price-label {
    font-size: 12px;
    color: var(--text-gray);
}

.price-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Trending NFTs - Large Cards */
.nft-card-large {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.nft-card-large:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.nft-image-large {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.nft-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-actions-large {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.nft-card-large:hover .nft-actions-large {
    opacity: 1;
}

.action-btn-large {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.action-btn-large:hover {
    background: white;
    transform: scale(1.1);
}

.nft-info-large {
    padding: 20px;
}

.nft-title-large {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.nft-creator-large {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.nft-footer-large {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.nft-bid {
    font-size: 13px;
    color: var(--text-gray);
}

.nft-bid strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.resource-card {
    display: flex;
    background: white;
    align-items: center;
    padding: 5px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.resource-image {
    width: 100px;
    height: 100px;
    aspect-ratio: 1;

}

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

.resource-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.resource-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.resource-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.resource-link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-purple);
}

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

/* Browse Popular NFTs */
.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-tab {
    background: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
    color: var(--primary-purple);
    box-shadow: var(--shadow-md);
}

.filter-tab.active {
    background: var(--primary-purple);
    color: white;
}

/* Browse NFT Cards */
.nft-card-browse {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nft-card-browse:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.nft-image-browse {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.nft-image-browse img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-actions-browse {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--transition);
}

.nft-card-browse:hover .nft-actions-browse {
    opacity: 1;
}

.action-btn-browse {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.action-btn-browse:hover {
    background: white;
    transform: scale(1.1);
}

.nft-info-browse {
    padding: 16px;
}

.nft-title-browse {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.nft-creator-browse {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.creator-avatar-browse {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name-browse {
    font-size: 13px;
    color: var(--text-gray);
}

.nft-price-browse {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 6px;
}

.price-icon {
    font-size: 14px;
}

.price-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Buttons */
.btn-secondary {
    background: white;
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--border-light);
    display: block;
    margin: 0 auto;
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 40px 100px;
}

footer a {
    text-decoration: none;
    color: inherit;
}

.footer-logo {
    padding: 35px 20px;
    padding-top: 20px;
    margin-right: 40px;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-cont {
    width: 100%;
    display: flex;
    color: white;
    font-size: 26px;
    gap: 80px;
    padding-bottom: 35px;
    border-bottom: 2px solid gray;
    position: relative;
}

.foot-cont-one {
    display: flex;
    gap: 80px;
}

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 35px;
    border-top: 2px solid gray;

    color: rgb(168, 167, 167);
}

footer svg {
    fill: rgba(255, 255, 255, 0.842);
    stroke-miterlimit: 10;
    stroke-width: 1px;
    width: 40px;
}

.city {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
}

.cont-col {
    display: flex;
    flex-direction: column;
}

.cont-col:first-child {
    color: rgb(168, 167, 167);
}

.cont-col:first-child a:first-child {
    color: white;
}

.foot-cont-two {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.foot-cont-two div {
    align-items: center;
    display: flex;
    gap: 20px;
}

.foot-cont-three {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: white;
    font-size: 20px;
}

.foot-cont-three p:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.foot-cont-three p {
    position: relative;
    padding-right: 16px;
}

.foot-cont-three p::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.foot-cont-three p.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.foot-cont-three a {
    display: none;
}

.social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    border-bottom: 2px solid gray;
}

@media (max-width: 768px) and (min-width: 320px) {
    footer {
        align-items: center;
        padding: 40px 40px;
    }
    .slider-nav{
        opacity: 1 !important;
    }
    .warn {
        font-size: 10px !important;
    }

    .footer-logo {
        margin-right: 0;
    }

    .social {
        gap: 0;
    }

    .footer-logo img {
        object-fit: cover;
        width: 90px;
    }

    .footer-cont {
        font-size: 18px;
        flex-direction: column;
    }

    .foot-cont-two {
        padding-top: 35px;
        border-top: 2px solid gray;
    }

    .foot-cont-three {
        flex-direction: column;
    }

    .featured-title {
        font-size: 1.25rem;
    }

    .featured-desc {
        font-size: 0.9rem;
    }

    .featured-btns {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .featured-btns a {
        width: 100%;
        text-align: center;
        padding: 10px 20px;
    }
}

/* Responsive Design */

/* Tablet */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 48px;
    }

    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-slider {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

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

    .hero-title {
        font-size: 40px;
    }

    .section {
        padding: 60px 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        padding: 60px 0;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-slider {
        max-width: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .slider-nav{
        padding: 15px !important;
       
    }

    .slider-nav.prev {
        left: 8px;
    }

    .slider-nav.next {
        right: 8px;
    }

    .section-title {
        font-size: 24px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .filter-tab {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }

    .header-content .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }
}