@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #050a30;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-soft: rgba(255, 255, 255, 0.03);
    --surface-strong: rgba(255, 255, 255, 0.16);
    --surface-border: rgba(255, 255, 255, 0.12);
    --primary: linear-gradient(135deg, #3b82f6 0%, #4facfe 100%);
    --primary-soft: rgba(0, 238, 255, 0.1);
    --text: #f7fbff;
    --muted: #cbd5e0;
    --heading: #ffffff;
    --radius: 24px;
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.38);
    --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.2);
    --max-width: 1180px;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #001a2e 0%, var(--bg) 100%);
    color: var(--text);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


.hero {
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 26, 46, 0.88) 0%, rgba(5, 10, 48, 0.92) 100%), url('asseste/image 8.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

nav {
    padding : 10px 60px;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #001a2ec3 0%, var(--bg) 100%);

}

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

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 18px rgba(0, 238, 255, 0.6);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.logo-img:hover {
    transform: scale(1.1) rotate(4deg);
    border-color: var(--primary);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.4px;
    text-shadow: 0 0 12px rgba(0, 238, 255, 0.35);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    position: relative;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    padding-bottom: 0.25rem;
    transition: color var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

nav ul li a:hover,
nav ul li a:focus-visible {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a:focus-visible::after {
    width: 100%;
}

.content {
    margin-top: 17%;
    width: min(100%, var(--max-width));
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;    position: relative;
}

.hero-text h1 {
    font-size: 120px;
    display: inline-block;
    letter-spacing: -0.05em;
    transition: opacity 0.45s ease, transform 0.45s ease;
    will-change: opacity, transform;
}

.hero-text h2 {
    font-size: 60px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.6rem;
    display: inline-block;
    position: relative;
    transition: opacity 0.45s ease, transform 0.45s ease, color 0.45s ease;
    will-change: opacity, transform;
}

.hero-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0,238,255,0.75), rgba(255,255,255,0.2));
    opacity: 0.7;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
}

.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-text h2.fade-in::after {
    transform: scaleX(1);
}

.hero-text p {
    max-width: 36rem;
    color: #d4dfea;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}


.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2.2rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px) scale(1.01);
}

.btn-outline {
    background: transparent;
    color: var(--text);
}



.about-section {
    padding: 6rem 6rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: transform var(--transition), background var(--transition);
}

.about-container:hover {
    transform: translateY(-6px);
}

.about-title {
    align-items: center;
    text-align: center;
    font-size: clamp(2.4rem, 3vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    color: #d4dfea;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.gallery-section {
    padding: 7rem 6rem;
    text-align: center;
}

.gallery-header h2 {
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.gallery-header p {
    color: var(--muted);
    max-width: 40rem;
    margin: 0 auto;
}

.gallery-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    margin-top: 3rem;
}

.gallery-scroll-container::-webkit-scrollbar {
    height: 5px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(0, 238, 255, 0.45);
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(280px, 1fr));
    gap: 1.75rem;
    width: max-content;
    min-width: 100%;
}

