@charset "UTF-8";
:root {
    --primary-bg: #002147;
    --primary-text: #fff;
    /* --secondary-bg: #e9ecef; */
    --secondary-bg: #121212;
    --secondary-text: #ffffff;
    --heading-color: #75aceb;
    --font-cursive: cursive;
    --font-primary: 'Poppins', "Times New Roman", "Lucida Console";
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg) !important;
    color: var(--primary-text) !important;
    font-family: var(--font-primary) !important;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.2px;
    word-spacing: 1px;
}

body p {
    line-height: 2.6;
    font-family: var(--font-primary) !important;
    white-space: normal;
    margin-bottom: 20px;
    /* text-align: left; */
}



.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.navbar {
    padding: 1rem !important;
    margin-bottom: 1.5rem;
    background-color: transparent !important;
}

.navbar-brand h3 {
    font-size: 24px !important;
    color: var(--primary-text) !important;
    font-style: italic;
    border-top: 2px solid #fff;
    padding-right: 0.3em;
    padding-top: 2%;
    border-radius: 0.25em;
}

.navbar-nav .nav-link {
    color: var(--primary-text) !important;
    margin-right: 1rem !important;
    font-size: 1.1rem !important;
}

.navbar-nav .nav-link:hover {
    text-decoration: underline !important;
}

.section {
    padding: 1.7rem 0;
}

.section h4, h5, h2 {
    margin-bottom: 1.5rem;
    color: var(--heading-color) !important;
    font-weight: 400 !important;
}

.section h2 {
   font-size: calc(0.9rem + .9vw) !important;
}


.section p {
    margin-top: 1rem;
    font-size: 0.95rem !important;
}


.intro h1 {
    color: var(--heading-color);
    font-family: var(--font-primary) !important;
    font-weight: 500;
    font-optical-sizing: auto;
}


.intro small {
    font-family: var(--bs-font);
    font-weight: 300;
    font-optical-sizing: auto;
}

.name {
    font-weight: 500;
}

.socials > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, #f8f9fa, transparent 90%);
    color: var(--primary-text);
    margin: 1.1rem 0.25rem;
    width: 40px;
    height: 40px;
    border-radius: 20%;
    transition: 0.3s;
}

.socials a.Gmail:hover {
    color: #D14836 !important;
}

.socials a.linkedin:hover {
    color: #0077B5 !important;
}

.socials a.github:hover {
    color: #333333 !important;
}

.socials a.medium:hover {
    /* color: #212529 !important; */
    color: #00ab6c !important;
    
}

.socials a.skype:hover {
    color: #00AFF0 !important;
}

/* Skills Images */
.skills-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-skill, .side-skill {
    border-radius: 100%;
    overflow: hidden;
  }
  
.main-skill {
    width: 130px;
    height: 130px;
    margin-bottom: 20px;
    background-color: #fff;
}

.main-skill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-skill-container {
    display: flex;
    gap: 20px;
}

.side-skill {
    width: 80px;
    height: 80px;
}

.side-skill img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.skills-img-container:hover .main-skill {
    animation: moveUpDown 1s ease-in-out infinite alternate;
}

.skills-img-container:hover .side-skill:nth-child(1) {
    animation: moveLeftRight 1s ease-in-out infinite alternate;
}

.skills-img-container:hover .side-skill:nth-child(2) {
    animation: moveDownUp 1s ease-in-out infinite alternate;
}

.skills-img-container:hover .side-skill:nth-child(3) {
    animation: moveRightLeft 1s ease-in-out infinite alternate;
}

@keyframes moveUpDown {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-30px);
    }
}

@keyframes moveLeftRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-30px);
    }
}

@keyframes moveDownUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(30px);
    }
}

@keyframes moveRightLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(30px);
    }
}

.sub-text{
    color: var(--heading-color);
    margin-top: 1.6rem;
    font-weight: 400;
    font-size: 0.95rem;
}




.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skills-list ul {
    list-style: none;
    padding: 0;
}

.skills-list ul li {
    margin-bottom: 0.5rem;
    
}

.skills-badge {
    padding: 10px 20px;
    /* padding: 0.25em 0.75em; */
    border-radius: 9999px;
    background-color: rgba(45, 212, 191, .1);
    color: rgb(231, 219, 108);
    font-size: 0.85rem;
    line-height: 2;
    font-weight:450 !important;
}

