@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0d47a1; 
    --secondary: #4dd0e1;
    --dark: #0f1419;
    --darker: #050810;
    --text-light: #e0f7fa;
    --text-muted: #f3f3f3;
    --border-color: #0d47a1;
    --card-bg: #0f1419;
    --gradient-start: #0a0f2c;
    --gradient-end: #050810;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Navbar */
.navbar {
    background-color: rgba(18, 18, 18, 0.95); /* Slightly transparent for hero section */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--text-light) !important;
    font-size: 1.5rem;
}

.navbar-brand .fas {
    color: var(--primary);
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--secondary) !important;
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.navbar-toggler {
    border-color: var(--border-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0a0f2c 0%, #050810 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 56px; /* Adjust for fixed navbar height */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 16, 0.3); /* Overlay adapté au nouveau thème */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out forwards;
}

.profile-pic {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease-in-out;
}

.profile-pic:hover {
    transform: scale(1.05);
    border-color: var(--secondary);
    box-shadow: 0 0 25px rgba(79, 209, 199, 0.7);
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section p.lead {
    color: var(--text-muted);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(79, 209, 199, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    transform: translateY(-3px);
}


/* General Section Styling */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.bg-darker {
    background-color: var(--darker);
}

.section-heading {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-heading .fas {
    color: var(--primary);
    margin-right: 10px;
}

/* About Section */
#about p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: var(--primary);
}

.skill-category h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.skill-category h3 .fas {
    color: var(--secondary);
    margin-right: 10px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* In-progress notification card used on detail pages */
.in-progress-card {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.15) 0%, rgba(77, 208, 225, 0.08) 100%);
    border: 2px solid rgba(13, 71, 161, 0.4);
    color: var(--text-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.in-progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4dd0e1, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.in-progress-card h4 {
    color: #4dd0e1;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Icon inside skill tag */
.skill-icon {
    margin-right: 8px;
    font-size: 1.05rem;
    vertical-align: middle;
}

/* Brand / accent colors for recognizable logos */
.icon-html { color: #E34F26; }
.icon-css { color: #1572B6; }
.icon-js { color: #F7DF1E; color: #f0db4f; }
.icon-php { color: #777BB4; }
.icon-python { color: #3776AB; }
.icon-java { color: #5382a1; }
.icon-c { color: #4db6ac; }
.icon-sql { color: #00618a; }
.icon-mysql { color: #00758F; }
.icon-mongo { color: #4DB33D; }
.icon-linux { color: #FCC624; }
.icon-apache { color: #D22128; }
.icon-docker { color: #2496ED; }
.icon-git { color: #F05032; }
.icon-github { color: #ffffff; }
.icon-vscode { color: #007ACC; }
.icon-postman { color: #FF6C37; }
.icon-agile { color: var(--secondary); }


/* Certifications & Projects Carousel */
.carousel-item {
    padding: 20px;
}

.certification-card, .project-card {
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.8) 0%, rgba(10, 15, 44, 0.6) 100%);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(13, 71, 161, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.certification-card::before, .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1) 0%, rgba(77, 208, 225, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.certification-card:hover, .project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 50px rgba(13, 71, 161, 0.3), 0 0 20px rgba(77, 208, 225, 0.2);
    border-color: rgba(77, 208, 225, 0.6);
}

.certification-card:hover::before, .project-card:hover::before {
    opacity: 1;
}

.certification-card img, .project-card img {
    width: 100%;
    height: 240px;
    border-radius: 0;
    border: none;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    position: relative;
    z-index: 0;
}

.certification-card:hover img, .project-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1);
}

.certification-card h3, .project-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #4dd0e1;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 25px 25px 0 25px;
    position: relative;
    z-index: 2;
}

.certification-card h3::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 25px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0d47a1 0%, #4dd0e1 100%);
    border-radius: 2px;
}

.certification-card p, .project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    padding: 0 25px;
    position: relative;
    z-index: 2;
}

.certification-card p:first-of-type, .project-card p:first-of-type {
    padding-top: 20px;
    font-weight: 600;
    color: #0d47a1;
    font-size: 0.85rem;
}

.certification-card p:last-of-type, .project-card p:last-of-type {
    flex-grow: 1;
    padding-bottom: 20px;
    line-height: 1.6;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(100%); /* Make arrows visible on dark background */
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    color: var(--primary);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 0.9;
}

/* Card content wrapper styles */
.card-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.card-tech-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(13, 71, 161, 0.2);
    border: 1px solid rgba(13, 71, 161, 0.4);
    border-radius: 20px;
    color: #4dd0e1;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 3px 5px 3px 0;
    transition: all 0.3s ease;
}

.card-tech-badge:hover {
    background: rgba(13, 71, 161, 0.4);
    border-color: #4dd0e1;
}

.card-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive adjustments for cards */
@media (max-width: 768px) {
    .certification-card, .project-card {
        padding: 0;
    }

    .certification-card img, .project-card img {
        height: 180px;
    }

    .certification-card h3, .project-card h3 {
        font-size: 1.1rem;
        padding: 20px 20px 0 20px;
    }

    .btn-outline.btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.btn-outline.btn-sm {
    border-color: #4dd0e1;
    color: #4dd0e1;
    padding: 0.6rem 1.3rem;
    font-size: 0.85rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 5px 20px 5px;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: 2px solid #4dd0e1;
    background: transparent;
}

.btn-outline.btn-sm:hover {
    background-color: #4dd0e1;
    color: #050810;
    box-shadow: 0 5px 20px rgba(77, 208, 225, 0.4);
    transform: translateY(-3px);
}

/* Services Section */
.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: var(--primary);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    margin-top: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Contact Section */
.contact-form {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.form-label {
    color: var(--text-light);
    font-weight: 500;
}

.form-control.form-input {
    background-color: var(--dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
    background-color: var(--dark);
    color: var(--text-light);
}

.btn-submit {
    background-color: var(--primary);
    border: none;
    color: var(--text-light);
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(79, 209, 199, 0.4);
    transform: translateY(-3px);
}

.contact-info-footer {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.contact-info-footer h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    font-size: 1.8rem;
}

.contact-item-footer p {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 1rem;
}

.contact-item-footer a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-footer a:hover {
    color: var(--primary);
}


/* Footer */
.footer {
    background-color: var(--darker);
    color: var(--text-muted);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    margin-top: auto;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-social {
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.6rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-3px) scale(1.1);
}

.footer .row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Fade-in animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0; /* Hidden by default */
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .section-heading {
        font-size: 2rem;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .skill-category {
        padding: 20px;
    }
    .skill-category h3 {
        font-size: 1.4rem;
    }
    .skill-tag {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .carousel-control-prev, .carousel-control-next {
        width: 8%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 0 60px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .profile-pic {
        width: 140px;
        height: 140px;
    }
    .btn-primary, .btn-outline {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    .section-heading {
        font-size: 1.8rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .footer .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section p.lead {
        font-size: 0.9rem;
    }
    .section-heading {
        font-size: 1.5rem;
    }
    .footer-brand {
        font-size: 1.5rem;
    }
}

/* Responsive Adjustments for Navbar - Specific to detail pages or general */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 1rem; /* Slightly smaller font for nav links */
        padding: 0.5rem 0.75rem; /* Smaller padding */
    }

    /* Optionnel: Masquer le texte à côté des icônes dans la navbar sur mobile */
    .navbar-nav .nav-link .me-1 { /* cible l'icône */
        margin-right: 0 !important; /* supprime la marge à droite de l'icône */
    }
    .navbar-nav .nav-link strong { /* cible le texte 'Accueil', 'À propos' etc. */
        display: none; /* masque le texte */
    }
    .navbar-nav .nav-link {
        display: flex; /* Utilise flexbox pour centrer l'icône */
        justify-content: center;
        align-items: center;
        text-align: center; /* Pour centrer l'icône dans le bouton si pas de texte */
    }
    /* Si vous voulez que le texte s'affiche quand même mais en dessous de l'icône (moins d'espace) */
    /* .navbar-nav .nav-link {
        flex-direction: column;
        line-height: 1;
    }
    .navbar-nav .nav-link strong {
        font-size: 0.75rem;
    } */
}

/* Specific for detail pages to ensure cards are always visible if fade-in was removed */
#certifications-details .col .certification-card,
#projects-details .col .project-card {
    opacity: 1 !important; /* Force visibility just in case */
    transform: none !important; /* Remove any lingering transform */
    animation: none !important; /* Disable fade-in animation for these specific cards */
}

/* Terminal Style for Contact Form */
.terminal-container {
    background-color: #050810;
    border: 2px solid #0d47a1;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(13, 71, 161, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.8);
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.terminal-header {
    background: linear-gradient(90deg, #0a0f2c 0%, #050810 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #0d47a1;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.terminal-button.red {
    background-color: #d32f2f;
}

.terminal-button.yellow {
    background-color: #f57f17;
}

.terminal-button.green {
    background-color: #00796b;
}

.terminal-button:hover {
    transform: scale(1.2);
}

.terminal-title {
    color: #4dd0e1;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terminal-content {
    background-color: #050810;
    padding: 20px;
    min-height: 100px;
    max-height: 250px;
    overflow-y: auto;
    border-bottom: 1px solid #0d47a1;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.terminal-prompt {
    color: #4dd0e1;
    font-weight: bold;
    margin-right: 8px;
    min-width: 12px;
}

.terminal-text {
    color: #4dd0e1;
    word-break: break-word;
    flex: 1;
}

.terminal-form {
    padding: 20px;
    background-color: #050810;
}

.terminal-input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.terminal-label {
    color: #4dd0e1;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: lowercase;
}

.terminal-input {
    background-color: #0a0f2c;
    border: 1px solid #0d47a1;
    color: #4dd0e1;
    padding: 10px 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.terminal-input:focus {
    border-color: #4dd0e1;
    box-shadow: 0 0 10px rgba(77, 208, 225, 0.2), inset 0 0 10px rgba(77, 208, 225, 0.05);
    background-color: #0a0f2c;
}

.terminal-textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 150px;
}

.terminal-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background-color: #0d47a1;
    border: 2px solid #0d47a1;
    color: #e0f7fa;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    justify-content: center;
    outline: none;
}

.terminal-submit:hover {
    background-color: #4dd0e1;
    border-color: #4dd0e1;
    color: #050810;
    box-shadow: 0 0 15px rgba(77, 208, 225, 0.3);
    transform: translateY(-2px);
}

.terminal-submit:active {
    transform: translateY(0);
}

/* Scrollbar for terminal content */
.terminal-content::-webkit-scrollbar {
    width: 8px;
}

.terminal-content::-webkit-scrollbar-track {
    background-color: #050810;
}

.terminal-content::-webkit-scrollbar-thumb {
    background-color: #0d47a1;
    border-radius: 4px;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
    background-color: #4dd0e1;
}

/* Social Links Section */
.social-links-container {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1) 0%, rgba(77, 208, 225, 0.05) 100%);
    border: 2px solid rgba(13, 71, 161, 0.3);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.social-section-title {
    color: var(--text-light);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    background: linear-gradient(135deg, #0d47a1 0%, #4dd0e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-btn i {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-btn span {
    transition: all 0.3s ease;
}

/* LinkedIn Button */
.linkedin-btn {
    border-color: #0077b5;
    color: #0077b5;
    background: rgba(0, 119, 181, 0.05);
}

.linkedin-btn:hover {
    background: linear-gradient(135deg, #0077b5 0%, #004d7a 100%);
    color: white;
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.5);
    transform: translateY(-5px);
}

/* GitHub Button */
.github-btn {
    border-color: #333;
    color: #e8e8e8;
    background: rgba(51, 51, 51, 0.1);
}

.github-btn:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Gmail Button */
.gmail-btn {
    border-color: #ea4335;
    color: #ea4335;
    background: rgba(234, 67, 53, 0.05);
}

.gmail-btn:hover {
    background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
    color: white;
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.5);
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-btn {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.05);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #25d366 0%, #1a9e4f 100%);
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-5px);
}

/* Phone Button */
.phone-btn {
    border-color: #1e90ff;
    color: #1e90ff;
    background: rgba(30, 144, 255, 0.05);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #1e90ff 0%, #00a8ff 100%);
    color: white;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
    transform: translateY(-5px);
}

/* Twitter Button */
.twitter-btn {
    border-color: #1da1f2;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.05);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #1a8cd8 100%);
    color: white;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.5);
    transform: translateY(-5px);
}

/* Instagram Button */
.instagram-btn {
    border-color: #e1306c;
    color: #e1306c;
    background: rgba(225, 48, 108, 0.05);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #e1306c 0%, #fd1d1d 100%);
    color: white;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
    transform: translateY(-5px);
}

/* Facebook Button */
.facebook-btn {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.05);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0a66c2 100%);
    color: white;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.5);
    transform: translateY(-5px);
}

/* Quick Info Section */
.quick-info {
    margin-top: auto;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(13, 71, 161, 0.08);
    border: 1px solid rgba(13, 71, 161, 0.3);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card i {
    font-size: 1.5rem;
    color: #0d47a1;
    min-width: 30px;
    text-align: center;
}

.info-card h5 {
    color: var(--text-light);
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.85rem;
}

.info-card:hover {
    background: rgba(13, 71, 161, 0.15);
    border-color: rgba(13, 71, 161, 0.5);
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .social-links-container {
        margin-top: 30px;
    }

    .social-buttons-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    }

    .social-btn {
        min-height: 90px;
        padding: 15px;
    }

    .social-btn i {
        font-size: 1.5rem;
    }

    .social-btn span {
        font-size: 0.75rem;
    }
}