.gallery-item {
    position: relative;
    height: 280px;
    width: 320px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
    background: linear-gradient(to top, rgba(0, 238, 255, 0.68), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: var(--heading);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.interactive-services {
    padding: 7rem 6rem 4rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    margin-bottom: 3rem;
    color: var(--primary);
    text-shadow: 0 0 12px rgba(0, 238, 255, 0.2);
}

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

.category-card {
    width: 100%;
    display: block;
    padding: 2.3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.04);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(0, 238, 255, 0.45);
    box-shadow: 0 20px 45px rgba(0, 238, 255, 0.1);
    background: rgba(0, 238, 255, 0.05);
}

.cat-icon {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1.4rem;
}

.category-card h3 {
    font-size: 1.55rem;
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-weight: 600;
}

.contact-section {
    padding: 6rem 6rem 7rem;
    text-align: center;
}

.main-title {
    font-size: clamp(2.6rem, 3vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--primary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info-box,
.contact-form-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.social-icons-row {
    display: flex;
    gap: 0.9rem;
    margin-top: 1rem;
    align-items: center;
}

.s-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
    transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background var(--transition);
}

.s-icon i { font-size: 1.05rem; }

.s-icon:hover,
.s-icon:focus-visible {
    transform: translateY(-4px) scale(1.03);
    color: var(--bg);
    background: var(--primary);
    box-shadow: 0 14px 30px rgba(59,130,246,0.18);
}

.s-icon:focus {
    outline: 3px solid rgba(79,172,254,0.18);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .s-icon { width: 44px; height: 44px; }
    .s-icon i { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
    .s-icon { transition: none; }
}

.input-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 1.2rem 1rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(0, 238, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form-box textarea {
    resize: vertical;
}

.send-btn {
    margin-top: 20px;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 238, 255, 0.25);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.send-btn:hover,
.send-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    opacity: 0.95;
}

footer {
    font-size: 0.9rem;
    padding: 2rem 6rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

@media (max-width: 992px) {
    nav {
        border-radius: 0;
    }

    .content,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-container,
    .contact-info-box,
    .contact-form-box {
        padding: 2rem;
    }

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

    nav ul {
        display: none;
    }

    .input-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .hero {
        padding: 1.5rem 4%;
    }

    .about-section,
    .gallery-section,
    .interactive-services,
    .contact-section,
    footer {
        padding-left: 4%;
        padding-right: 4%;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.9rem 1rem;
    }

    .main-title,
    .section-title,
    .about-text h3,
    .gallery-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    .contact-container {
        gap: 1.5rem;
    }

    .buttons {
        gap: 0.75rem;
    }
}

.category-card:hover .view-btn,
.category-card:focus-visible .view-btn {
    text-decoration: underline;
}


.contact-section, .gallery-section { padding: 80px 8%; text-align: center; }
.contact-container { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.contact-info-box { flex: 1; background: rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 30px; text-align: left; }
.contact-form-box { flex: 2; min-width: 300px; }
.input-group { display: flex; gap: 15px; margin-bottom: 15px; }
.contact-form-box input, .contact-form-box textarea { width: 100%; padding: 15px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: white; }

/* Clients marquee styles */
.clients-section { padding: 4rem 6rem; }
.clients-marquee {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 0;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
}
.clients-track {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    will-change: transform;
    --marquee-speed: 22s; /* default duration */
    --logo-gap: 2.25rem;
    animation: marquee-left-right var(--marquee-speed) linear infinite;
}
.client-logo img { display: block; width: 140px; height: auto; filter: saturate(0.98) contrast(1.02); opacity: 0.95; }
.client-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }

@keyframes marquee-left-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.clients-marquee:hover .clients-track { animation-play-state: paused; }

@media (max-width: 992px) {
    .clients-section { padding: 3rem 4%; }
    .client-logo img { width: 120px; }
}

@media (max-width: 480px) {
    .clients-section { padding: 2rem 4%; }
    .client-logo img { width: 88px; }
}

@media (prefers-reduced-motion: reduce) {
    .clients-track { animation: none; }
}

/* Stats section */
.stats-section {
    padding: 5rem 6rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-top: 1px solid rgba(255,255,255,0.03);
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}
.stat {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 1.6rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    transition: transform 400ms ease;
}
.stat-label {
    color: var(--muted);
    font-weight: 600;
}

@media (max-width: 992px) {
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
}

@media (max-width: 480px) {
    .stats-container { grid-template-columns: 1fr; }
    .stats-section { padding: 2.5rem 4%; }
    .stat { padding: 1.2rem; }
    .stat-number { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .stat-number { transition: none; }
}

/* Responsive tweaks for 'Our Specialized Services' section */
@media (max-width: 992px) {
    .interactive-services {
        padding: 4rem 4% 2rem;
    }

    .category-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .category-card {
        padding: 1.6rem;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .interactive-services {
        padding: 3rem 4% 1.5rem;
    }

    .category-card {
        padding: 1.1rem;
        border-radius: 14px;
    }

    .cat-icon { font-size: 1.8rem; }
    .category-card h3 { font-size: 1.05rem; }
    .category-card p { font-size: 0.95rem; }
}


/* à¶´à·šà·…à·’à¶ºà¶§ 2*3 layout à¶‘à¶šà¶šà·Š à·ƒà·„ horizontal scrolling */
.tools-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
    width: max-content;
    min-width: 100%;
    padding-bottom: 6px;
}

/* à¶šà·œà¶§à·”à·€ à¶šà·”à¶©à· à¶šà¶» à¶±à·’à·€à·à¶»à¶¯à·’ à·„à·à¶©à¶º à¶¯à·“à¶¸ (Tool Card) */
.tool-card {
    background-color: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* Icon à¶‘à¶š à·€à¶§à· à¶‡à¶­à·’ à¶»à·€à·”à¶¸à·Š à¶šà·œà¶§à·ƒ (Icon Wrapper) */
.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* Ensure <i> icons inherit the wrapper color for good contrast */
.icon-wrapper i { color: inherit; font-size: 28px; }

/* Tool à¶‘à¶šà·š à¶±à¶¸ */
.tool-card h3 {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}


/* --- ðŸŽ¨ BRAND COLORS & HOVER GLOWS --- */

/* 1 & 2. React & React Native (Cyan Glow) */
.tool-card.react .icon-wrapper,
.tool-card.react-native .icon-wrapper {
    background: rgba(97, 218, 251, 0.1);
    color: #61dafb;
}

.tool-card.react:hover,
.tool-card.react-native:hover {
    border-color: #61dafb;
    box-shadow: 0 0 20px rgba(97, 218, 251, 0.25);
    transform: translateY(-8px);
}

/* 3. Java (Red/Orange Glow) */
.tool-card.java .icon-wrapper {
    background: rgba(241, 60, 22, 0.1);
    color: #e44f26;
}

.tool-card.java:hover {
    border-color: #e44f26;
    box-shadow: 0 0 20px rgba(241, 60, 22, 0.25);
    transform: translateY(-8px);
}

/* 4. Spring Boot (Green Glow) */
.tool-card.spring .icon-wrapper {
    background: rgba(109, 179, 63, 0.1);
    color: #6db33f;
}

.tool-card.spring:hover {
    border-color: #6db33f;
    box-shadow: 0 0 20px rgba(109, 179, 63, 0.25);
    transform: translateY(-8px);
}

/* 5. Git / GitHub (Orange Glow) */
.tool-card.git .icon-wrapper {
    background: rgba(240, 80, 51, 0.1);
}

/* Additional brand colors and generic styles for newly added cards */
.tool-card.python .icon-wrapper {
    background: rgba(53, 114, 165, 0.08);
    color: #3776ab;
}

.tool-card.ml .icon-wrapper {
    background: rgba(88, 101, 242, 0.08);
    color: #5865f2;
}

.tool-card.dl .icon-wrapper {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}

.tool-card.gen-ai .icon-wrapper {
    background: rgba(99, 102, 241, 0.06);
    color: #6366f1;
}

.tool-card.ai-agents .icon-wrapper {
    background: rgba(14, 165, 233, 0.06);
    color: #0ea5e9;
}

.tool-card.rag .icon-wrapper {
    background: rgba(236, 72, 153, 0.06);
    color: #ec4899;
}

.tool-card.mcp .icon-wrapper {
    background: rgba(34, 197, 94, 0.06);
    color: #22c55e;
}

.tool-card.ai-automation .icon-wrapper {
    background: rgba(249, 115, 22, 0.06);
    color: #f97316;
}

.tool-card.typescript .icon-wrapper {
    background: rgba(49, 96, 193, 0.06);
    color: #3171c1;
}

.tool-card.nextjs .icon-wrapper {
    background: rgba(75, 85, 99, 0.06);
    color: #4b5563;
}

.tool-card.nodejs .icon-wrapper {
    background: rgba(72, 187, 120, 0.06);
    color: #68a063;
}

.tool-card.express .icon-wrapper {
    background: rgba(148, 163, 184, 0.04);
    color: #94a3b8;
}

.tool-card.fastapi .icon-wrapper {
    background: rgba(34, 211, 238, 0.06);
    color: #22d3ee;
}

.tool-card.mysql .icon-wrapper,
.tool-card.postgres .icon-wrapper,
.tool-card.mongodb .icon-wrapper {
    background: rgba(255, 255, 255, 0.02);
    color: #f59e0b;
}

.tool-card.virtual-servers .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.cloud-db .icon-wrapper {
    background: rgba(14, 165, 233, 0.04);
    color: #0ea5e9;
}

.tool-card.storage .icon-wrapper {
    background: rgba(234, 88, 12, 0.04);
    color: #ea580c;
}

.tool-card.load-balancers .icon-wrapper {
    background: rgba(34, 197, 94, 0.04);
    color: #22c55e;
}

.tool-card.serverless .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.docker .icon-wrapper {
    background: rgba(59, 130, 246, 0.08);
    color: #2496ed;
}

.tool-card.kubernetes .icon-wrapper {
    background: rgba(96, 165, 250, 0.06);
    color: #60a5fa;
}

.tool-card.jenkins .icon-wrapper {
    background: rgba(239, 68, 68, 0.04);
    color: #ef4444;
}

.tool-card.ghactions .icon-wrapper {
    background: rgba(51, 65, 85, 0.04);
    color: #334155;
}

.tool-card.cicd .icon-wrapper {
    background: rgba(234, 88, 12, 0.04);
    color: #ea580c;
}

.tool-card.kotlin .icon-wrapper {
    background: rgba(249, 115, 22, 0.06);
    color: #f97316;
}

.tool-card.flutter .icon-wrapper {
    background: rgba(96, 165, 250, 0.06);
    color: #60a5fa;
}

.tool-card.esp32 .icon-wrapper,
.tool-card.rpi5 .icon-wrapper,
.tool-card.arduino .icon-wrapper {
    background: rgba(14, 165, 233, 0.04);
    color: #0ea5e9;
}

.tool-card.jetson .icon-wrapper {
    background: rgba(124, 58, 237, 0.04);
    color: #7c3aed;
}

.tool-card.sensors .icon-wrapper {
    background: rgba(34, 197, 94, 0.04);
    color: #22c55e;
}

.tool-card.mqtt .icon-wrapper {
    background: rgba(14, 165, 233, 0.04);
    color: #0ea5e9;
}

.tool-card.http .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.websocket .icon-wrapper {
    background: rgba(14, 165, 233, 0.04);
    color: #0ea5e9;
}

.tool-card.ble .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.lora .icon-wrapper {
    background: rgba(234, 88, 12, 0.04);
    color: #ea580c;
}

.tool-card.opencv .icon-wrapper {
    background: rgba(148, 163, 184, 0.04);
    color: #94a3b8;
}

.tool-card.yolo .icon-wrapper {
    background: rgba(236, 72, 153, 0.04);
    color: #ec4899;
}

.tool-card.obj-detect .icon-wrapper {
    background: rgba(236, 72, 153, 0.04);
    color: #ec4899;
}

.tool-card.face-rec .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.ethical-hacking .icon-wrapper {
    background: rgba(239, 68, 68, 0.04);
    color: #ef4444;
}

.tool-card.netsec .icon-wrapper {
    background: rgba(17, 24, 39, 0.04);
    color: #cbd5e1; /* make icon light so it's visible on dark bg */
}

.tool-card.apisec .icon-wrapper {
    background: rgba(34, 197, 94, 0.04);
    color: #22c55e;
}

.tool-card.owasp .icon-wrapper {
    background: rgba(234, 88, 12, 0.04);
    color: #ea580c;
}

.tool-card.wireshark .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.burpsuite .icon-wrapper {
    background: rgba(239, 68, 68, 0.04);
    color: #ef4444;
}

.tool-card.kali .icon-wrapper {
    background: rgba(17, 24, 39, 0.04);
    color: #cbd5e1;
}

.tool-card.sql-adv .icon-wrapper {
    background: rgba(234, 88, 12, 0.04);
    color: #ea580c;
}

.tool-card.data-warehouses .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.spark .icon-wrapper {
    background: rgba(249, 115, 22, 0.04);
    color: #f97316;
}

.tool-card.kafka .icon-wrapper {
    background: rgba(234, 88, 12, 0.04);
    color: #ea580c;
}

.tool-card.bigdata .icon-wrapper {
    background: rgba(17, 24, 39, 0.04);
    color: #cbd5e1;
}

.tool-card.analytics .icon-wrapper {
    background: rgba(59, 130, 246, 0.04);
    color: #3b82f6;
}

.tool-card.bi .icon-wrapper {
    background: rgba(59, 130, 246, 0.04);
    color: #3b82f6;
}

.tool-card.unity .icon-wrapper {
    background: rgba(74, 222, 128, 0.04);
    color: #4ade80;
}

.tool-card.csharp .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.arkit .icon-wrapper,
.tool-card.arcore .icon-wrapper {
    background: rgba(59, 130, 246, 0.04);
    color: #3b82f6;
}

.tool-card.solidity .icon-wrapper {
    background: rgba(124, 58, 237, 0.04);
    color: #7c3aed;
}

.tool-card.smartcontracts .icon-wrapper {
    background: rgba(124, 58, 237, 0.04);
    color: #7c3aed;
}

.tool-card.web3 .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.sysdesign .icon-wrapper {
    background: rgba(59, 130, 246, 0.04);
    color: #3b82f6;
}

.tool-card.design-patterns .icon-wrapper {
    background: rgba(148, 163, 184, 0.04);
    color: #94a3b8;
}

.tool-card.microservices .icon-wrapper {
    background: rgba(99, 102, 241, 0.04);
    color: #6366f1;
}

.tool-card.clean-arch .icon-wrapper {
    background: rgba(148, 163, 184, 0.04);
    color: #94a3b8;
}

.tool-card.testing .icon-wrapper {
    background: rgba(59, 130, 246, 0.04);
    color: #3b82f6;
}

.tool-card.agile .icon-wrapper {
    background: rgba(34, 197, 94, 0.04);
    color: #22c55e;
}

/* Responsive adjustments: collapse to vertical list on small screens */
@media (max-width: 900px) {
    .tools-grid {
        grid-auto-flow: row;
        grid-auto-columns: 1fr;
        grid-template-rows: none;
        width: 100%;
    }

    .tool-card {
        padding: 20px;
    }
}

.tool-card.git:hover {
    border-color: #f05033;
    box-shadow: 0 0 20px rgba(240, 80, 51, 0.25);
    transform: translateY(-8px);
}

/* 6. IntelliJ IDEA (Blue Glow) */
.tool-card.intellij .icon-wrapper {
    background: rgba(14, 114, 237, 0.1);
    color: #0e72ed;
}

.tool-card.intellij:hover {
    border-color: #0e72ed;
    box-shadow: 0 0 20px rgba(14, 114, 237, 0.25);
    transform: translateY(-8px);
}

/* 7. HTML5 (Orange Glow) */
.tool-card.html .icon-wrapper {
    background: rgba(227, 76, 38, 0.1);
    color: #e34c26;
}

.tool-card.html:hover {
    border-color: #e34c26;
    box-shadow: 0 0 20px rgba(227, 76, 38, 0.25);
    transform: translateY(-8px);
}

/* 8. CSS3 (Blue Glow) */
.tool-card.css .icon-wrapper {
    background: rgba(38, 77, 228, 0.1);
    color: #264de4;
}

.tool-card.css:hover {
    border-color: #264de4;
    box-shadow: 0 0 20px rgba(38, 77, 228, 0.25);
    transform: translateY(-8px);
}

/* 9. JavaScript (Yellow Glow) */
.tool-card.js .icon-wrapper {
    background: rgba(247, 223, 30, 0.1);
    color: #f7df1e;
}

.tool-card.js:hover {
    border-color: #f7df1e;
    box-shadow: 0 0 20px rgba(247, 223, 30, 0.25);
    transform: translateY(-8px);
}

/* 10. PHP (Purple/Indigo Glow) ðŸ‘ˆ à¶…à¶½à·”à¶­à·’à¶±à·Šà¶¸ à¶‘à¶šà¶­à·” à¶šà¶»à¶± à¶½à¶¯à·“ */
.tool-card.php .icon-wrapper {
    background: rgba(119, 123, 179, 0.15);
    color: #777bb3;
}

.tool-card.php:hover {
    border-color: #777bb3;
    box-shadow: 0 0 20px rgba(119, 123, 179, 0.3);
    transform: translateY(-8px);
}

/* Consistent hover rules for all tool cards (matching their icon accents) */
.tool-card.python:hover {
    border-color: #3776ab;
    box-shadow: 0 0 20px rgba(55, 118, 171, 0.25);
    transform: translateY(-8px);
}

.tool-card.ml:hover {
    border-color: #5865f2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.25);
    transform: translateY(-8px);
}

.tool-card.dl:hover {
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
    transform: translateY(-8px);
}

.tool-card.gen-ai:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
    transform: translateY(-8px);
}

.tool-card.ai-agents:hover {
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
    transform: translateY(-8px);
}

.tool-card.rag:hover {
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
    transform: translateY(-8px);
}

.tool-card.mcp:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
    transform: translateY(-8px);
}

.tool-card.ai-automation:hover {
    border-color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
    transform: translateY(-8px);
}

.tool-card.typescript:hover {
    border-color: #3171c1;
    box-shadow: 0 0 20px rgba(49, 96, 193, 0.25);
    transform: translateY(-8px);
}

.tool-card.nextjs:hover {
    border-color: #4b5563;
    box-shadow: 0 0 20px rgba(75, 85, 99, 0.18);
    transform: translateY(-8px);
}

.tool-card.nodejs:hover {
    border-color: #68a063;
    box-shadow: 0 0 20px rgba(104, 160, 99, 0.22);
    transform: translateY(-8px);
}

.tool-card.express:hover {
    border-color: #94a3b8;
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.14);
    transform: translateY(-8px);
}

.tool-card.fastapi:hover {
    border-color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
    transform: translateY(-8px);
}

.tool-card.mysql:hover,
.tool-card.postgres:hover,
.tool-card.mongodb:hover {
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.22);
    transform: translateY(-8px);
}

.tool-card.virtual-servers:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.18);
    transform: translateY(-8px);
}