/* @media (max-width: 1200px) {
    .skills-badge {
        flex: 1 1 20%;
    }
} */

@media (max-width: 768px) {
    .skills-badge {
        flex: 1 1 70%;
    }
}

@media (max-width: 480px) {
    .skills-badge {
        flex: 1 1 100%;
    }
}

.relevant-exp h4 {
    line-height: 2;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--primary-text) !important;
}
  
.relevant-exp small {
    margin-left: 0.36rem;
    text-decoration: none;
    font-family: "Lucida Console", "Courier New", 'Times New Roman', Times, serif monospace !important;
}

.resumeLink {
    margin-right: 2em;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    color: #e7db6c;
}

.custom-svg {
    width: 2em;
    height: 2em;
}

.custom-svg:hover {
    cursor: pointer;
    animation: pulse 2s infinite;
}

.resume-file {
    display: flex;
    opacity: 1;
    font-size: small;
    font-family: var(--font-cursive) !important;
    line-height: 1.2em;
}

#projects h3{
    color: var(--heading-color);
}

.projects-grid {
    display: flex;
    justify-content: flex-start;
    gap: 23px;
    flex-wrap: wrap;
    margin-top: 1.3em;
}

.project-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 1.2em;
    max-width: 25em;
    /* width:300px;  */
    flex: 1 1 20rem;
    box-shadow: 0 4px 6px rgba(45, 212, 191, .1);
    transition: transform 0.2s ease;
    font-family: var(--font-primary) !important;

}

.project-card:hover {
    transform: scale(1.05);
}

.project-card h6 {
    font-weight: bold;
    /* text-transform: uppercase; */
}

.project-card p {
    font-size: 0.8em;
    margin-top: 1em;
    margin-bottom: 2em;
    font-family: var(--font-primary) !important;
    line-height: 1.6;
    white-space: normal;      
}


.project-btn {
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    color: #e7db6c;
    /* border: 1.5px solid #e7db6c; */
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(231, 219, 108, 0.5);
    cursor: pointer;
    margin-top: auto;
    align-self: flex-end;
}

.project-btn:hover {
    box-shadow: 0 0 12px rgba(231, 219, 108, 0.7);
}

.see-more {
    text-decoration: none;
    color: #e7db6c;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: var(--font-primary) !important;
}

#articles h4{
    color: var(--heading-color);
}

.article-list {
    list-style-type: none;
    padding: 0;
}

.article-list li {
    margin-bottom: 10px;
}

.article-list li a {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 0.8rem;
    line-height: 2.2;
    font-weight: bold;
    transition: color 0.2s ease;
}

.article-list li a:hover {
    color: #cbe4f4;
}


footer {
    text-align: center;
    /* padding: 2rem 0; */
    padding: 20px 0;
    margin-top: 4em;
    font-style: italic;
    font-size: small !important;
    font-family: cursive !important;
    color: grey;
    opacity: 0.2;
    /* background-color: color-mix(in srgb, #002147, transparent 80%);
    color: color-mix(in srgb, #ffffff, transparent 70%); */
}

footer p {
    margin: 0;
}


.light-mode {
    --primary-bg: var(--secondary-bg);
    --primary-text: var(--secondary-text);
}

.theme-toggle {
    cursor: pointer;
    color: var(--primary-text);
    font-size: 1.3rem;
    margin-left: 0.8rem;
}

.theme-toggle:hover {
    color: var(--heading-color);
}


/* Media queries */
@media (max-width: 1200px) {

    .container {
        max-width: 1000px !important;
        padding: 0 45px !important;
    }

    .project-card {
        max-width: 100% !important;
    }

}

@media (max-width: 992px) {

    .container {
        max-width: 750px !important;
        padding: 0 40px !important;
    }

    .project-card {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {

    .container {
        max-width: 100% !important;
        padding: 0 35px !important;
    }
    .project-card {
        max-width: 100% !important;
    }

}

@media (max-width: 576px) {

    .container {
        max-width: 100% !important;
        padding: 0 30px !important;
    }

    .project-card {
        max-width: 100% !important;
    }

    .custom-svg {
        width: 2.2em;
    }
}




