/* ==================== GENERAL STYLES ==================== */
:root {
    --primary-color: #00f6ff;
    --secondary-color: #7400b8;
    --accent-color: #ff0080;
    --bg-color: #050a14;
    --bg-light: #0a1021;
    --bg-dark: #030508;
    --text-color: #e0e0e0;
    --text-color-dim: #a0a0a0;
    --border-color: rgba(0, 246, 255, 0.3);
    --border-active: rgba(0, 246, 255, 0.8);
    --shadow-color: rgba(0, 246, 255, 0.2);
    --glow-color: rgba(0, 246, 255, 0.5);
    --success-color: #00ff9d;
    --warning-color: #ffb700;
    --error-color: #ff3e3e;
    --grid-color: rgba(0, 246, 255, 0.05);
    --animation-speed: 0.5s;
    --animation-timing: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background-image: 
        linear-gradient(0deg, transparent 24%, 
        var(--grid-color) 25%, 
        var(--grid-color) 26%, 
        transparent 27%, 
        transparent 74%, 
        var(--grid-color) 75%, 
        var(--grid-color) 76%, 
        transparent 77%, 
        transparent),
        linear-gradient(90deg, transparent 24%, 
        var(--grid-color) 25%, 
        var(--grid-color) 26%, 
        transparent 27%, 
        transparent 74%, 
        var(--grid-color) 75%, 
        var(--grid-color) 76%, 
        transparent 77%, 
        transparent);
    background-size: 50px 50px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

ul {
    list-style: none;
}

button, input, textarea {
    font-family: 'Rajdhani', sans-serif;
}

/* ==================== OVERLAY EFFECTS ==================== */

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c4zIgLAAAAUklEQVRIie3NSxKAIAwFUUSDIgIK93/PARLsxkl3eZMnmU1RFEWRGYgRmKRbCZepVCH7r2seJqtI9F5QoJ4gLjVRRaIYgqhCEG0UQmAURdGbMgHlKx4JlEm5KQAAAABJRU5ErkJggg==');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1000;
}

.scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.025) 50%
    );
    background-size: 100% 4px;
}

.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 246, 255, 0.1),
        rgba(0, 0, 0, 0),
        circle at 50% 50%,
        rgba(0, 246, 255, 0.1),
        rgba(0, 0, 0, 0) 70%
    );
}

.avatar-effect {
   width: 100%;
   filter: saturate(50%);
   //filter: sepia(100%) hue-rotate(180deg) saturate(100%);
}

/* ==================== LOADER ==================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-content {
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

.progress-container {
    width: 100%;
    height: 6px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    transition: width 3s cubic-bezier(0.19, 1, 0.22, 1);
}

.loader-status {
    font-size: 0.9rem;
    color: var(--text-color-dim);
    letter-spacing: 1px;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background-color: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: sticky;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-frame {
    border: 1px solid var(--border-color);
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-frame:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-color);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-corner {
    width: 8px;
    height: 8px;
    border: 1px solid var(--primary-color);
    position: absolute;
    transition: all 0.3s ease;
}

.top-left {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -4px;
    right: -4px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -4px;
    left: -4px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    position: relative;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary-color);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 0.8rem;
    color: var(--text-color-dim);
    letter-spacing: 1px;
}

/* ==================== MAIN CONTENT ==================== */
main {
    padding: 20px 5% 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    min-height: calc(100vh - 150px);
    padding: 20px 0;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s forwards;
}

.section-container {
    background-color: rgba(10, 16, 33, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 20px;
    text-shadow: 0 0 10px rgba(0, 246, 255, 0.5);
}

.section-title-decoration {
    height: 2px;
    flex: 1;
    max-width: 150px;
    background: linear-gradient(
        to var(--direction, right),
        transparent,
        var(--primary-color)
    );
}

.section-title-decoration.left {
    --direction: right;
}

.section-title-decoration.right {
    --direction: left;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-dim);
    letter-spacing: 1px;
}