.tool-card.cloud-db:hover {
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.18);
    transform: translateY(-8px);
}

.tool-card.storage:hover {
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.18);
    transform: translateY(-8px);
}

.tool-card.load-balancers:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.18);
    transform: translateY(-8px);
}

.tool-card.serverless:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.docker:hover {
    border-color: #2496ed;
    box-shadow: 0 0 20px rgba(36, 150, 237, 0.25);
    transform: translateY(-8px);
}

.tool-card.kubernetes:hover {
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.22);
    transform: translateY(-8px);
}

.tool-card.jenkins:hover {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.22);
    transform: translateY(-8px);
}

.tool-card.ghactions:hover {
    border-color: #334155;
    box-shadow: 0 0 20px rgba(51, 65, 85, 0.16);
    transform: translateY(-8px);
}

.tool-card.cicd:hover {
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.18);
    transform: translateY(-8px);
}

.tool-card.kotlin:hover {
    border-color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.22);
    transform: translateY(-8px);
}

.tool-card.flutter:hover {
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.22);
    transform: translateY(-8px);
}

.tool-card.esp32:hover,
.tool-card.rpi5:hover,
.tool-card.arduino:hover {
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.18);
    transform: translateY(-8px);
}

.tool-card.jetson:hover {
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.22);
    transform: translateY(-8px);
}

