/* Core Styling Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Color Variables for Premium Look */
:root {
    --bg-main: #0b0f19;
    --bg-sec: #111827;
    --bg-card: #1f2937;
    --accent: #3b82f6;
    --accent-glow: #2563eb;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-sec);
}

/* Modern Section Titles */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    position: relative;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Navbar Design */
.navbar {
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Hero Section Style */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1e293b 0%, var(--bg-main) 70%);
    padding-top: 80px;
}

.hero-welcome {
    color: var(--accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    color: transparent;
    background-image: linear-gradient(to right, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

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

.btn-primary, .btn-secondary {
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* About Box Layout */
.about-box {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-box p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-box p:last-child {
    margin-bottom: 0;
}

/* Education Timeline Layout */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.edu-card {
    background-color: var(--bg-card);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.edu-card.active {
    border-left: 4px solid var(--accent);
}

.year-badge {
    display: inline-block;
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.edu-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.edu-card .board {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.edu-card .desc {
    color: var(--text-secondary);
}

/* Subject Grid Architecture */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.subject-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: all 0.3s ease;
}

.subject-card:hover {
    transform: translateY(-8px);
    background-color: #243249;
    border-color: rgba(59, 130, 246, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subject-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.subject-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tech Box Setup Grid */
.tech-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.tech-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(31, 41, 55, 0.5) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Modern Footer */
.footer {
    background-color: #070a10;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-sub {
    margin-top: 8px;
    font-size: 0.8rem !important;
    color: #4b5563 !important;
}

/* Mobile Screen Compatibility */
@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-menu { display: none; } /* Kept simple for raw CSS code */
    .edu-grid, .tech-box { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}
