@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #1e3246; /* Lighter navy blue from the image */
    --secondary-color: #14232e; /* Darker navy blue from the image */
    --accent-color: #3498db; /* Keep a blue accent for highlights */
    --text-color: #ffffff; /* White text for better contrast */
    --bg-color: #14232e; /* Dark navy for background */
    --sidebar-bg: #1e3246; /* Lighter navy for sidebar */
    --card-bg: rgba(255, 255, 255, 0.95);
    --button-bg: #1e3246;
    --button-hover: #3498db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

.portfolio-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: var(--sidebar-bg);
    color: white;
    padding: 20px 0;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.profile {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background-color: #555;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.profile h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.profile p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    padding: 20px 0;
}

.nav-links li {
    margin-bottom: 5px;
    padding: 0 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.nav-links a:hover, .nav-links .active a {
    background-color: var(--accent-color);
}

/* Content Styles */
.content {
    flex: 1;
    margin-left: 250px;
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

/* Home Screen Style */
.home-screen {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

/* Animated background for home-screen */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.animated-bg span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    animation: animate 25s linear infinite;
    bottom: -150px;
    border-radius: 50%;
}

.animated-bg span:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.animated-bg span:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animated-bg span:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.animated-bg span:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.animated-bg span:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.animated-bg span:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.animated-bg span:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.animated-bg span:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.animated-bg span:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.animated-bg span:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 30%;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Home content styles */
.home-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease;
}

.home-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.home-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.home-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.home-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.home-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.home-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Page Container */
.page-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px;
    background-color: white;
    color: var(--secondary-color);
}

/* Section Titles */
.section-title {
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color);
    font-size: 2.6rem;
    margin-bottom: 36px;
    padding-bottom: 12px;
    border-bottom: none;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    margin: 18px auto 0 auto;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    z-index: 200;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: var(--accent-color);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 0;
        padding: 0;
    }
    
    .content {
        margin-left: 0;
    }
    
    .home-title {
        font-size: 2.5rem;
    }
    
    .home-subtitle {
        font-size: 1.2rem;
    }
    
    .home-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar.mobile-open {
        width: 250px;
        padding: 20px 0;
    }
}

/* About Page Styles */
.profile-card {
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    background-color: white;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1s ease-out 0.5s forwards;
    opacity: 0;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e1e1e1;
    margin-right: 20px;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    animation: fadeInAndScale 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: scale(0.8);
}

.profile-info h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.profile-role {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
}

.profile-section {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.profile-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-section h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #e1e1e1;
}