.tool-card.sensors:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.18);
    transform: translateY(-8px);
}

.tool-card.mqtt:hover {
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.18);
    transform: translateY(-8px);
}

.tool-card.http:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.websocket:hover {
    border-color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.18);
    transform: translateY(-8px);
}

.tool-card.ble:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.lora:hover {
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.18);
    transform: translateY(-8px);
}

.tool-card.opencv:hover {
    border-color: #94a3b8;
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.12);
    transform: translateY(-8px);
}

.tool-card.yolo:hover,
.tool-card.obj-detect:hover {
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.22);
    transform: translateY(-8px);
}

.tool-card.face-rec:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.ethical-hacking:hover {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.22);
    transform: translateY(-8px);
}

.tool-card.netsec:hover {
    border-color: #94a3b8;
    box-shadow: 0 0 20px rgba(148,163,184,0.16);
    transform: translateY(-8px);
}

.tool-card.apisec:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.18);
    transform: translateY(-8px);
}

.tool-card.owasp:hover {
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.18);
    transform: translateY(-8px);
}

.tool-card.wireshark:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.burpsuite:hover {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.22);
    transform: translateY(-8px);
}

.tool-card.kali:hover {
    border-color: #111827;
    box-shadow: 0 0 20px rgba(17, 24, 39, 0.2);
    transform: translateY(-8px);
}

