/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/



:root {
    /* Light mode variables */
    --primary-color: #2A2A72;
    --secondary-color: #009FFD;
    --dark-color: #232528;
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --card-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --section-bg: #f8f9fa;
    --section-alt-bg: #eef1f5;
}

[data-bs-theme="dark"] {
    /* Dark mode variables */
    --primary-color: #3F51B5;
    --secondary-color: #00B0FF;
    --dark-color: #121212;
    --bg-color: #121212;
    --text-color: #E0E0E0;
    --card-bg: #1E1E1E;
    --card-shadow: 0 5px 15px rgba(0,0,0,0.3);
    --section-bg: #121212;
    --section-alt-bg: #1E1E1E;
}

body {
    font-family: 'Fira Code', monospace !important;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .theme-toggle:hover {
        transform: scale(1.1);
    }

    .theme-toggle i {
        color: white;
        font-size: 1.2rem;
    }



.animated {
    animation: fadeInUp 1s ease-out;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Custom Styles */
.navbar {
    background: rgba(var(--primary-rgb), 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 1;
}

.code-background {
    position: absolute;
    opacity: 0.1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill-card {
    transition: transform 0.3s;
    border: none;
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg);
    color: var(--text-color);
}

    .skill-card:hover {
        transform: translateY(-10px);
    }

.project-card {
    transition: transform 0.3s;
    overflow: hidden;
    border: none;
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg);
    color: var(--text-color);
}

    .project-card:hover {
        transform: translateY(-10px);
    }

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 3px;
        background: var(--secondary-color);
    }

section {
    transition: background-color 0.3s ease;
}

    section.bg-light {
        background-color: var(--section-alt-bg) !important;
    }

#contact {

    background-color: var(--bg-color);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

footer {
    transition: background-color 0.3s ease;
}

.social-links a {
    transition: all 0.3s ease;
}

    .social-links a:hover {
        color: var(--secondary-color) !important;
        transform: translateY(-5px);
    }

/* Adjust card colors for dark mode */
[data-bs-theme="dark"] .card {
    background-color: var(--card-bg);
}

[data-bs-theme="dark"] .text-primary {
    color: var(--secondary-color) !important;
}

[data-bs-theme="dark"] .badge.bg-primary {
    background-color: var(--primary-color) !important;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}