 :root {
     --primary-dark: rgba(15, 23, 42, 0.95);
     --primary: #0f1a2e;
     --secondary: #1e293b;
     --accent: #3b82f6;
     --accent-light: #60a5fa;
     --accent-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
     --text-light: #f8fafc;
     --text-muted: #cbd5e1;
     --card-bg: rgba(30, 41, 59, 0.7);
     --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
     --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     --border-radius: 12px;
     --section-padding: 80px 20px;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Inter', sans-serif;
     background-color: var(--primary);
     color: var(--text-light);
     line-height: 1.6;
     overflow-x: hidden;
 }

 /* ===== Header ===== */
 .site-header {
     position: sticky;
     top: 0;
     background-color: var(--primary-dark);
     backdrop-filter: blur(10px);
     box-shadow: var(--shadow);
     z-index: 1000;
     border-bottom: 1px solid rgba(255, 255, 255, 0.05);
 }

 .container {
     max-width: 1200px;
     margin: auto;
     padding: 18px 24px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 /* ====logo image=== */
 .logo {
     display: flex;
     align-items: center;
     gap: 8px;
     flex-wrap: nowrap;
     white-space: nowrap;
 }

 .logo img {
     height: 42px;
     width: 42px;
     display: block;
     border-radius: 8px;
     object-fit: contain;
     /* Ensures image maintains aspect ratio */
     background: rgba(255, 255, 255, 0.1);
     /* Optional: background if image has transparency */
 }

 .logo-text {
     font-size: 24px;
     font-weight: 700;
     background: linear-gradient(135deg, #38bdf8, #818cf8);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     line-height: 1;
 }

 .logo-span {
     font-size: 24px;
     font-weight: 700;
     color: #f1f5f9;
     /* Use color instead of gradient if you want solid color */
     line-height: 1;
 }


 /* ===== Navigation ===== */
 .nav {
     display: flex;
     align-items: center;
     gap: 32px;
 }

 .nav-links {
     display: flex;
     list-style: none;
     gap: 28px;
 }

 .nav-links a {
     color: var(--text-light);
     text-decoration: none;
     font-weight: 500;
     position: relative;
     transition: var(--transition);
     font-size: 0.95rem;
 }

 .nav-links a:hover {
     color: var(--accent-light);
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     width: 0%;
     height: 2px;
     left: 0;
     bottom: -6px;
     background: var(--accent-gradient);
     transition: width 0.3s ease;
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 .btn-primary {
     background: var(--accent-gradient);
     color: white;
     padding: 10px 24px;
     border-radius: 30px;
     font-weight: 600;
     text-decoration: none;
     transition: var(--transition);
     font-size: 0.9rem;
     border: none;
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
 }

 .btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
 }

 /* ===== Menu Toggle ===== */
 .menu-toggle {
     display: none;
     font-size: 26px;
     color: var(--text-light);
     cursor: pointer;
     background: transparent;
     border: none;
 }

 

 /* ===== Main Hero ===== */
 .main-hero {
     height: 92vh;
     width: 100%;
     position: relative;
     display: flex;
     align-items: center;
     overflow: hidden;
     margin-bottom: 0;
 }

 .main-hero::before {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(to right, var(--primary-dark) 20%, rgba(15, 23, 42, 0.7));
     z-index: 1;
 }

 .main-hero::after {
     content: "";
     position: absolute;
     inset: 0;
     background-size: cover;
     background-position: center;
     opacity: 0.15;
     z-index: 0;
 }

 .main-content {
     position: relative;
     max-width: 800px;
     padding: 0 60px;
     z-index: 2;
 }

 .hero-heading {
     font-size: 3.5rem;
     font-weight: 800;
     line-height: 1.2;
     margin-bottom: 25px;
     background: linear-gradient(to right, #f8fafc, #cbd5e1);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }

 /* blinking cursor */
 .hero-heading::after {
     content: "|";
     margin-left: 6px;
     color: var(--accent);
     animation: blink 1s infinite;
 }

 @keyframes blink {

     0%,
     50%,
     100% {
         opacity: 1;
     }

     25%,
     75% {
         opacity: 0;
     }
 }

 /* H2 fade animation */
 .hero-subheading {
     font-size: 1.2rem;
     font-weight: 400;
     color: var(--text-muted);
     margin-bottom: 40px;
     max-width: 700px;
     opacity: 0;
     transform: translateY(20px);
     transition: all 0.8s ease;
 }

 .hero-subheading.show {
     opacity: 1;
     transform: translateY(0);
 }

 .hero-subheading span {
     color: var(--accent-light);
     font-weight: 600;
 }

 .main-content button {
     background: var(--accent-gradient);
     color: white;
     padding: 16px 36px;
     border-radius: 8px;
     font-weight: 600;
     border: none;
     font-size: 1rem;
     transition: var(--transition);
     cursor: pointer;
     box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
 }

 .main-content button:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
 }

 /* ===== Section Headers ===== */
 .section-header {
     text-align: center;
     margin-bottom: 60px;
 }

 .section-header h2 {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 15px;
     position: relative;
     display: inline-block;
 }

 .section-header h2::after {
     content: '';
     position: absolute;
     width: 80px;
     height: 4px;
     background: var(--accent-gradient);
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     border-radius: 2px;
 }

 .section-header p {
     color: var(--text-muted);
     max-width: 800px;
     margin: 0 auto;
     font-size: 1.1rem;
 }

 /* ===== Second Hero ===== */
 .second-hero {
     padding-top: 30px;
     text-align: center;
     background-color: linear-gradient(to right, var(--primary-dark) 20%, rgba(15, 23, 42, 0.7));
     position: relative;
     overflow: hidden;
 }


 .second-hero p {
     font-size: 1.1rem;
     color: var(--text-muted);
     max-width: 900px;
     margin: 30px auto 0;
     line-height: 1.8;
 }

 /* ===== Services ===== */
 .services {
     padding: var(--section-padding);
     background-color: linear-gradient(to right, var(--primary-dark) 20%, rgba(15, 23, 42, 0.7));
     position: relative;
     overflow: hidden;
 }


 .services-container {
     display: flex;
     justify-content: center;
     position: relative;
     z-index: 5;
     gap: 30px;
     flex-wrap: wrap;
     max-width: 1200px;
     margin: 0 auto;
 }


 .card {
     background: var(--card-bg);
     width: 340px;
     padding: 40px 30px;
     text-align: center;
     border-radius: var(--border-radius);
     box-shadow: var(--shadow);
     transition: var(--transition);
     will-change: transform;
     border: 1px solid rgba(255, 255, 255, 0.05);
 }



 .icon {
     font-size: 48px;
     background: var(--accent-gradient);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     margin-bottom: 25px;
     display: inline-block;
 }

 .card h3 {
     font-size: 1.5rem;
     margin-bottom: 20px;
     color: var(--text-light);
 }

 .card p {
     font-size: 1rem;
     line-height: 1.7;
     color: var(--text-muted);
 }

 .services-container a.card {
     display: block;
     text-decoration: none;
     color: inherit;
     cursor: pointer;
     pointer-events: auto;
     position: relative;
     z-index: 10;
 }


 .services-container a.card {
     position: relative;
     overflow: hidden;
     transition:
         transform 0.4s ease,
         box-shadow 0.4s ease,
         border-color 0.4s ease;
 }


 .services-container a.card::before {
     content: "";
     position: absolute;
     inset: 0;
     border-radius: inherit;
     background: linear-gradient(120deg,
             transparent,
             rgba(59, 130, 246, 0.15),
             transparent);
     opacity: 0;
     transition: opacity 0.4s ease;
     pointer-events: none;
 }


 .services-container a.card::after {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 4px;
     background: var(--accent-gradient);
     transform: scaleX(0);
     transform-origin: left;
     transition: transform 0.4s ease;
 }


 .services-container a.card:hover {
     transform: translateY(-10px);
     box-shadow:
         0 25px 60px rgba(0, 0, 0, 0.45),
         0 0 0 1px rgba(59, 130, 246, 0.35);
     border-color: rgba(59, 130, 246, 0.4);
 }


 .services-container a.card:hover::before {
     opacity: 1;
 }

 .services-container a.card:hover::after {
     transform: scaleX(1);
 }


 .services-container a.card .icon {
     transition: transform 0.4s ease, filter 0.4s ease;
 }

 .services-container a.card:hover .icon {
     transform: scale(1.15);
     filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
 }


 .services-container a.card h3 {
     transition: color 0.3s ease;
 }

 .services-container a.card:hover h3 {
     color: var(--accent-light);
 }


 .services-container a.card p {
     transition: transform 0.3s ease;
 }

 .services-container a.card:hover p {
     transform: translateY(-2px);
 }


 /* ===== CTA ===== */
 .cta {
     padding: var(--section-padding);
     background: linear-gradient(to right, var(--primary-dark) 20%, rgba(15, 23, 42, 0.7));
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 .cta::before {
     content: "";
     position: absolute;
     width: 300px;
     height: 300px;
     background: linear-gradient(to right, var(--primary-dark) 20%, rgba(15, 23, 42, 0.7));
     top: -150px;
     right: -100px;
     z-index: 0;
 }

 .cta::after {
     content: "";
     position: absolute;
     width: 300px;
     height: 300px;
     background: linear-gradient(to right, var(--primary-dark) 20%, rgba(15, 23, 42, 0.7));
     bottom: -150px;
     left: -100px;
     z-index: 0;
 }

 .cta-content {
     position: relative;
     z-index: 1;
 }

 .cta-content h2 {
     font-size: 2.2rem;
     margin-bottom: 30px;
     font-weight: 700;
     max-width: 800px;
     margin: 0 auto 30px;
 }

 .cta-para {
     font-size: 1.1rem;
     color: var(--text-muted);
     max-width: 900px;
     margin: 0 auto 40px;
     line-height: 1.8;
 }

 .cta-btn {
     display: flex;
     justify-content: center;
     align-items: center;
     margin-top: 30px;
 }

 .cta-btn button {
     background: var(--accent-gradient);
     color: white;
     padding: 16px 40px;
     border-radius: 8px;
     font-weight: 600;
     font-size: 1.1rem;
     border: none;
     cursor: pointer;
     transition: var(--transition);
     box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
 }

 .cta-btn button:hover {
     transform: translateY(-3px);
     box-shadow: 0 12px 25px rgba(59, 130, 246, 0.4);
 }

 /* ===== Skill Page ===== */
 .skill-page-body {
     padding: var(--section-padding);
     background-color: var(--primary);
 }

 .expertise-container {
     max-width: 1000px;
     width: 100%;
     margin: 0 auto;
     background-color: var(--card-bg);
     border-radius: var(--border-radius);
     box-shadow: var(--shadow);
     padding: 50px;
     position: relative;
     overflow: hidden;
     margin-bottom: 80px;
     border: 1px solid rgba(255, 255, 255, 0.05);
 }

 .expertise-container::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: var(--accent-gradient);
 }

 .expertise-main-title {
     font-size: 2.2rem;
     color: var(--text-light);
     margin-bottom: 15px;
     position: relative;
     padding-bottom: 20px;
 }

 .expertise-description {
     font-size: 1.1rem;
     color: var(--text-muted);
     line-height: 1.6;
     margin-bottom: 40px;
     max-width: 800px;
 }

 .skills-tracker-wrapper {
     display: flex;
     flex-direction: column;
     gap: 40px;
 }

 .skill-progress-item {
     position: relative;
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.6s ease, transform 0.6s ease;
 }

 .skill-progress-item.active {
     opacity: 1;
     transform: translateY(0);
 }

 .skill-meta-info {
     display: flex;
     justify-content: space-between;
     margin-bottom: 10px;
 }

 .skill-title {
     font-size: 1.2rem;
     font-weight: 600;
     color: var(--text-light);
     display: flex;
     align-items: center;
     gap: 10px;
     transition: var(--transition);
 }

 .skill-title:hover {
     color: var(--accent-light);
 }

 .skill-icon {
     font-size: 1.2rem;
     transition: transform 0.3s ease;
 }

 .skill-title:hover .skill-icon {
     transform: scale(1.2);
 }

 .skill-percentage-value {
     font-size: 1.3rem;
     font-weight: 700;
     color: var(--text-light);
     transition: all 0.5s ease;
 }

 .progress-background {
     height: 14px;
     background-color: rgba(255, 255, 255, 0.05);
     border-radius: 7px;
     overflow: hidden;
     position: relative;
 }

 .progress-indicator {
     height: 100%;
     border-radius: 7px;
     width: 0;
     transition: width 1.5s ease-in-out;
     position: relative;
     overflow: hidden;
 }

 /* Unique color classes for each skill */
 .skill-web-dev .progress-indicator {
     background: linear-gradient(to right, #3b82f6, #2563eb);
 }

 .skill-design .progress-indicator {
     background: linear-gradient(to right, #8b5cf6, #7c3aed);
 }

 .skill-mobile .progress-indicator {
     background: linear-gradient(to right, #10b981, #059669);
 }

 .skill-marketing .progress-indicator {
     background: linear-gradient(to right, #f59e0b, #d97706);
 }

 .skill-cloud .progress-indicator {
     background: linear-gradient(to right, #ec4899, #db2777);
 }

 .expertise-footer {
     margin-top: 50px;
     text-align: center;
     color: var(--text-muted);
     font-style: italic;
     font-size: 0.9rem;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
     padding-top: 20px;
 }

 .progress-tracker-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 10px;
     padding-bottom: 15px;
 }

 .skills-count {
     font-size: 1rem;
     color: var(--text-muted);
     font-weight: 500;
 }

 .animated-count {
     color: var(--accent);
     font-weight: 700;
 }

 /* ===== Process Section ===== */
 .process-heading {
     font-size: 2.2rem;
     text-align: center;
     margin-bottom: 60px;
     position: relative;
 }

 .process-heading h3 {
     display: inline-block;
     position: relative;
 }

 .process-heading h3::after {
     content: '';
     position: absolute;
     width: 100px;
     height: 4px;
     background: var(--accent-gradient);
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     border-radius: 2px;
 }

 .our-process {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 30px;
     padding: 0 20px 80px;
 }

 .process-card {
     width: 360px;
     background: var(--card-bg);
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow);
     transition: var(--transition);
     border: 1px solid rgba(255, 255, 255, 0.05);
 }

 .process-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
     border-color: rgba(59, 130, 246, 0.3);
 }

 .process-card img {
     width: 100%;
     height: 220px;
     object-fit: cover;
 }

 .process-card-content {
     padding: 30px;
 }

 .process-card h3 {
     color: var(--text-light);
     font-size: 1.5rem;
     margin-bottom: 15px;
 }

 .process-card p {
     color: var(--text-muted);
     line-height: 1.7;
 }

 /* ===== FOOTER ===== */
 .site-footer {
     background: #0f172a;
     color: #f1f5f9;
     margin-top: 0;
     font-family: 'Inter', sans-serif;
     position: relative;
     z-index: 2;
 }

 .footer-container {
     max-width: 1300px;
     margin: auto;
     padding: 50px 20px 30px;
 }

 /* MAIN FOOTER */
 .footer-main {
     display: grid;
     grid-template-columns: 1.5fr 3fr;
     gap: 40px;
     margin-bottom: 40px;
 }

 .footer-logo img {
     height: 50px;
     margin-bottom: 0;
     border-radius: 8px;
 }

 .footer-logo p {
     max-width: 320px;
     line-height: 1.6;
     font-size: 0.95rem;
     color: #94a3b8;
 }

 /* Footer logo + company name (no layout change) */
 .footer-brand {
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .footer-brand img {
     height: 50px;
     /* same size jaisa pehle logo tha */
     width: auto;
 }

 .footer-logo-text {
     font-size: 20px;
     font-weight: 700;
     background: linear-gradient(135deg, #38bdf8, #818cf8);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 }

 .footer-logo-span {
     font-size: 20px;
     font-weight: 700;
     color: #f1f5f9;
 }

 /* LINKS */
 .footer-links {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 30px;
 }

 .link-column h4 {
     margin-bottom: 18px;
     font-size: 1.1rem;
     font-weight: 600;
     color: #f1f5f9;
 }

 .link-column a,
 .link-column p {
     display: block;
     margin-bottom: 10px;
     color: #94a3b8;
     text-decoration: none;
     font-size: 0.95rem;
     transition: color 0.3s ease;
 }

 .link-column a:hover {
     color: #38bdf8;
 }

 /* FOOTER BOTTOM */
 .footer-bottom {
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     padding-top: 25px;
     flex-wrap: wrap;
     gap: 20px;
 }

 .social-links {
     display: flex;
     gap: 14px;
 }

 .social-links a {
     width: 40px;
     height: 40px;
     background: rgba(30, 41, 59, 0.7);
     border-radius: 50%;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     color: #94a3b8;
     font-size: 16px;
     transition: all 0.3s ease;
     text-decoration: none;
 }

 .social-links a:hover {
     background: #38bdf8;
     color: white;
     transform: translateY(-3px);
 }

 .copyright {
     text-align: right;
     font-size: 0.9rem;
     color: #94a3b8;
 }

 .copyright a {
     color: #38bdf8;
     text-decoration: none;
 }

 /* ===== BACK TO TOP ===== */
 .back-to-top {
     position: fixed;
     bottom: 40px;
     right: 40px;
     width: 50px;
     height: 50px;
     background: linear-gradient(135deg, #38bdf8, #818cf8);

     border: none;
     border-radius: 50%;
     color: white;
     cursor: pointer;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
     z-index: 1000;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }

 .back-to-top.visible {
     opacity: 1;
     visibility: visible;
 }

 .back-to-top:hover {
     transform: translateY(-3px);
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
 }

 /* ===== Responsive Design ===== */
 @media (max-width: 1024px) {
     .hero-heading {
         font-size: 2.8rem;
     }

     .footer-main {
         grid-template-columns: 1fr;
         gap: 40px;
     }
 }

/* ===== Mobile Navigation Fixes ===== */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 24px;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 25px;
        border-radius: var(--border-radius);
        gap: 20px;
        display: none;
        box-shadow: var(--shadow);
        border: 1px solid rgba(255, 255, 255, 0.05);
        width: 250px;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Style for Rate Us button in mobile nav */
    .nav-links .btn-primary {
        background: var(--accent-gradient);
        color: white;
        padding: 14px 0;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
        font-size: 1rem;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 10px;
        border: 2px solid transparent;
    }

    .nav-links .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
        border-color: rgba(255, 255, 255, 0.1);
    }

    /* Remove the arrow pseudo-element for mobile if needed */
    .nav-links .btn-primary::after {
        display: none;
    }

    /* Ensure the button has proper hover states */
    .nav-links .btn-primary:hover {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        transform: translateY(-2px);
    }

    .menu-toggle {
        display: block;
        font-size: 26px;
        color: var(--text-light);
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* Additional responsive improvements for very small screens */
@media (max-width: 480px) {
    .nav-links {
        right: 16px;
        width: calc(100% - 32px);
        max-width: 280px;
        padding: 20px;
    }

    .nav-links .btn-primary {
        padding: 16px 0;
        font-size: 1.1rem;
    }
}


 @media (max-width: 768px) {
     .main-hero {
         height: 85vh;
     }

     .hero-heading {
         font-size: 2rem;
     }

     .hero-subheading {
         font-size: 1rem;
     }

     .section-header h2 {
         font-size: 1.8rem;
     }
     .second-hero {
        padding-top: 20px;
    }

     .second-hero p {
         padding: 0 20px;
     }

     .expertise-container {
         padding: 30px 25px;
     }

     .expertise-main-title {
         font-size: 1.8rem;
     }

     .process-card {
         width: 100%;
         max-width: 400px;
     }

     .footer-bottom {
         flex-direction: column;
         gap: 25px;
         text-align: center;
     }

     .copyright {
         text-align: center;
     }
     .mobile-rate-btn {
        display: block;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    /* Mobile nav layout */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        display: none;
    }

    /* When menu is open */
    .nav-links.active {
        display: flex;
    }

    /* Show menu toggle button */
    .menu-toggle {
        display: block;
    }

 }

 @media (max-width: 480px) {
     .container {
         padding: 16px 20px;
     }

     .main-content {
         padding: 0 20px;
     }

     .hero-heading {
         font-size: 1.8rem;
     }

     .section-header h2 {
         font-size: 1.6rem;
     }

     .card {
         width: 100%;
         max-width: 340px;
     }

     .footer-links {
         grid-template-columns: 1fr;
         gap: 30px;
     }

     .expertise-container {
         padding: 25px 20px;
     }
 }

 /* =========================
   Three.js Global Setup
========================= */

 /* =========================
   Enhanced Three.js Styles
========================= */

 .threejs-bg {
     position: fixed;
     inset: 0;
     z-index: 0;
     pointer-events: none;
     background: linear-gradient(135deg,
             rgba(15, 23, 42, 0.95) 0%,
             rgba(15, 23, 42, 0.98) 50%,
             rgba(30, 41, 59, 0.97) 100%);
 }

 .threejs-layer {
     position: absolute;
     inset: 0;
     z-index: 1;
     pointer-events: none;
     background: transparent;
      pointer-events: none;
  opacity: 0;
  transform: translateZ(0);
  will-change: transform;
 }
 .threejs-layer.active-3d {
  opacity: 1;
}

 /* Ensure content stays above 3D */
 header,
 section,
 footer {
     position: relative;
     z-index: 10;
 }

 /* Subtle gradient overlays for depth */
 .main-hero::before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(ellipse at 20% 50%,
             rgba(59, 130, 246, 0.08) 0%,
             transparent 50%);
     z-index: 1;
 }

 .services::before {
     content: "";
     position: absolute;
     pointer-events: none;
     inset: 0;
     background: radial-gradient(circle at 80% 20%,
             rgba(139, 92, 246, 0.05) 0%,
             transparent 40%);
     z-index: 1;
 }

 .cta::before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(circle at 50% 50%,
             rgba(6, 182, 212, 0.08) 0%,
             transparent 60%);
     z-index: 1;
 }

 /* Add subtle particle trail effect on hover */
 .btn-primary,
 .main-content button,
 .cta-btn button {
     position: relative;
     overflow: hidden;
 }

 .btn-primary::after,
 .main-content button::after,
 .cta-btn button::after {
     content: "";
     position: absolute;
     top: 50%;
     left: 50%;
     width: 5px;
     height: 5px;
     background: rgba(255, 255, 255, 0.6);
     border-radius: 50%;
     transform: translate(-50%, -50%) scale(0);
     transition: transform 0.4s ease-out;
 }

 .btn-primary:hover::after,
 .main-content button:hover::after,
 .cta-btn button:hover::after {
     transform: translate(-50%, -50%) scale(20);
     opacity: 0;
 }

 /* Floating animation for cards */
 .card {
     animation: float 6s ease-in-out infinite;
 }

 .card:nth-child(2) {
     animation-delay: -2s;
 }

 .card:nth-child(3) {
     animation-delay: -4s;
 }

 @keyframes float {

     0%,
     100% {
         transform: translateY(0) rotate(0deg);
     }

     50% {
         transform: translateY(-12px) rotate(0.5deg);
     }
 }

 /* Glow effects for skill bars */
 .progress-indicator::after {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(90deg,
             transparent,
             rgba(255, 255, 255, 0.2),
             transparent);
     transform: translateX(-100%);
     animation: shine 2s infinite;
 }

 @keyframes shine {
     100% {
         transform: translateX(100%);
     }
 }

 /* Responsive adjustments for 3D */
 @media (max-width: 768px) {

     .threejs-bg,
     .threejs-layer {
         background-attachment: scroll;
     }

     .main-hero::before,
     .services::before,
     .cta::before {
         opacity: 0.7;
     }
 }