:root {
    --primary-color: #1e3a5f;
    --secondary-color: #3498db;
    --accent-color: #87ceeb;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.projects-btn {
    background: var(--gradient);
    color: white !important;
    padding: 8px 16px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.projects-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-image {
    animation: slideInRight 1s ease;
}

.hero-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.card-header {
    background: var(--bg-light);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-dots {
    display: flex;
    gap: 8px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.card-dots span:first-child {
    background: #ff5f56;
}

.card-dots span:nth-child(2) {
    background: #ffbd2e;
}

.card-dots span:last-child {
    background: #27ca3f;
}

.card-content {
    padding: 30px;
}

.profile-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.profile-image {
    text-align: center;
    margin-bottom: 25px;
}

.profile-image img {
    width: 140px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--bg-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.info-item i {
    color: var(--secondary-color);
    width: 18px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* Profile Section */
.profile {
    background: var(--bg-light);
}

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

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

/* Experience Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 21px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.company {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.period {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

.timeline-tasks {
    margin-top: 20px;
    list-style: none;
}

.timeline-tasks li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-tasks li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Education Section */
.education {
    background: var(--bg-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.education-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

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

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.education-icon {
    background: var(--gradient);
}

.ai-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.safety-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tech-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.education-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

/* Formal Education Styles */
.degree h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.degree p {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

.year {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

/* AI Training Styles */
.course-section {
    margin-bottom: 25px;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.course-item:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateX(5px);
}

.course-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    min-width: 45px;
}

.course-badge.mit {
    background: linear-gradient(135deg, #8B0000, #DC143C);
}

.course-badge.microsoft {
    background: linear-gradient(135deg, #0078d4, #106ebe);
}

.course-badge.google {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.course-details h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.course-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.current-training {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(135, 206, 235, 0.1));
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}

.current-training h6 {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.training-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.training-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.training-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Safety Training Styles */
.certification-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(240, 147, 251, 0.1);
    transform: translateX(5px);
}

.cert-item i {
    font-size: 1.3rem;
    color: #f5576c;
    width: 25px;
    text-align: center;
}

.cert-item span {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Tech Development Styles */
.tech-skills {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-skill-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-skill-item:hover {
    background: rgba(79, 172, 254, 0.1);
    transform: translateY(-2px);
}

.skill-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.skill-content h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.skill-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Projects Section */
.projects {
    background: var(--bg-light);
}

.projects-coming-soon {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.projects-coming-soon h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.projects-coming-soon p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.project-previews {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
}

.preview-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.preview-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.contact-item .label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

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

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Skills Section */
.skills {
    /* ...existing code... */
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.category-header i {
    font-size: 2rem;
    color: var(--secondary-color);
    width: 40px;
    text-align: center;
}

.category-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.skill-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-color);
}

.skill-item:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

.skill-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Languages Section */
/* ...existing code... */


/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 30px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-card {
        transform: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .project-previews {
        gap: 20px;
    }

    .preview-item {
        flex: 1;
        min-width: 120px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 25px 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .education-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 11px;
    }

    .skill-item {
        padding: 12px;
    }
    
    .skill-item h4 {
        font-size: 1rem;
    }
    
    .skill-item p {
        font-size: 0.9rem;
    }
    
    .course-details h5 {
        font-size: 0.95rem;
    }
    
    .course-details p {
        font-size: 0.85rem;
    }
    
    .skill-content h5 {
        font-size: 1rem;
    }
    
    .skill-content p {
        font-size: 0.9rem;
    }
}