@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,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);
    }
}

/* 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);
}

/* Footer styles */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #21243D;
    color: white;
    border-radius: 10px;
    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;
}

/* Container styles */
.container {
    width: 85%;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

/* About section */
.about {
    margin-bottom: 60px;
    animation: fadeIn 1s ease-out;
}

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

.about h2 {
    color: #21243D;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 42px;
    position: relative;
    display: inline-block;
}

.highlight {
    position: relative;
    z-index: 1;
}

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

.about h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background-image: linear-gradient(90deg, #FA5252 9.16%, #DD2476 64.72%);
    position: absolute;
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.about p {
    color: #555;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 18px;
    font-weight: 500;
    color: #21243D;
}

/* Services section */
.services {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

.service-icon {
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.03);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content h3 {
    color: #21243D;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.service-content p {
    color: #555;
    line-height: 1.7;
}

.service strong {
    color: #21243D;
}

/* Languages/Skills section */
.languages {
    text-align: center;
    margin: 60px 0;
    padding: 30px 0;
    background-color: #f8f9fa;
    border-radius: 20px;
}

.languages h2 {
    font-size: 32px;
    color: #21243D;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.languages h2::after {
    content: "";
    width: 50px;
    height: 3px;
    background-color: #ff6363;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.grid-item {
    padding: 25px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-radius: 15px;
    background-color: white;
    transition: all 0.3s ease;
}

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

.grid-item img {
    height: 70px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item p {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    color: #21243D;
    font-weight: 600;
}

.cta-text {
    margin-top: 30px;
    font-size: 18px;
    color: #555;
}

.highlight-link {
    color: #ff6363;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    background-color: rgba(255, 99, 99, 0.1);
}

.highlight-link i {
    transition: all 0.3s ease;
    font-size: 14px;
}

.highlight-link:hover i {
    transform: translateX(5px);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .about h2 {
        font-size: 32px;
    }
    
    .about h2::after {
        width: 40px;
    }
}