﻿.hero-section {
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Make the section container relative for positioning overlay */
}

.mentorsh-hero-section {
    background-image: url(/Images/Projects/mentorsh/mentorsh1.png);
}

.bidandbuy-hero-section {
    background-image: url(/Images/Projects/bidandbuy/bidandbuy1.jpg);
}

.preciousmetal-hero-section {
    background-image: url(/Images/Projects/preciousmetal/precuiusmetal1.jpg);
}

.hotelmanagement-hero-section {
    background-image: url(/Images/Projects/hotelmanagement/hotel1.png);
}

.masafpetroleum-hero-section {
    background-image: url(/Images/Projects/MasafPetroleun/herosection.png);
}

.RTC-hero-section {
    background-image: url(/Images/Projects/RTC/4.png);
}

.bookshop-hero-section {
    background-image: url(/Images/Projects/bookshopwithstripeintegrated/herosection.png);
}

.quiz-hero-section {
    background-image: url(/Images/Projects/Quiz/13.png);
}

.holistaa-hero-section {
    background-image: url(/Images/Projects/Holistaa/herisection.png);
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.81); /* Semi-transparent black overlay */
    z-index: 1; /* Make sure the overlay is above the background but below content */
}

.hero-text-div {
    position: relative;
    z-index: 2; /* Ensure the text stays on top of the overlay */
    color: white; /* Make the text readable on dark background */
    text-align: center; /* Center align text for smaller screens */
}

.about-h1 {
    font-size: 80px; /* Default font size for large screens */
    margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-section {
        height: 40vh; /* Adjust height for medium screens */
    }

    .about-h1 {
        font-size: 50px; /* Reduce font size for tablets */
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 30vh; /* Further adjust height for small screens */
    }

    .about-h1 {
        font-size: 35px; /* Further reduce font size for mobile */
        line-height: 1.2; /* Adjust line-height for better spacing */
    }
}
/* Section Styles */
.project-images-section {
    background-color: #f5f5f5;
    padding: 2rem 0;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default: 3 images per row */
    gap: 1rem;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

    .image-item img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .image-item:hover img {
        transform: scale(1.1);
    }

    /* Overlay Styles */
    .image-item .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.727);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 8px;
    }

    .image-item:hover .image-overlay {
        opacity: 1;
    }

.image-overlay i {
    font-size: 2.5rem;
    color: #fff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: 1fr; /* 1 image per row on smaller screens */
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 50%; /* Vertically center */
    left: 50%; /* Horizontally center */
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Higher z-index to appear above navbar */
    padding-top: 5rem; /* Adjust for navbar height */
}

    .lightbox img {
        max-width: 90%;
        max-height: 80%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

.lightbox-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transform: translateY(-50%);
}

.prev-btn,
.next-btn {
    background-color: rgb(248 248 248 / 31%);
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

    .prev-btn:hover,
    .next-btn:hover {
        background-color: rgba(255, 255, 255, 1);
    }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

    .close-btn:hover {
        color: #ff0000;
    }

.gallery-img {
    max-height: 190px !important;
    object-fit: cover;
}

/* {Project Images Section  Closed } */


/* Tech Stach Section  */
/* Tech Stack Section */
.tech-stack-section {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 50px 0;
}

/* Card Styles */
.tech-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card-container {
    border: 2px solid #bbdefb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.tech-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Icon Styles */
.tech-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #1976d2;
}

/* Text Styles */
.tech-card h5 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.tech-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tech-card {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .tech-stack-section {
        padding: 40px 0;
    }
}

/* Tech Stach Section End */
