/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    padding: 0;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5em;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05em;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff0000;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Hero Section (Home Page)
   ============================================ */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8em;
    color: #ff0000;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff0000;
    color: #ffffff;
}

.btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

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

.btn-secondary:hover {
    background: #ff0000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   Quick Info Cards (Home Page)
   ============================================ */
.quick-info {
    padding: 80px 20px;
    background: rgba(26, 26, 26, 0.5);
}

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

.info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

.info-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #ff0000;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.info-card p {
    color: #cccccc;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #ff0000;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff0000;
    font-weight: 300;
    letter-spacing: 1px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.contact-section:hover h2::after {
    width: 120px;
}

.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.contact-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 0, 0, 0.5);
}

/* ============================================
   Page Header (About, Resume, Projects)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.page-header p {
    font-size: 1.3em;
    color: #cccccc;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ============================================
   About Page
   ============================================ */
.about-content {
    padding: 0 20px 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text h2 {
    color: #ff0000;
    margin-bottom: 25px;
    font-size: 2em;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff0000;
    font-weight: 300;
    letter-spacing: 1px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.about-content:hover .about-text h2::after {
    width: 120px;
}

.about-text p {
    margin-bottom: 20px;
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 1.05em;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #ff0000;
}

.sidebar-card h3 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.sidebar-card p {
    color: #d0d0d0;
    margin-bottom: 5px;
}

.sidebar-card .muted {
    color: #999;
    font-size: 0.9em;
}

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

.interest-list li {
    padding: 8px 0;
    color: #d0d0d0;
    position: relative;
    padding-left: 20px;
}

.interest-list li:before {
    content: "▸";
    color: #ff0000;
    position: absolute;
    left: 0;
}

/* Skills Highlight */
.skills-highlight {
    margin-bottom: 60px;
}

.skills-highlight h2 {
    color: #ff0000;
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff0000;
    font-weight: 300;
    letter-spacing: 1px;
}

.skills-highlight h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.skills-highlight:hover h2::after {
    width: 120px;
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.competency-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.competency-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
}

.competency-card h4 {
    color: #ff0000;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.competency-card p {
    color: #d0d0d0;
    line-height: 1.6;
}

/* Timeline */
.timeline-section {
    margin-top: 60px;
}

.timeline-section h2 {
    color: #ff0000;
    margin-bottom: 40px;
    font-size: 2em;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff0000;
    font-weight: 300;
    letter-spacing: 1px;
}

.timeline-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.timeline-section:hover h2::after {
    width: 120px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff0000;
}

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

.timeline-year {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.timeline-year:before {
    content: '';
    position: absolute;
    left: -45px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
}

.timeline-content h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #cccccc;
}

/* ============================================
   Resume Page
   ============================================ */
.resume-content {
    padding: 0 20px 80px;
}

.resume-section {
    margin-bottom: 60px;
}

.resume-section h2 {
    color: #ff0000;
    font-size: 2em;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff0000;
    position: relative;
    font-weight: 300;
    letter-spacing: 1px;
}

.resume-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.resume-section:hover h2::after {
    width: 120px;
}

/* Certifications Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-color: rgba(255, 0, 0, 0.3);
}

.cert-badge {
    background: #ff0000;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.9em;
    min-width: 80px;
    text-align: center;
}

.cert-info h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.cert-info p {
    color: #999;
    font-size: 0.9em;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 0, 0, 0.3);
}

.skill-category h3 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 1.2em;
}

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

.skill-category > ul > li {
    padding: 8px 0;
    color: #d0d0d0;
    position: relative;
    padding-left: 20px;
}

.skill-category > ul > li:before {
    content: "▸";
    color: #ff0000;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.skill-category ul ul {
    margin-left: 20px;
    margin-top: 5px;
}

.skill-category ul ul li {
    padding: 4px 0;
    font-size: 0.95em;
}

.skill-category ul ul li:before {
    content: "•";
    color: #ff0000;
}

/* Experience Items */
.experience-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 4px solid #ff0000;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.1);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.exp-header h3 {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 5px;
}

.location {
    color: #ff0000;
    font-size: 1em;
}

.date-range {
    color: #999;
    font-style: italic;
    white-space: nowrap;
}

.exp-role {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-role p {
    color: #d0d0d0;
    margin-bottom: 5px;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    padding: 10px 0;
    padding-left: 25px;
    color: #d0d0d0;
    line-height: 1.7;
    position: relative;
}

.experience-item li:before {
    content: "▸";
    color: #ff0000;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ============================================
   Projects Page
   ============================================ */
.projects-content {
    padding: 0 20px 80px;
}

.project-card {
    background: rgba(37, 37, 37, 0.6);
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 4px solid #ff0000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    background: rgba(37, 37, 37, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
}

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

.project-header h3 {
    color: #ffffff;
    font-size: 1.6em;
}

.project-tag {
    background: #ff0000;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
}

.project-description {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05em;
}

.project-details {
    margin-bottom: 25px;
}

.project-details h4 {
    color: #ff0000;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.project-details ul {
    list-style: none;
    padding-left: 0;
}

.project-details li {
    padding: 8px 0;
    padding-left: 25px;
    color: #d0d0d0;
    line-height: 1.7;
    position: relative;
}

.project-details li:before {
    content: "▸";
    color: #ff0000;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

footer p {
    color: #cccccc;
    margin: 5px 0;
}

footer a {
    color: #ff0000;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.3em;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
    
    .skills-grid,
    .info-grid,
    .competency-grid {
        grid-template-columns: 1fr;
    }
}