.tool-card.sql-adv:hover {
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.18);
    transform: translateY(-8px);
}

.tool-card.data-warehouses:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.spark:hover {
    border-color: #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.22);
    transform: translateY(-8px);
}

.tool-card.kafka:hover {
    border-color: #ea580c;
    box-shadow: 0 0 20px rgba(234, 88, 12, 0.18);
    transform: translateY(-8px);
}

.tool-card.bigdata:hover {
    border-color: #111827;
    box-shadow: 0 0 20px rgba(17, 24, 39, 0.2);
    transform: translateY(-8px);
}

.tool-card.analytics:hover,
.tool-card.bi:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.22);
    transform: translateY(-8px);
}

.tool-card.unity:hover {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.18);
    transform: translateY(-8px);
}

.tool-card.csharp:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.arkit:hover,
.tool-card.arcore:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
    transform: translateY(-8px);
}

.tool-card.solidity:hover,
.tool-card.smartcontracts:hover {
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.22);
    transform: translateY(-8px);
}

.tool-card.web3:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.sysdesign:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
    transform: translateY(-8px);
}

.tool-card.design-patterns:hover {
    border-color: #94a3b8;
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.12);
    transform: translateY(-8px);
}

.tool-card.microservices:hover {
    border-color: #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.14);
    transform: translateY(-8px);
}