.info-name {
    font-weight: 600;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.skill-name {
    width: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 10px;
}

.skill-level {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.skill-percent {
    font-size: 0.8rem;
    width: 40px;
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

.character-story {
    font-size: 0.95rem;
    line-height: 1.6;
}

.character-story p {
    margin-bottom: 15px;
}

.career-goals {
    list-style: none;
}

.career-goal {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.career-goal:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.career-goal i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 2px;
}

/* BTS SIO Section Styles */
.specialite-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .specialite-container {
        grid-template-columns: 1fr;
    }
}

.specialite {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialite:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.specialite h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
    font-family: 'Poppins', sans-serif;
}

.specialite p {
    margin-bottom: 15px;
}

.specialite ul {
    padding-left: 20px;
}

.specialite ul li {
    margin-bottom: 5px;
}

.highlight {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-style: italic;
}

/* About Me Section Styles */
.about-me-section {
    margin-bottom: 40px;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.about-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 30px;
    flex-shrink: 0;
    border: 3px solid var(--accent-color);
    animation: fadeInAndScale 1s ease-out 0.3s forwards;
    opacity: 0;
    transform: scale(0.8);
}

.about-intro {
    flex: 1;
}

.about-intro p {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-intro p:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    animation: fadeInRight 0.8s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.about-intro p:last-child {
    animation: fadeInRight 0.8s ease-out 0.7s forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.about-content p:nth-child(1) {
    animation: fadeInUp 0.5s ease-out 0.9s forwards;
}

.about-content p:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 1.1s forwards;
}

.about-content p:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 1.3s forwards;
}

.about-content p:nth-child(4) {
    animation: fadeInUp 0.5s ease-out 1.5s forwards;
}

.mt-50 {
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
    }
    
    .about-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* Add additional styles for projects, internships, watch and CV pages as needed */

/* Page Transitions */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}

.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-overlay .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInAndScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* CV Download Button */
.cv-download-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.cv-download-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.cv-download-button i {
    margin-right: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cv-download-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.cv-download-button:hover i {
    transform: translateY(-2px);
}

.cv-download-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cv-download-button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Development Skills Section */
.dev-skills-description {
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Unified cards style for both skills and tools */
.dev-skills-container,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.dev-skill-card,
.dev-skill-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
    min-height: 240px;
    width: 100%;
}

.dev-skill-card:hover,
.dev-skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dev-skill-icon,
.dev-skill-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px;
    background-color: white;
}

.dev-skill-icon i, 
.dev-skill-icon i {
    font-size: 5rem;
}

.dev-skill-card h3,
.dev-skill-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 15px 0;
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

/* Skill Icons Colors */
.html-icon i {
    color: #E44D26;
}

.css-icon i {
    color: #1572B6;
}

.js-icon i {
    color: #F7DF1E;
}

.php-icon i {
    color: #777BB4;
}

.python-icon i {
    color: #3776AB;
}

.flutter-icon span {
    color: #02569B;
}

.java-icon i {
    color: #007396;
}

.react-icon i {
    color: #61DAFB;
}

.flutter-logo {
    font-weight: bold;
    font-size: 4rem;
}

/* Animation delays for skill cards */
.dev-skill-card:nth-child(1) {
    animation-delay: 0.1s;
}

.dev-skill-card:nth-child(2) {
    animation-delay: 0.2s;
}

.dev-skill-card:nth-child(3) {
    animation-delay: 0.3s;
}

.dev-skill-card:nth-child(4) {
    animation-delay: 0.4s;
}

.dev-skill-card:nth-child(5) {
    animation-delay: 0.5s;
}

.dev-skill-card:nth-child(6) {
    animation-delay: 0.6s;
}

.dev-skill-card:nth-child(7) {
    animation-delay: 0.7s;
}

@media screen and (max-width: 768px) {
    .dev-skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tools Section Styles - Updated */
.tool-category-container {
    margin-bottom: 40px;
}

.tool-category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.dev-skill-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
    min-height: 240px;
    width: 100%;
}

.dev-skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dev-skill-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px;
    background-color: white;
}

.dev-skill-icon i {
    font-size: 5rem;
}

.dev-skill-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 15px 15px 5px;
    margin: 0;
    color: var(--primary-color);
    text-transform: uppercase;
}

.dev-skill-card:nth-child(1) {
    animation-delay: 0.1s;
}

.dev-skill-card:nth-child(2) {
    animation-delay: 0.2s;
}

.dev-skill-card:nth-child(3) {
    animation-delay: 0.3s;
}

.dev-skill-card:nth-child(4) {
    animation-delay: 0.4s;
}

.dev-skill-card:nth-child(5) {
    animation-delay: 0.5s;
}

.dev-skill-card:nth-child(6) {
    animation-delay: 0.6s;
}

.dev-skill-card:nth-child(7) {
    animation-delay: 0.7s;
}

.dev-skill-card:nth-child(8) {
    animation-delay: 0.8s;
}

