:root {
    --font-color: black;
    --font-family: "Inter", sans-serif;
    --background-color: white;
}

/* Base Styles */
body {
    font-family: var(--font-family);
    color: var(--font-color);
    margin: 0 auto;
    max-width: 1200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    margin: 0;
}

h1 {
    font-weight: bold;
    font-size: 60px;
}

h2 {
    font-weight: 200;
    font-size: 30px;
}

h3 {
    font-weight: bold;
    font-size: 25px;
}

h4,
h5 {
    font-weight: bold;
    font-size: 25px;
}

h5 {
    font-size: 15px;
    margin: 0 10px;
}

h6 {
    font-weight: 400;
    font-size: 18px;
    text-decoration: underline;
}

p {
    text-align: justify;
    font-weight: 200;
}

a {
    text-decoration: none;
    color: var(--font-color);
    cursor: pointer;
    transition: color 200ms ease;
}

a:hover {
    color: grey;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 200ms ease-in;
}

/* Layout */
.container,
.main-page,
.head-container,
.container-projects {
    margin: 0 auto;
    padding: 20px;
    max-width: 1200px;
}

.container {
    display: grid;
    gap: 20px;
    padding: 0;
 
}

.main-page {
    display: flex;
    flex-direction: column;
}

.head-container {
    margin-top: 50px;
}

.col {
    margin: 50px 0;
}

.navbar {
    border: 1px solid black;
    background-color: white;
    
}

nav a {
    margin: 15px;
}



/* Modern Footer Styles */
footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 2px solid #dee2e6;
  padding: 48px 0 24px 0;
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #343a40;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  max-width: 150px;
}

.footer-brand p {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav a {
  color: #495057;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer-nav a:hover {
  color: #212529;
  transform: translateX(4px);
}

.footer-nav a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: #4a4a4a;
  transition: height 0.3s ease;
}

.footer-nav a:hover::before {
  height: 16px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  width: 100%;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #495057;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: center;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #212529;
}

.social-links i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.social-links a:hover i {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #6c757d;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #212529;
}

.header {
    text-align: center;
    padding: 250px;
    height: 700px;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(251, 250, 250, 0.8)),
        url("../images/header.jpeg") ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn {
    padding: 15px;
    background-color: black;
    color: white;
    margin-top: 20px;
    box-shadow: rgba(37, 39, 89, 0.08) 0 5px 5px 0;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}

.logo {
    max-width: 100px;
}

.active {
    font-weight: bold;
}



.coding-projects,
.coding-skills {
    margin-top: 90px;
}

.projects-coding-logo,
.extra-coding-logo,
.coding-logo,
.mini-coding-logo {
    text-align: center;
    margin: 0 15px;
}

.projects-coding-logo {
    font-size: 18px;
}

.extra-coding-logo {
    font-size: 30px;
    margin: 0 60px;
}

.extra-coding-logo h4 {
    font-size: 18px;
}

.coding-logo {
    font-size: 60px;
}

.coding-logo h4 {
    margin: 30px 0;
}

.mini-coding-logo {
    font-size: 20px;
    margin: 0 4px;
}

.coding-skills-list {
    margin-top: 40px;
}

.coding-projects-title,
.coding-skills-title,
.additional-skills-title {
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin: 30px 0;
}

.coding-projects-title,
.coding-skills-title {
    font-size: 30px;
}

.additional-skills-title {
    font-size: 20px;
}

.coding-projects-title a,
.coding-skills-title a,
.additional-skills-title a {
    color: inherit;
    transition: color 0.3s ease;
}

.coding-projects-title a:hover,
.coding-skills-title a:hover,
.additional-skills-title a:hover {
    color: grey;
}

.coding-projects-title::after,
.coding-skills-title::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 1150px;
    height: 3px;
    margin: 15px auto 0;
    background-color: var(--font-color);
    border-radius: 5px;
}

.additional-skills-title::after {
    max-width: 550px;
    content: "";
    display: block;
    width: 100%;
    max-width: 550px;
    height: 3px;
    margin: 15px auto 0;
    background-color: var(--font-color);
    border-radius: 5px;
}