.tool-card.clean-arch:hover {
    border-color: #94a3b8;
    box-shadow: 0 0 20px rgba(148, 163, 184, 0.12);
    transform: translateY(-8px);
}

.tool-card.testing:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
    transform: translateY(-8px);
}

.tool-card.agile:hover {
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.18);
    transform: translateY(-8px);
}

/* Tool card interactive enhancements: overlay sweep + icon lift */
.tool-card {
    position: relative;
    overflow: hidden;
}

.tool-card::after {
    content: "";
    position: absolute;
    left: -30%;
    top: -10%;
    width: 160%;
    height: 120%;
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.06), rgba(99, 102, 241, 0.04), rgba(236, 72, 153, 0.04));
    transform: translateX(-120%) rotate(-4deg);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(.2, .9, .2, 1), opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.tool-card:hover::after {
    transform: translateX(0) rotate(-4deg);
    opacity: 1;
}

/* lift icon and add subtle glow on hover */
.tool-card .icon-wrapper {
    position: relative;
    z-index: 2;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tool-card:hover .icon-wrapper {
    transform: translateY(-6px) scale(1.06);
    box-shadow: var(--hover-glow);
}

/* make text and border sit above overlay */
.tool-card h3 {
    position: relative;
    z-index: 2;
}

/* border wrapper accent for all tool cards (similar to React card's hover) */
.tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    /* creates a thin outline area */
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.06), rgba(99, 102, 241, 0.04));
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 1;
    /* sits between overlay (::after at 0) and content (z-index:2) */
    pointer-events: none;
}