@media screen and (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Tool logo icons styles */
.dev-skill-icon i {
    font-size: 5rem;
}

/* Tool icon colors */
.dev-skill-card:nth-child(1) .dev-skill-icon i {
    color: #0078d7; /* VS Code blue */
}

.dev-skill-card:nth-child(2) .dev-skill-icon i {
    color: #00A3FF; /* Cursor AI blue */
}

.dev-skill-card:nth-child(3) .dev-skill-icon i {
    color: #3DDC84; /* Android green */
}

.dev-skill-card:nth-child(4) .dev-skill-icon i {
    color: #FB7A24; /* XAMPP orange */
}

.dev-skill-card:nth-child(5) .dev-skill-icon i {
    color: #F1502F; /* Git orange-red */
}

.dev-skill-card:nth-child(6) .dev-skill-icon i {
    color: #161B22; /* GitHub dark */
}

.dev-skill-card:nth-child(7) .dev-skill-icon i {
    color: #F24E1E; /* Figma orange */
}

.dev-skill-card:nth-child(8) .dev-skill-icon i {
    color: #00C4CC; /* Canva teal */
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUpAbout 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeInUpAbout {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Projets ---- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.project-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(30,50,70,0.10), 0 1.5px 6px rgba(52,152,219,0.08);
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    min-width: 0;
    animation: fadeInUpAbout 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.project-card:hover {
    box-shadow: 0 12px 40px rgba(30,50,70,0.18), 0 2px 8px rgba(52,152,219,0.12);
    transform: translateY(-6px) scale(1.02);
}
.project-banner {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.project-level {
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
    letter-spacing: 1px;
}
.project-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}
.project-tech {
    margin-bottom: 12px;
}
.tech-tag {
    display: inline-block;
    background: #f0f4fa;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 16px;
    padding: 4px 14px;
    margin: 0 6px 6px 0;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(52,152,219,0.07);
    transition: background 0.2s, color 0.2s;
}
.project-description {
    color: #223045;
    font-size: 1.13rem;
    line-height: 1.8;
    margin-bottom: 18px;
    margin-top: 8px;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.01em;
    text-align: justify;
    background: #f7faff;
    border-radius: 8px;
    padding: 18px 18px 14px 18px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.04);
}
.project-images {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 10px;
}
.project-images figure {
    margin: 0;
    background: #f7faff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.06);
    padding: 12px 12px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: zoom-in;
    position: relative;
}
.project-images figure:hover {
    box-shadow: 0 8px 32px rgba(52,152,219,0.18), 0 2px 8px rgba(52,152,219,0.18);
    transform: scale(1.03);
    z-index: 2;
}
.project-images img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(30,50,70,0.08);
}
.project-images figcaption {
    font-size: 0.98rem;
    color: var(--accent-color);
    text-align: center;
    font-style: italic;
    margin-top: 2px;
}
.project-images.cote-a-cote {
    flex-direction: row;
    gap: 24px;
    justify-content: center;
}
.project-images.cote-a-cote figure {
    flex: 1 1 0;
    max-width: 50%;
}
.project-images.cote-a-cote img {
    max-width: 90%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(30,50,70,0.08);
}
@media (max-width: 900px) {
    .project-card {
        padding: 22px 8px 18px 8px;
    }
    .project-images img {
        max-width: 100%;
    }
    .project-images.cote-a-cote {
        flex-direction: column;
        gap: 18px;
    }
    .project-images.cote-a-cote figure {
        max-width: 100%;
    }
    .project-description {
        font-size: 1.01rem;
        padding: 12px 8px 10px 8px;
    }
}

/* Lightbox plein écran */
.project-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20,35,46,0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}
.project-lightbox.active {
    display: flex;
}
.project-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(52,152,219,0.25);
    background: #fff;
    padding: 8px;
}
.project-lightbox .close-lightbox {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.5rem;
    color: #fff;
    background: rgba(30,50,70,0.5);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s;
}
.project-lightbox .close-lightbox:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Internship Block Styles */
.internship-block {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(30,50,70,0.10);
    padding: 32px 28px 24px 28px;
    margin-bottom: 48px;
    margin-top: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUpAbout 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.internship-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}
