/* styles.css - quality Landing Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* quality brand gradient - using their blue colors */
.quality-gradient {
    background: linear-gradient(135deg, #003d7a 0%, #0066cc 50%, #4a90e2 100%);
    position: relative;
    overflow: hidden;
}

.quality-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: slideGrid 25s linear infinite;
}

@keyframes slideGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.quality-text {
    font-family: 'Arial Black', sans-serif;
    background: linear-gradient(90deg, #ffffff, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 102, 204, 0.3);
    border-color: rgba(74, 144, 226, 0.4);
}

/* Skill tags with level indicators */
.skill-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.2), rgba(74, 144, 226, 0.2));
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Skill level indicators */
.skill-tag::after {
    content: attr(data-display-level);
    position: absolute;
    top: -8px;
    right: -8px;
    background: #1a1a1a;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transform: scale(0.8) translateY(5px);
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid;
    z-index: 10;
}

.skill-tag[data-level="expert"]:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.3));
    border-color: rgba(34, 197, 94, 0.6);
}

.skill-tag[data-level="expert"]:hover::after {
    content: "Expert";
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #22c55e;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.skill-tag[data-level="advanced"]:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
    border-color: rgba(59, 130, 246, 0.6);
}

.skill-tag[data-level="advanced"]:hover::after {
    content: "Advanced";
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #3b82f6;
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Achievement cards */
.achievement-card {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.1), rgba(74, 144, 226, 0.05));
    border-left: 4px solid #0066cc;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.15), rgba(74, 144, 226, 0.1));
    transform: translateX(10px);
}

/* Timeline enhanced */
.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, #0066cc 0%, transparent 100%);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #0066cc;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
}

.timeline-dot.current {
    background: #4a90e2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.8);
    }
}

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #4a90e2 100%);
    color: white;
    font-weight: 600;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.4);
}

/* Secondary button */
.secondary-button {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* LinkedIn button special style */
.linkedin-button {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.linkedin-button:hover {
    box-shadow: 0 20px 40px rgba(0, 119, 181, 0.4);
}

/* WhatsApp button special style */
.whatsapp-button {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.whatsapp-button:hover {
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

/* Contact links */
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ffffff;
    transform: translateX(5px);
}

/* Gradient section */
.gradient-section {
    background: linear-gradient(to bottom, transparent, rgba(0, 61, 122, 0.05), transparent);
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Impact metrics */
.impact-metric {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.05), transparent);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.impact-metric:hover {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.1), rgba(74, 144, 226, 0.05));
    transform: translateY(-5px);
}

.impact-number {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, #0066cc, #4a90e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple effect for achievement cards */
.ripple {
    position: absolute;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background: rgba(0, 102, 204, 0.3);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Reaction animation for contact card */
.reaction {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) translateX(20px) rotate(15deg) scale(0.8);
    }
}

.reaction-like {
    animation: floatUp 3s ease-out forwards;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .timeline-item {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -6px;
        width: 12px;
        height: 12px;
    }

    .skill-tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    .cta-button, .secondary-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }
}