html {
  scroll-behavior: smooth;
}

body {
    height: 100%;
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-direction: column;
    font-family: Raleway;
    background: #000;
    color: #fff;
    overflow: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: #000;
    color: #fff;
    padding: 15px 10px 2px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header ul {
    list-style: none;
    display: flex;
    margin: 3px;
    padding: 0;
}

.header ul li {
    margin: 0 18px;
}

.header ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
.header ul li a:hover {
    text-decoration: underline;
}
.header img {
    width: 45px;
    height: 35px;
    padding-top: 0px;
    margin-right: 730px;
    margin-top: 0px;
    margin-left: 10px;
}
main {
    flex-grow: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.presentation-section {
    width: 100%;
    padding: 80px 0;
    margin-top: 72px;
    display: flex;
    justify-content: center;
}
.presentation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    gap: 50px;
}

.presentation-text {
    flex: 1;
    max-width: 600px;
}

.presentation-text h2 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 500;
}

.presentation-text .subtitle {
    font-size: 1.2rem;
    color: #ac9494;
    margin-bottom: 25px;
    font-weight: 400;
}

.presentation-text .description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
}
.cv-download {
    display: flex;
    gap: 15px;
}

.cv-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
}
.cv-link:hover {
    background-color: #ac9494;
    color: #000;
    transform: translateY(-2px);
}
.cv-link.view {
    background-color: transparent;
    border: 1px solid #ac9494;
    color: #ac9494;
}
.cv-link.view:hover {
    background-color: rgba(172, 148, 148, 0.1);
}

.presentation-image {
    width: 380px;
    height: 380px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 130px;
    z-index: 2;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}


@media (max-width: 900px) {
    .presentation-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    
    .presentation-text {
        max-width: 100%;
    }
    
    .cv-download {
        justify-content: center;
    }
    
    .presentation-image {
        width: 200px;
        height: 200px;
    }
}
.container {
    display: flex;
    align-items: center;
    text-align: left;
    flex-direction: column;
    width: 65%;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 15px;
    margin-top: 70px;
    font-size: 16.5px;
}

.container h1 {
    color: #ac9494;
}
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #000;
    border: 2px solid #fff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .right::after {
        left: 21px;
    }
}
.hover-effect {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
    color: #d4d4d4;
}
.footer {
    background-color: #000;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #222;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #ac9494;
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-copyright {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.8rem;
}

/* Tooltip pour les réseaux */
.social-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.social-link:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-info {
        text-align: center;
    }
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.social-link img:hover {
    transform: scale(1.2);
}



@keyframes fall {
0% {
transform: translateY(0) rotate(0deg);
}
100% {
transform: translateY(100vh) rotate(360deg);
}
}

.left {
    right: 17%;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.content {
    padding: 20px;
    background-color: #111;
    position: relative;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 345px;
}

.content:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 400;
    color: #4CAF50;
}

.content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
}
.skills-section {
    background-color: #111;
    padding: 78px 0;
    color: #fff;
    text-align: center;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
    padding: 0 20px;
    padding-top: 10px ;
}

.skills-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ac9494;
}

.skills-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 50px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

.skill-card {
    background: #222;
    border-radius: 10px;
    padding: 25px;
    width: 180px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(172, 148, 148, 0.2);
}

.skill-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.skill-name {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.skill-bar {
    background: #333;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, #ac9494, #8a6d6d);
    border-radius: 4px;
}

.skill-card::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    width: max-content;
    max-width: 200px;
    pointer-events: none;
}

.skill-card:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.tools-section {
    background-color: #0d0d0d;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.certifications-section {
    background-color: #0d0d0d;
    padding: 5rem 0;
    color: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.certification-card:hover {
    transform: translateY(-5px);
    border-color: #ac9494;
    box-shadow: 0 10px 20px rgba(172, 148, 148, 0.1);
}

.certification-icon img {
    width: 50px;
    height: 50px;
}

.certification-details h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
}

.certification-details p {
    margin: 0.3rem 0 0.5rem;
    color: #aaa;
    font-size: 0.9rem;
}

.download-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ac9494;
    font-size: 0.8rem;
    font-weight: 500;
}

.download-label svg {
    width: 12px;
    height: 12px;
}

@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}
.contact-form-section {
  padding: 1rem;
  background: #0d0d0d;
  color: #fff;
  animation: fadeIn 1s ease-in-out;
   flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.contact-form-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
  color: #c2adad;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 1rem;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  width: 95%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border: 1px solid #333;
  background: #2b2b2b;
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ac9494;
  outline: none;
}

.submit-btn {
  width: 30%;
  padding: 0.7rem;
  background-color: #ac9494;
  border: none;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #c2adad;
}
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;

}

.half-width {
  flex: 1;
  max-width: 155px;
  width: 50%;
  margin-right: 10px;
}
