body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #121213;
}

nav {
    background-color: #007bff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #0056b3;
    border-radius: 5px;
    transform: scale(1.1);
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #f8f9fa 50%, #007bff 50%);
    padding: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.banner-text {
    text-align: center;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
}

.banner-text h1 {
    margin: 0;
    font-size: 2.5em;
    color: #121213;
}

.banner-text p {
    font-size: 1em;
    color: #101111;
}

.banner img {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 0;
    animation: slideInRight 1s ease-out;
}

/* Icon styling */
.icon {
    margin-top: 20px;
}

.icon svg {
    fill: #171718;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* About section styling */
.about-section {
    background-color: #ffffff;
    padding: 50px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-section h2 {
    font-size: 2em;
    color: #0d0d0e;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.2em;
    color: #19191a;
    line-height: 1.6;
}

/* Responsive styles */
@media (min-width: 768px) {
    header {
        flex-direction: row;
    }

    .banner {
        flex-direction: row;
        align-items: center;
    }

    .banner-text {
        text-align: left;
        margin-bottom: 0;
    }

    .banner img {
        margin-left: 50px;
        width: 400px;
        height: 400px;
    }

    .banner-text h1 {
        font-size: 3em;
    }

    .banner-text p {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2em;
    }

    .banner-text p {
        font-size: 1em;
    }

    .banner img {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .banner-text h1 {
        font-size: 1.5em;
    }

    .banner-text p {
        font-size: 0.9em;
    }

    .banner img {
        width: 250px;
        height: 250px;
    }

    nav ul li a {
        padding: 5px 10px;
    }
}
.contact-section {
    background-color: #007bff;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.contact-info p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.contact-info a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.portfolio-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

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

.overlay h3 {
    font-size: 1.5em;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
.blogs-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-item img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

.blog-info {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 0 0 10px 10px;
}

.blog-info h3 {
    margin-top: 0;
    font-size: 1.5em;
}

.blog-info p {
    font-size: 1.1em;
    color: #6c757d;
}