.tool-card:hover::before {
    opacity: 1;
    transform: scale(1);
}


/* Universal wrapper border / ring on hover for all tool cards */
.tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    /* creates inner spacing for the ring */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    transform: scale(0.98);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(.2, .9, .2, 1), opacity 0.28s ease, box-shadow 0.28s ease;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

.tool-card:hover::before {
    transform: scale(1.02);
    opacity: 1;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.06);
}



/* --- ðŸ“± RESPONSIVE DESIGN (MOBILES & TABLETS) --- */

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* Tablets à·€à¶½à¶¯à·“ à¶´à·šà·…à·’à¶ºà¶§ 2à¶ºà·’ */
    }
}

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        /* Phones à·€à¶½à¶¯à·“ à¶´à·šà·…à·’à¶ºà¶§ 1à¶ºà·’ */
        gap: 15px;
    }

    .tool-card {
        padding: 20px;
    }
}

/* Tools Section Scrollable Container with Custom Scrollbar */
.tools-section {
    margin: 3rem 0;
    padding: 5rem 6rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.tools-scroll-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.5rem 0;
}

/* Custom scrollbar styling for webkit browsers */
.tools-scroll-container::-webkit-scrollbar {
    height: 10px;
}

.tools-scroll-container::-webkit-scrollbar-track {
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 999px;
}

