/* -------------------- Hero Section -------------------- */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0.95;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}


/* -------------------- Floating Elements Animation -------------------- */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* -------------------- Overview Section -------------------- */
.overview-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

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

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.overview-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.overview-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px !important;
    font-weight: 400;
}

/* -------------------- Process Section -------------------- */

.process-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 0px;
}

.process-step {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.process-step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.process-step p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* -------------------- Main Content - Design Collection -------------------- */
.main-content {
    padding: 40px 0;
    background: white;
}

.designs-header {
    text-align: center;
    margin-bottom: 60px;
}

.designs-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.designs-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.visiting-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.visiting-card-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.visiting-card-item:hover {
    transform: translateY(-5px) scale(1.01);
}

.card-img-container {
    overflow: hidden;
    position: relative;
}

.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.visiting-card-item:hover .card-img-top {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visiting-card-item:hover .card-overlay {
    opacity: 1;
}

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

.btn-overlay {
    padding: 12px 25px;
    border-radius: 25px;
    background: white;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-overlay:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-footer {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-psd,
.btn-img {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-psd {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-psd:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-img {
    background: transparent;
    border-color: #667eea;
    color: #667eea;
}

.btn-img:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* -------------------- CTA Section -------------------- */
.cta-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cta-button {
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #8b5cf6;
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.cta-button:hover {
    background-color: #E24958 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(226, 73, 88, 0.4);
    transition: all 0.3s ease;
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button i {
    font-size: 18px;
}

/* Decorative Elements */
.cta-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.cta-decorative-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-decorative-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-decorative-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.cta-decorative-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 6s;
}


.section-title {
    font-weight: 700 !important;
    margin-bottom: 0 !important;
}


/* -------------------- Animation Classes -------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; */
}


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

/* -------------------- Responsive Design (Media Queries) -------------------- */

@media (max-width: 1200px) {
    .visiting-card-row {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .overview-content h2 {
        font-size: 2.5rem;
    }

    .designs-header h2 {
        font-size: 2.5rem;
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .visiting-card-row {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .btn-filter{
        margin-bottom: 6px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .overview-section,
    .process-section,
    .main-content {
        padding: 50px 0;
    }

    .overview-content h2 {
        font-size: 2rem;
    }

    .designs-header h2 {
        font-size: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }

    .process-step p {
        margin-bottom: 0 !important;
    }

    .visiting-card-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .btn-overlay {
        padding: 10px 15px !important;
    }

    .overlay-buttons {
        gap: 5px !important;
    }
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 15px;
    }

}

@media (max-width: 525px) {

    .category-filter .container {
        padding: 0 8px;
    }

    .category-filter .scrolling-wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        display: flex;
        justify-content: center;
    }

    .category-filter .scrolling-wrapper::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari/Webkit */
    }

    .btn-filter {
        min-width: 120px;
        font-size: 0.95rem;
        padding: 10px 12px;
        white-space: nowrap;
        margin: 0;
        border-radius: 20px;
        box-shadow: 0 2px 8px rgba(90, 127, 255, 0.10);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .overview-section,
    .process-section,
    .main-content {
        padding: 40px 0;
    }

    .overview-content h2 {
        font-size: 1.8rem;
    }

    .designs-header h2 {
        font-size: 1.8rem;
    }

    .process-step {
        padding: 25px 15px;
    }

    .card-footer {
        flex-direction: column;
        gap: 10px;
    }

    .btn-psd,
    .btn-img {
        justify-content: center;
    }
    .cta-section {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .cta-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 14px;
        gap: 8px;
    }

    .cta-button i {
        font-size: 16px;
    }
    .visiting-card-row, .process-steps {
        grid-template-columns: 1fr;
    }
    .section-title{
        font-size: 1.4rem;
        text-align: left;
    }
    .explore_card_btn{
        padding: 11px 28px;
    }
}

