/* @path style.css */

/* ======================================================
   PORTFOLIO — STYLE.CSS
   Dark theme, modern design, smooth animations
   ====================================================== */

/* -------------------- VARIABLES -------------------- */
:root {
    --primary: #6c63ff;
    --primary-light: #8b83ff;
    --primary-dark: #5a52d5;
    --accent: #00d4ff;
    --bg-dark: #0a0a1a;
    --bg-dark-alt: #0f0f2a;
    --bg-card: #161636;
    --bg-card-hover: #1c1c44;
    --text-primary: #ffffff;
    --text-secondary: #b0b0cc;
    --text-muted: #6e6e8a;
    --border-color: #2a2a4a;
    --gradient-1: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-2: linear-gradient(135deg, #667eea, #764ba2);
    --shadow-sm: 0 2px 15px rgba(108, 99, 255, 0.08);
    --shadow-md: 0 5px 30px rgba(108, 99, 255, 0.15);
    --shadow-lg: 0 10px 60px rgba(108, 99, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------- RESET & BASE -------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* -------------------- SECTION DEFAULTS -------------------- */
.section-padding {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

.highlight {
    color: var(--primary);
}

/* -------------------- BUTTONS -------------------- */
.btn-primary-custom {
    background: var(--gradient-1);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transition: left 0.4s ease;
    z-index: -1;
}
.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-primary-custom:hover::before {
    left: 0;
}

.btn-outline-custom {
    color: var(--text-primary);
    border: 2px solid var(--primary);
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== NAVBAR ==================== */
#mainNav {
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 9999;
}
#mainNav.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary) !important;
}
.brand-dot {
    color: var(--primary);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 4px 10px;
}
.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(108,99,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-center-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px 8px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0 2px;
    padding: 6px 14px !important;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(108, 99, 255, 0.15);
}

.btn-nav-contact {
    background: var(--gradient-1);
    color: #fff !important;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #fff !important;
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .nav-center-pill {
        border-radius: var(--radius-md);
        padding: 10px;
        margin-bottom: 15px;
    }
    .btn-nav-contact {
        display: inline-block;
        text-align: center;
    }
}

/* ==================== 1. HERO / COVER ==================== */
.hero-section {
    min-height: 100vh;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* particles removed */

.hero-greeting {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-name {
    color: var(--text-primary);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 45px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.typed-text {
    color: var(--accent);
    font-weight: 600;
}

.cursor {
    color: var(--primary);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}
.hero-buttons .me-3 {
    margin-right: 0 !important;
}

.hero-socials {
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}
.hero-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    margin-right: 12px;
    font-size: 1.1rem;
    transition: var(--transition);
}
.hero-socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

/* Hero Image / Blob */
.hero-image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.hero-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blobMorph 8s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes blobMorph {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.hero-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-15px); }
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: fadeInUp 1s ease 1.2s forwards;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0%   { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

/* ==================== 2. ABOUT ==================== */
.about-image-card {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    height: 350px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.about-img-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--primary), transparent 30%);
    animation: rotateBorder 4s linear infinite;
    opacity: 0.1;
}

@keyframes rotateBorder {
    100% { transform: rotate(360deg); }
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.about-content h3 {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-content p {
    margin-bottom: 15px;
}

.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.info-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.info-item strong {
    color: var(--text-primary);
    margin-right: 8px;
}

.available-badge {
    background: rgba(0, 212, 100, 0.15);
    color: #00d464;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==================== 3 & 5. TIMELINE (Education & Experience) ==================== */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
    z-index: 2;
    transition: var(--transition);
}
.timeline-item:hover .timeline-dot {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.4);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    transition: var(--transition);
}
.timeline-content:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    display: inline-block;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-place {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-content ul {
    padding-left: 18px;
    list-style: disc;
}
.timeline-content ul li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* ==================== 4. SKILLS ==================== */
.skills-category-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.skills-category-title i {
    color: var(--primary);
}

.skill-bar-wrap {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}
.skill-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==================== 6. SERVICES ==================== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gradient-1);
    color: #fff;
}

.service-card h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.service-list {
    padding-left: 0;
}
.service-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ==================== 7. PROJECTS ==================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: #fff;
    border-color: transparent;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    /* background-image:url(./assets/erc-build.png); */
}
.project-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: center;
    transition: var(--transition);
}
.project-card:hover .project-img-placeholder {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
}
.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: var(--transition);
}
.project-card:hover .project-link {
    transform: translateY(0);
}
.project-link:hover {
    background: var(--primary);
    color: #fff;
}

.project-info {
    padding: 20px;
}

