/* Custom styles to complement Bootstrap - Professional Portfolio */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom color variables - Professional Theme */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #ecf0f1;
    --shadow-color: rgba(44, 62, 80, 0.1);
    --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-accent: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --gradient-success: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    
    /* Responsive breakpoints */
    --mobile: 576px;
    --tablet: 768px;
    --desktop: 992px;
    --large-desktop: 1200px;
}

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

/* Desktop Mode (992px and above) */
@media (min-width: 992px) {
    .container {
        max-width: 1200px;
    }
    
    .navbar-brand {
        font-size: 1.8rem;
    }
    
    .display-4 {
        font-size: 3.5rem;
    }
    
    .display-5 {
        font-size: 2.5rem;
    }
    
    .hero {
        min-height: 100vh;
        padding: 6rem 0;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .card {
        margin-bottom: 2rem;
    }
    
    .skill-item {
        padding: 1.5rem;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline::before {
        left: 20px;
        width: 4px;
    }
    
    .timeline-item::before {
        left: -26px;
        width: 16px;
        height: 16px;
    }
}

/* Tablet Mode (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 960px;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .display-4 {
        font-size: 3rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .hero {
        min-height: 80vh;
        padding: 4rem 0;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .skill-item {
        padding: 1.25rem;
    }
    
    .timeline {
        padding-left: 35px;
    }
    
    .timeline::before {
        left: 17px;
        width: 3px;
    }
    
    .timeline-item::before {
        left: -24px;
        width: 14px;
        height: 14px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        padding: 0.5rem 1rem !important;
        margin: 0.25rem 0;
    }
}

/* Mobile Mode (up to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 3rem 0;
        text-align: center;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .skill-item {
        padding: 1rem;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline::before {
        left: 12px;
        width: 2px;
    }
    
    .timeline-item::before {
        left: -18px;
        width: 12px;
        height: 12px;
    }
    
    .navbar-collapse {
        background: rgba(30, 60, 114, 0.95);
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
        border-radius: 6px;
    }
    
    .social-links .d-flex {
        justify-content: center;
    }
    
    .profile-img {
        width: 200px !important;
        height: 200px !important;
    }
}

/* ===== PROFESSIONAL STYLING WITH REDUCED ANIMATIONS ===== */

/* Custom button styles - Minimal animations */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.2s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
    background: var(--gradient-accent);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.2s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px var(--shadow-color);
}

/* Navigation - Professional and clean */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.98) 0%, rgba(42, 82, 152, 0.98) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.99) 0%, rgba(42, 82, 152, 0.99) 100%) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.navbar-brand:hover {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.2s ease;
    padding: 0.75rem 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    color: #ffffff !important;
}

.nav-link.active::before {
    width: 60%;
}

