/* ===== FEATURED SECTION ===== */
.featured {
    padding: 10rem 0;
    background-color: var(--gray-color);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.featured-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    transform: translateY(0);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem;
}

.card-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.featured-card:hover .card-title::after {
    width: 100%;
}

.card-description {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.card-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.card-link:hover {
    color: var(--secondary-color);
}

.card-link:hover::after {
    margin-left: 1rem;
}

/* ===== SKILLS SECTION ===== */
.skills {
    padding: 10rem 0;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    margin-top: 5rem;
}

.skill-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1.8rem;
    font-weight: 500;
}

.skill-percentage {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 8rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    color: var(--light-color);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 4.5rem;
    color: var(--light-color);
    margin-bottom: 2rem;
}

.cta-description {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.btn-cta {
    background-color: var(--light-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 1.5rem 4rem;
    border-radius: 5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 8rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo .logo-text {
    color: var(--light-color);
    font-size: 2.8rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2rem;
}

.footer h4 {
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}
