/*
    Banner ID -- 100123456
    Author Name -- Sri Dharshan
    Description -- Portfolio website for an Interactive Media Designer
*/

/* === RESET / BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0f;
    color: #fff;
    line-height: 1.6; 
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    font-family: 'Plus Jakarta Sans', sans-serif; 
}
a {
    text-decoration: none;
    color: inherit;
}

/* === UTILITY CLASSES === */
/* .hideAll {
    display: none !important;
} */

/* === NAVIGATION === */
.logo-text, .logo-name, .nav-link {
    font-family: 'Lexend', sans-serif;
}

/* === CONTAINERS === */
.nav-container,
.hero,
.section,
.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.hero-btn, .hero-badge {
    font-family: 'Lexend', sans-serif;
}

/* === STAGE ANIMATION === */
.stage {
    /* Keeping the monospace feel for the terminal, 
       but you can use Lexend here too if preferred */
    font-family: 'Plus Jakarta Sans', sans-serif; 
}

/* === SECTION HEADERS === */
.title-text, .skills-title, .skill-category h4, .contact-content h4, .project-detail-header h1 {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
}

/* === PROJECT CARDS === */
.main-project-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
}

/* === FORMS & BUTTONS === */
label, .submit-btn, .footer-link {
    font-family: 'Lexend', sans-serif;
}

.dark-input {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.657);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #232332;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* cursor: none; */
}

.logo-text {
    width: 48px;
    height: 36px;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 0 15px #8a2be280;
}

.logo-name {
    font-weight: 600;
    background: linear-gradient(135deg, #fff, #b0b0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #b0b0c0;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8a2be2, #00d4ff);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #2a2a3a;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover {
    border-color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
}

/* Mobile menu active state */
.nav-menu.active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid #2a2a3a;
    animation: slideDown 0.2s ease;
}

.nav-menu.active .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.nav-menu.active .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
}

