/* =========================================
   1. VARIABLES (The "Settings" File)
   Change colors here to update the whole site
   ========================================= */
:root {
    --bg-color: #0f172a;      /* Dark Blue Background */
    --card-bg: #1e293b;       /* Slightly lighter for cards */
    --text-main: #e2e8f0;     /* White/Grey Text */
    --text-muted: #94a3b8;    /* Greyer text */
    --accent: #3b82f6;        /* That nice Tech Blue */
    --border-color: #334155;  /* Subtle borders */
}

/* =========================================
   2. GLOBAL RESETS
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', sans-serif; 
}

body {
    background-color: var(--bg-color); /* Uses variable */
    color: var(--text-main);           /* Uses variable */
}

/* =========================================
   3. NAVIGATION
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(15, 23, 42, 0.95); /* We keep this semi-transparent manually */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px); /* Makes the navbar blurry/glassy */
}

/* The "Tech Startup" Gradient Logo */
.logo {
    font-size: 2rem;
    font-weight: 800;
    /* This creates the gradient text effect */
    background: -webkit-linear-gradient(45deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    cursor: pointer;
}

.links a {
    color: var(--text-muted); /* Uses variable */
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
    font-weight: 500;
}

.links a:hover { 
    color: var(--accent); /* Uses variable */
}

.links .btn {
    padding: 8px 24px;
    background: var(--accent); /* Uses variable */
    color: white;
    border-radius: 5px;
    font-weight: 600;
}

.links .btn:hover {
    opacity: 0.9;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.badge {
    background: var(--card-bg); /* Uses variable */
    padding: 8px 16px;
    border-radius: 50px; /* Fully rounded pill shape */
    font-size: 0.85rem;
    color: var(--accent); /* Uses variable */
    border: 1px solid var(--accent); /* Uses variable */
    margin-bottom: 20px;
    display: inline-block;
}

h1 { 
    font-size: 4rem; /* Bigger for impact */
    margin: 15px 0; 
    font-weight: 800;
    line-height: 1.1;
}

.highlight { 
    color: var(--accent); /* Uses variable */
}

.typing-text { 
    font-size: 1.8rem; 
    color: var(--text-muted); /* Uses variable */
    margin-bottom: 25px; 
    font-weight: 400;
}

p { 
    max-width: 600px; 
    margin: 0 auto 35px; 
    line-height: 1.7; 
    color: var(--text-muted); /* Uses variable */
    font-size: 1.1rem;
}

/* Buttons */
.buttons a {
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 6px;
    margin: 0 10px;
    font-weight: 600;
    transition: transform 0.2s ease;
    display: inline-block;
}

.buttons a:hover {
    transform: translateY(-2px); /* Slight lift on hover */
}

.btn-primary { 
    background: var(--accent); 
    color: white; 
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4); /* Glow effect */
}

.btn-secondary { 
    border: 2px solid var(--accent); 
    color: var(--accent); 
}

/* =========================================
   5. SKILLS SECTION
   ========================================= */
#skills { 
    padding: 100px 50px; 
    text-align: center; 
    background: var(--card-bg); /* Uses variable */
}

#skills h3 { 
    font-size: 2.2rem; 
    margin-bottom: 60px; 
    font-weight: 700;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: var(--bg-color); /* Uses variable */
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color); /* Uses variable */
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent); /* Uses variable */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.skill-card i { 
    font-size: 3.5rem; 
    color: var(--accent); /* Uses variable */
    margin-bottom: 25px; 
}

.skill-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.skill-card p {
    font-size: 0.95rem;
    margin-bottom: 0; /* Remove default p margin */
}

/* =========================================
   6. FOOTER
   ========================================= */
footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid var(--border-color); /* Uses variable */
    font-size: 0.9rem;
    color: #64748b;
    background: var(--bg-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    nav { padding: 20px; }
    .links a:not(.btn) { display: none; } /* Simpler mobile menu */
    .buttons a { display: block; margin: 10px auto; width: 100%; } /* Stack buttons */
}

/* =========================================
   7. CERTIFICATIONS SECTION (New)
   ========================================= */
.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.verify-link {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.verify-link:hover {
    background-color: var(--accent);
    color: white !important; /* Use !important to override inline style */
}

