.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Slideshow container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Individual slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Overlay for better text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

/* Content styling */
.container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.search-bar {
    display: flex;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-bar .btn {
    border-radius: 0 4px 4px 0;
    padding: 15px 25px;
    font-weight: 600;
}

.tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tags span {
    margin-right: 10px;
    font-weight: 500;
}

.tags a {
    color: #fff;
    margin-right: 10px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 500px;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.0rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .search-bar input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .search-bar .btn {
        border-radius: 4px;
        width: 100%;
    }
    
    .tags {
        justify-content: center;
    }
}


/* Base styles */
.categories {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #333;
}

/* Carousel container */
.category-carousel-container {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
}

/* Carousel track */
.category-carousel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    margin: 0 -10px;
}

/* Category card styles */

.category-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background: #ffc00078;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s 
ease;
    min-width: 250px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.category-card .icon {
    font-size: 2.5rem;
    color: #001f3f;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Navigation controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6cf7;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: #4a6cf7;
    color: white;
}

.carousel-control.prev {
    left: -20px;
}

.carousel-control.next {
    right: -20px;
}

/* Dots navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #4a6cf7;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .category-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .category-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .carousel-control {
        width: 30px;
        height: 30px;
    }
    
    .carousel-control.prev {
        left: -10px;
    }
    
    .carousel-control.next {
        right: -10px;
    }
}
/* Main container */
.logo-container {
display: inline-block;
max-width: 100%;
}

/* Link wrapper */
.logo-link {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: inherit;
}

/* Logo styling - increased size */
.shapwork-logo {
height: 65px;  /* Optimal logo size */
width: auto;
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Text styling with navy blue accent */
.shapwork-text {
font-family: 'Poppins', 'Arial', sans-serif;
font-size: clamp(1.8rem, 4vw, 2.4rem);
font-weight: 700;
color: #979509;  /* Dark blue-gray */
margin: 0;
text-transform: uppercase;
letter-spacing: 0.5px;
white-space: nowrap;
}

.shapwork-text span {
color: #001f3f;  /* Navy blue accent */
transition: color 0.3s ease;
}

/* Hover effects */
.logo-link:hover .shapwork-logo {
transform: scale(1.08);
opacity: 0.9;
}

.logo-link:hover .shapwork-text {
color: #1a2a3a;
}

.logo-link:hover .shapwork-text span {
color: #003366;  /* Slightly lighter navy on hover */
text-shadow: 0 0 5px rgb(236, 238, 240);
}

/* Responsive adjustments */
@media (max-width: 768px) {
.shapwork-logo {
height: 55px;
}

.shapwork-text {
font-size: clamp(1.5rem, 5vw, 2rem);
}
}









.gig-posting-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #001F3F;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }
  
  .content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  
  .text-content {
    flex: 1;
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .image-content {
    flex: 1;
    margin-top: -3rem;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .feature-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    display: block;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.4;
  }
  
  .steps-container {
    margin-bottom: 2rem;
  }
  
  .step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .step-number {
    width: 28px;
    height: 28px;
    background: #FFD700;
    color: #001F3F;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 0.8rem;
    font-size: 0.9rem;
  }
  
  .step-text {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
  }
  
  .cta-button {
    background: #001F3F;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
  }
  
  .cta-button:hover {
    background: #000D1F;
    transform: translateY(-2px);
  }
  
  .arrow-icon {
    transition: transform 0.3s ease;
  }
  
  .cta-button:hover .arrow-icon {
    transform: translateX(3px);
  }
  
  /* Animation Classes */
  .animate-in {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
  
  @media (max-width: 768px) {
    .content-wrapper {
      flex-direction: column;
    }
    
    .image-content {
      margin-top: 0;
      order: -1;
    }
    
    .feature-image {
      max-width: 100%;
      margin: 0 auto 2rem;
    }
    
    .text-content {
      text-align: center;
    }
    
    .step {
      justify-content: center;
    }
  }



  /* Section Styles */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a6cf7 0%, #28c2ff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    color: #001F3F;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Steps Grid */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

/* Step Cards */
.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4a6cf7;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

/* Step Icon */
.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a6cf7 0%, #28c2ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #FFD700;
    color: #001F3F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Step Content */
.step h3 {
    font-size: 1.3rem;
    color: #001F3F;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: #001F3F;
    text-align: center;
    margin-bottom: 1rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    height: 100%;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a6cf7 0%, #28c2ff 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #FFD700;
    color: #001F3F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step h3 {
    font-size: 1.2rem;
    color: #001F3F;
    margin: 0 0 1rem 0;
}

.step p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}


/* Base Section Styles */
.featured-gigs {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.featured-gigs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Added container padding */
}

/* Header */
.featured-gigs .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem; /* Added header padding */
}

/* Grid Layout */
.featured-gigs .gig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: 0.5rem; /* Added grid padding */
}

/* Card Styling */
.featured-gigs .gig-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.featured-gigs .gig-card:hover {
    transform: translateY(-3px);
}

/* Thumbnail */
.featured-gigs .gig-thumbnail {
    position: relative;
    height: 160px; /* Slightly reduced height */
    overflow: hidden;
}

.featured-gigs .gig-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Default Avatar */
.featured-gigs .freelancer-avatar {
    width: 36px; /* Slightly smaller */
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    background-color: #f0f0f0; /* Fallback color */
}

/* Content Area */
.featured-gigs .gig-content {
    padding: 1rem; /* Adjusted padding */
}

.featured-gigs .gig-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Button Styles */
.featured-gigs .gig-btn {
    display: inline-block;
    padding: 0.4rem 0.8rem; /* Smaller button */
    background: #4a6cf7;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 100%;
    border: none;
    cursor: pointer;
}

.featured-gigs .gig-btn:hover {
    background: #3a5bd9;
}

/* Price Styling */
.featured-gigs .gig-price {
    font-size: 0.9rem;
    color: #666;
    margin: 0.75rem 0;
}

.featured-gigs .gig-price span {
    font-weight: 700;
    color: #001F3F;
    font-size: 1rem;
}

/* Badges */
.featured-gigs .gig-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}


/* Compact Gig Cards */
.featured-gigs .gig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.featured-gigs .gig-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.featured-gigs .gig-thumbnail {
    height: 120px;
}

.featured-gigs .gig-content {
    padding: 0.8rem;
}

.featured-gigs .gig-meta {
    margin-bottom: 0.5rem;
}

.featured-gigs .freelancer-avatar {
    width: 28px;
    height: 28px;
}

.featured-gigs .freelancer-name {
    font-size: 0.8rem;
}

.featured-gigs .rating {
    font-size: 0.7rem;
}

.featured-gigs .gig-title {
    font-size: 0.9rem;
    margin: 0.3rem 0;
    line-height: 1.3;
}

.featured-gigs .gig-price {
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.featured-gigs .gig-price span {
    font-size: 0.9rem;
}

.featured-gigs .gig-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 3px;
}

.featured-gigs .gig-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
    top: 6px;
    right: 6px;
}


/* Default header layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Hide toggle button on desktop */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    padding-top: 4rem;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 1.5rem;
  }
  .auth-buttons {
    display: none; /* you can move auth buttons into menu if you like */
  }
  .menu-toggle {
    display: block;
  }
  nav.open {
    right: 0;
  }
}