/* Navbar toggle button */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero section - Professional and clean */
.hero {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero .lead {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.hero p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.hero .btn {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    color: #1e3c72;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
    color: #1e3c72;
}

/* Profile image */
.profile-img {
    border: 4px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Text color utilities */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Card styles - Professional and minimal */
.card {
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-color);
}

.card-body {
    padding: 1.5rem;
}

/* Badge enhancements */
.badge {
    font-weight: 600;
    padding: 0.5em 1em;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.bg-primary {
    background: var(--gradient-primary) !important;
    border-color: var(--primary-color);
}

.bg-success {
    background: var(--gradient-success) !important;
    border-color: var(--success-color);
}

.bg-info {
    background: var(--gradient-accent) !important;
    border-color: var(--accent-color);
}

/* Timeline styles for Experience section */
.timeline {
    position: relative;
    padding-left: 30px;
    max-width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2c3e50 0%, #3498db 50%, #e74c3c 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 20px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #2c3e50, 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.2s ease;
}

.timeline-item:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px #2c3e50, 0 4px 12px rgba(0, 0, 0, 0.3);
}

.timeline-item .card {
    transition: all 0.2s ease;
    border-left: 4px solid #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
}

.timeline-item .card:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
    border-left-color: #e74c3c;
}

/* Company logo styles */
.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.company-logo:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.company-logo img {
    object-fit: contain;
    filter: grayscale(10%);
    transition: all 0.2s ease;
}

.company-logo:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

/* Fallback logo text styling */
.company-logo div[style*="background: #003366"] {
    background: linear-gradient(135deg, #003366 0%, #004080 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
    border: 1px solid #002244;
}

.company-logo div[style*="background: #A100FF"] {
    background: linear-gradient(135deg, #A100FF 0%, #8A00E6 100%) !important;
    box-shadow: 0 2px 8px rgba(161, 0, 255, 0.3);
    border: 1px solid #7A00CC;
}

/* Progress bar enhancements */
.progress {
    background-color: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    height: 8px;
}

.progress-bar {
    border-radius: 8px;
    transition: width 1s ease-in-out;
}

/* Skills section professional styling */
.skill-card {
    transition: all 0.2s ease;
    border: 1px solid var(--border-color) !important;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-color) !important;
}

.skill-icon {
    transition: all 0.2s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.05);
}

.skill-item {
    transition: all 0.2s ease;
}

.skill-item:hover {
    transform: translateX(3px);
}

.skill-badge {
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.skill-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.skill-badge i {
    transition: all 0.2s ease;
}

.skill-badge:hover i {
    transform: scale(1.1);
}

/* Experience section specific badge styling - Clean & Professional */
#experience .badge {
    margin: 0.2rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

#experience .badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Skills container hover effect */
#experience .col-md-4:hover {
    background: rgba(248, 249, 250, 0.8);
    transition: all 0.2s ease;
}

/* Better organization for skills */
#experience .col-md-4 {
    min-height: 80px;
    align-content: flex-start;
}

/* Skills container styling for experience section */
#experience .col-md-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 8px;
}

/* Skills section title */
#experience .col-md-4::before {
    content: 'Skills:';
    width: 100%;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-align: right;
}

/* Individual skill badge styling */
#experience .badge {
    margin: 0;
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-block;
    white-space: nowrap;
}

/* Responsive adjustments for experience badges */
@media (max-width: 768px) {
    #experience .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
    
    #experience .col-md-4 {
        justify-content: flex-start;
        margin-top: 1rem;
        gap: 0.3rem;
        padding: 0.4rem;
    }
    
    #experience .col-md-4::before {
        text-align: left;
        margin-bottom: 0.4rem;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline::before {
        left: 12px;
        width: 2px;
    }
    
    .timeline-item::before {
        left: -18px;
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 576px) {
    #experience .badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
    }
    
    #experience .col-md-4 {
        gap: 0.25rem;
        padding: 0.3rem;
    }
}

/* Professional Skills List Styling */
.skills-container {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    width: 100%;
}

.skill-category {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 2rem;
}

.skill-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.skill-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

.skill-category-title i {
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transition: width 0.2s ease;
}

.skill-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.skill-item:hover::before {
    width: 6px;
}

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

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.skill-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced section backgrounds */
#experience {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.05) 0%, transparent 50%);
    z-index: 1;
}

#experience .container {
    position: relative;
    z-index: 2;
}

#experience h2 {
    position: relative;
    margin-bottom: 3rem;
}

#experience h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    border-radius: 2px;
}

#skills {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,0,0,0.02)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

#skills .container {
    position: relative;
    z-index: 2;
}

#certifications {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

#certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,0,0,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

#certifications .container {
    position: relative;
    z-index: 2;
}

/* Section title enhancement */
#certifications h2 {
    position: relative;
    margin-bottom: 3rem;
}

#certifications h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Professional Certifications Section */
.certification-card {
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    background: white;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-color);
}

.certification-logo-container {
    position: relative;
    margin: 0 auto;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.2s ease;
    overflow: hidden;
}

.certification-card:hover .certification-logo-container {
    transform: scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.certification-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-height: 100px;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1.1) contrast(1.1);
    transition: all 0.2s ease;
    min-height: 80px;
    min-width: 150px;
}

.certification-card:hover .logo-img {
    filter: grayscale(0%) brightness(1.2) contrast(1.1);
    transform: scale(1.2);
}

.certification-badge {
    display: flex;
    justify-content: center;
}

