﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.content {
    flex: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    color: #fff;
    float: left;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* About Section */
.about-section {
    background: #f4f4f4;
    padding: 40px 0;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 20px;
}

/* Projects Section */
.projects-section {
    padding: 40px 0;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.project-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Project Info: Text Section */
.project-info {
    flex: 1;
    padding-right: 20px; /* Space between text and image */
}

/* Title & Features */
.project-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.project-features {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Read More Link */
.read-more {
    text-decoration: none;
    font-weight: bold;
    color: #0066cc;
}

.read-more:hover {
    text-decoration: underline;
}

/* Project Image Container */
.project-image img {
    max-width: 250px;
    width: 100%;
    border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .project-card {
        flex-direction: column;
    }

    .project-info {
        padding-right: 0;
        margin-bottom: 15px;
    }
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

/* Feature Sections */
.feature-block {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.feature-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.feature-layout.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1 1 50%;
    padding: 0 20px;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.6;
}

.feature-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Banner Image - Show Full Image */
.banner {
    width: 100%;
    overflow: hidden;
    text-align: center;
    background-color: #f4f4f4; /* Optional: matching background */
    padding: 20px 0;
}

.banner img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: inline-block;
}