/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #FFC107;
    /* Yellow */
    --secondary-color: #212529;
    /* Dark */
    --light-bg: #F8F9FA;
    --text-color: #333;
    --font-primary: 'Outfit', sans-serif;
}

/* Core Styles */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

p {
    color: #6c757d;
}

.section-padding {
    padding: 100px 0;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 20px 0;
}

.navbar.scrolled {
    background: #ffffff;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    position: relative;
    padding: 10px 15px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

/* Back to Top */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* Theme Toggle */
.theme-toggle-btn {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: 0.3s;
}

.theme-toggle-btn:hover {
    background: #e0e0e0;
}

/* Icons */
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Experience/Education Tabs Customization */
#pills-tab .nav-link:hover {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
}

#pills-tab .nav-link.active {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

/* Premium Hero Section Enhancements */
.hero-img-container {
    position: relative;
    display: inline-block;
    padding: 20px;
}

.hero-img-blob {
    position: relative;
    z-index: 2;
    padding: 10px;
    background: linear-gradient(45deg, var(--primary-color), #ffffff, var(--primary-color));
    background-size: 200% 200%;
    animation: borderRotate 4s linear infinite;
    border-radius: 50%;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.main-profile-img {
    border-radius: 50%;
    z-index: 3;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 5px solid #ffffff;
}

.dark-mode .main-profile-img {
    border-color: #1a1d21;
}

.hero-img-blob::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    filter: blur(50px);
    opacity: 0.4;
    z-index: 1;
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.dark-mode .floating-badge {
    background: #2b3035;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.badge-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-img-container:hover .main-profile-img {
    transform: scale(1.05) rotate(2deg);
}

.btn-outline-warning {
    border: 2px solid var(--primary-color);
    color: var(--secondary-color);
}

.btn-outline-warning:hover {
    background-color: var(--primary-color);
    color: #000;
}

.dark-mode .btn-outline-warning {
    color: var(--primary-color);
}

.dark-mode .btn-outline-warning:hover {
    color: #000;
}