/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #ff416c;
    --accent-secondary: #ff4b2b;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 300;
}

/* 3D Background */


/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 100px 5%;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 65, 108, 0.5);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--accent-color);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-sm {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-primary,
.btn-primary-sm {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255, 65, 108, 0.3);
    border: none;
}

.btn-primary:hover,
.btn-primary-sm:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 65, 108, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-primary.lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Section: Premium Centered */
.hero.premium-centered {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5% 60px;
    background: transparent;
    /* No solid background */
}

.hero-content {
    max-width: 1200px;
    /* Wide layout */
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -0.04em;
}

.italic-thin {
    font-style: italic;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta a {
        width: 100%;
        text-align: center;
    }
}

/* 3D Glass Card */
.hero-3d-model {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    transform-style: preserve-3d;
}

.glass-content {
    transform: translateZ(50px);
}

.glass-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-stack {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    color: #888;
}

.tech-stack i {
    transition: color 0.3s ease;
}

.tech-stack i:hover {
    color: var(--accent-color);
}

/* Trusted By / Logos */
.trusted-by {
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    max-width: none;
    width: 100%;
    margin: 40px 0;
    backdrop-filter: blur(10px);
}

.trusted-by p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.logos-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logos-container::before,
.logos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.logos-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, transparent 100%);
}

.logos-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-color) 0%, transparent 100%);
}

.logos-track {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.logos-track i {
    font-size: 2.5rem;
    color: #555;
    margin: 0 40px;
    transition: color 0.3s ease;
}

.logos-track i:hover {
    color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Process Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 65, 108, 0.3);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: scale(1.03);
    border-color: rgba(255, 65, 108, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    transition: all 0.5s ease;
}

.project-card:hover .project-image {
    filter: brightness(1.2);
    transform: scale(1.05);
}



.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.project-info p {
    font-size: 0.95rem;
    color: #888;
}

/* Testimonials */
.testimonials-section {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover {
    transform: scale(1.03);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 1.1rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
}

.client-info span {
    font-size: 0.85rem;
    color: #888;
}

.code-reveal-section {
    position: relative;
    overflow: hidden;
}

.code-reveal-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.terminal-container {
    flex: 1;
    min-width: 320px;
    position: relative;
    perspective: 1000px;
}

.tech-stack-features {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tech-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(25, 25, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.tech-feature-card:hover {
    transform: scale(1.03) translateX(10px);
    background: rgba(35, 35, 45, 0.8);
    border-color: rgba(255, 65, 108, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-feature-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}

.tech-feature-info p {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}

.floating-shape-1 {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

.terminal-window {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.terminal-window:hover {
    transform: scale(1.02);
    border-color: rgba(255, 65, 108, 0.3);
}

.terminal-header {
    background: rgba(30, 30, 35, 0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: monospace;
    font-size: 0.9rem;
    color: #888;
}

.terminal-body {
    padding: 12px;
    /* Reduced margin/padding as requested */
    height: 350px;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #a9b7c6;
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.terminal-body::-webkit-scrollbar {
    display: none;
}

#typewriter-code-about,
#typewriter-code-magic {
    white-space: pre-wrap;
    word-break: break-word;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2rem;
    background: var(--accent-color);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #a0a0a0;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 200px;
}

/* CTA */
.glass-cta {
    background: linear-gradient(135deg, rgba(255, 65, 108, 0.1), rgba(255, 75, 43, 0.05));
    border: 1px solid rgba(255, 65, 108, 0.2);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.glass-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.glass-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    padding: 80px 5% 30px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.contact-info p {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: #fff;
    font-family: var(--font-main);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    border-radius: 8px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

/* Page Headers (for Blog & Career) */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 65, 108, 0.05) 100%);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

/* Blog & Career Layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.post-card,
.job-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
}

.post-card:hover,
.job-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.post-meta,
.job-meta {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.post-card h3,
.job-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.post-card p,
.job-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.read-more,
.apply-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover,
.apply-btn:hover {
    gap: 12px;
    color: var(--accent-color);
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Application Form */
.application-form {
    max-width: 700px;
    margin: 80px auto 0;
    padding: 50px;
}

.application-form .section-title {
    margin-bottom: 30px;
}

.career-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: #111;
    color: #fff;
}

/* Animations Helpers */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(15, 15, 15, 0.95);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s ease;
    border: 1px solid var(--glass-border);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-cta {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .process-section .steps-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Advanced UX Interactions */
/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #050505;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 240, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.loader-text span {
    color: var(--accent-color);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.magnetic {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.magnetic.magnet-active {
    transition: none;
}

/* About Section */
.about-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    color: var(--primary-color, #fff);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0.8;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text h2 span {
    color: var(--primary-color, #ff416c);
}

.about-text p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.skills-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: 0.3s;
}

.skill-tag:hover {
    background: rgba(194, 163, 255, 0.1);
    border-color: #c2a3ff;
    transform: translateY(-2px);
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

/* Terminal Window Implementation */
.terminal-window {
    background: #0f0f0f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-header {
    background: #1a1a1a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #666;
}

/* Terminal styles handled above */

/* Responsive fixes for about grid */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .skills-mini {
        justify-content: center;
    }
}