/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-dark: #0f172a;       /* Deep Navy */
    --bg-card: #1e293b;       /* Lighter Navy for cards */
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --accent-gold: #f59e0b;   /* Orange/Gold */
    --accent-blue: #3b82f6;   /* Blue Glow */
    --accent-green: #10b981;  /* Green Glow */
    --gradient-gold: linear-gradient(90deg, #f59e0b, #fbbf24);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navbar */
header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95); /* Semi-transparent dark */
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-gray);
    transition: color 0.3s;
    font-size: 16px;
}

.nav-list a:hover {
    color: var(--text-white);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    min-height: 90vh;
}

.hero-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-content h1.gradient-text {
    font-size: 48px;
    background: linear-gradient(to right, #f59e0b, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

.roles p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-btns {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    border: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-white);
}

.hero-img-container {
    position: relative;
}

.hero-img-container img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1e293b;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

/* Headings */
section {
    padding: 60px 10%;
}

h2 {
    font-size: 28px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
}

/* About */
.about-section p.quote {
    font-style: italic;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.education-block {
    color: var(--accent-gold);
    font-size: 18px;
}

/* Skills Cards - Glassy Look */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.skill-card {
    background: rgba(30, 41, 59, 0.5); /* Glass effect */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 40px;
    margin-bottom: 15px;
    color: #fff;
}

/* Glow effects based on class */
.red-glow { box-shadow: 0 0 20px rgba(220, 38, 38, 0.2); border-bottom: 3px solid #dc2626; }
.yellow-glow { box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); border-bottom: 3px solid #f59e0b; }
.blue-glow { box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); border-bottom: 3px solid #3b82f6; }
.green-glow { box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); border-bottom: 3px solid #10b981; }

/* Projects */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.project-card {
    background: #162032;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.project-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.project-img {
    flex: 1;
    background: #000;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.btn-sm {
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 10px;
    transition: 0.3s;
}

.btn-sm:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

/* Split Section (Certifications & Contact) */
.split-section {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    background: #0b1120; /* Slightly darker */
}

.certifications {
    flex: 1;
    min-width: 300px;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gold { color: var(--accent-gold); }

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
}

form input, form textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 5px;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.full-width {
    width: 100%;
    cursor: pointer;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icons a {
    color: var(--text-white);
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent-blue);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-gray);
    font-size: 14px;
}

/* Mobile Responsiveness */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #0f172a;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list.active { display: flex; }
    .nav-list li { margin: 15px 0; }
    
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 50px;
    }

    .hero-content h1.gradient-text { font-size: 32px; }
    
    .roles { justify-content: center; }
    .hero-btns { justify-content: center; }

    .project-card { flex-direction: column; }
    .project-img { height: 200px; }
    
    .hero-img-container img {
        width: 200px;
        height: 200px;
        margin-bottom: 30px;
    }
}