/* ==========================================================================
   General Styles
   ========================================================================== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --max-width: 1200px;
    --side-padding: 4rem;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title .section-number {
    font-family: 'Space Mono', monospace;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.dark-bg {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.dark-bg .section-title,
.dark-bg h1,
.dark-bg h2,
.dark-bg h3,
.dark-bg h4 {
    color: var(--light-color);
}

.dark-bg p {
    color: rgba(255, 255, 255, 0.8);
}

.highlight {
    color: var(--primary-color);
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-code {
    font-family: 'Space Mono', monospace;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 2;
    text-align: left;
}

.code-line {
    display: block;
}

.cursor {
    animation: blink 0.7s infinite;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

nav.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    font-family: 'Space Mono', monospace;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
    color: white;
    position: relative;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 130px;
    margin-top: 35px;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-container {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 40%);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    margin-top: 0.5rem;
}

.wheel {
    width: 5px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.detail-item h4 {
    margin-bottom: 0.25rem;
}

.education {
    background-color: rgba(37, 99, 235, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.education-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.education-item {
    display: flex;
    gap: 1rem;
}

.education-icon {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.education-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.education-degree {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.education-meta {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.education-courses h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.education-courses ul {
    padding-left: 1rem;
}

.education-courses li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.education-courses li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-date {
    width: 45%;
    text-align: right;
    padding-right: 2rem;
    font-weight: 500;
    color: var(--primary-color);
}

.timeline-content {
    width: 45%;
    padding-left: 2rem;
}

.timeline-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.timeline-content ul {
    padding-left: 1rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.timeline-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.project-slide {
    display: none;
    animation: fade 0.5s ease;
}

.project-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.project-images {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    background-color: #f8fafc;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.project-image.active {
    opacity: 1;
}

.image-controls {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.project-images:hover .image-controls {
    opacity: 1;
}

.image-controls button {
    background-color: rgba(37, 99, 235, 0.7);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 0.7rem;
}

.image-controls button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.image-controls button:active {
    transform: translateY(0) scale(0.98);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.project-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-details h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.project-meta {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.project-description p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.project-description ul {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.project-description li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
    color: var(--gray-color);
}

.project-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-tech span {
    background-color: var(--light-gray);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .project-slide.active {
        grid-template-columns: 1fr;
    }

    .project-images {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .project-details h3 {
        font-size: 1.5rem;
    }

    .project-description p,
    .project-description li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .image-controls button {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }

    .project-images {
        height: 250px;
    }
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.skills-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skills-category-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.skills-category-title.invisible {
    visibility: hidden;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.professional-skills {
    margin-top: 3rem;
}

.professional-skills h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.skills-tags span {
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method a,
.contact-method p {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: var(--primary-color);
}

.contact-social h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo {
    font-size: 1.8rem;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-social h4 {
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}
.download-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.download-resume:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.download-resume::before {
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --side-padding: 6rem;
    }

    .hero {
        padding: 30px 0 40px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 100px;
    }

    .hero-content {
        margin-bottom: 0;
        order: 0;
    }

    .hero-image {
        order: 1;
        margin: 1rem auto 2rem;
    }

    .image-container {
        height: 450px;
        max-width: 400px;
        margin-bottom: -60px;
    }

    .about-grid {   
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-slide.active {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-images {
        height: 300px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-social {
        align-items: flex-start;
    }

    .timeline::before {
        left: 45px;
    }

    .timeline-item {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .timeline-date,
    .timeline-content {
        width: 100%;
        text-align: left;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 23px;
    }

    .timeline-content {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --side-padding: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        transition: all 0.3s ease;
        padding: 2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        padding: 20px 0 30px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        margin-bottom: 0.5rem;
    }

    .hero-text {
        margin-bottom: 1.2rem;
        font-size: 1rem;
    }

    .hero-actions {
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .image-container {
        height: 380px;
        max-width: 340px;
        margin-bottom: -50px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skills-column {
        gap: 1rem;
    }

    #gap_skills{
        margin-top: -70px;
    }
}

@media (max-width: 576px) {
    :root {
        --side-padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    /*Hero Grid Main Focus*/

    .hero {
        padding: 10px 0 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .image-container {
        height: 350px;
        max-width: 320px;
        margin-bottom: -40px;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-prev,
    .slider-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    :root {
        --side-padding: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .image-container {
        height: 220px;
        max-width: 200px;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}