.nav-menu.active .nav-link:last-child {
    border-bottom: none;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === HERO SECTION === */
.hero {
    /* padding: 7rem 1.5rem 3rem; */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-family: 'Lexend', sans-serif; 
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em; 
}

.highlight {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    color: white;
}

.hero-subtitle {
    color: #b0b0c0;
    font-size: 1.1rem;
    max-width: 500px;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 1rem;
}

.hero-btn {
    padding: 0.85rem 1.8rem;
    border-radius: 3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    color: white;
    border: none;
    transition: 0.2s;
    /* cursor: none; */
}

.hero-btn.secondary {
    background: #14141f;
    border: 1px solid #2a2a3a;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px #8a2be240;
}

/* Stage Animation */
.stage {
    width: 100%;
    max-width: 550px;
    height: auto;
    min-height: 380px;
    background: linear-gradient(180deg, #14141f, #0d1730);
    border: 1px solid #1d2a47;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    font-family: 'Space Grotesk', monospace;
    margin: 0 auto;
}

.row {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    margin: 12px 0;
    line-height: 1.5;
}

.tag1 {
    font-size: 1rem;
    font-weight: 700;
    color: #7b8cae;
    padding-top: 4px;
}

.q .tag1::before {
    content: "Q:";
}

.a .tag1::before {
    content: "A:";
}

.bubble {
    background: rgba(8, 14, 28, 0.7);
    border: 1px solid #1a2947;
    border-radius: 16px;
    padding: 10px 14px;
    color: #dfe7ff;
    font-size: 0.95rem;
    word-break: break-word;
}

.caret {
    display: inline-block;
    width: 0.6ch;
    height: 1.1em;
    background: #a0cbff;
    margin-left: 3px;
    vertical-align: middle;
    box-shadow: 0 0 8px #8ab2ff;
}

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

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #1a2947, transparent);
    margin: 14px 0;
}

.floating-elements {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #b0b0c0;
    font-size: 0.8rem;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(#8a2be2, transparent);
    margin-top: 5px;
}

/* === PROJECTS SECTION === */
.section {
    padding: 4rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.title-text {
    font-size: clamp(2rem, 6vw, 2.8rem);
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: #b0b0c0;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

/* ── PROJECTS BENTO GRID ─────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 380px;
    gap: 20px;
}

.project-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 4; }
.project-card:nth-child(5) { grid-column: span 4; }
.project-card:nth-child(6) { grid-column: span 4; }
.project-card:nth-child(7) { grid-column: span 4; }
.project-card:nth-child(8) { grid-column: span 8; }

@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
    .project-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}
@media (max-width: 580px) {
    .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
}

.project-card {
    background: #14141f;
    border: 1px solid #2a2a3a;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    /* cursor:none; */
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #8a2be2;
    box-shadow: 0 15px 30px #8a2be240;
}

.project-image {
    flex: 1;
    background: #1e1e2a;
    overflow: hidden;
    min-height: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.2rem 1.5rem;
    flex-shrink: 0;
}

.project-category {
    color: #00d4ff;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.main-project-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: white;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    color: #b0b0c0;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* === ABOUT SECTION === */
.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.quote {
    background: #14141f;
    padding: 2rem;
    border-radius: 24px;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    border: 1px solid #2a2a3a;
}

.skills-title {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #14141f;
    border: 1px solid #2a2a3a;
    border-radius: 20px;
    padding: 1.5rem;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #00d4ff;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tool {
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #ccc;
}

/* === CONTACT SECTION === */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info,
.contact-form {
    background: #14141f;
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid #2a2a3a;
}

.contact-message {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #b0b0c0;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #8a2be220;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a2be2;
    font-size: 1.3rem;
}

.contact-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-content p {
    color: #b0b0c0;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: #00d4ff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    margin-top: 4px;
    background: none;
    border: none;
    /* cursor: none; */
    font-size: 0.9rem;
}

.social-links {
    margin: 1rem 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    border-radius: 30px;
    color: #fff;
    transition: 0.2s;
}

.social-btn:hover {
    background: #8a2be2;
    border-color: #8a2be2;
}

/* Contact Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.4rem;
    color: #b0b0c0;
}

.dark-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: 0.2s;
}

.dark-input:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 2px #8a2be240;
}

.dark-input.error {
    border-color: #ff4444;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    /* cursor: none; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px #8a2be240;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: auto;
}

.form-note {
    text-align: center;
    color: #b0b0c0;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Response Container */
.response-container {
    text-align: center;
    padding: 2rem;
}

.response-icon {
    font-size: 4rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.response-container h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.response-container p {
    color: #b0b0c0;
    margin-bottom: 2rem;
}

.response-btn {
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* === PROJECT DETAIL PAGES === */
.project-page {
    min-height: 100vh;
    padding: 6rem 1.5rem 3rem;
}

.project-detail-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #14141f;
    border: 1px solid #2a2a3a;
    border-radius: 28px;
    overflow: hidden;
}

.project-detail-header {
    padding: 2rem;
    background: linear-gradient(135deg, #8a2be220, #00d4ff20);
}

.project-detail-header h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.project-detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-detail-category {
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #00d4ff;
}

.project-detail-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-content {
    padding: 2rem;
}

.project-detail-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-detail-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem;
}

.project-detail-content p {
    color: #b0b0c0;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-detail-content ul {
    list-style: none;
    padding: 0;
}

.project-detail-content li {
    color: #b0b0c0;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.project-detail-content li::before {
    content: '•';
    color: #00d4ff;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tool-tag {
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
}

.project-nav {
    margin-top: 2rem;
    text-align: center;
}

.project-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border-radius: 40px;
    color: white;
    font-weight: 600;
    transition: 0.2s;
}

.project-back-btn:hover {
    transform: translateX(-5px);
}

/* === FOOTER === */
.footer {
    background: #050508;
    border-top: 1px solid #2a2a3a;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-logo .logo-text {
    width: 60px;
    height: 45px;
    font-size: 1.3rem;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.8rem;
    color: #b0b0c0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.link-group h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.link-group .footer-link {
    display: block;
    color: #b0b0c0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: 0.2s;
}

.link-group .footer-link:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a3a;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #14141f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0c0;
    transition: 0.2s;
}

.social-link:hover {
    background: #8a2be2;
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    color: #b0b0c0;
    font-size: 0.9rem;
}

/* === CV DOWNLOAD TOAST === */
.cv-download-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #14141f;
    border: 1px solid #8a2be2;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    transform: translateY(100px);
    opacity: 0;
    transition: 0.3s;
    z-index: 9999;
}

.cv-download-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cv-download-toast i {
    color: #00d4ff;
    font-size: 1.2rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .scroll-indicator {
        display: none;
    }
    
    .hero-text {
        align-items: center;
    }

    .hero-badge,
    .hero-actions {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .stage {
        max-width: 500px;
        margin-top: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hide nav links by default on mobile/tablet; shown via .active */
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-container {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        flex-direction: row; /* keep logo + toggle on same row */
        flex-wrap: nowrap;
    }

    .logo-name {
        font-size: 1rem;
    }

    .logo-text {
        width: 42px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 6rem;
    }

    main {
        padding-top: 1rem;
    }

    .nav-logo {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    /* nav-container stays flex row (logo left, toggle right) */
    .nav-container {
        flex-direction: row;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .stage {
        min-height: auto;
        padding: 1rem;
    }

    .bubble {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    .row {
        grid-template-columns: 22px 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-logo .logo-name {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: visible;
}

.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* === CUSTOM CURSOR === */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: #8a2be2; /* Purple color - matches your theme */
    border-radius: 50%;
    position: fixed;
    pointer-events: visible;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(138, 43, 226, 0.5); /* Purple with opacity */
    border-radius: 50%;
    position: fixed;
    pointer-events: visible;
    z-index: 9998;
    transition: all 0.15s ease-out;
    transform: translate(-50%, -50%);
}

/* Hide custom cursor on mobile/tablet */
@media (max-width: 1024px) {
    .cursor-dot,
    .cursor-outline {
        display: block;
    }
}

/* Optional: Hide cursor when hovering over buttons/links */
.cursor-dot.hover,
.cursor-outline.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(138, 43, 226, 0.3);
    border-color: #8a2be2;
}

/* === GRID BACKGROUND PATTERN === */
.grid-pattern {
    position: relative;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

/* Optional: Darker grid for specific sections */
.grid-pattern-dark {
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Optional: Lighter grid for variations */
.grid-pattern-light {
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Optional: Different grid sizes */
.grid-pattern-small {
    background-size: 30px 30px;
}

.grid-pattern-large {
    background-size: 80px 80px;
}

/* === BACKGROUND BLOBS === */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: visible;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(138, 43, 226, 0.3); /* Purple */
    top: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 255, 0.3); /* Cyan */
    bottom: -150px;
    right: -100px;
    animation: float 18s ease-in-out infinite reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 53, 0.2); /* Orange */
    top: 40%;
    left: 30%;
    animation: float 12s ease-in-out infinite 2s;
}

/* Additional blob variations you might want to use */
.blob-4 {
    width: 350px;
    height: 350px;
    background: rgba(76, 175, 80, 0.2); /* Green */
    top: 60%;
    right: 10%;
    animation: float 14s ease-in-out infinite 1s;
}

.blob-5 {
    width: 450px;
    height: 450px;
    background: rgba(233, 30, 99, 0.15); /* Pink */
    bottom: 20%;
    left: 20%;
    animation: float 16s ease-in-out infinite 0.5s;
}

/* Float animation keyframes */
@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg); 
    }
    33% { 
        transform: translate(30px, -30px) rotate(120deg); 
    }
    66% { 
        transform: translate(-20px, 20px) rotate(240deg); 
    }
}

/* Alternative smoother float animation */
@keyframes float-smooth {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-15px, 15px) scale(0.95);
    }
    75% {
        transform: translate(-25px, -10px) scale(1.02);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}










/* Services Section Styles */
.services-section {
    /* padding: 6rem 1.5rem; */
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.services-slider-container {
    position: relative;
    /* margin: 3rem 0; */
    padding: 0 40px;
}

.service-card-wrapper {
    padding: 15px;
}

.service-card {
    background: rgba(20, 20, 31, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-right: 20px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto; 
}

.service-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
}

.service-description {
    color: #b0b0c0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.service-features span {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
    color: #ebebeb;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.service-link {
    color: #00d4ff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #8a2be2;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 20, 31, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    border-color: transparent;
    transform: scale(1.1);
}

.slider-prev:disabled,
.slider-next:disabled {
    opacity: 0.3;
    cursor: auto;
    pointer-events: visible;
}

/* Slick Slider Custom Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dots li {
    list-style: none;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots li.slick-active button {
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    width: 30px;
    border-radius: 5px;
}

/* Service Stats */
.service-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-stats .stat-item {
    background: rgba(20, 20, 31, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-stats .stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.service-stats .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.service-stats .stat-label {
    color: #b0b0c0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 4rem 1rem;
    }
    
    .services-slider-container {
        padding: 0 20px;
    }
    
    .service-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-stats {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}