@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #00abf0;
    color: #ededed;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* Space for fixed header */
    padding-bottom: 40px; /* Space for fixed footer */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: blue;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #00abf0;
    animation: showRight 1s ease forwards;
    animation-delay: 0.5s;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;
}

.home, .services, .about, .blog {
    height: 100vh;
    background-color: #00abf0;
    max-width: auto;
    width: 100%;
    margin: 0 auto;
    padding: 0 10%;
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
}

.home-content, .services-content, .about-content, .blog-info {
    max-width: 700px;
    width: 100%;
}

.home-content h1, .services-content h2, .about-content h2, .blog-info h3 {
    font-size: 56px;
    font-weight: 700;
    color: blue;
    line-height: 1.2;
}

.about-content h1 {
    font-size: 16px;
    color: white;
    margin: 30px 0 50px;
}

.home-content h3, .services-content h3 {
    font-size: 35px;
    font-weight: 700;
    color: white;
}

.home-content p, .services-content p, .about-content p, .blog-info p{
    font-size: 16px;
    color: #ededed;
    margin: 30px 0 50px;
}

.blog-info p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-info a {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    color: #00abf0;
    text-decoration: none;
    font-weight: 500;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: #00abf0;
    margin-bottom: 15px;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #081b29;
}

.service-description {
    font-size: 14px;
    color: #081b29;
}

.filter-menu {
    list-style: none;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-item {
    cursor: pointer;
    padding: 10px 20px;
    font-size: 1.1rem;
    color: white;
    transition: background-color 0.3s, color 0.3s;
}

.filter-item:hover,
.filter-item.active {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

/* Blog Section */
.blog-post {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

/* Button Box */
.home-content .btn-box {
    font-size: 16px;
    margin: 20px 0 30px;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 345px;
    height: 50px;
    margin: 20px auto;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s, background-color 0.5s;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #081b29;
    border: 2px solid #00abf0;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: 0.5s ease;
}

.btn-box a:hover::before {
    width: 100%;
}

/* Social Media Icons */
.social-icons {
    position: absolute;
    bottom: 70px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.social-icons a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 20px;
    color: blue;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s, background-color 0.5s;
}

.social-icons a:hover {
    color: #ff5722;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: width 0.5s ease;
}

.social-icons a:hover::before {
    width: 100%;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: blue;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0288d1;
    z-index: -1;
    transition: width 0.5s ease;
}

.footer a:hover::before {
    width: 100%;
}

/* Animations */
@keyframes showRight {
    0% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-content h1, .services-content h2, .about-content h2, .blog-info h3 {
    animation: fadeIn 1s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header {
        padding: 15px 5%;
    }
    .navbar a {
        font-size: 16px;
        margin-left: 20px;
    }
    .home, .services, .about, .portfolio, .blog, .resume {
        padding: 0 5%;
    }
    .home-content h1, .services-content h2, .about-content h2 {
        font-size: 48px;
    }
    .blog-info h3 {
        font-size: 36px;
    }
    .home-content h3, .services-content h3 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .navbar a {
        margin-left: 15px;
        font-size: 14px;
    }
    .home-content h1, .services-content h2, .about-content h2 {
        font-size: 36px;
    }
    .blog-info h3 {
        font-size: 28px;
    }
    .home-content h3, .services-content h3 {
        font-size: 24px;
    }
    .home-content p, .services-content p, .about-content p, .blog-info p {
        font-size: 14px;
        margin: 20px 0 30px;
    }
    .btn-box {
        flex-direction: column;
        width: 150px;
        gap: 10px;
    }
    .social-icons {
        width: 140px;
        bottom: 50px;
    }
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
}

@media (max-width: 576px) {
    .header {
        padding: 10px 3%;
    }
    .logo {
        font-size: 20px;
    }
    .navbar a {
        font-size: 12px;
        margin-left: 10px;
    }
    .home, .services, .about, .blog {
        padding: 0 3%;
    }
    .home-content h1, .services-content h2, .about-content h2 {
        font-size: 28px;
    }
    .blog-info h3 {
        font-size: 24px;
    }
    .home-content h3, .services-content h3 {
        font-size: 20px;
    }
    .home-content p, .services-content p, .about-content p, .blog-info p {
        font-size: 12px;
        margin: 15px 0 20px;
    }
    .btn-box a {
        font-size: 16px;
        width: 120px;
    }
    .social-icons {
        width: 120px;
        bottom: 40px;
    }
    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .footer {
        font-size: 12px;
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 2%;
    }
    .logo {
        font-size: 18px;
    }
        .navbar a {
            font-size: 11px;
            margin-left: 8px;
        }
    }