:root {
    --primary: #000000; 
    --primary-dark: #ffffff;
    --dark: #38372e;    /* Footer body */
    --darker: #3a0000;  /* Bottom bar */
    --light: #f0f2f5;   
    --text: #ffffff;    
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background-color: var(--white); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
.main-header {
    position: fixed; top: 0; width: 100%; height: 65px;
    background: rgb(90, 82, 58); backdrop-filter: blur(12px);
    display: flex; align-items: center; z-index: 1000;
    border-bottom: 1px solid rgb(0, 0, 0); transition: var(--transition);
}
.main-header.scrolled { height: 55px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
.navbar { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo a { font-size: 1.2rem; font-weight: 700; text-decoration: gold; color: var(--text); }
.logo span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 20px; margin-left: auto; }
.nav-link { position: relative; text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.85rem; padding: 5px 0; transition: var(--transition); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }
.nav-btn { background: var(--primary); color: white !important; padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-decoration: none; }

/* --- SECTIONS --- */
.section { padding: 80px 0; text-align: center; }
.bg-alt { background-color: var(--light); }
.section-title { font-size: 2.5rem; margin-bottom: 20px; color: var(--text); }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--primary); margin: 10px auto; }
.section-sub { max-width: 800px; margin: 0 auto; font-size: 1.1rem; color: #555; }

/* --- HERO --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center;
    background: linear-gradient(rgba(17, 27, 33, 0.8), rgba(17, 27, 33, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1200') center/cover;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
.btn-main { display: inline-block; padding: 15px 40px; background: var(--primary); color: white; text-decoration: none; border-radius: 50px; font-weight: 600; transition: var(--transition); }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 168, 132, 0.3); }

/* --- GRIDS --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.02); transition: var(--transition); }
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.project-item { height: 200px; background: var(--dark); color: white; display: flex; align-items: center; justify-content: center; border-radius: 10px; transition: var(--transition); }
.project-item:hover { transform: scale(1.02); filter: brightness(1.1); }

/* --- CONTACT FORM --- */
.contact-form { max-width: 700px; margin: 40px auto 0; text-align: center; }
.form-group { display: flex; gap: 20px; margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 10px; outline: none; font-family: inherit; }
.contact-form textarea { margin-bottom: 20px; }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark); color: var(--white); padding: 80px 0 0 0; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 60px; padding-bottom: 50px; align-items: start; }
.footer-col h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 25px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 8px; }
.newsletter { display: flex; background: rgba(255, 255, 255, 0.1); border-radius: 50px; padding: 5px; }
.newsletter input { background: transparent; border: none; padding: 10px 20px; color: white; outline: none; flex: 1; }
.newsletter button { background: var(--primary); color: white; border: none; padding: 10px 20px; border-radius: 50px; cursor: pointer; font-weight: 600; }
.footer-bottom { background: var(--darker); padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.wa-footer-socials { display: flex; gap: 12px; }
.wa-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); overflow: hidden; z-index: 1; transition: border-color 0.4s ease; }
.wa-icon svg { width: 18px; height: 18px; z-index: 2; transform: none !important; }
.wa-icon::before { content: ""; position: absolute; bottom: -100%; left: 0; width: 100%; height: 100%; transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: -1; }
.wa-icon:hover { border-color: transparent; }
.wa-icon:hover::before { bottom: 0; }
.x-btn::before { background-color: #000000; }
.insta-btn::before { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.yt-btn::before { background-color: #FF0000; }
.ln-btn::before { background-color: #0077b5; }
.fb-btn::before { background-color: #1877F2; }
.whatsapp-btn::before { background-color: #25D366; }
.github-btn::before { background-color: #333333; }
:root {
    --primary-dark: #1a1a1a;
    --accent-blue: #007bff;
    --accent-green: #28a745;
    --accent-purple: #6f42c1;
    --bg-light: #f8f9fa;
    --text-main: #333;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: var(--text-main);
    background-color: #4b3c3c;
}

header {
    background: var(--primary-dark);
    color: rgb(66, 59, 59);
    padding: 4rem 1rem;
    text-align: center;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    margin-bottom: 5rem;
    padding: 2.5rem;
    border-radius: 12px;
    background: rgb(95, 78, 78);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

h2 {
    font-size: 2.2rem;
    margin-top: 0;
}

/* Progress Bar Styling */
.skill-container {
    margin-top: 1.5rem;
}

.skill-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.progress-bg {
    background: #e9ecef;
    border-radius: 20px;
    height: 12px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    border-radius: 20px;
    width: 0; /* Initial state for animation */
    animation: fillBars 2s fill-mode: forwards;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

/* Individual Bar Colors */
.finance-fill { background: var(--accent-blue); }
.cyber-fill { background: var(--accent-green); }
.digital-fill { background: var(--accent-purple); }

/* Animation Logic */
@keyframes fillBars {
    from { width: 0; }
    to { width: var(--target-width); }
}

footer {
    text-align: center;
    padding: 3rem;
    background: var(--primary-dark);
    color: #888;
}
/* Import the professional tech fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;800&display=swap');

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--white);
    font-weight: 800; /* Makes 'BT' very bold */
    display: inline-block;
}

/* This targets the 'Nexus' part of your text and changes its style */
/* Even though it's one sentence, we use 'masking' or spacing logic */
.logo span {
    background: linear-gradient(to right, 
        #ffffff 0%, 
        #ffffff 35%, 
        #a78800 35%, 
        #5b5500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

.logo span:hover {
    filter: drop-shadow(0 0 8px rgb(255, 251, 19));
}
