/* ============================================
   GLOBAL STYLES - DARK THEME
   ============================================ */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
}

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

h1, h2, h3, h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #64b5f6;
    transition: color 0.3s ease;
}

a:hover {
    color: #90caf9;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background: #212121;
    color: white;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 1px solid #333;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo:hover {
    color: #64b5f6;
}

.logo-img {
    height: 46px;
    width: auto;
    border-radius: 0;
    margin-right: 5px;
    object-fit: cover;
    display: block;
}

.hero-logo {
    text-align: center;
    margin-bottom: 15px;
}

.hero-logo-img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(33, 150, 243, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #b0b0b0;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #2a2a2a;
    color: #64b5f6;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #e3f2fd;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: #e3f2fd;
    line-height: 1.8;
}

.hero-subtext {
    font-size: 1.05rem;
    margin-bottom: 35px;
    color: #bbdefb;
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: #2196f3;
    color: white;
}

.btn-primary:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #64b5f6;
    border: 2px solid #64b5f6;
}

.btn-secondary:hover {
    background: #64b5f6;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills-preview {
    padding: 80px 20px;
    background: #212121;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-category {
    background: #2a2a2a;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.2);
    border-color: #2196f3;
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #64b5f6;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: #1976d2;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #2196f3;
    transform: scale(1.05);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.featured-projects {
    padding: 80px 20px;
    background: #1a1a1a;
}

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

.project-card {
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.2);
    border-color: #2196f3;
}

.project-header {
    margin-bottom: 20px;
}

.project-header h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.project-tag {
    background: #1976d2;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.project-description {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
}

.project-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.3rem;
    color: #e3f2fd;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-content {
    padding: 70px 20px;
    background: #1a1a1a;
}

.about-section {
    max-width: 950px;
    margin: 0 auto 70px auto;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.timeline {
    border-left: 3px solid #2196f3;
    padding-left: 35px;
    margin-top: 35px;
}

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

.timeline-marker {
    width: 16px;
    height: 16px;
    background: #2196f3;
    border-radius: 50%;
    position: absolute;
    left: -42px;
    top: 6px;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.timeline-content h3 {
    color: #64b5f6;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #b0b0b0;
    line-height: 1.7;
}

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

.value-card {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #2196f3;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.2);
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: #64b5f6;
}

.value-card p {
    color: #b0b0b0;
    line-height: 1.7;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 35px;
}

.expertise-category {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
}

.expertise-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #64b5f6;
}

.expertise-category ul {
    list-style: none;
}

.expertise-category li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #b0b0b0;
    line-height: 1.6;
}

.expertise-category li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
    font-size: 1.2rem;
}

.expertise-category strong {
    color: #e0e0e0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.cert-card {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

.cert-card:hover {
    border-color: #2196f3;
}

.cert-card h4 {
    font-size: 0.95rem;
    color: #e0e0e0;
}

.interests-list {
    list-style: none;
    margin-top: 25px;
}

.interests-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #b0b0b0;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.involvement-card {
    background: #2a2a2a;
    padding: 25px;
    border-radius: 10px;
    border-left: 3px solid #2196f3;
}

.involvement-card h4 {
    color: #64b5f6;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.involvement-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

.languages {
    margin-top: 25px;
}

.language-item {
    padding: 15px 0;
    font-size: 1.05rem;
    color: #e0e0e0;
}

.language-level {
    color: #b0b0b0;
}

.cta-section {
    background: #212121;
    padding: 70px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: #b0b0b0;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-section {
    padding: 70px 20px;
    background: #1a1a1a;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #2a2a2a;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
}

.contact-item h3 {
    font-size: 1.15rem;
    color: #64b5f6;
    margin-bottom: 10px;
}

.contact-item p {
    color: #b0b0b0;
    font-size: 1.05rem;
}

.contact-item a {
    color: #64b5f6;
    font-weight: 500;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}

.availability-section {
    max-width: 950px;
    margin: 0 auto;
    padding: 45px;
    background: #212121;
    border-radius: 12px;
    border: 1px solid #333;
}

.availability-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.availability-section p {
    margin-bottom: 18px;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #b0b0b0;
}

.availability-section strong {
    color: #e0e0e0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #212121;
    color: white;
    padding: 35px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer p {
    margin-bottom: 18px;
    color: #b0b0b0;
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.social-links a {
    color: #b0b0b0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #64b5f6;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Four boxes in one row for What Drives Me */
.values-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 35px;
}

/* Three boxes in one row for Technical Expertise */
.expertise-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 35px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .values-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    .expertise-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid-full,
    .expertise-grid-full {
        grid-template-columns: 1fr;
    }
}

/* Project number styling */
.project-number {
    font-size: 0.85rem;
    color: #64b5f6;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
