/* About Section Styles */
.about-section {
    display: flex;
    padding: 100px 50px 80px;
    align-items: center;
    background-color: #000;
    color: white;
    
}



.about-image {
    flex: 1;
    padding-right: 50px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255,255,255,0.1);
}

.about-content {
    flex: 1;
    
}



.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

/* Projects Section */
.projects-section {
    padding: 80px 50px;
    background-color: #000;
    text-align: center;
}

.section-heading {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.heading-lines {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.heading-line {
    width: 100px;
    height: 1px;
    background-color: #555;
}

.heading-dot {
    width: 8px;
    height: 8px;
    background-color: #555;
    border-radius: 50%;
    margin: 0 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1/1; /* Makes items square */
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255,255,255,0.2);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.project-item:hover .project-overlay {
    background-color: rgba(0,0,0,0.2);
}

.project-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-title:hover {
    background-color: rgba(0,0,0,0.9);
}

/* Circles Section */
.circles-section {
    padding: 80px 50px;
    text-align: center;
    background-color: #000;
}

.circles-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.circle-item {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    border: 2px solid #555;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.circle-item:hover {
    background-color: transparent;
    border-color: #fff;
}

.circle-item:hover .circle-text {
    color: #fff;
}

.circle-text {
    color: #ccc;
    font-size: 18px;
    text-align: center;
    padding: 0 20px;
    transition: color 0.5s ease;
}

.divider-line {
    width: 80%;
    height: 1px;
    background-color: #555;
    margin: 50px auto;
}

/* Parallax Section */
.parallax {
    background-image: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.parallax h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.approach-text {
    max-width: 800px;
    margin: 40px auto 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    padding: 0 20px;
}

/* Modal for single image view */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 100px 30px 50px;
    }
    
    .about-image {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .circles-container {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 576px) {
    .about-section {
        padding: 60px 20px;
    }
    .about-content h2 {
        font-size: 24px;
    }
    .about-content p {
        font-size: 14px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .circles-container {
        padding: 20px 0;
    }
    .circle-item {
        width: 150px;
        height: 150px;
    }
    .circle-text {
        font-size: 16px;
    }

    .parallax {
        min-height: 300px;
        background-attachment: scroll;
    }
    .parallax h2 {
        font-size: 28px;
    }
    .approach-text {
        font-size: 16px;
    }
}


}
