
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');


body {
    margin: 0;
    padding: 0;
    background-color: #060606;
    color: #FBFBF9;
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
}

p {
    font-family: 'Inter', sans-serif;
    line-height: 1.75rem;
}

@media (max-width: 768px) {
    p {
        font-size: 0.875rem;
        line-height: 1.5rem;
    }

    ul {
        font-size: 0.875rem;  
    }
}

ul {
    font-family: 'Inter';
}

li {
    margin-bottom: 16px;
}

html {
    scroll-behavior: smooth;
}

h1 {
    font-size: 2.3rem;
    color: #FFF;
    font-weight: 600;
    line-height: 1.4em;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1440px) {
    h1 {
        font-size: 2rem;
    }
}

h2 {
    font-size: 1.5rem;
    color: #FFF;
    font-weight: 300;
}

h4 {
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

b {
    font-weight: 600;
}



.btn-primary {
    padding: 12px 24px; 
    background-color: rgba(255, 255, 255, 0.89); 
    border: 2px solid rgba(255, 255, 255, 0);
    color: #060606;
    text-decoration: none;
    border-radius: 32px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus{
    background-color: rgba(255, 255, 255, 1); 
    /*border: 2px solid rgba(255, 255, 255, 1);*/
}


.btn-secondary {
    padding: 12px 24px; 
    background-color: #141414; 
    color: #fff; /* Text color */
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 32px;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-secondary:hover,
.btn-secondary:focus{
    /*background-color: rgba(255, 255, 255, 0.08);*/
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.header {
    position: fixed;
    top: 0px; /* Initially hide the header off-screen */
    left: 0;
    width: 100%;
    background-color: rgba(6, 6, 6, 0.8);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    z-index: 9999;
    transition: top 0.3s ease; /* Smooth transition for the top property */
}

@media (max-width: 768px) {
    .header {
        padding-top: 16px;
        padding-bottom: 12px;
        background-color: rgba(6, 6, 6, 0.92);
    }
}

.header.visible {
    top: 0;
}

.header.visible.header-middle {
    
}


@media (max-width: 768px) {

    .intro-content {
        margin: auto 24px;
    }

    .project-grid {
        margin: 56px 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .intro-content h2 {
        font-size: 1.2rem;
    }

    .intro-content h1 {
        font-size: 1.6rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .intro-content img {
        display: none;
    }

    .cover-content h1 {
        font-size: 1.6rem;
    }



}

@media (max-width: 1200px) {
    .project-grid {
    margin: 56px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }
}

@media (min-width: 768px) {
    .header-right a {
        margin-right: 16px;
    }
}


.header-left {
    margin-right: auto;
    margin-left: 48px;
}

@media (max-width: 768px) {
    .header-left {
        margin-left: 32px;
    }
}

.header-right {
    margin-right: 48px;
}

@media (max-width: 768px) {
    .header-right {
        margin-right: 32px;
    }
}


.header-middle {
    margin: auto;
}

.header-middle a {
    text-decoration: none;
    color: #fff;
    margin-left: 0px;
    text-align: center;
}

.icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .icon {
        width: 32px;
        height: 32px;
    }
}

.header-right a {
    margin-left: 16px;
    position: relative;
    text-decoration: none;
    color: #fff;
}

.header-right a::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjust as needed */
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.header-right a:hover::after {
    width: 100%;
}

.about-content a {
    position: relative;
    text-decoration: none;
    color: #fff;
}

.about-content a::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjust as needed */
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.about-content a:hover::after {
    width: 100%;
}

.intro {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #060606;
}

.intro-background {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('img/intro-background-2.png'); 
    background-size: cover;
    background-position: center;
}

.intro-content img {
    width: 120px;
    height: 120px;
}

@media (max-width: 1440px) {
    .intro {
        height: 100vh;
    }
}

.intro-content {
    max-width: 768px;
}

@media (min-width: 768px) and (max-width: 1440px) {
    .intro-content {
        margin-top: 48px;
    }
}

.intro-content h1 {
    margin-top: 8px;
    margin-bottom: 24px;
}

.intro-content h2 {
    margin: 32px auto;
}

.intro-content p {
    margin: 40px auto;
}

@media (min-width: 768px) {
    .intro-content p {
        margin: 72px 88px;
    }
}

.projects {
    height: 100vh;
    background-color: 060606;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1440px) {
    .project-grid {
        height: auto;
    }
}

@media (max-width: 1200px) {
    .projects {
        height: auto;
    }
}

.project-grid {
    display: flex;
    gap: 24px; 
    width: 85%;
    align-content: stretch;
}

@media (max-width: 1200px) {
    .project-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
}

@media (max-width: 768px) {
    .projects
}

@media (max-width: 768px) {
    .project-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.project-grid hr {
    opacity: 30%;
}

@media (max-width: 768px) {

    .intro {
        height: auto;
        margin-top: 80px;
    }

    .project-grid {
        height: auto;
    }

    .projects {
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }

    .contact-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    }

    .intro-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    }

}

@media (max-width: 1200px) {

    .contact {
        height: auto;
    }
}

.project-grid a {
    text-decoration: none;
    color: #FFF;
    font-size: 1.2rem;
}

.project-card h3 {
    font-weight: 500;
}

.project-card {
    flex: 1;
    background-color: #fff;
    text-align: left;
    border: 2px solid #060606;
    transition: background-color 0.2s, border 0.2s;
    color: #F4EEE0;
    background-color: #141414;
    border-radius: 16px;
}

.project-card p {
    font-size: 14px;
    line-height: 1.4rem;
    margin-top: auto;
    opacity: 75%;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.project-card:hover,
.project-card:focus {
    background-color: rgba(255, 255, 255, 0.1); 
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* PROJECT CARD ENGIE */

.project-card-engie {
    flex: 1;
    background-color: #fff;
    padding: 16px 24px;
    text-align: left;
    border: 2px solid #060606;
    transition: background-color 0.2s, border 0.2s;
    color: #F4EEE0;
    background-color: #141414;
    border-radius: 8px;
}

.project-card-engie:hover,
.project-card-engie:focus {
    background-color: rgba(0, 122, 205, 0.05); 
    border: 2px solid rgba(0, 90, 160, 0.8);
}

.project-card-engie p {
    font-size: 14px;
    line-height: 1.4rem;
}

.project-card-engie h3 {
    font-weight: 500;
}

/* PROJECT CARD STELLANTIS */

.project-card-stellantis {
    flex: 1;
    background-color: #fff;
    padding: 16px 24px;
    text-align: left;
    border: 2px solid #060606;
    transition: background-color 0.2s, border 0.2s;
    color: #F4EEE0;
    background-color: #141414;
    border-radius: 8px;
}

.project-card-stellantis:hover,
.project-card-stellantis:focus {
    background-color: rgba(0, 19, 59, 0.2); 
    border: 2px solid rgba(36, 56, 130, 1);
}

.project-card-stellantis p {
    font-size: 14px;
    line-height: 1.4rem;
}

.project-card-stellantis h3 {
    font-weight: 500;
}

/* PROJECT CARD ADS */

.project-card-ads {
    flex: 1;
    background-color: #fff;
    padding: 16px 24px;
    text-align: left;
    border: 2px solid #060606;
    transition: background-color 0.2s, border 0.2s;
    color: #F4EEE0;
    background-color: #141414;
    border-radius: 8px;
}

.project-card-ads:hover,
.project-card-ads:focus {
    background-color: rgba(255, 255, 0, 0.05); 
    border: 2px solid rgba(255, 255, 0, 0.5);
}

.project-card-ads p {
    font-size: 14px;
    line-height: 1.4rem;
}

.project-card-ads h3 {
    font-weight: 500;
}


/* BLANK CARD ATP */

.project-card-section-title {
    opacity: 1;
    padding: 16px 16px;
}

@media (max-width: 768px) {
    .project-card-section-title {
    padding: 8px 16px;
    }
}

.project-card-info {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    height: 100%;
}

.project-card-info img {
    width: 100%;
    border-radius: 6px;
}

/*TEST*/

.project-card-info {
    display: flex;
    flex-direction: column; /* Change to column layout */
    height: 100%;
}

.project-card-info img {
    width: 100%;
    border-radius: 14px 14px 0px 0px;
}

.project-card-top {
    margin-bottom: 48px; /* Add space between top and bottom sections */
}

@media (max-width: 1440px) {
    .project-card-top {
        margin-bottom: 8px;
    }
}

.project-card-bottom {
    margin-top: auto; /* Push paragraph to the bottom */
}

/*FIN*/

.tags {
    margin-top: 0px;
    font-size: 12px;
}

.tags span {
    display: inline-block;
    background-color: rgba(100, 100, 100, 0.3);
    color: #fff;
    padding: 4px 8px;
    border-radius: 2px;
    margin-right: 4px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
}



.intro-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
}


.intro-grid a {
    text-decoration: none;
    position: relative;
}



.contact-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #333; /* Change to your desired text color */
}

.text {
  transition: transform 0.3s ease-out;
}

.contact-link:hover .text {
  transform: translateY(-100%);
}

.contact-link i {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  transition: transform 0.3s ease-out;
}

.contact-link:hover i {
  transform: translateX(-50%) translateY(0);
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #060606;
    color: #fff;
}

.footer p {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.intro,
.projects,
.contact {
    opacity: 0; /* Initially set the opacity to 0 */
    transition: opacity 0.8s ease; /* Add a transition for opacity */
}


/* CONTENT PAGE */

.project-page {
    opacity: 0; /* Initially hidden */
    transition: opacity 0.8s ease; /* Smooth transition for opacity */
}

.project-page.visible {
    opacity: 1; /* Fully visible */
}

.ease {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.project-content {
    padding: 50px 20px; /* Adjust padding as needed */
}

.centered-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.project-detail-cover-engie {
    height: 60vh; /* Set the height to 70% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/engie-cover-1.jpg'); /* Replace 'path/to/your/image.jpg' with the actual path to your image */
    background-size: cover; /* Cover the entire section */
    background-position: center;
}

@media (max-width: 768px) {
    .project-detail-cover-engie {
        height: auto;
        padding-top: 64px;
        padding-bottom: 32px;
        justify-content: left;
    }
}

.project-detail-cover-psa {
    height: 60vh; /* Set the height to 70% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/psa-background-2-blue.jpg'); /* Replace 'path/to/your/image.jpg' with the actual path to your image */
    background-size: cover; /* Cover the entire section */
    background-position: center;
}

@media (max-width: 768px) {
    .project-detail-cover-psa {
        height: auto;
        padding-top: 64px;
        padding-bottom: 32px;
        justify-content: left;
    }
}

.project-detail-cover-ads {
    height: 60vh; /* Set the height to 70% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/ads-cover-2.jpg'); /* Replace 'path/to/your/image.jpg' with the actual path to your image */
    background-size: cover; /* Cover the entire section */
    background-position: center;
}

@media (max-width: 768px) {
    .project-detail-cover-ads {
        height: auto;
        padding-top: 64px;
        padding-bottom: 32px;
        justify-content: left;
    }
}

.project-detail-cover-atc {
    height: 60vh; /* Set the height to 70% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/atc-cover-4.jpg'); /* Replace 'path/to/your/image.jpg' with the actual path to your image */
    background-size: cover; /* Cover the entire section */
    background-position: center;
}

@media (max-width: 768px) {
    .project-detail-cover-atc {
        height: auto;
        padding-top: 64px;
        padding-bottom: 32px;
        justify-content: left;
    }
}

.cover-content {
    max-width: 756px;
    text-align: center;
}

.cover-content h1 {
    font-weight: 600;
    text-align: left;
    margin-left: 24px;
    margin-right: 24px;
}

@media (min-width: 768px) {
    .cover-content h1 {
        text-align: center;
    }
}

.columns {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.columns-lock {
    display: flex;
    justify-content: center;
    text-align: left;
}

@media (max-width: 768px) {
    .columns-lock {
        padding: 0px 24px 8px 24px;
    }
}

.columns h4 {
    margin-bottom: 4px;
}

.columns p {
    margin-top: 4px;
    font-weight: 500;
}

.columns .tags {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .columns {
        display: block;
        text-align: left;
    }
}

.column {
    flex: 1;
    padding: 0 24px;
}

.column-lock {
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .column {
        padding: 0px 24px 8px 24px;
    }
}

.column h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.column p {
    font-size: 1rem;
}

.text-align-left {
    max-width: 768px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 24px; /* Add padding for spacing */
}

.text-align-left p {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .text-align-left {
        padding: 8px 24px;
    }
}

.text-align-left hr {
    margin: 8px 0px;
    opacity: 50%;
}


.text-align-left h2 {
    font-weight: 600;
}

.image-trio {
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 24px; /* Add padding for spacing */
}

.image-trio .container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Gap between images */
    justify-content: space-between; /* Distribute items evenly */
}

.image-wrapper {
    flex-basis: calc(33.33% - 16px); /* 33.33% width with gap */
    max-width: calc(33.33% - 16px); /* 33.33% width with gap */
}

.image-wrapper img {
    width: 100%; /* Ensure images fill their containers */
    border-radius: 8px;
}

.image-wrapper video {
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .image-trio .container {
        flex-direction: column; /* Display items in a column */
        align-items: center; /* Center items horizontally */
    }

    .image-wrapper {
        max-width: 100%; /* Full width for mobile */
    }
}

.image-duo {
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add padding for spacing */
}

.image-duo .container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Gap between images */
    justify-content: space-between; /* Distribute items evenly */
}

.image-duo .image-wrapper {
    flex-basis: calc(50% - 8px); /* 50% width with gap */
    max-width: calc(50% - 8px); /* 50% width with gap */
}

.image-duo img {
    width: 100%; /* Ensure images fill their containers */
}

@media (max-width: 768px) {
    .image-duo .container {
        flex-direction: column; /* Display items in a column */
        align-items: center; /* Center items horizontally */
    }

    .image-duo .image-wrapper {
        max-width: 100%; /* Full width for mobile */
    }
}

.image-solo {
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add padding for spacing */
    text-align: center; /* Center the image horizontally */
}

.image-solo .container {
    display: flex;
    justify-content: center; /* Center the image horizontally */
}

.image-solo .image-wrapper {
    max-width: 100%; /* Ensure the image wrapper does not exceed container width */
    flex-basis: calc(100% - 8px); /* 50% width with gap */
    max-width: calc(100% - 8px); /* 50% width with gap */
}

.image-solo img {
    max-width: 100%; /* Ensure the image fills its container */
    height: auto; /* Maintain aspect ratio */
}

.image-medium {
    max-width: 800px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add padding for spacing */
    text-align: center; /* Center the image horizontally */
}

.image-medium .container {
    display: flex;
    justify-content: center; /* Center the image horizontally */
}

.image-medium .image-wrapper {
    max-width: 100%; /* Ensure the image wrapper does not exceed container width */
    flex-basis: calc(100% - 8px); /* 50% width with gap */
    max-width: calc(100% - 8px); /* 50% width with gap */
}

.image-medium img {
    max-width: 100%; /* Ensure the image fills its container */
    height: auto; /* Maintain aspect ratio */
}

.image-full {
    width: 100%;
    margin: 0;
    padding: 32px 0px;
}

.image-full img {
    width: 100%;
    height: auto;
}

/* ABOUT PAGE */

.about-cover {
    background-color: #060606;
    padding: 90px 0;
    height: 50vh;
    align-items: center;
}

@media (max-width: 768px) {
    .about-cover {
        padding: 90px 40px;
    }
}

.about-columns {
    max-width: 900px;
    margin: auto auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: -webkit-fill-available;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 85%;
    height: auto;
    display: block;
    margin: auto 0 auto auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .about-image img {
        max-width: 100%;
    }
}

.about-content {
    flex: 1;
    padding: 0 20px; /* Add padding for spacing */
    margin-left: 24px;
}

@media (max-width: 768px) {
    .about-content {
        margin-left: 0px;
    }
}

.about-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-content p {
    font-size: 16px;
}

.about-content a {
    text-decoration: none;
    color: #FBFBF9;
    font-weight: 700;
}

@media (max-width: 768px) {
    .about-columns {
        flex-direction: column; /* Display columns vertically */
        align-items: center; /* Center items horizontally */
    }

        .about-image,
        .about-content {
        width: 100%; /* Full width for each column */
        max-width: 100%;
        padding: 0 20px; /* Adjust padding for spacing */
        text-align: center; /* Center content horizontally */
    }
}

.experience-section {
    display: flex;
    justify-content: flex-end;
    max-width: 900px;
    margin: auto;
}

.education-section {
    display: flex;
    justify-content: flex-end;
    max-width: 900px;
    margin: auto;
}

.experience-title {
    text-align: right;
}

.experience-title h3 {
    line-height: 32px;
    margin-block-start: 0px;
    margin-right: 24px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .experience-title h3 {
        margin-right: 0px;
        line-height: 36px;
        font-size: 1rem;
    }
}

.experience-content {
    margin-left: 24px;
    margin-right: 48px;
    width: 50%;
}

.experience-content h3 {
    margin-block-start: 0px;
    line-height: 32px;
    font-weight: 500;
}

.experience-content h2 {
    margin-block-start: 0px;
    font-weight: 600;
}

.experience-content p {
    margin-block-end: 56px;
    opacity: 75%;
}

.vertical-line {
    position: relative;
    margin-top: 18px;
}

.vertical-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px; /* Width of the vertical line */
    height: 100%; /* Take full height of the container */
    background-color: rgba(255, 255, 255, 0.3);
}

.circle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; /* Diameter of the circle */
    height: 10px; /* Diameter of the circle */
    border-radius: 50%; /* Make it a circle */
    background-color: white;
}

@media (max-width: 768px) {
    .experience-section {
        flex-direction: row;
        gap: 16px;
    }

    .experience-title {
        text-align: right;
        width: 25%;
    }

    .experience-content {
        margin-left: 0;
    }
}

.tab-btn {
    background-color: rgba(6, 6, 6, 1.0);
    border: none;
    padding: 4px 32px;
    cursor: pointer;
    transition: background-color 0.3s;
    opacity: 50%;
    transition: opacity 0.9s ease;
}

@media (max-width: 768px) {
    .tab-btn {
        width: 50%;
    }
}

.tab-btn:hover,
.tab-btn:focus {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transition: 0.1s ease;
}

@media (max-width: 768px) {
    .tab-btn:hover,
    .tab-btn:focus {
        width: 50%;
        }
}

.tab-btn.active {
    border-bottom: 2px solid #FFF;
    opacity: 100%;
}

.tab-content {
    display: none;
    transition: 0.1s ease;
}

@media (max-width: 768px) {
    .tab-content {
        margin-bottom: 72px;
    }
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .tab-content.active {
        margin-bottom: 72px;
    }
}

.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 72px;
}

.tabs-container h2 {
    font-family: Poppins;
    font-weight: 500;
}

.tabs {
    margin-right: 48px;
}

@media (max-width: 768px) {
    .tabs {
        margin: 0px 24px;
        display: flex;
        width: 100%;
    }
}


.svg-icon {
    opacity: 1; 
}

.contact {
    height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #060606;
}

@media (max-width: 768px) {
    .contact {
        height: auto;
    }
}

.contact-card a:hover::before {
    opacity: 1;
    text-decoration: none;
}

.contact-card .svg-icon {
    opacity: 0; /* Initially hide the SVG icon */
    transition: opacity 0.3s ease; /* Add a transition for smooth appearance */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-card:hover .svg-icon {
    opacity: 1; /* Show the SVG icon when hovering over the contact card */
} 

.contact-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
}

@media (max-width: 1200px) {
    .contact-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column-reverse;
    }
}


.contact-card {
    flex: 1;
    background-color: #141414;
    padding: 16px;
    text-align: center;
    width: 300px;
    border: 2px solid #060606;
    transition: background-color 0.2s ease, border 0.2s ease;
    color: #FBFBF9;
    border-radius: 8px;
    position: relative;
    text-decoration: none;
}

.contact-card:hover {
    background-color: #141414;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.contact-card h3 {
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-card:hover h3 {
    opacity: 0;
}

.contact-card:hover p {
    opacity: 0;
}

.contact-card p {
    transition: opacity 0.3s ease;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 300;
}

.contact-card a {
    text-decoration: none;
    position: relative;
}

.contact-end-project {
    padding: 56px;
}

@media (max-width: 768px) {
    .contact-end-project {
        padding: 56px 24px;
        text-align: center;
    }
}

.mobile-menu {
    display: none;
}

.mobile-menu-toggle {
    display: none; /* Hide the toggle button by default */
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none; /* Hide desktop menu on small screens */
    }

    .mobile-menu {
        display: none;
        flex-direction: column; /* Display menu items vertically */
        align-items: center; /* Center-align menu items */
        position: absolute;
        top: 100%; /* Position menu below the toggle button */
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(6, 6, 6, 0.92);
        padding-top: 48px;
        padding-bottom: 48px;
        z-index: 1000;
        gap: 56px;
        font-size: 1.5rem;
        transition: opacity 0.3s ease-in-out;
    }

    .mobile-menu-toggle {
        display: contents; /* Show the mobile menu toggle button */
        background-color: rgba(0, 0, 0, 0);
    }

    .mobile-menu.active {
        display: flex;
        height: 100vh;
    }
}

.video-container {
    max-height: 750px;
    width: 100%;
    height: auto;
    display: block;
}
