/* Nobel-Worthy Color Palette */
:root {
    --gold: #D4AF37;
    --silver: #C0C0C0;
    --dark: #121212;
    --light: #F8F8F8;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.8;
}

/* Prestige Typography */
h1, h2, h3 {
   font-family: 'Kurale', serif;
}

h2 {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
    display: inline-block;
}

h2 i {
    color: var(--gold);
    margin-right: 15px;
}

/* Header */
.nobel-header {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('assets/eco.png') center/cover;
    padding: 100px 0;
    text-align: center;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid var(--gold);
    object-fit: cover;
}

.nobel-subtitle {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--silver);
}

/* Navigation */
.prestige-nav {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
}

.prestige-nav a {
    color: var(--silver);
    font-weight: 600;
    transition: all 0.3s;
}

.prestige-nav a:hover {
    color: var(--gold);
}

.prestige-nav i {
    margin-right: 8px;
}

/* Text Styles */
.gold-text { color: var(--gold); }
.silver-text { color: var(--silver); }

.prestige-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Carousel */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden;
}

.carousel .list {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}



/* Cards */
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 30px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s;
}



/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
    transform: translateX(-50%);
}

/* Cards */
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 30px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s;
}





/* Horizontal Layouts */
.prestige-nav ul {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Cards for Projects and Experience */
.project-card, .experience-card {
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.project-card:hover, .experience-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.project-card img, .experience-card img {
    max-width: 100px;
    margin-bottom: 10px;
    border-radius: 10px;
}


/* Bio Section */
.bio-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 20px auto;
    max-width: 800px;
    color: #c0c0c0;
}

/* Contact Section Redesign */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.contact-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 2rem;
    color: #d4af37;
}







/* Expertise Section */
.expertise-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.expertise-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.expertise-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.expertise-item img {
    max-width: 100px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.expertise-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #d4af37;
}



/* Global span styling */
span {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #d4af37; /* Gold color */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Depth effect */
    background-color: rgba(255, 255, 255, 0.05); /* Subtle white highlight */
    padding: 5px 10px;
    border-radius: 5px;
}
h5 {
    font-family: 'Kurale', serif; /* Elegant old-style serif */
    font-size: 1.1rem; /* Slightly larger for better readability */
    line-height: 1.8; /* Comfortable spacing */
    color: #d4af37; /* Gold color for elegance */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Subtle depth */
    background-color: rgba(0, 0, 0, 0.05); /* Soft translucent highlight */
    padding: 12px 16px; /* Adds a sense of refinement */
    border-left: 5px solid #d4af37; /* Gold accent for heritage vibe */
    border-radius: 8px; /* Smooth, rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight elevation */
}






/* Education Section */
.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Smaller column width */
    gap: 10px; /* Reduce spacing between cards */
    margin-top: 10px; /* Smaller margin for compact layout */
}
.education-card {
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    justify-content: flex-end; /* Push text to the bottom */
    align-items: center; /* Center-align image and text */
    text-align: center;
    padding: 10px; /* Reduce padding */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px; /* Keep smooth corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle elevation */
    transition: transform 0.2s, box-shadow 0.2s;
    height: 200px; /* Enforce consistent card height */
}

.education-card:hover {
    transform: scale(1.05); /* Slight hover effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced hover elevation */
}

.education-card img {
    max-width: 70px; /* Smaller image size */
    max-height: 70px; /* Ensure consistent height */
    object-fit: contain; /* Preserve aspect ratio for different image sizes */
    margin-bottom: auto; /* Push the image to the top */
    border-radius: 5px; /* Slightly rounded images */
}