.certification-badge .badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.certification-card:hover .certification-badge .badge {
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.certification-card .card-title {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.certification-card .card-text {
    line-height: 1.6;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Professional Social Media Links */
.social-links {
    margin-top: 2rem;
}

.social-links h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Individual social media colors on hover */
.social-link:hover .fa-github {
    color: #ffffff;
}

.social-link:hover .fa-linkedin {
    color: #0077b5;
}

.social-link:hover .fa-twitter {
    color: #1da1f2;
}

.social-link:hover .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social media icons styling */
.social-link i {
    transition: all 0.2s ease;
    z-index: 2;
    position: relative;
}

/* Enhanced typography */
.display-4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px var(--shadow-color);
    white-space: nowrap;
}

.display-5 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.lead {
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-secondary) !important;
}

/* Custom spacing utilities */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.my-6 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
    border: 1px solid var(--light-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Form enhancements */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: white;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
    background: #f8f9fa;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Interests section card enhancements */
#interests .card {
    transition: all 0.2s ease;
    border: none;
    overflow: hidden;
}

#interests .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

#interests .card .rounded-circle {
    transition: all 0.2s ease;
}

#interests .card:hover .rounded-circle {
    transform: scale(1.05);
}

/* Education section enhancements */
#education .card {
    transition: all 0.2s ease;
    border: none;
}

#education .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

#education .rounded-circle {
    transition: all 0.2s ease;
}

#education .card:hover .rounded-circle {
    transform: scale(1.05);
}



/* Custom focus styles */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Enhanced shadows */
.shadow-custom {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Hover effects for contact icons */
.rounded-circle {
    transition: all 0.2s ease;
}

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

/* Animation for icons - Reduced */
.fa-3x {
    transition: all 0.2s ease;
}

.card:hover .fa-3x {
    transform: scale(1.1);
    color: var(--accent-color);
}

.fa-2x {
    transition: all 0.2s ease;
}

.fa-2x:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* Enhanced icon animations - Minimal */
.rounded-circle {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.rounded-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-accent);
    border-radius: 50%;
    transition: all 0.2s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.rounded-circle:hover::before {
    width: 100%;
    height: 100%;
}

.rounded-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* Section spacing */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(39, 174, 96, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Gradient text effect */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional focus states */
.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Smooth transitions for all elements */
* {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive adjustments for all sections */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
        white-space: nowrap;
    }
    
    .lead {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .profile-img {
        margin-top: -1rem !important;
    }
    
    .skills-container {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: 8px;
    }
    
    .skill-category-title {
        font-size: 1.3rem;
    }
    
    .skill-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skill-level {
        align-self: flex-end;
    }
    
    .skill-item {
        padding: 1rem;
    }
    
    .certification-card {
        margin-bottom: 1rem;
    }
    
    .certification-logo-container {
        width: 100px;
        height: 70px;
    }
    
    .certification-card .card-title {
        font-size: 1rem;
    }
    
    .certification-card .card-text {
        font-size: 0.85rem;
    }
    
    .certification-badge .badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .social-links {
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 1.5rem !important;
    }
    
    .social-links h5 {
        font-size: 0.8rem;
    }
}

/* Additional responsive adjustments */
@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
        white-space: nowrap;
    }
    
    .lead {
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .profile-img {
        margin-top: 0 !important;
        width: 250px !important;
        height: 250px !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .skills-container {
        padding: 1.5rem 1rem;
        margin: 0;
        border-radius: 6px;
    }
    
    .skill-category-title {
        font-size: 1.2rem;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 10px;
        width: 2px;
    }
    
    .timeline-item::before {
        left: -15px;
        width: 10px;
        height: 10px;
    }
}

/* Visitor Counter Styling */
.visitor-counter {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    transition: all 0.2s ease;
}

.visitor-counter:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.visitor-counter i {
    font-size: 0.9rem;
}

.visitor-counter span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Print styles for professional printing */
@media print {
    .navbar,
    .social-links,
    .btn,
    .visitor-counter {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 2rem 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    section {
        page-break-inside: avoid;
    }
}
