:root {
    /* Custom Color Palette - Enterprise Sharp */
    --primary-color: #0f4c81; /* Classic Blue */
    --secondary-color: #2c3e50; /* Deep Slate */
    --accent-gradient: linear-gradient(135deg, var(--primary-color) 0%, #1a5f9a 100%);
    
    --bg-dark: #0b0d12;
    --bg-darker: #06070a;
    --bg-panel: #11141b;
    --bg-panel-hover: #161a23;
    --border-glass: rgba(255, 255, 255, 0.05);
    
    --text-main: #f8f9fa;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Utilities */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-darker {
    background-color: var(--bg-darker) !important;
}

/* Glassmorphism */
.glass-nav {
    background: rgba(15, 17, 21, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

.glass-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--bg-panel-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.glass-card-bottom {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
}

.glass-btn {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Buttons */
.btn-gradient {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover {
    background: #155e9e;
    color: white;
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.4);
}

/* Navigation */
.navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-shape-container {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape {
    width: 300px;
    height: 300px;
    background: var(--accent-gradient);
    border-radius: 10px;
    transform: rotate(45deg);
    opacity: 0.8;
    box-shadow: 0 0 50px rgba(15, 76, 129, 0.2);
}

/* Abstract Background Shapes */
.bg-shape {
    position: absolute;
    filter: blur(100px);
    z-index: 0;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(138, 43, 226, 0.3);
}

.shape-2 {
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0, 210, 255, 0.2);
}

.shape-3 {
    top: 20%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: rgba(138, 43, 226, 0.15);
}

/* Typing Effect */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--secondary-color);
    animation: blink 1s infinite;
}

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

/* Projects */
.project-item {
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.project-item .project-link {
    display: block;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.project-item .project-link .project-hover {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(138, 43, 226, 0.8);
    opacity: 0;
    transition: opacity ease-in-out 0.25s;
    z-index: 1;
}

.project-item .project-link:hover .project-hover {
    opacity: 1;
}

.project-item img {
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

/* Form Controls overrides */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 1rem;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
    color: var(--text-main);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Icon colors */
.text-orange { color: #f06529; }
.text-warning { color: #f7df1e !important; }
.text-purple { color: #7952b3; }
.text-info { color: #61dafb !important; }
.text-danger { color: #f34f29 !important; }
.text-success { color: #4caf50 !important; }