.internship-desc {
    color: #223045;
    font-size: 1.13rem;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: center;
}
.internship-img-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}
.internship-img-link figure {
    margin: 0;
    background: #f7faff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.06);
    padding: 12px 12px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
}
.internship-img-link img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
    margin-bottom: 8px;
    object-fit: contain;
}
.btn-internship-site {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 6px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.btn-internship-site:after {
    content: '\25BC';
    margin-left: 12px;
    font-size: 1.1em;
    transition: transform 0.2s;
    display: inline-block;
}
.btn-internship-site.open:after {
    transform: rotate(180deg);
}
.yana-site-content {
    margin-top: 18px;
    padding: 18px 0 0 0;
    border-top: 1.5px solid #e1e1e1;
    animation: fadeInUpAbout 0.5s;
}
.btn-internship-site-link {
    display: inline-block;
    background: #fff;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 10px 22px;
    border-radius: 24px;
    text-decoration: none;
    margin-top: 10px;
    box-shadow: 0 1px 4px rgba(52,152,219,0.08);
    border: 1.5px solid var(--accent-color);
    transition: background 0.2s, color 0.2s;
}
.btn-internship-site-link:hover {
    background: var(--accent-color);
    color: #fff;
}
.internship-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 18px auto 18px auto;
    max-width: 420px;
}
.internship-photo img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(30,50,70,0.08);
}
.internship-photo figcaption {
    font-size: 0.98rem;
    color: var(--accent-color);
    text-align: center;
    font-style: italic;
    margin-top: 2px;
}
.internship-logo {
    max-width: 180px;
    max-height: 120px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(52,152,219,0.10);
}
.internship-section {
    margin-top: 18px;
    margin-bottom: 10px;
}
.internship-section h3 {
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
}
.internship-section ul {
    margin-left: 18px;
    margin-bottom: 0;
    color: #223045;
    font-size: 1.05rem;
    line-height: 1.7;
}
.internship-section p {
    color: #223045;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .internship-block {
        padding: 16px 4px 12px 4px;
    }
    .internship-img-link figure, .internship-photo {
        max-width: 100%;
    }
    .internship-img-link img, .internship-photo img {
        max-height: 160px;
    }
    .internship-title {
        font-size: 1.3rem;
    }
}

.internship-photo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 18px auto 18px auto;
    max-width: 700px;
}
.internship-photo-large img {
    max-width: 100%;
    max-height: 340px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(30,50,70,0.13);
}
.internship-photo-large figcaption {
    font-size: 1rem;
    color: var(--accent-color);
    text-align: center;
    font-style: italic;
    margin-top: 4px;
}
.internship-img-link-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.internship-site-img-small {
    max-width: 220px;
    max-height: 110px;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 1px 4px rgba(52,152,219,0.10);
}
.internship-logo-small {
    max-width: 48px;
    max-height: 36px;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(52,152,219,0.10);
}

/* Veille Technologique Styles - Animations IA */
.tech-watch-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeInUpAbout 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
    position: relative;
    overflow: hidden;
}

.tech-watch-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: scanline 3s linear infinite;
}

.tech-watch-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #223045;
    margin-bottom: 40px;
    text-align: justify;
    background: #f7faff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
    position: relative;
    overflow: hidden;
    animation: glowPulse 4s ease-in-out infinite;
}

.tech-watch-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(30,50,70,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.tech-watch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.03), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.tech-watch-section:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 30px rgba(30,50,70,0.12);
}

.tech-watch-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.tech-watch-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: borderFlow 2s linear infinite;
}

.tech-watch-section ul li {
    color: #223045;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemAppear 0.5s ease forwards;
}

.tech-watch-section ul li:before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
    animation: pulse 2s infinite;
}

/* Animation Keyframes */
@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(52,152,219,0.08);
    }
    50% {
        box-shadow: 0 2px 20px rgba(52,152,219,0.15);
    }
}

@keyframes sectionAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes listItemAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Animation delays for sections */
.tech-watch-section:nth-child(1) { animation-delay: 0.1s; }
.tech-watch-section:nth-child(2) { animation-delay: 0.3s; }
.tech-watch-section:nth-child(3) { animation-delay: 0.5s; }
.tech-watch-section:nth-child(4) { animation-delay: 0.7s; }
.tech-watch-section:nth-child(5) { animation-delay: 0.9s; }

/* Animation delays for list items */
.tech-watch-section ul li:nth-child(1) { animation-delay: 0.2s; }
.tech-watch-section ul li:nth-child(2) { animation-delay: 0.4s; }
.tech-watch-section ul li:nth-child(3) { animation-delay: 0.6s; }
.tech-watch-section ul li:nth-child(4) { animation-delay: 0.8s; }
.tech-watch-section ul li:nth-child(5) { animation-delay: 1s; }

@media (max-width: 768px) {
    .tech-watch-block {
        padding: 15px;
    }
    
    .tech-watch-section {
        padding: 20px;
    }
    
    .tech-watch-section h2 {
        font-size: 1.3rem;
    }
    
    .tech-watch-section p,
    .tech-watch-section ul li {
        font-size: 1rem;
    }
    
    .tech-watch-intro {
        font-size: 1.05rem;
        padding: 20px;
    }
}

