/* Custom styles for IT consultant portfolio */

/* Navigation */
.navbar {
    background-color: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Hero section */
.hero-section {
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 119, 190, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(13, 110, 253, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(25, 135, 84, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(13, 13, 13, 0.95) 0%, 
            rgba(33, 37, 41, 0.95) 25%,
            rgba(52, 58, 64, 0.95) 50%,
            rgba(33, 37, 41, 0.95) 75%,
            rgba(13, 13, 13, 0.95) 100%
        );
    background-size: 400% 400%, 400% 400%, 400% 400%, 100% 100%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 123, 255, 0.03) 50%, transparent 70%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(255, 255, 255, 0.02) 100px
        );
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 50% 0%, 0% 0%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 100%, 0% 0%;
    }
}

.hero-graphic {
    animation: float 3s ease-in-out infinite;
}

/* Hero content styling */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section h2 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

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

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

/* Main Content Sections with Tech Gradients */

/* Skills Section */
.py-5.bg-dark {
    background: 
        radial-gradient(circle at 80% 20%, rgba(25, 135, 84, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(220, 53, 69, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, 
            rgba(33, 37, 41, 0.95) 0%, 
            rgba(52, 58, 64, 0.95) 30%,
            rgba(33, 37, 41, 0.95) 60%,
            rgba(73, 80, 87, 0.95) 100%
        ) !important;
    background-size: 300% 300%, 300% 300%, 300% 300%, 100% 100%;
    animation: skillsGradientShift 12s ease infinite;
    position: relative;
    overflow: hidden;
}

.py-5.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(30deg, transparent 40%, rgba(25, 135, 84, 0.02) 50%, transparent 60%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 120px,
            rgba(255, 255, 255, 0.01) 122px
        );
    pointer-events: none;
}

/* Stats Section */
section.py-5:not(.bg-dark):not(.bg-primary) {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 119, 190, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(25, 135, 84, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, 
            rgba(52, 58, 64, 0.95) 0%, 
            rgba(73, 80, 87, 0.95) 30%,
            rgba(52, 58, 64, 0.95) 70%,
            rgba(33, 37, 41, 0.95) 100%
        );
    background-size: 250% 250%, 250% 250%, 250% 250%, 100% 100%;
    animation: statsGradientShift 10s ease infinite;
    position: relative;
}

section.py-5:not(.bg-dark):not(.bg-primary)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(-45deg, transparent 30%, rgba(13, 110, 253, 0.03) 50%, transparent 70%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(255, 255, 255, 0.01) 82px
        );
    pointer-events: none;
}

/* CTA Section */
.py-5.bg-primary {
    background: 
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(13, 110, 253, 0.9) 0%, 
            rgba(0, 123, 255, 0.95) 30%,
            rgba(25, 135, 84, 0.9) 70%,
            rgba(13, 110, 253, 0.95) 100%
        ) !important;
    background-size: 350% 350%, 350% 350%, 100% 100%;
    animation: ctaGradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.py-5.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(60deg, transparent 20%, rgba(255, 255, 255, 0.05) 50%, transparent 80%),
        repeating-linear-gradient(
            120deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 102px
        );
    pointer-events: none;
}

/* Section Content Enhancements */
.py-5 .container {
    position: relative;
    z-index: 2;
}

.py-5 h1, .py-5 h2, .py-5 .h1 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.py-5 .text-primary {
    color: #4dabf7 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.py-5 .text-muted {
    color: #adb5bd !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.bg-dark h1, .bg-dark h2, .bg-dark .h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-primary h1, .bg-primary h2, .bg-primary .h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Gradient Animations */
@keyframes skillsGradientShift {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 50% 0%, 0% 0%;
    }
    33% {
        background-position: 50% 0%, 50% 100%, 100% 50%, 0% 0%;
    }
    66% {
        background-position: 100% 50%, 0% 50%, 50% 100%, 0% 0%;
    }
}

@keyframes statsGradientShift {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 50% 0%, 0% 0%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 100%, 0% 0%;
    }
}

@keyframes ctaGradientShift {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 0% 0%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 0% 0%;
    }
}

/* Cards */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    border-radius: 12px;
    background: 
        linear-gradient(135deg, 
            rgba(52, 58, 64, 0.95) 0%, 
            rgba(73, 80, 87, 0.95) 50%,
            rgba(52, 58, 64, 0.95) 100%
        );
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: 
        linear-gradient(135deg, 
            rgba(73, 80, 87, 0.95) 0%, 
            rgba(52, 58, 64, 0.95) 50%,
            rgba(73, 80, 87, 0.95) 100%
        );
}