.grid-3-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.main-section-projects {
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

.second-line-projects {
    margin-top: 60px;
}

.project-row {
    margin: 60px 0 10px;
}

.project-row .row {
    display: flex;
    align-items: stretch;
}



.project-description {
    padding-left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.img-color {
    filter: grayscale(100%);
    border: 1px solid rgb(210, 209, 209);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.img-color:hover {
    transform: scale(0.99);
    filter: grayscale(0%);
}

.in-touch {
    font-size: 40px;
}

.email-contact {
    font-weight: 600;
}

.github-note {
    margin: 30px 0 20px;
}



.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.container-about {
    margin-bottom: 50px;
}

/* Contact Page Styles */
.contact-intro {
    margin: 40px 0;
}

.contact-intro .lead {
    font-size: 18px;
    line-height: 1.6;
    color: #6c757d;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon i {
    font-size: 40px;
    color: #343a40;
}

.contact-card h4 {
    margin: 15px 0 10px;
    color: #343a40;
}

.contact-card p {
    color: #6c757d;
    margin-bottom: 20px;
}

.contact-card .btn {
    min-width: 160px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #343a40;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.contact-card .btn:hover {
    background: #495057;
    color: white;
    text-decoration: none;
}

.contact-section {
    margin: 50px 0;
}

.contact-section h3 {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 30px;
}

.opportunity-item {
    padding: 20px;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.opportunity-item:hover {
    background: rgba(248, 249, 250, 0.8);
}

.opportunity-item h5 {
    color: #343a40;
    margin-bottom: 8px;
    font-size: 16px;
}

.opportunity-item h5 i {
    margin-right: 8px;
    color: #6c757d;
    width: 20px;
}

.opportunity-item p {
    color: #6c757d;
    margin: 0;
    font-size: 14px;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    height: 180px;
    display: grid;
    place-content: center;
}

.info-card h4 {
    color: #343a40;
    margin-bottom: 15px;
    font-size: 18px;
}

.info-card h4 i {
    margin-right: 10px;
    color: #6c757d;
}

.info-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.contact-cta {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 50px 0;
}

.contact-cta h3 {
    color: white;
    margin-bottom: 15px;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn {
    margin: 5px;
    padding: 12px 25px;
    font-weight: 500;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

@media (max-width: 480px) {
    body {
        margin: 5px auto;
        overflow-x: hidden;
    }



    .navbar-collapse {
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.4s ease;
        background-color: transparent;
        pointer-events: none;
    }
    
    .navbar-collapse.show {
        opacity: 1;
        background-color: #f8f9fa;
        pointer-events: auto;
        padding: 1rem;
        border-radius: 0 0 8px 8px;   
    }
        
    .header {
        padding:50px;
        max-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header h2{
        font-size: 20px;
        margin-top: 15px;
    }
  
    .navbar {
        padding-top: 0px;
        padding-bottom: 0px;
        min-height: 40px;
        display: flex;
        align-items: center;
    }
    
    .navbar-nav .nav-link {
        font-size: 12px;
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .logo {
        height: 70px;
        width: auto;
    }
        
    .navbar-toggler {
        padding: 4px 6px;
        font-size: 14px;
        margin: 20px;   
    }

    .container {
        padding-left: 8px;
        padding-right: 8px;
        padding: 0;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3,
    h5, 
    .coding-skills-title, .coding-projects-title {
        font-size: 20px;
    }

    h4,
    h5 {
        font-size: 12px;
    }

    h6, 
    .additional-skills-title {
        font-size: 14px;
    }

    p {
        font-size: 12px;
    }

    .btn {
        font-size: 10px;
        padding: 10px;
        margin-top: 10px;
    }


    .coding-list {
        flex-direction: column;
        align-items: center;
        text-align: center;   
        margin: 0;
    }

    .container-projects{
        padding: 0;
    }

    .main-section-projects {
        width: 100%;
        margin: 0;
        padding: 0 5px;
    }

    .projects-coding-logo {
        margin: 10px 5px ;
        font-size: 24px;
        text-align: center;
    }
        
    .project-row {
        margin: 30px 0 50px;   
    }

    .mini-coding-logo {
        font-size: 18px;
        margin: 0 4px;   
    }

    .coding-logo,
    .extra-coding-logo {
        width: 33%;
        box-sizing: border-box;
    }

    .coding-logo{
        font-size: 40px;
        margin: 0px 0;
    }
    .extra-coding-logo {
        font-size: 20px;
        margin: 0 20px;
    }
    
    .extra-coding-logo h4 {
        font-size: 12px;  
        margin-top: 20px;
    }
   
    .coding-skills{
        margin-top: 20px;
    }

    
    .coding-skills-list,
    .additional-skills-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }

    .additional-skills-title::after {
        width: 75%;
    }



    .app {
        margin: 15px auto;
        padding: 5px
    }
    .second-line-projects{
        margin: 20px 0 20px 0
    }

    .project-description {
        padding-left: 10px;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;   
    }

    .coding-journey{
        display: flex;
        flex-direction: column;

    }

    .about-button{
        display: block;
       margin: 0 auto;
    }

    .img-container{
        margin: 0
        ;
    }

    .in-touch{
        font-size: 30px;
    }

    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        text-align: center !important;
    }

    .cta-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 !important;
        display: block !important;
    }

    .footer-social .social-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand .logo {
        display: none;
    }

    .footer-nav {
        display: none;
    }

    .social-links {
        justify-content: center;
        width: 100%;
        display: flex;
        
        
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

  
}

@media (min-width: 481px) and (max-width: 768px),
(min-width: 769px) and (max-width: 1024px) {
    
    
body {
    margin: 5px auto;
    overflow-x: hidden;
}

.navbar-collapse {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    background-color: transparent;
    pointer-events: none;
}

.navbar-collapse.show {
    opacity: 1;
    background-color: #f8f9fa;
    pointer-events: auto;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
}

.header {
    padding: 50px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header h2 {
    font-size: 20px;
    margin-top: 15px;
}

.navbar {
    padding-top: 4px;
    padding-bottom: 4px;
}

.navbar-nav .nav-link {
    font-size: 15px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.logo {
    height: 70px;
    width: auto;
}

.navbar-toggler {
    padding: 4px 6px;
    font-size: 18px;
    margin: 20px;
}

.main-page{
    padding: 50px;
}

.container {
    padding-left: 8px;
    padding-right: 8px;
    padding: 0;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 25px;
}

h3,
h5,
.coding-skills-title, .coding-projects-title {
    font-size: 22px;
}

h4,
h5 {
    font-size: 12px;
}

h6,
.additional-skills-title {
    font-size: 16px;
}

p {
    font-size: 12px;
}

.btn {
    font-size: 15px;
    padding: 12px;
    margin-top: 20px;
}


.coding-list {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
}

.container-projects {
    padding: 0;
}

.main-section-projects {
    width: 100%;
    margin: 0;
    padding: 0 5px;
}

.projects-coding-logo {
    margin: 10px 5px;
    font-size: 15px;
    text-align: center;
}

.project-row {
    margin: 30px 0 50px;
}


.coding-logo,
.extra-coding-logo {
    width: 33%;
    box-sizing: border-box;
}

.coding-logo {
    font-size: 30px;
    margin: 0px 0;
}

.extra-coding-logo {
    font-size: 15px;
    margin: 0 20px;
}

.extra-coding-logo h4 {
    font-size: 12px;
    margin-top: 20px;
}

.mini-coding-logo {
    font-size: 18px;
    margin: 0 4px;
}

.coding-skills {
    margin-top: 20px;
}


.coding-skills-list,
.additional-skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.additional-skills-title::after {
    width: 75%;
}



.app {
    margin: 15px auto;
    padding: 5px
}

.second-line-projects {
    margin: 20px 0 20px 0
}


.project-description {
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    
}



.about-button {
    display: block;
    margin: 0 auto;
}

.img-container {
    margin: 0;
}

.in-touch {
    font-size: 30px;
}

.social-links {
    flex-direction: column;
    justify-content: evenly;
    font-size: 15px;
    margin: 10px;
}

    .footer-container {
        padding: 0 50px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        text-align: left;
        align-items: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }
}




