/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-image: url('../assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

h1, h2 {
    font-family: 'Great Vibes', cursive;
}

/* Main Content Area with White Transparent Background */
.jumbotron, .container {
    background: rgba(255, 255, 255, 0.7); /* Slightly transparent white background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Navbar and Logo */
.navbar-brand img {
    max-height: 85px;
    width: auto;
}

header .navbar {
    background-color: #343a40; /* Dark header */
    border-bottom: 1px solid #444;
    text-transform: uppercase;
}

.navbar .nav-link, .navbar .navbar-brand {
    color: #fff !important; /* White text in the navigation */
    font-family: 'Great Vibes', cursive;
    font-size: 25px;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    background: url('../assets/images/background.jpg') no-repeat center center;
    background-size: cover;
    padding: 50px 100px; /* Réduction du padding pour les petits écrans */
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    border-radius: 10px 10px 0px 0px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    border-radius: 10px 10px 0px 0px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.typewriter h1 {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .05em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    font-size: 2.5rem; /* Taille par défaut */
    max-width: 100%; /* Empêche le texte de déborder */
}

/* Ajustements pour les écrans de taille moyenne et petite */
@media (max-width: 768px) { /* Écrans medium */
    .hero-section {
        padding: 80px 15px; /* Réduction du padding pour les écrans moyens */
    }
    .typewriter h1 {
        font-size: 2rem; /* Taille réduite pour éviter le débordement */
        line-height: 1.3;
    }
    .hero-section .lead {
        font-size: 1rem; /* Ajustement pour les écrans moyens */
    }
}

@media (max-width: 576px) { /* Écrans extra-small */
    .hero-section {
        padding: 60px 10px; /* Réduction supplémentaire du padding pour petits écrans */
    }
    .typewriter h1 {
        font-size: 1.8rem; /* Taille réduite pour les petits écrans */
        line-height: 1.2;
    }
    .hero-section .lead {
        font-size: 0.9rem; /* Taille réduite pour la description */
    }
    .btn-warning {
        font-size: 0.85rem; /* Taille réduite pour le bouton */
        padding: 8px 18px; /* Réduction du padding pour un bouton plus compact */
    }
}

#send-btn {
    position: relative;
    transition: background-image 0.3s ease;
}

#send-btn:hover {
    background-image: url('../../assets/logos/ICE_QUBE_LOGO.png'); /* Path to your logo image */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: white; /* Hides the text when hovering */
    font-weight: none;
    background-color: limegreen;
}



@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/* Section Spacing */
.section {
    margin-top: 40px; /* Increase spacing between sections */
}

/* Button Styling */
.btn {
    background-color: #343a40; /* Dark color for all buttons */
    color: #fff; /* White text for all buttons */
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #555; /* Darker button color on hover */
    transform: translateY(-5px);
}

/* Specific Button Styling for Hero Section */
.btn-warning {
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 30px;
    background-color: #ff9800;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-warning:hover {
    background-color: #e67e00;
    transform: translateY(-5px);
}

/* Card Deck Styling */
.card-deck .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 30px 10px; /* Increase spacing around cards */
}

.card-deck .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
footer {
    background-color: #343a40; /* Dark footer */
    color: #fff;
    padding: 20px;
    border-top: 1px solid #444;
}

.footer a {
    color: #ff9800;
    text-decoration: none;
}

.footer a:hover {
    color: #e67e00;
}

/* General Text Styling */
h1, h2 {
    font-weight: bold;
}

.card-title {
    font-size: 1.5rem;
}

/* YouTube Section Styling */
/* Translucent background for YouTube section */
.youtube-box {
    background-color: rgba(255, 255, 255, 0.8); /* White with 80% opacity */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    display: inline-block; /* Center content with inline-block */
    padding: 20px;
    margin: 20px auto; /* Center the box horizontally */
    max-width: 500px; /* Set a max width to keep it compact */
}

.youtube-section {
    padding: 20px 0; /* Reduce the vertical padding */
    text-align: center;
}

.youtube-section img {
    width: 60px; /* Smaller icon size */
    height: auto;
    transition: transform 0.3s ease;
}

.youtube-section img:hover {
    transform: scale(1.1); /* Slight hover effect */
}

.youtube-section p {
    font-size: 0.9rem; /* Smaller text */
    margin-top: 10px;
}

/* Section: Expérience Internationale */
.experience-section {
    text-align: center;
    margin: 50px 0;
    padding: 40px;
    border: 1px solid #444;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.experience-section h2 {
    font-weight: bold;
    margin-bottom: 20px;
}

.experience-section p {
    font-size: 1.1em;
    line-height: 1.5;
}