.tools-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(59,130,246,0.5), rgba(0,238,255,0.4));
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
    transition: background 0.3s ease;
}

.tools-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(59,130,246,0.75), rgba(0,238,255,0.65));
    box-shadow: 0 0 12px rgba(59,130,246,0.3), inset 0 0 0 2px rgba(255,255,255,0.12);
}

/* Tool card animations */
.tool-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.tool-card:nth-child(1) { animation-delay: 0.05s; }
.tool-card:nth-child(2) { animation-delay: 0.1s; }
.tool-card:nth-child(3) { animation-delay: 0.15s; }
.tool-card:nth-child(4) { animation-delay: 0.2s; }
.tool-card:nth-child(5) { animation-delay: 0.25s; }
.tool-card:nth-child(6) { animation-delay: 0.3s; }
.tool-card:nth-child(7) { animation-delay: 0.35s; }
.tool-card:nth-child(8) { animation-delay: 0.4s; }
.tool-card:nth-child(n+9) { animation-delay: 0.45s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced tool card hover effects */
.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
}

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

.tool-card:hover .icon-wrapper {
    transform: scale(1.15) rotateZ(5deg);
}

@media (max-width: 992px) {
    .tools-section {
        margin: 2rem 0;
        padding: 3rem 4%;
    }

    .tools-scroll-container {
        margin: 0 -4%;
        padding-left: 4%;
        padding-right: 4%;
    }
}

@media (max-width: 480px) {
    .tools-section {
        margin: 1.5rem 0;
        padding: 2rem 4%;
    }

    .tools-scroll-container {
        padding: 1rem 0;
    }

    .tools-scroll-container::-webkit-scrollbar {
        height: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tool-card,
    .tools-scroll-container::-webkit-scrollbar-thumb {
        animation: none;
        transition: none;
    }
}