.project-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 6px;
}

.project-info h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.project-tags span {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-item.hidden {
    display: none;
}

.project-item.show {
    animation: fadeInUp 0.5s ease forwards;
}

/* ==================== 8. ACHIEVEMENTS ==================== */
.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.achievement-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.achievement-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.achievement-card:hover::after {
    transform: scaleX(1);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}
.achievement-card:hover .achievement-icon {
    background: var(--gradient-1);
    color: #fff;
    transform: rotateY(180deg);
}

.achievement-card h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.achievement-org {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.achievement-card p:last-child {
    font-size: 0.9rem;
}

/* ==================== 9. TESTIMONIALS (Card Grid) ==================== */
.testimonial-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.testimonial-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.testimonial-card-v2:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.testimonial-card-v2:hover::before {
    transform: scaleX(1);
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}
.testimonial-stars i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(108, 99, 255, 0.12);
    color: var(--primary-light);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(108, 99, 255, 0.25);
    white-space: nowrap;
}
.testimonial-badge.badge-green {
    background: rgba(0, 212, 100, 0.1);
    color: #00d464;
    border-color: rgba(0, 212, 100, 0.25);
}
.testimonial-badge.badge-pink {
    background: rgba(255, 107, 157, 0.1);
    color: #ff6b9d;
    border-color: rgba(255, 107, 157, 0.25);
}

.testimonial-quote {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-initials {
    width: 44px;
    height: 44px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.author-info {
    flex-grow: 1;
}
.author-info h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.9rem;
}
.author-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.author-linkedin {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.author-linkedin:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ==================== 10. CONTACT ==================== */
.contact-info-wrap {
    height: 100%;
}

.contact-info-wrap h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info-wrap > p {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.contact-info-item a,
.contact-info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.contact-socials a {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}
.contact-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
}

.form-floating-custom {
    position: relative;
    margin-bottom: 5px;
}

.form-floating-custom input,
.form-floating-custom textarea {
    width: 100%;
    background: var(--bg-dark-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    padding: 18px 16px 8px;
    outline: none;
    transition: var(--transition);
}
.form-floating-custom textarea {
    resize: vertical;
    min-height: 120px;
}

.form-floating-custom input:focus,
.form-floating-custom textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-floating-custom label {
    position: absolute;
    top: 14px;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-floating-custom input:focus ~ label,
.form-floating-custom input:valid ~ label,
.form-floating-custom textarea:focus ~ label,
.form-floating-custom textarea:valid ~ label {
    top: 4px;
    font-size: 0.7rem;
    color: var(--primary);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.4s ease;
}
.form-floating-custom input:focus ~ .focus-border,
.form-floating-custom textarea:focus ~ .focus-border {
    left: 0;
    width: 100%;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 30px;
    animation: fadeInUp 0.5s ease;
}
.form-success i {
    font-size: 3rem;
    color: #00d464;
    margin-bottom: 15px;
}
.form-success h4 {
    color: var(--text-primary);
}

/* ==================== FOOTER ==================== */
.footer-section {
    background: var(--bg-dark-alt);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-main {
    padding-bottom: 40px;
}

.footer-heading {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-text strong {
    color: var(--text-primary);
}

.footer-logo {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    display: block;
    margin-bottom: 20px;
    transition: var(--transition);
}
.footer-logo:hover {
    color: var(--primary) !important;
}

.footer-socials-center {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.footer-socials-center a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}
.footer-socials-center a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ==================== KEYFRAME ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== RESPONSIVE ==================== */

/* Large Tablets */
@media (max-width: 991.98px) {
    .hero-name {
        font-size: 3.5rem;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-image-wrapper {
        width: 280px;
        height: 280px;
        margin-top: 40px;
    }
    .hero-photo {
        width: 220px;
        height: 220px;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-padding {
        padding: 80px 0;
    }
    .about-info-grid {
        grid-template-columns: 1fr;
    }

    .navbar-collapse {
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(15px);
        border-radius: var(--radius-md);
        padding: 15px;
        margin-top: 10px;
        border: 1px solid var(--border-color);
    }
}

/* Tablets */
@media (max-width: 767.98px) {
    .hero-name {
        font-size: 2.8rem;
    }
    .hero-title {
        font-size: 1.2rem;
    }
    .hero-image-wrapper {
        width: 230px;
        height: 230px;
    }
    .hero-photo {
        width: 180px;
        height: 180px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .testimonial-card-v2 {
        padding: 25px 20px;
    }
    .about-stats {
        gap: 20px;
    }
    .stat-item {
        font-size: 1.3rem;
    }
    .contact-form {
        padding: 25px;
    }
}

/* ==================== EDUCATION CARDS ==================== */
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}
.edu-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.edu-card-header {
    background: rgba(108, 99, 255, 0.08);
    border-bottom: 2px solid var(--primary);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.edu-card-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}
.edu-card-title i {
    color: var(--primary);
}
.edu-card-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.edu-card-body {
    padding: 25px;
}
.edu-degree {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.edu-place {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 15px;
}
.edu-place i {
    color: var(--primary);
}
.edu-details {
    margin-top: 10px;
}
.edu-detail {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}
.edu-detail strong {
    color: var(--text-primary);
}
.cert-entry {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.cert-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.cert-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.cert-name {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}
.cert-link {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    transition: var(--transition);
}
.cert-link:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.cert-meta {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 10px;
}
.cert-meta i {
    color: var(--primary);
}
.cert-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.cert-topics {
    padding-left: 18px;
    list-style: disc;
}
.cert-topics li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* ==================== SKILL TAG ICONS ==================== */
.skill-tag-icon {
    margin-right: 6px;
    font-size: 0.85rem;
    color: var(--primary);
}
.skill-tag:hover .skill-tag-icon {
    color: inherit;
}

/* ==================== CHALLENGE / ACTION / RESULT ==================== */
.car-section {
    margin-top: 10px;
}
.car-item {
    margin-bottom: 12px;
}
.car-item:last-child {
    margin-bottom: 0;
}
.car-label {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.car-label.challenge {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}
.car-label.action {
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
}
.car-label.result {
    background: rgba(0, 212, 100, 0.15);
    color: #00d464;
}
.car-item p {
    font-size: 0.88rem;
    margin-bottom: 0;
    padding-left: 5px;
}

/* ==================== VIEW FEATURES BUTTON ==================== */
.btn-view-features {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 12px;
    display: inline-block;
}
.btn-view-features:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==================== PROJECT MODALS ==================== */
.project-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    position: relative;
}
.project-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    filter: invert(1) grayscale(100%) brightness(200%);
    z-index: 10;
}
.project-modal-body {
    padding: 35px;
    max-height: 80vh;
    overflow-y: auto;
}
.project-modal-body::-webkit-scrollbar {
    width: 5px;
}
.project-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}
.project-modal-name {
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 40px;
}
.project-modal-meta {
    display: flex;
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}
.project-modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meta-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.meta-value {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}
.project-modal-section {
    margin-bottom: 22px;
}
.project-modal-section:last-child {
    margin-bottom: 0;
}
.project-modal-section-title {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.project-modal-section-title i {
    color: var(--primary);
    font-size: 1rem;
}
.challenge-title i {
    color: #ff6b6b;
}
.solution-title i {
    color: #ffc107;
}
.result-title i {
    color: #00d464;
}
.project-modal-section > p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0;
}
.project-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.project-modal-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.project-modal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
}
.project-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.modal-tech-tag {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}
.modal {
    z-index: 99999;
}
.modal-backdrop {
    z-index: 99998;
    background-color: rgba(0, 0, 0, 0.75);
}
@media (max-width: 575.98px) {
    .project-modal-body {
        padding: 25px 20px;
    }
    .project-modal-name {
        font-size: 1.3rem;
    }
    .project-modal-meta {
        gap: 20px;
    }
}

/* ==================== CONTACT HOVER EFFECTS ==================== */
.contact-info-item {
    cursor: pointer;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.contact-info-item:hover {
    background: rgba(108, 99, 255, 0.08);
    transform: translateX(8px);
}
.contact-info-item:hover .contact-icon {
    background: var(--gradient-1);
    color: #fff;
    transform: scale(1.1);
}
.contact-info-item:hover h6 {
    color: var(--primary);
}
.contact-info-item:hover a,
.contact-info-item:hover span {
    color: var(--text-primary);
}

/* Mobile */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 100px;
    }
    .hero-name {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 1rem;
        min-height: 35px;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .me-3 {
        margin-right: 0 !important;
    }
    .hero-image-wrapper {
        width: 200px;
        height: 200px;
    }
    .hero-photo {
        width: 160px;
        height: 160px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .timeline {
        padding-left: 30px;
    }
    .timeline-dot {
        left: -30px;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .timeline-content {
        padding: 20px;
    }
    .about-info-grid {
        grid-template-columns: 1fr;
    }
    .project-filters {
        gap: 8px;
    }
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    .about-img-placeholder {
        height: 250px;
        font-size: 4rem;
    }
    .contact-form {
        padding: 20px;
    }
}