/* ==================== HOME SECTION ==================== */
.home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.hexagon-container {
    position: relative;
}

.hexagon {
    width: 200px;
    height: 230px;
    position: relative;
    margin: 0 auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(145deg, var(--bg-light), var(--bg-dark));
    transition: all 0.3s ease;
}

.hex-inner {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background-color: var(--bg-light);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    z-index: 1;
}

.hex-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
    animation: rotate 10s linear infinite;
    opacity: 0.5;
}

.placeholder-avatar {
    width: 120px;
    height: 120px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 3rem;
    overflow: hidden;
}

.welcome-text {
    max-width: 500px;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-container {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(0, 246, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 246, 255, 0.3);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(0, 246, 255, 0.3),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover .button-glow {
    opacity: 1;
    animation: pulse 2s infinite;
}

.data-stream {
    margin-top: 50px;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    white-space: nowrap;
}

.stream-container {
    padding-left: 100%;
    animation: scrollText 25s linear infinite;
    width: 250%
}

.stream-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.typing-text {
    display: inline-block;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
}

/* ==================== ABOUT SECTION ==================== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-panel {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.panel-header {
    background-color: rgba(0, 246, 255, 0.1);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.panel-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.panel-controls {
    display: flex;
    gap: 5px;
}

.control-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.panel-content {
    padding: 20px;
}

.panel-content p {
    margin-bottom: 15px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 15px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid var(--background-color);
  z-index: 2;
}

.timeline-date {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 4px;
  font-weight: 600;
}

.timeline-content {
  background-color: rgba(0, 246, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 15px;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1rem;
}

.timeline-place {
  font-size: 0.9rem;
  color: var(--text-color-dim);
}
/* ==================== SKILLS SECTION ==================== */
.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.skills-category {
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.category-header {
    margin-bottom: 20px;
    text-align: center;
}

.category-header h3 {
    display: inline-block;
    padding: 5px 20px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
}

.skill-item {
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.skill-name {
    font-weight: 600;
}

.skill-level {
    display: flex;
    align-items: center;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.skill-percentage {
    font-size: 0.9rem;
    color: var(--text-color-dim);
    width: 40px;
    text-align: right;
}

.hexagon-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.hexagon-skill .hexagon {
    width: 120px;
    height: 140px;
}

.hex-label {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
}

.hexagon-skill i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ==================== PROJECTS SECTION ==================== */
.projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    height: 100%;
    perspective: 1000px;
    transition: transform 0.6s;
}

.project-frame {
    height: 100%;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.project-card:hover .project-frame {
    transform: translateY(-5px) rotateY(10deg);
    box-shadow: -5px 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.project-image {
    height: 150px;
    background: linear-gradient(145deg, var(--primary-color), black);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.project-description {
    margin-bottom: 20px;
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color-dim);
}

.project-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: rgba(0, 246, 255, 0.2);
    border-color: var(--primary-color);
}

.corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid var(--primary-color);
}

/* ==================== CONTACT SECTION ==================== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-form-container {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.contact-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color-dim);
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    outline: none;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    transition: all 0.3s ease;
}

.form-group input:focus + .input-border,
.form-group textarea:focus + .input-border {
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.submit-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: rgba(0, 246, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.contact-details {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(0, 246, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==================== FOOTER ==================== */
footer {
    padding: 30px 5%;
    background-color: rgba(5, 10, 20, 0.8);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-signature {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-color-dim);
}

.footer-system {
    text-align: right;
}

.system-status {
    font-size: 0.9rem;
    color: var(--success-color);
    margin-bottom: 5px;
}

.system-version {
    font-size: 0.8rem;
    color: var(--text-color-dim);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==================== MEDIA QUERIES ==================== */
@media screen and (max-width: 991px) {
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content,
    .skills-content,
    .projects-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-system {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .main-nav {
        padding: 15px 3%;
    }
    
    main {
        padding: 80px 3% 30px;
    }
    
    .section-container {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}