/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0c1044;
    margin: 0;
}
h1.main-title{
    font-weight: 500 !important;
}
h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500;
   letter-spacing: -1px;
}
h2, h3, h4, .serif-font {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400;
   letter-spacing: -1px;
}
.hero-profile{
    font-size: 1.2rem !important;
}
.serif-font {
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: #ffc000; /* Muted gold color for the subtitle */
}

.tracking-extra {
    letter-spacing: 0.4rem;
}
/* Sticky Navbar Styling */
.navbar-custom {
    background-color: #0c1044; /* Matches the hero navy */
    transition: background-color 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1030; /* Ensures it stays above all content */
}

/* Optional: Slight transparency for a modern look */
.navbar-custom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #0c1044;
}
/* Navbar */
.navbar-brand {
    letter-spacing: 1px;
}
.navbar-brand .fw-light{
    color: #ffc000;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
    color: #ffffff;
}
/* Base Navbar (Transparent state on Hero) */
.navbar-custom {
    transition: all 0.3s ease-in-out;
    background-color: transparent;
}

.navbar-custom .nav-link, 
.navbar-custom .navbar-brand {
    color: #ffffff !important;
}

/* Scrolled State (White background) */
.navbar-scrolled {
    background-color: #ffffff !important;
    padding: 10px 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-scrolled .nav-link, 
.navbar-scrolled .navbar-brand {
    color: #0c1044 !important; /* Dark Navy text */
}

/* Toggle Menu Icon Color on Scroll */
.navbar-scrolled .navbar-toggler {
    filter: invert(1); /* Makes the white burger icon dark */
}

/* Button Styling Transitions */
.btn-cv-header {
    background-color: #ffffff !important;
    color: #0c1044 !important;
    border: none;
    transition: all 0.3s;
}

.navbar-scrolled .btn-cv-header {
    background-color: #0c1044 !important;
    color: #ffffff !important;
}
.btn-cv-header:hover{
    opacity: 0.7;
}
.nav-link:hover {
    color: #ffc000 !important;
}

/* Hero Section */
.hero-banner {
    background: radial-gradient(circle at center, #0c1044 0%, #0c1044 100%);
    min-height: 100vh;
    padding-top: 75px;
}
/* Custom Header Typography */
#hero-name {
    /* Scalable font size based on screen width */
    font-size: clamp(2.5rem, 8vw, 3rem); 
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400; /* Heavier weight as seen in screenshot */
    letter-spacing: -1px;
    text-transform: capitalize;
    /* Prevents breaking into two lines */
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: clip;
}

/* Adjusting the long role text for smaller screens */
.role-text {
    font-size: clamp(0.9rem, 1.5vw, 1.25rem);
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 400;
}

/* Ensure container doesn't force a wrap */
.hero-banner .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.profile-img-centered {
    width: 150px; /* Set a specific size for the portrait */
    height: 150px;
    object-fit: cover; /* Ensures the image fills the circle perfectly */
    border: 3px solid rgba(191, 163, 106, 0.4); /* Muted gold border from previous code */
    padding: 0px;
    background-color: rgb(255, 255, 255); /* Subtle background accent */
    border-radius: 50% !important; /* Forces the image into a circle */
    display: block;
    margin: 0 auto; /* Centers the image */
}
.board-card p{
    font-weight: 300 !important;
   
    font-size: 0.85em;
}
/* Tablet and Mobile Tweaks */
@media (max-width: 768px) {
    .spec-card{
        padding: 1.5rem 0rem 1.5rem 1rem !important;
    }
    .spec-text{
        font-size: 0.9rem !important;
    }

    #hero-name {
        letter-spacing: -0.5px; /* Tighter on mobile to save space */
    }
    .role-text {
        font-weight: 400; /* Slightly lighter for readability on small screens */
    }
    .exp-details{
        width: 100%;
    }
    #experience .col-lg-4{
        position: static !important;
    }
}
.main-title {
  
    letter-spacing: -2px;
}

.contact-info p {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.9;
}
.contact-info a{
    color: #ffffff;
    text-decoration: none;
}
.contact-info a:hover{
    color: #ffc000;
   
}

/* Buttons */
.btn-cv {
    background-color: white;
    color: #0c1044;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    border: 1px solid white;
}

.btn-contact {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.btn-cv:hover {
   border: 1px solid white;
    transform: translateY(-2px);
}

.btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    opacity: 0.6;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, white, transparent);
    margin: 0 auto;
}

/* Section Heading Style */
.section-heading {
    font-size: 3rem;
    font-weight: 400;
    color: #0c1044;
}
.logo-img{
    width: 50px;
    height: 45px;
}

/* Centered underline style */
.heading-underline {
    width: 60px;
    height: 4px;
    background-color: #0c1044;
    margin: 0 auto;
}

/* Description text styles */
.profile-description {
    font-size: 1.25rem;
    font-weight: 400;
    color: #334155;
    max-width: 900px;
    margin: 0 auto;
}

/* Bold highlight inside profile description */
.profile-description .fw-bold {
    color: #0c1044;
}

/* Specialization Section Background */
.bg-light-soft {
    background-color: #f8f9fa;
}

