
/* =========================================
   1. GENERAL SETTINGS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #14243d;
    --secondary-color: #1e3556;
    --gold-color: #d6b36a;
    --gold-light: #f1dfb8;

    --white-color: #ffffff;
    --background-color: #f8f9fc;
    --section-color: #ffffff;
    --text-color: #333d4e;
    --text-light: #778196;
    --border-color: #e7eaf0;

    --shadow: 0 8px 30px rgba(20, 36, 61, 0.08);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */

body.dark-mode {
    --primary-color: #e8edf5;
    --secondary-color: #d5deeb;
    --white-color: #142033;
    --background-color: #101827;
    --section-color: #172438;
    --text-color: #e1e7f0;
    --text-light: #a8b4c7;
    --border-color: #2b3a50;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}


/* =========================================
   2. RESET AND BASIC STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
    direction: rtl;
    transition: var(--transition);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =========================================
   3. HEADER AND NAVBAR
========================================= */

.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--section-color);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar {
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn,
.menu-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--text-color);
    font-size: 15px;
    transition: var(--transition);
}

.icon-btn:hover,
.menu-btn:hover {
    background-color: var(--gold-color);
    color: #14243d;
    border-color: var(--gold-color);
}

.menu-btn {
    display: none;
}


/* =========================================
   4. HOME SECTION
========================================= */

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    background:
        radial-gradient(circle at 10% 20%, rgba(214, 179, 106, 0.10), transparent 30%),
        var(--background-color);
}