/* Service cards */
.service-card {
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.1);
}

.service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Project cards */
.project-card {
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

.tech-stack .badge {
    font-size: 0.75rem;
}

/* Technical Skills badges - Clean Green Style */
.skill-tags .badge {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.8) 0%, rgba(25, 135, 84, 0.9) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.skill-tags .badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9) 0%, rgba(25, 135, 84, 1) 100%) !important;
}

/* Process steps */
.process-step {
    padding: 2rem 1rem;
}

.step-number {
    font-size: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bs-primary);
}

/* Contact form */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Contact info */
.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    width: 20px;
    margin-top: 4px;
}

/* Availability status */
.availability-status .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Stats section */
.stat-item {
    padding: 2rem 1rem;
}

/* Social links */
.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--bs-primary) !important;
}

/* Profile Image Styles */
.profile-image-container {
    position: relative;
    display: inline-block;
    max-width: 400px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 4px solid rgba(0, 123, 255, 0.1);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
}

.tech-overlay {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bs-primary), #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    border: 3px solid var(--bs-dark);
}

.tech-icon {
    color: white;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

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

/* Hero buttons styling */
.hero-buttons {
    max-width: 100%;
}

.hero-buttons .btn {
    min-width: 180px;
    white-space: nowrap;
}

/* Tablet breakpoint optimization - fixes spacing issues in between mobile and desktop */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        min-width: 160px;
        margin: 0.25rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Stack buttons on smaller tablets */
    .hero-buttons.d-flex.flex-column.flex-sm-row {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }
    
    .hero-buttons .btn.flex-fill {
        flex: none;
        width: 280px;
        max-width: 100%;
    }
}

/* Mobile optimization for profile image and buttons */
@media (max-width: 768px) {
    .profile-image-container {
        max-width: 280px;
        margin-top: 2rem;
    }
    
    .tech-overlay {
        width: 50px;
        height: 50px;
        bottom: -10px;
        right: -10px;
    }
    
    .tech-icon {
        font-size: 1.2rem;
    }
    
    /* Mobile button improvements */
    .hero-buttons {
        margin-top: 2rem;
    }
    
    .hero-buttons .btn {
        min-width: 100%;
        margin-bottom: 0.5rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Industry items */
.industry-item {
    transition: all 0.3s ease;
    border-radius: 8px;
}
/* 
:root {
    --bs-secondary: rgb(61 68 85 / 46%) !important;
} */

.card-img-top.bg-secondary.d-flex.align-items-center.justify-content-center {
    background-color: rgb(61 68 85 / 46%) !important;

}

.industry-item:hover {
    background-color: var(--bs-secondary);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    border-top: 1px solid var(--bs-border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 80px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-graphic i {
        font-size: 6rem !important;
    }
    
    .process-step {
        padding: 1rem;
        margin-bottom: 2rem;
    }
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
    .card {
        background-color: var(--bs-dark);
        border: 1px solid var(--bs-border-color);
    }
    
    .hero-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

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

::-webkit-scrollbar-track {
    background: var(--bs-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-info);
}

/* Contact masking styles */
.contact-masked {
    cursor: pointer;
    position: relative;
}

.contact-obfuscated {
    color: var(--bs-primary);
    text-decoration: underline;
    font-style: italic;
    transition: all 0.3s ease;
}

.contact-obfuscated:hover {
    color: var(--bs-primary);
    opacity: 0.8;
}

.contact-masked.revealed .contact-obfuscated {
    display: none !important;
}

.contact-masked.revealed .contact-real {
    display: inline !important;
}

.contact-real a {
    color: var(--bs-link-color);
    text-decoration: none;
}

.contact-real a:hover {
    text-decoration: underline;
}

/* Masked button styles */
.contact-masked-btn {
    position: relative;
    display: inline-block;
}

.contact-obfuscated-btn {
    cursor: pointer;
    opacity: 0.8;
}

.contact-obfuscated-btn:hover {
    opacity: 1;
}

.contact-masked-btn.revealed .contact-obfuscated-btn {
    display: none !important;
}

.contact-masked-btn.revealed .contact-real-btn {
    display: inline-block !important;
}

/* Security indicator */
.contact-security-notice {
    font-size: 0.75rem;
    color: var(--bs-text-muted);
    margin-top: 0.5rem;
}
