/* Hero section */
.hero-section {
    padding: 5rem 0;
    height: 90vh;
    min-height: 700px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-background.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-main-content {
    text-align: center;
}

.hero-main-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.hero-main-content .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

.hero-subtitle .purple-text {
    color: #8c1f81;
}

.hero-subtitle .blue-text {
    color: #0d76b7;
}

.hero-featured-project {
    background-color: #333333;
    border: 1px solid #444444;
    border-radius: 0.75rem;
    padding: 2rem;
}

.hero-featured-project img {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-featured-project h3 {
    font-size: 1.75rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-featured-project p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-featured-project .hero-button {
    display: inline-block;
    background-color: #8c1f81;
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 1rem;
}

.hero-featured-project .hero-button:hover {
    background-color: #701967;
}

/* About section */
.about-section {
    background-color: white; 
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.about-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0d76b7;
}

.about-content p {
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Projects and contracting section */
.projects-section {
    background-color: #f3f4f6;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: white;
    color: #4b5563;
    border: 1px solid #ddd;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #0d76b7;
    color: white;
    border-color: #0d76b7;
}

.filter-btn.active {
    background-color: #8c1f81;
    color: white;
    border-color: #8c1f81;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
}
/* for filter js */
.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.project-card-image-container {
    position: relative;
    overflow: hidden;
}

.project-card-image-container img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 22px;
    left: -38px;
    transform: rotate(-45deg);
    width: 150px;
    background-color: #8c1f81;
    color: white;
    padding: 6px 12px;
    text-align: center;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 118, 183, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card-text {
    color: #4b5563;
}