/* Card Styling */
.spec-card {
    background: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft subtle shadow */
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.1rem !important;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.spec-icon {
    color: #ffc000; /* Executive Gold */
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

/* Text inside cards */
.spec-text {
    font-size: 1rem;
    font-weight: 400;
    color: #1e2b3e;
    line-height: 1.3;
}

/* Reusing underline style from profile if not already present */
.heading-underline {
    width: 60px;
    height: 4px;
    background-color: #0c1044;
    margin: 0 auto;
}
/* Sidebar Underline */
.heading-underline-left {
    width: 50px;
    height: 3px;
    background-color: #0c1044;
}

#experience .col-lg-4 {
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* Make sure row allows sticky */
#experience .row{
    align-items:flex-start;
}
/* Ensure the sticky sidebar doesn't overlap on mobile */
@media (max-width: 991px) {
    .experience-sticky {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

/* Timeline slide-in refinement */
/* [data-aos="fade-right"] {
    transform: translateX(-50px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
} */

/* Responsiveness: Disable sticky on small screens so it doesn't overlap content */
@media (max-width: 991px) {
    .sticky-lg-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* Timeline Container */
.experience-timeline {
    position: relative;
    padding-left: 30px;
}

/* Vertical Line */
.experience-timeline::before {
    content: '';
    position: absolute;
    left: 4.5px; /* Centers with the 10px marker */
    top: 5px;
    bottom: 5px;
    width: 1px;
    background-color: #e2e8f0;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Gold Marker Dot */
.timeline-marker {
    position: absolute;
    left: -30px;
    width: 10px;
    height: 10px;
    background-color: #ffc000; /* Gold marker */
    border-radius: 50%;
    z-index: 1;
}
.languages{
    gap: 10px;
}
/* Content Styles */
.job-title {
    font-size: 1.3rem;
   
    color: #0c1044;
    font-family: 'Roboto';
    font-weight: 500 !important;
}
.job-title span{
    font-weight: 400 !important;
    font-size: 0.85rem;
}

.company-name {
    color: #64748b;
    font-weight: 400;
}

.job-date {
    font-size: 0.85rem;
    color: #0c1044;
    background-color: #f8fafc;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    text-align: center !important;
    min-width: 35%;
}
/* Dark Section Container */
.footer-dark {
    background-color: #0c1044; /* Deep navy */
}

.text-gold {
    color: #ffc000;
}

/* Board Cards */
.board-card {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle transparent white */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 500;
    transition: background 0.3s;
    margin-bottom: 2rem !important;
}

.board-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
.board-left{
    border-right: 1px solid #ffffff1a;
    padding-right: 4rem;
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}
.board-right{
 padding-left: 2.5rem;
  padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}
.gold-dot {
    color: #ffc000;
    margin-right: 10px;
    font-size: 1.2rem;
}
.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid #ffffff1a;
    padding-bottom: 2.5rem;
}
/* Education List Styles */
.education-list .edu-item{
    border-left: 2px solid #e1e7ef !important;
    padding-left: 1.5rem;
  
}
.education-list .edu-item:hover{
     border-left: 2px solid #ffc000 !important;
}
.edu-item h5 {
    color: #ffffff;
    letter-spacing: 0px;
  
}

.edu-item p {
    color: #94a3b8 !important; /* Muted slate text */
}

/* Iconography */
.bi-briefcase, .bi-mortarboard, .bi-award {
    opacity: 0.9;
}
/* Contact Detail Icons */
.contact-icon-circle {
    width: 45px;
    height: 45px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c1044;
    font-size: 1.2rem;
}
.contact-info-wrapper a{
color: #0c1044;
   
    text-decoration: none;
}
.contact-info-wrapper a:hover{
    text-decoration: underline;
}
/* Contact Form Card */
.contact-form-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #0c1044; /* Dark navy top border */
}

/* Form Controls */
.form-control::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-control:focus {
    background-color: #f8fafc !important;
    box-shadow: none;
    border: 1px solid #e2e8f0 !important;
}

/* Submit Button */
.btn-dark-navy {
    background-color: #0c1044;
    color: white;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-dark-navy:hover {
    background-color: #0c1044;
    color: white;
    transform: translateY(-2px);
}

.text-navy {
    color: #0c1044;
}
footer p.text-muted, footer p{
    color: white !important;
}
/* Mobile Adjustments */
@media (max-width: 576px) {
    .job-date {
        margin-top: 10px;
        
    }

}

/* Hide default bootstrap icon */
.navbar-toggler {
    border: none;
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Custom hamburger */
.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.navbar-toggler-icon-custom span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animate to X when menu is open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon-custom span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .job-date{
        min-width: 55%;
    }
    .heading-underline-left{
        margin: auto;
    }
    .hero-profile{
        font-size: 0.87rem !important;
    }
    .board-left{
        padding-bottom: 0 !important;
        padding-right: 2rem;
    }
    .board-right{
        padding-top: 2rem !important;
        padding-left: 1rem;
    }
     .job-date {
        text-align: center;
     }
    .section-heading {
        font-size: 1.8rem;
        text-align: center !important;
    }
    .job-title{
        font-size: 1.1rem !important;
    }
    .profile-description {
        font-size: 1.1rem;
    }
    .last-item-nav, .last-item-nav a{
        width: 100%;
    }
    .role-text{
        max-width: 90%;
    }
        .navbar-nav.align-items-center{
        align-items: flex-start !important;
    }
}