@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');
@import url("global.css");
*{
    font-family: "Heebo", sans-serif;
    transition: all 0.3s ease;
}
body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Animation classes */
.fadeInUp-animation {
    animation: fadeInUp 1s ease-out;
}

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

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Header styles */
header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header li {
    margin-left: 20px;
}

header a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: .3s all;
    padding: 8px 12px;
    border-radius: 5px;
}

header a:hover {
    color: #ff6363;
    background-color: rgba(255, 99, 99, 0.1);
}

header a.active {
    color: #ff6363;
    background-color: rgba(255, 99, 99, 0.1);
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    background-color: #f0f4f8;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.hero-text {
    max-width: 50%;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #ff6363;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 99, 99, 0.2);
    bottom: 5px;
    left: 0;
    z-index: -1;
}

.hero p {
    font-size: 16px;
    color: #21243D;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero .btn {
    padding: 12px 24px;
    background-color: #ff6363;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(255, 99, 99, 0.3);
}

.hero .btn:hover {
    background-color: #e55a5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 99, 99, 0.4);
}

.hero-image img {
    border-radius: 50%;
    width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 5px solid white;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Recent posts section */
.recent-posts, .featured-works {
    padding: 50px;
    margin: 30px 0;
    border-radius: 20px;
}

.recent-posts {
    background-color: #e5f8fe;
}

.recent-posts h2, .featured-works h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #21243D;
    border-left: 5px solid #ff6363;
    padding-left: 15px;
}

.view-all {
    text-decoration: none;
    color: #00A8CC;
    margin-right: 40px;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.view-all:hover {
    background-color: #00A8CC;
    color: white;
}

.posts{
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 25px;
    width: 85%;
    margin: 0 auto;
}

.post {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.post h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #21243D;
}

.post .date {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #ff6363;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.read-more:hover {
    color: #e55a5a;
    padding-left: 5px;
}

.read-more i {
    font-size: 10px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    margin-left: 8px;
}

/* Featured works section */
.featured-works{
    background-color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.work{
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 25px;
    margin: 40px 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px;
    border-radius: 15px;
}

.work:hover{
    background-color: #f8f8f8;
}

.work::after{
    content: "";
    background-color: #E0E0E0;
    width: 90%;
    height: 1px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%,-20%);
}

.work-img img{
    width: 246px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.work:hover .work-img img {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.work-text {
    flex: 1;
}

.work-text h3{
    font-size: 30px;
    margin: 0 0 10px;
}

.work-text h3 a{
    font-size: 30px;
    color: #21243D;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.work-text h3 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff6363;
    transition: width 0.3s ease;
}

.work-text h3 a:hover::after {
    width: 100%;
}

.work-text p{
    margin: 12px 0;
    line-height: 1.6;
    color: #555;
}

.year{
   color: white;
   font-weight: bold;
   background-color: #142850;
   padding: 3px 12px;
   border-radius: 16px; 
   display: inline-block;
   margin-right: 8px;
   transition: all 0.3s ease;
}

.work:hover .year {
    background-color: #ff6363;
}

.work-link {
    text-decoration: none;
    color: inherit;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #21243D;
    color: white;
    border-radius: 30px 30px 0 0;
    margin-top: 50px;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

footer .social-links a {
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.social-icon i {
    color: #21243D;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    transform: translateY(-5px);
    background-color: #ff6363;
}

footer .social-links a:hover i {
    color: white;
}

footer p {
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 10px;
}

/* Media Queries for Responsive Design */

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        padding: 20px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero img{
        width: 150px;
    }

    .hero p {
        font-size: 16px;
    }

    .posts {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 0;
    }

    .post {
        font-size: 14px;
    }

    .featured-works .work {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-text h3 {
        font-size: 24px;
    }

    .work-text p {
        font-size: 14px;
    }

    .recent-posts{
        padding: 10px;
    }

    .work-img img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 12px;
    }

    .hero .btn {
        padding: 8px 16px;
    }

    .post h3 {
        font-size: 20px;
    }

    .post .date {
        font-size: 14px;
    }

    .posts {
        padding: 0;
    }

    .work-text h3 {
        font-size: 20px;
    }

    .work-text p {
        font-size: 12px;
    }

    .work-img img {
        width: 100%;
    }
}