/* General Styles */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --primary-color: #0d6efd;
    --primary-glow: rgba(13, 110, 253, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
}

.text-secondary-light {
    color: var(--text-muted);
}

.text-primary-gradient {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Glassmorphism */
.glass-nav {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}


.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    /* Offset for fixed navbar */
    position: relative;
    background: linear-gradient(-45deg, #050505, #1a1a1a, #0a192f, #050505);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-img {
    border: 4px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Buttons */
.glow-btn {
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.3s ease;
}

.glow-btn:hover {
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

/* Sections */
.section-bg {
    background-color: #181818;
}

/* Cards */
.project-card {
    background-color: var(--bg-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* Project Redesign */
.project-img-wrapper {
    transition: transform 0.3s ease;
}

.project-img-wrapper:hover {
    transform: scale(1.02);
}

.project-item {
    padding: 2rem 0;
}

.card-title {
    color: #fff;
}

.card-text {
    color: var(--text-muted);
}

/* Form Inputs */
.form-control:focus {
    background: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    color: var(--text-main);
}

/* Contact Section Improvements */
.contact-info-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    background: var(--primary-color);
    color: #fff;
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}