@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bricolage Grotesque", sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header {
    background-color: var(--secondary-color);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(44, 62, 80, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo p {
    color: #fff;
    font-size: 1.8rem;
}

.logo a{
    text-decoration: none;
}

#menulist {
    display: flex;
    list-style-type: none;
}

#menulist li {
    margin-left: 2rem;
}

#menulist a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

#menulist a:hover {
    color: var(--primary-color);
}

.menu-icon {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.full-body {
    padding-top: 80px;
}

.home {
    width: 98%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.safal {
    flex: 1;
    padding-right: 2rem;
}

.name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 3s ease;
}

.frontend {
    color: var(--primary-color);
}

.p-1 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.talk-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 6s ease 1s;
    opacity: 0;
    animation-fill-mode: forwards;
    border-radius: 8px;
}

.talk-button:hover {
    background-color: #2980b9;
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease;
}

.img-2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-2:hover {
    transform: scale(1.3) rotate(5deg);
}

.experience {
    background-color: #fff;
    padding: 4rem 2rem;
}

.exp {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.intro {
    flex: 1;
    padding-right: 2rem;
    text-align: center;
}

.img-3 {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.ml {
    flex: 1;
}

.text-1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.text-2 {
    margin-bottom: 1.5rem;
}

.text-3 ul {
    list-style-type: none;
}

.text-3 li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

/*Css for blog*/
#blog {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #eef2f3, #d3cce3);
    overflow: hidden;
}

.blog {
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
    font-weight: bold;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s ease-in-out forwards 0.5s;
}

.blog-post {
    width: 25%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 360px;
    text-align: left;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 0.8s ease-in-out forwards;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post:hover {
    transform: translateY(-15px);
 }

.blog-post img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

.inn-img{
    width: 70%;
    margin: auto;
}

.blog-page img{
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

.blog-post:hover img {
    transform: scale(1.05);
}

.blog-post:hover {
    transform: scale(1.05);
    transform: translateY(-8px);
    color: #3291d1;
    background-color: #cee2ee;
}

.blog-post h2 {
    font-size: 1.4rem;
    color: #444;
    margin: 15px 0;
}

.blog-post p {
    color: #666;
    font-size: 1rem;
    flex-grow: 1;
}

.blog-post a {
    text-decoration: none;
}

.read-more {
    display: block;
    margin-top: 15px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    text-align: center;
    padding: 10px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.read-more:hover {
    background: #007BFF;
    color: white;
}

.blog-post:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.2);
}

.blog-button {
    margin-top: 30px;
    padding: 14px 28px;
    background: linear-gradient(45deg, #007BFF, #0056b3);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.blog-button:hover {
    background: linear-gradient(45deg, #0056b3, #003b80);
    transform: translateY(-4px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

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

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .blog-post {
        width: 45%;
        /* Adjust width for tablets */
    }
}

@media (max-width: 768px) {
    .blog {
        font-size: 2.2rem;
    }

    .blog-post {
        width: 80%;
        /* Adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .blog {
        font-size: 2rem;
    }

    .blog-container {
        flex-direction: column;
        align-items: center;
    }

    .blog-post {
        width: 100%;
        max-width: 90%;
    }
}

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

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/*Blog css End*/
.roshan {
    background-color: var(--bg-color);
    padding: 4rem 2rem;
}

.testmonial {
    text-align: center;
    margin-bottom: 3rem;
}

.says {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.what {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 2rem);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.what:hover {
    /* transform: translateY(-8px); */
    color: #3291d1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2),
        -10px -10px 25px rgba(255, 255, 255, 0.5);
    transform: scale(1.1) rotate(5deg);
}

.message {
    margin-bottom: 1.5rem;
}

.people {
    display: flex;
    align-items: center;
}

.person {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.Footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.FooterContainer {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.socialicons {
    display: flex;
    gap: 1rem;
}

.socialicons a {
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transition);
}

.socialicons a:hover {
    color: var(--primary-color);
    transform: translateY(-8px);
}

.FooterBottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.designer {
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    #menulist {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    #menulist.show {
        display: flex;
    }

    #menulist li {
        margin: 0.5rem 0;
    }

    .home,
    .exp,
    .says {
        flex-direction: column;
    }

    .safal,
    .intro,
    .what {
        width: 100%;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .image {
        order: -1;
        margin-bottom: 2rem;
    }
}