.home-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.home-subtitle {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background-color: rgba(214, 179, 106, 0.15);
    color: var(--gold-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.home-content h1 {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 10px;
}

.highlight {
    color: var(--gold-color);
}

.home-content h2 {
    font-size: 23px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.home-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 2;
    max-width: 600px;
    margin-bottom: 30px;
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--gold-color);
    color: #14243d;
    transform: translateY(-4px);
}

.btn-outline {
    border-color: var(--gold-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--gold-color);
    color: #14243d;
    transform: translateY(-4px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a,
.contact-social a,
.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 17px;
    transition: var(--transition);
}

.social-links a:hover,
.contact-social a:hover,
.footer-social a:hover {
    background-color: var(--gold-color);
    border-color: var(--gold-color);
    color: #14243d;
    transform: translateY(-5px);
}


/* Home Image */

.home-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    padding: 12px;
    border: 4px solid var(--gold-color);
    background-color: var(--section-color);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    bottom: 35px;
    right: -15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background-color: var(--section-color);
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 700;
    animation: floating 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--gold-color);
    font-size: 22px;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================================
   5. SECTION TITLES
========================================= */

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title span {
    display: inline-block;
    color: var(--gold-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 65px;
    height: 3px;
    background-color: var(--gold-color);
    border-radius: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 15px;
    margin-top: 20px;
}


/* =========================================
   6. ABOUT SECTION
========================================= */

.about {
    background-color: var(--section-color);
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 60px;
}

.about-image {
    height: 430px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid var(--gold-light);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-content > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 2;
}

.personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.info-item {
    padding: 12px;
    background-color: var(--background-color);
    border-radius: 8px;
    border-right: 3px solid var(--gold-color);
    font-size: 13px;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.info-item span {
    color: var(--text-light);
    overflow-wrap: anywhere;
}


/* =========================================
   7. SKILLS SECTION
========================================= */

.skills-container {
    max-width: 850px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 45px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-info h3 {
    font-size: 16px;
    color: var(--primary-color);
}

.skill-info span {
    color: var(--gold-color);
    font-weight: 700;
    font-size: 14px;
}

.progress-bar {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-color));
    border-radius: 20px;
    transition: width 1.5s ease;
}


/* =========================================
   8. EDUCATION SECTION
========================================= */

.education {
    background-color: var(--section-color);
}

.timeline {
    max-width: 750px;
    margin: auto;
    position: relative;
    padding-right: 35px;
    border-right: 2px solid var(--gold-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-icon {
    position: absolute;
    right: -56px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--gold-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--gold-light);
}

.timeline-content {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.timeline-date,
.experience-date {
    display: inline-block;
    padding: 5px 14px;
    background-color: rgba(214, 179, 106, 0.18);
    color: var(--gold-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 7px;
}

.timeline-content h4 {
    color: var(--gold-color);
    font-size: 15px;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 2;
}


/* =========================================
   9. EXPERIENCE SECTION
========================================= */

.experience-container {
    max-width: 850px;
    margin: auto;
}

.experience-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background-color: var(--section-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-right: 4px solid var(--gold-color);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: rgba(214, 179, 106, 0.18);
    color: var(--gold-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
}

.experience-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 7px;
}

.experience-content h4 {
    color: var(--gold-color);
    font-size: 15px;
    margin-bottom: 15px;
}

.experience-content ul {
    padding-right: 20px;
    list-style: disc;
}

.experience-content li {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}


/* =========================================
   10. PROJECTS SECTION
========================================= */

.projects {
    background-color: var(--section-color);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background-color: var(--background-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(20, 36, 61, 0.14);
}

.project-image {
    height: 210px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-content {
    padding: 22px;
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 2;
    min-height: 85px;
    margin-bottom: 18px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.project-tags span {
    background-color: rgba(214, 179, 106, 0.17);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-color);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-color);
    gap: 13px;
}


/* =========================================
   11. CERTIFICATES SECTION
========================================= */

.certificates-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.certificate-card {
    text-align: center;
    padding: 30px 18px;
    background-color: var(--section-color);
    border: 1px solid var(--border-color);
    border-radius: 13px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-color);
}

.certificate-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(214, 179, 106, 0.17);
    color: var(--gold-color);
    font-size: 28px;
}

.certificate-card h3 {
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 10px;
}

.certificate-card p {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.9;
}


/* =========================================
   12. LANGUAGES SECTION
========================================= */

.languages {
    background-color: var(--section-color);
}

.languages-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 750px;
    margin: auto;
}

.language-card {
    text-align: center;
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background-color: var(--background-color);
    transition: var(--transition);
}

.language-card:hover {
    transform: translateY(-7px);
    border-color: var(--gold-color);
}

.language-card i {
    font-size: 35px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.language-card h3 {
    color: var(--primary-color);
    font-size: 19px;
    margin-bottom: 7px;
}

.language-card p {
    color: var(--text-light);
    font-size: 14px;
}


/* =========================================
   13. INTERESTS SECTION
========================================= */

.interests-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.interest-card {
    padding: 30px 15px;
    background-color: var(--section-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.interest-card:hover {
    background-color: var(--primary-color);
    transform: translateY(-7px);
}

.interest-card i {
    font-size: 30px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.interest-card h3 {
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.interest-card:hover h3 {
    color: #ffffff;
}


/* =========================================
   14. CONTACT SECTION
========================================= */

.contact {
    background-color: var(--section-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(214, 179, 106, 0.18);
    color: var(--gold-color);
    border-radius: 10px;
    font-size: 20px;
}

.contact-info-item h4 {
    color: var(--primary-color);
    font-size: 14px;
}

.contact-info-item a,
.contact-info-item p {
    color: var(--text-light);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-info-item a:hover {
    color: var(--gold-color);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}


/* Contact Form */

.contact-form {
    background-color: var(--background-color);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    background-color: var(--section-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(214, 179, 106, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.contact-form .btn {
    width: 100%;
    border: none;
}

.form-message {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
}


/* =========================================
   15. FOOTER
========================================= */

.footer {
    padding: 30px 0;
    background-color: #14243d;
    color: #ffffff;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer .logo {
    color: #ffffff;
}

.footer-container p {
    font-size: 13px;
    color: #c5ccda;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    font-size: 14px;
}


/* =========================================
   16. BACK TO TOP BUTTON
========================================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 10px;
    background-color: var(--gold-color);
    color: #14243d;
    font-size: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-5px);
}


/* =========================================
   17. ENGLISH LANGUAGE SUPPORT
========================================= */

body.english {
    direction: ltr;
    font-family: Arial, sans-serif;
}

body.english .nav-menu a::after {
    right: auto;
    left: 0;
}

body.english .info-item {
    border-right: none;
    border-left: 3px solid var(--gold-color);
}

body.english .timeline {
    padding-right: 0;
    padding-left: 35px;
    border-right: none;
    border-left: 2px solid var(--gold-color);
}

body.english .timeline-icon {
    right: auto;
    left: -56px;
}

body.english .experience-card {
    border-right: none;
    border-left: 4px solid var(--gold-color);
}

body.english .experience-content ul {
    padding-right: 0;
    padding-left: 20px;
}

body.english .back-to-top {
    left: auto;
    right: 25px;
}

body.english .section-title h2::after {
    right: 50%;
}

body.english .floating-card {
    right: auto;
    left: -15px;
}

body.english .project-link {
    flex-direction: row-reverse;
}


/* =========================================
   18. RESPONSIVE DESIGN - TABLETS
========================================= */

@media (max-width: 1024px) {

    .nav-menu {
        gap: 13px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .home-container {
        gap: 35px;
    }

    .image-circle {
        width: 300px;
        height: 300px;
    }

    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .interests-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   19. RESPONSIVE DESIGN - MOBILE
========================================= */

@media (max-width: 768px) {

    .section {
        padding: 75px 0;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--section-color);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.4s ease, visibility 0.4s ease;
    }

    .nav-menu.active {
        max-height: 550px;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
    }

    .nav-menu a::after {
        display: none;
    }

    .home {
        min-height: auto;
        padding-top: 130px;
    }

    .home-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

    .home-content {
        order: 2;
    }

    .home-image {
        order: 1;
    }

    .home-content p {
        margin-right: auto;
        margin-left: auto;
    }

    .home-buttons,
    .social-links {
        justify-content: center;
    }

    .image-circle {
        width: 260px;
        height: 260px;
    }

    .floating-card {
        right: 0;
        bottom: 15px;
    }

    body.english .floating-card {
        right: auto;
        left: 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        max-width: 350px;
        width: 100%;
        height: 350px;
        margin: auto;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

}


/* =========================================
   20. SMALL MOBILE SCREENS
========================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .logo {
        font-size: 25px;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h2 {
        font-size: 18px;
    }

    .home-content p {
        font-size: 14px;
    }

    .home-buttons {
        flex-direction: column;
    }

    .home-buttons .btn {
        width: 100%;
    }

    .image-circle {
        width: 220px;
        height: 220px;
    }

    .personal-info {
        grid-template-columns: 1fr;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .certificates-container {
        grid-template-columns: 1fr;
    }

    .languages-container {
        grid-template-columns: 1fr;
    }

    .interests-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .interest-card {
        padding: 22px 10px;
    }

    .interest-card h3 {
        font-size: 12px;
    }

    .experience-card {
        flex-direction: column;
        padding: 22px;
    }

    .contact-form {
        padding: 22px;
    }

    .timeline {
        margin-right: 10px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .footer-container p {
        font-size: 11px;
    }

}


/* =========================================
   21. ACCESSIBILITY AND REDUCED MOTION
========================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-color);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
