/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0a192f;
    --secondary-blue: #112240;
    --accent-blue: #00bfff;
    --light-blue: #233554;
    --text-white: #e6f1ff;
    --text-light: #a8b2d1;
    --text-lighter: #ccd6f6;
    --border-color: rgba(0, 191, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--primary-blue);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Elements */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -2;
}

.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(0, 191, 255, 0.03) 50%),
        linear-gradient(transparent 50%, rgba(0, 191, 255, 0.03) 50%);
    background-size: 100px 100px;
    z-index: -1;
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Professional Header */
.professional-header {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.95), rgba(10, 25, 47, 0.98));
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.professional-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), #00ccff);
}

.header-content {
    text-align: center;
    margin-bottom: 40px;
}

.badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    animation: pulse 2s infinite;
}

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

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--text-white), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: var(--accent-blue);
    -webkit-text-fill-color: var(--accent-blue);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.2s both;
}

.header-description {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.header-description p {
    font-size: 1.1rem;
    color: var(--text-lighter);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Contact Bar */
.contact-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    background: rgba(0, 191, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-color);
    animation: fadeInUp 1s ease 0.6s both;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    width: 40px;
    height: 40px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 500;
}

.contact-value a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--accent-blue);
}

/* Professional Stats */
.professional-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-card {
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.plus-sign {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-left: 2px;
}

/* Hide plus sign from specific stats */
.stat-card:nth-child(3) .plus-sign,
.stat-card:nth-child(4) .plus-sign {
    display: none;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Content Sections */
.content-section {
    background: linear-gradient(135deg, rgba(17, 34, 64, 0.95), rgba(10, 25, 47, 0.98));
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease both;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i {
    color: var(--accent-blue);
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
}

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

.timeline-item.featured {
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-left: -25px;
    margin-right: -5px;
}

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 0;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: var(--light-blue);
    border-radius: 50%;
    transition: var(--transition);
}

.marker-dot.active {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
    animation: pulse 2s infinite;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-header h4 {
    font-size: 1.2rem;
    color: var(--text-white);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.company {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-location {
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.responsibilities {
    list-style: none;
    padding-left: 0;
}

.responsibilities li {
    color: var(--text-lighter);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.responsibilities li::before {
    content: '▸';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--accent-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 15px;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.achievement-badge i {
    font-size: 0.8rem;
}

/* Education Grid */
.education-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.education-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-blue);
}

.edu-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.edu-content h4 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.edu-institution {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 5px;
}

.edu-details {
    color: var(--text-lighter);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Skills */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill-category h5 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h5::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-name {
    min-width: 120px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), #00ccff);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.level-95 { width: 95%; }
.level-90 { width: 90%; }
.level-85 { width: 85%; }
.level-80 { width: 80%; }
.level-75 { width: 75%; }
.level-70 { width: 70%; }

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

.skill-tag {
    padding: 8px 16px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.cert-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.cert-info h5 {
    color: var(--text-white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cert-info p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Reference Card */
.reference-card {
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: var(--transition);
}

.reference-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.ref-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ref-header h4 {
    color: var(--text-white);
    font-size: 1.1rem;
}

.ref-title {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

.ref-company a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.ref-company a:hover {
    color: var(--accent-blue);
}

.ref-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-lighter);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.ref-contact i {
    color: var(--accent-blue);
    width: 20px;
}

/* Social Connect */
.social-connect {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.email {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
}

.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
}

.email:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .professional-header {
        padding: 40px 30px;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .professional-header {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .contact-bar {
        grid-template-columns: 1fr;
    }
    
    .professional-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .social-connect {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .professional-stats {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ccff;
}