/* ===== MAIN SECTION ===== */
.main-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.main-content {
    max-width: 600px;
    z-index: 1;
}

.main-content h1 {
    font-size: 3.5rem;
    color: rgb(43, 43, 238);
    margin-bottom: 10px;
    animation: fadeInUp 1s ease;
}

.main-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.main-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.main-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.social-icons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.8s;
    animation-fill-mode: both;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.main-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

  .overlay-image {
    position: absolute;
    z-index: 2; 
    top: 48%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: auto;
  }

.cyber-graphic {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    position: relative;
    animation: pulse 4s infinite;
}

.cyber-graphic::before, .cyber-graphic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.cyber-graphic::before {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(37, 99, 235, 0.15);
    animation: rotate 20s linear infinite;
}

.cyber-graphic::after {
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(14, 165, 233, 0.2);
    animation: rotate 15s linear infinite reverse;
}

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

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

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



/* ===== FEATURED SECTIONS ===== */
.featured-section {
    padding: var(--section-padding);
}

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

.skill-category {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--border-color);
}

.category-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.skill-category h3 {
    margin-bottom: 15px;
}

.skill-category p {
    margin-bottom: 20px;
}

.featured-projects-container, .latest-articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.project-card, .article-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.project-card:hover, .article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.project-img, .article-img {
    height: 200px;
    overflow: hidden;
}

.project-img-placeholder, .article-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 3rem;
}

.project-info, .article-content {
    padding: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tag {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.article-category {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.article-link i {
    transition: transform 0.3s ease;
}

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

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

.certification-category {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.certification-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}




/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    background-color: var(--card-bg-color);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
}




/* From Uiverse.io by ElSombrero2 */ 
.card {
    overflow: visible;
    width: 345px;
    height: 360px;
  }
  
  .content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: var(--shadow-large);
    border-radius: 20px;
  }
  
  .front, .back {
    background-color: var(--background-color);
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color);
  }
  
  .back {
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .back::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 160px;
    height: 160%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--primary-color), var(--secondary-color), transparent);
    animation: rotation_481 5000ms infinite linear;
  }
  
  .back-content {
    position: absolute;
    width: 99%;
    height: 99%;
    background-color: var(--card-bg-color);
    border-radius: 5px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  
  .card:hover .content {
    transform: rotateY(180deg);
  }
  
  @keyframes rotation_481 {
    0% {
      transform: rotateZ(0deg);
    }
  
    0% {
      transform: rotateZ(360deg);
    }
  }
  
  .front {
    transform: rotateY(180deg);
    font-size: 25px;
  }
  
  .front .front-content {
    position: absolute;
    width: 99%;
    height: 99%;
    background-color: var(--card-bg-color);
    border-radius: 5px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .front-content .badge {
    padding: 2px 10px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    width: fit-content;
  }
  
  .description {
    width: 100%;
    padding: 20px;
    backdrop-filter: blur(5px);
    border-radius: 20px;
  }
  
  .title {
    font-size: 15px;
    color: var(--text-color);
    max-width: 100%;
    display: flex;
    justify-content: space-between;
  }
  
  .title p {
    width: 100%;
  }
  
  .card-footer {
    color: #ffffff88;
    margin-top: 5px;
    font-size: 8px;
  }
  
  .front .img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  #bottom {
    background-color: #ff8866;
    left: 50px;
    top: 0px;
    width: 150px;
    height: 150px;
    animation-delay: -800ms;
  }
  
  #right {
    background-color: #ff2233;
    left: 160px;
    top: -80px;
    width: 30px;
    height: 30px;
    animation-delay: -1800ms;
  }
  
  @keyframes floating {
    0% {
      transform: translateY(0px);
    }
  
    50% {
      transform: translateY(10px);
    }
  
    100% {
      transform: translateY(0px);
    }
  }
