/* Custom Visual Enhancements */

/* Add more breathing room to sections */
.container-fluid.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* About Section - Light Background */
#about {
    background-color: #f8f9fa;
    /* Light gray background */
    position: relative;
    z-index: 1;
}

/* Experience Section - Dark Premium Background */
#experience {
    background-color: #0f172a;
    /* Deep slate blue */
    position: relative;
    z-index: 1;
    color: #e2e8f0;
}

/* Section Title Overrides for Dark Mode */
#experience .display-1.text-uppercase.text-white {
    color: #1e293b !important;
    /* Darker text for the background stroke effect */
    opacity: 0.5;
    -webkit-text-stroke: 1px #334155 !important;
}

#experience .text-primary {
    color: #2dd4bf !important;
    /* Teal accent */
}

/* Grid Layout for Cards */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

/* Premium Card Styling */
.experience-card {
    background: #1e293b;
    /* Slate 800 */
    border: 1px solid #334155;
    /* Slate 700 */
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hover Effects */
.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border-color: #2dd4bf;
    /* Teal border on hover */
}

/* Card Header */
.experience-card h4 {
    color: #f1f5f9;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-card h4 i {
    color: #2dd4bf;
}

/* Card Content */
.experience-card p,
.experience-card li {
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.95rem;
    line-height: 1.6;
}

.experience-card strong {
    color: #e2e8f0;
}

.experience-card small {
    color: #64748b;
    display: block;
    margin-bottom: 0.5rem;
}

.experience-card a {
    color: #2dd4bf;
    text-decoration: none;
    transition: color 0.2s;
}

.experience-card a:hover {
    color: #5eead4;
    text-decoration: underline;
}

/* Scrollbar for long content if needed (optional) */
.experience-card-content {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar */
.experience-card-content::-webkit-scrollbar {
    width: 6px;
}

.experience-card-content::-webkit-scrollbar-track {
    background: #1e293b;
}

.experience-card-content::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

.experience-card-content::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Section Headings */
.display-1.text-uppercase.text-white {
    opacity: 0.1;
    /* Make the background text more subtle */
    color: #343a40 !important;
    /* Use dark gray instead of white for better visibility on light bg */
    -webkit-text-stroke: 0px !important;
    /* Remove stroke */
    font-weight: 900;
}

/* Ensure the overlay text pops */
.position-absolute.text-uppercase.text-primary {
    font-weight: 700;
    letter-spacing: 2px;
}