/* === FOND ANIMÉ CIRCUIT IA POUR LA PAGE WATCH === */
.tech-watch-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    background: radial-gradient(circle at 60% 40%, #3498db 0%, transparent 70%),
                radial-gradient(circle at 30% 70%, #8f5cff 0%, transparent 80%);
}
.tech-watch-bg svg {
    width: 100vw;
    height: 100vh;
    display: block;
}

/* === MODERNISATION DES CARTES === */
.tech-watch-block {
    position: relative;
    z-index: 1;
}
.tech-watch-intro, .tech-watch-section, .tech-watch-question-box {
    background: rgba(20,35,46,0.97);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(52,152,219,0.13), 0 1.5px 6px rgba(52,152,219,0.08);
    margin-bottom: 36px;
    padding: 32px 32px 24px 32px;
    color: #fff;
    border: 1.5px solid #3498db33;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    animation: fadeInUpAbout 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.tech-watch-intro::before, .tech-watch-section::before, .tech-watch-question-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, #3498db22 0%, #8f5cff22 100%);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}
.tech-watch-intro:hover, .tech-watch-section:hover, .tech-watch-question-box:hover {
    box-shadow: 0 8px 40px #3498db55, 0 2px 8px #8f5cff33;
    transform: translateY(-6px) scale(1.015);
}

/* TITRES AVEC ICÔNE IA */
.tech-watch-intro h2, .tech-watch-section h2, .tech-watch-question-box h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #8f5cff;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tech-watch-intro h2::before {
    content: '';
    display: inline-block;
    width: 28px; height: 28px;
    background: url('data:image/svg+xml;utf8,<svg fill="%238f5cff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2a7 7 0 0 1 7 7c0 2.5-1.5 4.5-3.5 5.5V18a1 1 0 0 1-2 0v-3.5A5.5 5.5 0 0 1 5 9a7 7 0 0 1 7-7zm0 2a5 5 0 0 0-5 5c0 1.9 1.1 3.5 2.7 4.3l.3.2V18a3 3 0 0 0 6 0v-6.5l.3-.2A5.5 5.5 0 0 0 17 9a5 5 0 0 0-5-5z"/></svg>') no-repeat center/contain;
}
.tech-watch-section h2::before {
    content: '';
    display: inline-block;
    width: 26px; height: 26px;
    background: url('data:image/svg+xml;utf8,<svg fill="%233498db" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"/></svg>') no-repeat center/contain;
}
.tech-watch-question-box h3::before {
    content: '';
    display: inline-block;
    width: 24px; height: 24px;
    background: url('data:image/svg+xml;utf8,<svg fill="%23fff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 17.17V19a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1.83A3 3 0 0 1 4 15V7a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v8c0 .65-.21 1.25-.57 1.74zM12 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm-6 7h12v-1.17l-2.41-2.41A4.98 4.98 0 0 1 12 17a4.98 4.98 0 0 1-3.59-1.58L6 17.17V19z"/></svg>') no-repeat center/contain;
}

/* QUESTIONS CÔTE À CÔTE */
.tech-watch-questions-row {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.tech-watch-question-box {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 480px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

/* ILLUSTRATION ORDINATEUR/ROBOT DANS LES QUESTIONS */
.tech-watch-question-box::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 18px; right: 18px;
    width: 54px; height: 54px;
    opacity: 0.22;
    background: url('data:image/svg+xml;utf8,<svg fill="%238f5cff" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="16" width="32" height="18" rx="3"/><rect x="14" y="36" width="20" height="4" rx="2"/><circle cx="16" cy="25" r="2" fill="%233498db"/><circle cx="32" cy="25" r="2" fill="%233498db"/></svg>') no-repeat center/contain;
    pointer-events: none;
    z-index: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .tech-watch-questions-row {
        flex-direction: column;
        gap: 18px;
    }
    .tech-watch-question-box {
        max-width: 100%;
    }
}

/* Texte blanc pour la page veille technologique */
.tech-watch-block,
.tech-watch-block * {
    color: #fff !important;
}

.tech-watch-section h2,
.tech-watch-intro h2,
.tech-watch-question-box h3 {
    color: #fff !important;
}

.tech-watch-section ul li,
.tech-watch-section p,
.tech-watch-intro p,
.tech-watch-question-box ul li,
.tech-watch-question-box p {
    color: #fff !important;
}

/* === CONTACT PAGE DESIGN (STYLE MODERNE, COULEURS DU SITE) === */
.contact-page {
    background: var(--bg-color) !important;
    min-height: 100vh;
    padding-top: 30px;
    position: relative;
    z-index: 1;
}
.contact-header-row .section-title,
.contact-page .contact-main-title {
    color: #fff;
}
.contact-main-title {
    margin-top: 18px;
    font-size: 2.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 16px var(--accent-color), 0 1px 0 #fff;
}
.contact-main-title span {
    background: linear-gradient(90deg, var(--accent-color) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 0.18em;
}
.contact-title-effect {
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #fff 100%);
    border-radius: 3px;
    margin: 12px auto 0 auto;
    opacity: 0.8;
}

.contact-columns {
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-info-card,
.contact-form-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 4px 32px rgba(30,50,70,0.10);
    border: 2px solid #e1e1e1;
    padding: 38px 32px 32px 32px;
    gap: 28px;
}

.contact-info-card.contact-icons-only {
    align-items: center;
    justify-content: center;
    gap: 38px;
    height: 100%;
    min-height: 340px;
}

.contact-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 2px 8px var(--accent-color)22;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-icon-link:hover .contact-icon {
    background: #fff;
    color: var(--accent-color);
    transform: scale(1.12);
    border: 2px solid var(--accent-color);
}

.contact-form-card {
    flex: 2 1 0;
    min-width: 0;
    max-width: none;
    width: 100%;
    align-items: flex-start;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form-row {
    display: flex;
    gap: 18px;
}

.contact-form-group {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-form-group input,
.contact-form-group textarea {
    border-radius: 10px;
    border: 1.5px solid #e1e1e1;
    padding: 10px 14px;
    font-size: 1.08rem;
    background: #f7f7fa;
    color: var(--secondary-color);
    outline: none;
    transition: border 0.2s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border: 1.5px solid var(--accent-color);
}

.contact-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-send-btn {
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    border: none;
    border-radius: 10px;
    padding: 14px 0;
    margin-top: 10px;
    box-shadow: 0 2px 12px var(--accent-color)33;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}

.contact-send-btn:hover {
    background: #fff;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 900px) {
    .contact-columns {
        flex-direction: column;
        gap: 24px;
        max-width: 98vw;
    }
    .contact-info-card.contact-icons-only {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
        min-height: unset;
        margin-bottom: 18px;
        padding: 18px 0;
    }
}

/* CONTACT PAGE : icônes + texte à côté, style moderne, couleurs du site */
.contact-info-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 32px rgba(30,50,70,0.10);
    border: 2px solid #e1e1e1;
    padding: 38px 32px 32px 32px;
    min-width: 320px;
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    justify-content: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1.13rem;
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s;
}

.contact-info-item .contact-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 2px 8px var(--accent-color)22;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.contact-info-item:hover .contact-icon {
    background: #fff;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transform: scale(1.12);
}

.contact-info-item .contact-info-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.08rem;
    word-break: break-all;
    transition: color 0.2s;
}

.contact-info-item:hover .contact-info-text {
    color: var(--accent-color);
}

@media (max-width: 900px) {
    .contact-info-card {
        min-width: 0;
        width: 100%;
        padding: 18px 8px 18px 8px;
        gap: 18px;
    }
}

/* Pied de page principal centré et moderne */
.main-footer {
    width: 100%;
    background: #f7faff;
    box-shadow: 0 -2px 12px rgba(30,50,70,0.07);
    padding: 28px 0 18px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-copyright {
    font-size: 1.08rem;
    color: #223045;
    text-align: center;
    font-weight: 500;
}
.footer-contact {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin-top: 4px;
}
.footer-contact a {
    color: var(--accent-color);
    font-size: 1.6rem;
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: var(--primary-color);
}
@media (max-width: 900px) {
    .main-footer {
        padding: 22px 0 14px 0;
    }
    .footer-content {
        max-width: 98vw;
    }
}

.main-footer, .footer-content, .footer-copyright, .footer-contact {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
}