/* ========== CSS VARIABLES ========== */
:root {
    --primary: #5ce1e6;
    --primary-dark: #4ac8cd;
    --secondary: #629cf7;
    --dark-bg: #0b1222;
    --dark-bg-light: #0f172a;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #70d6ff;
    --card-bg: rgba(15, 23, 42, 0.7);
    --glow: 0 0 25px rgba(90, 200, 255, 0.5);
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

/* ========== NAVBAR ========== */
.navbar {
    background: rgba(11, 18, 34, 0.85) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #5ce1e6;
}

.navbar-brand {
    color: var(--primary) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}
/* Contact nav item border */
.navbar-nav .nav-item:last-child .nav-link {
    border: 2px solid var(--primary);
    border-radius: 25px;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
    background: var(--primary);
    color: var(--dark-bg) !important;
    box-shadow: var(--glow);
}

.navbar-nav .nav-item:last-child .nav-link::after {
    display: none;
}
/* ========== HERO SECTION ========== */
.hero {
    padding-top: 120px;
    padding-bottom: 120px;
    background: linear-gradient(180deg, var(--dark-bg), var(--dark-bg-light));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Circle with Profile Image */
.hero-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: var(--glow);
    transition: transform 0.3s ease;
    overflow: hidden;
    padding: 4px;
}

.hero-circle:hover {
    transform: scale(1.05);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.hero-circle:hover .profile-img {
    transform: scale(1.1);
}

.circle-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary);
    opacity: 0.3;
    animation: pulse 2s infinite;
    top: -10px;
    left: -10px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Hero Text */
.hero-title {
    margin-top: 1.5rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 1rem 0;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Hero Buttons */
.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 225, 230, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Social Icons */
.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

/* Location */
.location {
    color: var(--text-muted);
    font-size: 1rem;
}

.location i {
    color: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: linear-gradient(180deg, var(--dark-bg-light), var(--dark-bg));
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    margin-bottom: 3rem !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* About Image */
.about-img-wrapper {
    position: relative;
    display: inline-block;
    max-width: 400px;
    margin: 0 auto;
}

.about-img {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center 25%;
    box-shadow: var(--glow);
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.02);
}

.about-img-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.3;
    filter: blur(15px);
    z-index: 1;
    animation: pulse 3s infinite;
}

/* About Content */
.about-content {
    padding-right: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-text strong {
    color: var(--primary);
    font-weight: 600;
}

/* Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.badge-item {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 225, 230, 0.4);
}


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

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-sub {
        font-size: 1.2rem;
    }
    
    .hero-circle {
        width: 140px;
        height: 140px;
    }
    
    .circle-glow {
        width: 160px;
        height: 160px;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .me-3 {
        margin-right: 0 !important;
    }
}

/* About Section Responsive */
@media (max-width: 991px) {
    .about-content {
        padding-right: 0;
        padding-top: 3rem;
    }
    
    .about-img-wrapper {
        max-width: 260px;
    }
    
    .about-img {
        height: 260px;
    }
    
    .badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem !important;
    }
    
    .about-img-wrapper {
        max-width: 220px;
    }
    
    .about-img {
        height: 220px;
        border-radius: 15px;
    }
    
    .about-img-glow {
        border-radius: 25px;
    }
    
    .about-content {
        padding-top: 2.5rem;
        text-align: center;
    }
    
    .about-text {
        font-size: 1rem;
        text-align: center;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
    
    .badges {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .badge-item {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-img-wrapper {
        max-width: 200px;
    }
    
    .about-img {
        height: 200px;
        border-radius: 12px;
    }
    
    .about-img-glow {
        border-radius: 22px;
    }
    
    .about-content {
        padding-top: 2rem;
    }
    
    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .badges {
        gap: 0.6rem;
    }
    
    .badge-item {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
    }
}

@media (max-width: 400px) {
    .about-img-wrapper {
        max-width: 180px;
    }
    
    .about-img {
        height: 180px;
    }
    
    .badges {
        gap: 0.5rem;
    }
    
    .badge-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Animation for elements when they come into view */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

/* ========== SKILLS SECTION ========== */
.skills-section {
    background: linear-gradient(180deg, var(--dark-bg-light), var(--dark-bg));
    padding: 100px 0;
    position: relative;
}

.skill-category {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(92, 225, 230, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(92, 225, 230, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-category:hover::before {
    left: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: rgba(92, 225, 230, 0.3);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(92, 225, 230, 0.2);
}

.skill-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1rem;
}

.skill-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-info span:first-child {
    font-weight: 500;
    color: var(--text-light);
}

.skill-info span:last-child {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

/* -------- PROGRESS BAR (NO ANIMATION) -------- */
.progress {
    height: 8px;
    background: rgba(92, 225, 230, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: none !important; /* REMOVE animation */
}

/* REMOVE ALL ANIMATIONS */
.progress-bar::after,
@keyframes progressAnimation,
@keyframes shimmer {
    display: none !important;
}

/* -------- SKILLS BADGES -------- */
.skills-badges {
    margin-top: 3rem;
}

.skills-badges h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
}

.skill-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(92, 225, 230, 0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .skills-section {
        padding: 80px 0;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .skill-header i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .skill-header h3 {
        font-size: 1.3rem;
    }

    .badges-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .skill-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .skill-category {
        padding: 1.2rem;
    }

    .skills-badges h3 {
        font-size: 1.5rem;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ========== PROJECTS SECTION ========== */
.projects-section {
    background: linear-gradient(180deg, var(--dark-bg), var(--dark-bg-light));
    padding: 100px 0;
    position: relative;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(92, 225, 230, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 18, 34, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(92, 225, 230, 0.5);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(92, 225, 230, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(92, 225, 230, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(92, 225, 230, 0.2);
    transform: translateY(-2px);
}

/* ========== PROJECTS SECTION RESPONSIVE ========== */
@media (max-width: 768px) {
    .projects-section {
        padding: 80px 0;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.85rem;
    }
    
    .project-links {
        gap: 0.8rem;
    }
    
    .project-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .project-image {
        height: 180px;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .project-tech {
        gap: 0.3rem;
    }
    
    .tech-tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
}


.experience-section {
    background: linear-gradient(180deg, var(--dark-bg-light), var(--dark-bg));
    padding: 100px 0;
    position: relative;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-section {
    margin-bottom: 4rem;
}

.timeline-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.timeline-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
    box-shadow: var(--glow);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content .timeline-header {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content .timeline-info {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: var(--glow);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    margin-bottom: 2rem;
}

.timeline-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(92, 225, 230, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(92, 225, 230, 0.1), transparent);
    transition: left 0.6s ease;
}

.timeline-card:hover::before {
    left: 100%;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow);
    border-color: rgba(92, 225, 230, 0.3);
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
    flex-shrink: 0;
}

.timeline-info {
    flex: 1;
}

.timeline-date {
    background: rgba(92, 225, 230, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(92, 225, 230, 0.2);
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.timeline-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0;
}

.timeline-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-skills {
    justify-content: flex-end;
}

.skill-tag {
    background: rgba(92, 225, 230, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(92, 225, 230, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(92, 225, 230, 0.2);
    transform: translateY(-2px);
}

/* ========== EXPERIENCE SECTION RESPONSIVE ========== */
@media (max-width: 768px) {
    .experience-section {
        padding: 80px 0;
    }
    
    .timeline-heading {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }
    
    .timeline-card {
        padding: 1.2rem;
    }
    
    .timeline-header {
        flex-direction: row !important;
        text-align: left !important;
    }
    
    .timeline-info {
        text-align: left !important;
    }
    
    .timeline-icon {
        align-self: center;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .timeline-subtitle {
        font-size: 0.95rem;
    }
    
    .timeline-description {
        font-size: 0.9rem;
        text-align: left !important;
    }
    
    .timeline-skills {
        justify-content: flex-start !important;
    }
}

@media (max-width: 576px) {
    .timeline-section {
        margin-bottom: 3rem;
    }
    
    .timeline-heading {
        font-size: 1.4rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }
    
    .timeline-card {
        padding: 1rem;
    }
    
    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .timeline-date {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-subtitle {
        font-size: 0.9rem;
    }
    
    .timeline-description {
        font-size: 0.85rem;
    }
    
    .skill-tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* ========== CERTIFICATIONS SECTION ========== */
.certifications-section {
    background: linear-gradient(180deg, var(--dark-bg), var(--dark-bg-light));
    padding: 100px 0;
    position: relative;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(92, 225, 230, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow);
    border-color: rgba(92, 225, 230, 0.3);
}

.certification-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.certification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certification-card:hover .certification-image img {
    transform: scale(1.1);
}

.certification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 18, 34, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-card:hover .certification-overlay {
    opacity: 1;
}

.view-cert-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-cert-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(92, 225, 230, 0.5);
}

.certification-info {
    padding: 1.5rem;
}

.certification-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.certification-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* PDF Modal Styling */
.modal-content {
    background: var(--dark-bg);
    border: 1px solid rgba(92, 225, 230, 0.2);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(92, 225, 230, 0.1);
    background: var(--card-bg);
}

.modal-title {
    color: var(--text-light);
    font-weight: 600;
}

.modal-body {
    background: var(--dark-bg-light);
}

.btn-close {
    filter: invert(1);
}

/* PDF Loading Animation */
.pdf-loading {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner-border.text-primary {
    color: var(--primary) !important;
    width: 3rem;
    height: 3rem;
}

/* Certificate Fallback Styling */
.certificate-fallback {
    padding: 1rem;
}

.certificate-img-container {
    border: 2px solid rgba(92, 225, 230, 0.2);
    border-radius: 10px;
    padding: 1rem;
    background: var(--card-bg);
    display: inline-block;
    max-width: 100%;
}

.certificate-details {
    background: rgba(92, 225, 230, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(92, 225, 230, 0.2);
    margin-top: 1rem;
}

/* ========== CERTIFICATIONS SECTION RESPONSIVE ========== */
@media (max-width: 768px) {
    .certifications-section {
        padding: 80px 0;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .certification-image {
        height: 180px;
    }
    
    .certification-info {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .certification-info {
        padding: 1rem;
    }
    
    .certification-info h4 {
        font-size: 1.1rem;
    }
    
    .view-cert-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(180deg, var(--dark-bg-light), var(--dark-bg));
    padding: 100px 0;
    position: relative;
}

.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(92, 225, 230, 0.1);
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(92, 225, 230, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-info {
    height: 100%;
    padding-right: 2rem;
}

.contact-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-details {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(92, 225, 230, 0.3);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-text a, .contact-text p {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(92, 225, 230, 0.1);
    border: 1px solid rgba(92, 225, 230, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

/* Contact Form */
.contact-form {
    height: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(92, 225, 230, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(92, 225, 230, 0.1);
    background: rgba(15, 23, 42, 0.9);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2rem;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 225, 230, 0.4);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-bg);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(92, 225, 230, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-quote {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* ========== CONTACT SECTION RESPONSIVE ========== */
@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-info {
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
        border-bottom: 1px solid rgba(92, 225, 230, 0.1);
    }
    
    .contact-subtitle {
        font-size: 1.5rem;
    }
    
    .contact-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-quote {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-subtitle {
        font-size: 1.3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-quote {
        font-size: 1rem;
    }
}

