/* --- Global Styles & Variables --- */
:root {
    /* "Tech Ops" Palette - Navy, White, Action Orange */
    --primary-accent: #232F3E; /* Deep Navy */
    --secondary-accent: #FF9900; /* Action Orange */
    --text-color: #1A1A1A; 
    --text-light: #546b82; 
    --background-color: #F8F9FA; 
    --card-background: #FFFFFF;
    --section-bg-alt: #E3E8EE;
    
    --shadow: 0 4px 20px rgba(35, 47, 62, 0.08);
    --shadow-hover: 0 10px 25px rgba(35, 47, 62, 0.15);
    --border-radius: 4px; /* Crisp Engineering feel */
    --transition-speed: 0.2s ease-in-out;
    --font-primary: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 { color: var(--primary-accent); margin-bottom: 1rem; font-weight: 700; }
h1 { font-size: 3.2rem; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 3rem; position: relative; }
h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--secondary-accent);
}
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--text-light); }

a { text-decoration: none; color: var(--primary-accent); transition: color var(--transition-speed); font-weight: 600; }
a:hover { color: var(--secondary-accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
section { padding: 80px 0; }

/* --- Navbar --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e1e4e8;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary-accent); letter-spacing: -0.5px; }
.logo span { color: var(--secondary-accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links li a { font-weight: 500; color: var(--text-light); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links li a:hover { color: var(--primary-accent); }
.menu-toggle { display: none; cursor: pointer; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: var(--primary-accent); margin: 5px 0; }

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #E3E8EE 100%);
    min-height: 90vh; /* Slightly shorter for impact */
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content h1 { color: var(--primary-accent); margin-bottom: 1.5rem; }
.hero-content .highlight { color: var(--secondary-accent); }
.hero-content .subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 2.5rem; font-weight: 300; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-buttons { display: flex; gap: 15px; justify-content: center; }

.cta-button {
    background-color: var(--primary-accent);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}
.cta-button:hover { background-color: var(--secondary-accent); color: #fff; transform: translateY(-3px); }

.cta-button-outline {
    background-color: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    padding: 10px 28px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
}
.cta-button-outline:hover { background-color: var(--primary-accent); color: #fff; transform: translateY(-3px); }

.social-icons { margin-top: 3rem; }
.social-icons a { color: var(--text-light); font-size: 1.6rem; margin: 0 15px; }
.social-icons a:hover { color: var(--primary-accent); transform: scale(1.1); }

/* --- About Section (No Image) --- */
.about-section { background-color: #fff; }
.about-content { display: flex; justify-content: center; }
.about-text-full { max-width: 800px; text-align: center; }
.about-text-full p { font-size: 1.1rem; margin-bottom: 2rem; }

.about-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--secondary-accent); line-height: 1; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--primary-accent); text-transform: uppercase; margin-top: 5px; }

/* --- Experience --- */
.experience-section { background-color: var(--section-bg-alt); }
.experience-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-accent);
}
.experience-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.role-title h3 { margin: 0; font-size: 1.4rem; color: var(--primary-accent); }
.role-title .company { color: var(--text-light); font-weight: 500; font-size: 1rem; }
.date-badge {
    background: #E3E8EE; color: var(--primary-accent); padding: 5px 12px;
    border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}
.experience-details { padding: 25px 30px; }
.experience-details ul li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.experience-details ul li::before { content: '▪'; color: var(--secondary-accent); position: absolute; left: 0; font-size: 1.2rem; line-height: 1.4; }

/* --- Projects --- */
.projects-section { background-color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.project-card {
    background: var(--card-background); border: 1px solid #eee; border-radius: var(--border-radius);
    overflow: hidden; transition: all var(--transition-speed);
}
.project-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.project-info { padding: 25px; }
.project-tags span {
    background: #E3E8EE; color: var(--primary-accent); font-size: 0.75rem;
    font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-right: 5px; display: inline-block; margin-bottom: 8px;
}

/* --- Skills --- */
.skills-section { background-color: var(--section-bg-alt); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.skill-category {
    background: #fff; padding: 30px; border-radius: var(--border-radius);
    box-shadow: var(--shadow); border-top: 4px solid var(--primary-accent);
}

/* --- Education --- */
.education-section { background-color: #fff; }
.education-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.education-card {
    background: #fff; border: 1px solid #eee; padding: 25px; border-radius: var(--border-radius);
}
.education-header { display: flex; align-items: center; margin-bottom: 10px; }
.education-icon { color: var(--secondary-accent); font-size: 1.5rem; margin-right: 15px; }

/* --- Footer --- */
.footer { background-color: var(--primary-accent); color: #fff; padding: 50px 0; text-align: center; }
.footer p { color: #aab7c4; }
.footer .social-icons a { color: #fff; opacity: 0.7; }
.footer .social-icons a:hover { opacity: 1; color: var(--secondary-accent); }

/* --- Mobile --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; width: 100%;
        background: #fff; flex-direction: column; padding: 20px; box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .about-stats { flex-direction: column; gap: 20px; }
}