/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #149ddd;
    --secondary-color: #173b6c;
    --text-color: #272829;
    --light-text: #f5f8fd;
    --sidebar-bg: #040b14;
    --main-bg: #f5f8fd;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--main-bg);
    display: flex;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #37b3ed;
    text-decoration: none;
}

/* Sidebar */
.sidebar {
    width: 300px;
    background: var(--sidebar-bg);
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 999;
    text-align: center;
    color: #fff;
}

/* Profile Container */
.profile-container {
    padding: 30px 0;
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid #2c2f3f;
    margin-bottom: 15px;
    object-fit: cover;
}

.profile-container h1 {
    font-size: 24px;
    margin: 10px 0 20px;
    color: #fff;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    padding: 0 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-nav {
    margin-top: 30px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    color: #a8a9b4;
    padding: 10px 15px;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
}

.sidebar-nav a i {
    font-size: 18px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    margin-left: 300px;
    width: calc(100% - 300px);
    min-height: 100vh;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../assets/foreground.png') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 700px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.hero p {
    font-size: 24px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.hero p span {
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--secondary-color);
}

h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

/* Buttons */
.btn-container {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--primary-color);
}

.btn-color-1 {
    background: var(--primary-color);
    color: #fff;
}

.btn-color-1:hover {
    background: #0b7ab8;
    border-color: #0b7ab8;
}

.btn-color-2 {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-color-2:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Typewriter Effect */
.typed-text {
    color: var(--primary-color);
    font-weight: 600;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--primary-color);
    margin-left: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Skills Section */
.skills-container {
    margin-top: 40px;
    background-color: rgba(20, 157, 221, 0.05);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.skills-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.skills-container h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.progress-bar {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

/* Animation for progress bars when they come into view */
@keyframes fillProgress {
    from { width: 0; }
}

.skill-item .progress {
    animation: fillProgress 1.5s ease-out forwards;
}

/* Media Queries */
@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    /* Add mobile menu toggle styles here */
}
