
/* Sections - Remove Big Box Feel */
section {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
}

/* Light Background Alternating Sections */
.alternate-bg {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Add a Soft Section Divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: #1dbf73;
    margin: 30px auto;
    border-radius: 2px;
}

/* Section Title Styling */
h2.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1dbf73;
    text-transform: uppercase;
}

/* Hero Section Fix */
#hero {
    padding-top: 180px; /* Pushes the text below the navbar */
    padding-bottom: 60px;
    text-align: center;
}

#hero {
    min-height: 90vh; /* Ensures hero section takes up most of the screen */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}




/* Hero Title */
.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white; /* Ensure text is white */
    margin-bottom: 10px;
}

/* Hero Subtitle */
.subtitle {
    font-size: 1.2rem;
    color: #ddd; /* Light gray for contrast */
}


/* About Section */
.about-box {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    border-radius: 20%; /* Makes edges fully round */
    transition: transform 0.3s ease-in-out;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

/* Projects Section */
.projects-box {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

/* Remove excess padding above project title */
.projects-box h2 {
    margin-top: 10px; /* Reduce top space */
    margin-bottom: 10px; /* Keep it balanced */
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: #1dbf73;
    margin: 15px auto; /* Reduced margin */
    border-radius: 2px;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 10px; /* Reduce extra space */
}

/* Individual Project */
.project {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: auto;
}

.project:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Project Image */
.project img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-bottom: 4px solid #1dbf73;
}

/* Project Info */
.project-info {
    padding: 15px 10px; /* Reduce top padding */
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px; /* Keep name close to description */
    margin-top: 5px; /* Reduce space from top */
    color: #1dbf73;
}

.project-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .projects-box {
        max-width: 95%;
        padding: 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project {
        max-width: 100%;
    }

    .project-info {
        padding: 12px;
    }
}


/* Blogs Section */
.blogs-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
}

.blog-placeholder {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ddd;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    margin-top: 40px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}
