    /* Reset and base styles */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "Inter", sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: white;
      color: #333;
      min-height: 100vh;
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* Section spacing utilities */
    .section-spacing {
      margin: 80px 0;
    }

    .section-spacing-sm {
      margin: 60px 0;
    }

    /* Header styles */
    header {
      background: #E8DAFF;
      padding: 1.5rem 2rem;
      border-radius: 190px;
      margin: 2rem auto;
      max-width: 1100px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      box-shadow: 0 4px 15px rgba(109, 40, 217, 0.15);
      position: relative;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.5rem;
      font-weight: bold;
      flex-shrink: 0;
      z-index: 100;
    }

    .logo img {
      max-width: 100px;
      height: auto;
    }

    nav {
      display: flex;
      gap: 2rem;
      font-weight: 600;
      flex-wrap: wrap;
      justify-content: center;
      flex-grow: 1;
    }

    nav a {
      text-decoration: none;
      color: #333;
      transition: all 0.3s ease;
      white-space: nowrap;
      padding: 0.75rem 1rem;
      border-radius: 12px;
      position: relative;
    }

    nav a:hover {
      color: #6d28d9;
      background-color: rgba(109, 40, 217, 0.1);
      transform: translateY(-2px);
    }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #6d28d9;
      padding: 0.5rem;
      border-radius: 8px;
      transition: background-color 0.3s ease;
    }

    .nav-toggle:hover {
      background-color: rgba(109, 40, 217, 0.1);
    }

    .login-btn {
      background-color: #6d28d9;
      color: white;
      padding: 0.875rem 2rem;
      border: none;
      border-radius: 500px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      flex-shrink: 0;
      font-size: 0.95rem;
      box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
    }

    .login-btn:hover {
      background-color: #5b21b6;
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(109, 40, 217, 0.4);
    }

    /* Hero section */
    .hero {
      text-align: center;
      padding: 4rem 2rem;
      max-width: 1000px;
      margin: 0 auto 0px;
    }

    .hero h2 {
      font-size: clamp(1.2rem, 3vw, 1.5rem);
      font-weight: 800;
      font-family: poppins, sans-serif;
      font-size: xx-large;
      margin-bottom: 1rem;
      color: #1E1E1E;
    }

    .hero h1 {
      font-size: clamp(2rem, 6vw, 3.5rem);
      font-weight: 900;
      font-family: poppins, sans-serif;
      color: #693AB0;
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    /* Cards container */
    .cards-container {
      max-width: 1200px;
      margin: 0 auto 70px;
      padding: 0 1rem;
      position: relative;
    }

    .cards {
      display: flex;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
      padding: 2rem 0;
    }

    .card {
      width: 100%;
      max-width: 320px;
      min-height: 200px;
      background: linear-gradient(135deg, #ffffff, #f8fafc);
      border-radius: 0px;
      border-top-left-radius: 40px;
      border-bottom-right-radius: 50px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      overflow: hidden;
      position: relative;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(109, 40, 217, 0.2);
      border-color: rgba(108, 40, 217, 0.116);
    }

    .card-content {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .card-gif {
      width: 100%;
      height: 120px;
      object-fit: cover;
      border-radius: 20px 20px 0 0;
      background: #f1f5f9;
    }

    .card-info {
      padding: 1.5rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .card-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 0.75rem;
      line-height: 1.3;
    }

    .card-description {
      font-size: 0.95rem;
      color: #64748b;
      line-height: 1.5;
      flex-grow: 1;
    }

    .card-gif-placeholder {
      width: 100%;
      height: 120px;
      background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
      background-size: 200% 100%;
      animation: shimmer 2s infinite;
      border-radius: 20px 20px 0 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #94a3b8;
      font-size: 0.9rem;
    }

    @keyframes shimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }

    /* Mobile scroll styles */
    .cards-scroll {
      display: none;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding: 1rem 0 2rem;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-behavior: smooth;
      position: relative;
    }

    .cards-scroll::-webkit-scrollbar {
      display: none;
    }

    .cards-horizontal {
      display: flex;
      gap: 1.5rem;
      padding: 0 1rem;
      min-width: max-content;
      transition: transform 0.5s ease;
    }

    .cards-horizontal .card {
      scroll-snap-align: center;
      min-width: 300px;
      max-width: 300px;
      height: 180px;
      flex-shrink: 0;
    }

    .cards-horizontal .card-gif,
    .cards-horizontal .card-gif-placeholder {
      height: 100px;
    }

    .cards-horizontal .card-info {
      padding: 1rem;
    }

    .cards-horizontal .card-title {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    .cards-horizontal .card-description {
      font-size: 0.85rem;
    }

    /* Pagination */
    .pagination {
      text-align: center;
      margin: 2rem 0;
      padding: 1rem;
      display: none;
    }

    .dot {
      display: inline-block;
      width: 12px;
      height: 12px;
      margin: 0 8px;
      background-color: #d9d9d9;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .dot:hover {
      transform: scale(1.2);
      background-color: #4D2C7E;
    }

    .dot.active {
      background-color: #6d28d9;
      transform: scale(1.3);
    }

    /* Learn section */
    .learn-section {
      padding: 50px 0px;
      text-align: center;
      background: #E9DAFF;
      margin: 0px 0;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      padding: 0 20px;
    }

    .main-heading {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      font-weight: 800;
      color: #4D2C7E;
      margin-bottom: 1.5rem;
      text-shadow: 2px 2px 4px rgba(75, 28, 132, 0.1);
      line-height: 1.2;
    }

   

    .subheading {
      font-size: clamp(1rem, 2.5vw, 1.3rem);
      color: #212121;
      margin-bottom: 3rem;
      max-width: 1000px;
      font-weight: 900;
      font-size: 30px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.2;
    }

    .cards2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      justify-items: center;
      margin-top: 3rem;
    }

    .card2 {
      background: #4D2C7E;
      color: white;
      border-radius: 15px;
      padding: 2rem;
      width: 100%;
      max-width: 380px;
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 240px;
      box-shadow: 0 12px 30px rgba(85, 45, 136, 0.3);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .card2::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
      pointer-events: none;
    }

    .card2:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 45px rgba(84, 45, 136, 0.171);
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .card-header h2 {
      font-size: 1.4rem;
      font-weight: 700;
      color: #ffffff;
    }

    .card-header i {
      width: 28px;
      height: 28px;
      color: #e9d9ff;
      opacity: 0.9;
    }

    .card2 p {
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 1.5rem;
      color: #ffffff;
      flex-grow: 1;
    }

    .card-btn {
      background-color: #E7D8FF;
      color: #000000;
      padding: 0.875rem 1.5rem;
      border: none;
      border-radius: 15px;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 12px rgba(233, 217, 255, 0.3);
    }

    .card-btn:hover {
      background-color: #d5bcfa;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(233, 217, 255, 0.5);
    }

    .card-btn:focus {
      outline: 3px solid #4b1c84;
      outline-offset: 3px;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Skills section */
    .skill {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: #4D2C7E;
      color: #fff;
      padding: 50px 20px;
      margin: 0px 0;
      line-height: 1.6;
      overflow-x: hidden;
    }

    .container2 {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .skill h1 {
      text-align: center;
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 800;
      margin-bottom: 4rem;
      text-transform: capitalize;
      letter-spacing: -0.02em;
      position: relative;
      z-index: 1;
      line-height: 1.2;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2.5rem;
      margin: 0 auto;
      justify-items: center;
    }

    .mobile-scroll-container {
      display: none;
      overflow-x: auto;
      overflow-y: visible;
      padding: 2rem 0 3rem;
      margin: 0 -20px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
    }

    .mobile-scroll-container::-webkit-scrollbar {
      display: none;
    }

    .mobile-grid {
      display: flex;
      gap: 1.5rem;
      padding: 0 20px;
      min-width: max-content;
      transition: transform 0.5s ease;
    }

    .card3 {
      background: #3F2567;
      border-radius: 24px;
      padding: 3rem 2rem 2rem;
      position: relative;
      text-align: center;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: visible;
      margin-top: 2.5rem;
      min-height: 250px;
      max-width: 350px;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      
      
    }

    .mobile-grid .card3 {
      min-width: 320px;
      max-width: 350px;
      flex-shrink: 0;
      margin-top: 0;
      padding: 3.5rem 2rem 2.5rem;
      min-height: 300px;
      scroll-snap-align: center;
      background: #3F2567;
    }

    .card3::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      
      opacity: 0;
      transition: opacity 0.4s ease;
      border-radius: 24px;
      pointer-events: none;
    }

    .card3:hover {
      transform: translateY(-12px);
      
    }

    .card3:hover::before {
      opacity: 1;
    }

    .card3 .icon {
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      width: 70px;
      height: 70px;
      background: #3F2567;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #fff;
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.185);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 10;
    }

    .mobile-grid .card3 .icon {
      width: 80px;
      height: 80px;
      font-size: 32px;
      top: -40px;
      background: #3F2567;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.226);
    }

    .card3:hover .icon {
      transform: translateX(-50%) scale(1.15);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .card3 h3 {
      font-size: clamp(1.1rem, 2.5vw, 1.3rem);
      font-weight: 700;
      margin: 1rem 0 0.75rem;
      color: #fff;
      line-height: 1.3;
    }

    .mobile-grid .card3 h3 {
      font-size: 1.5rem;
      font-weight: 800;
      margin: 1.25rem 0 1rem;
      letter-spacing: -0.01em;
    }

    .card3 p {
      font-size: clamp(0.9rem, 2vw, 1rem);
      color: rgba(255, 255, 255, 0.9);
      line-height: 1.7;
      max-width: 300px;
      margin: 0 auto;
    }

    .mobile-grid .card3 p {
      font-size: 1.05rem;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.8;
      max-width: 100%;
    }

    .page-indicators {
      display: none;
      justify-content: center;
      gap: 10px;
      margin-top: 2rem;
      padding: 0 20px;
    }

    .page-indicators .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .page-indicators .dot.active {
      background: rgba(255, 255, 255, 0.9);
      transform: scale(1.3);
    }

    .scroll-indicator {
      display: none;
      text-align: center;
      margin-top: 2rem;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
      animation: fadeInOut 2s ease-in-out infinite;
    }

    @keyframes fadeInOut {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 1; }
    }

    /* Work section */
    .card4 {
      background-color: #E8DAFF;
      border-radius: 32px;
      padding: 3rem 2rem;
      text-align: center;
      max-width: 1000px;
      margin: 80px auto;
      box-shadow: 0 12px 30px rgba(232, 214, 255, 0.3);
    }

    .card4 h1 {
      color: #4D2C7E;
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 800;
      margin-bottom: 1.5rem;
      line-height: 1.2;
    }

    .card4 p {
      font-size: clamp(1rem, 2.5vw, 1.25rem);
      color: #333;
      line-height: 1.7;
      max-width: 800px;
      font-weight: 900;
      margin: 0 auto 2.5rem;
    }

    .buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .buttons button {
      background-color: #4D2C7E;
      color: white;
      border: none;
      padding: 1rem 2rem;
      font-size: 1rem;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      font-weight: 600;
      box-shadow: 0 6px 20px rgba(75, 46, 131, 0.3);
    }

    .buttons button:hover {
      background-color: #6a3ea1;
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(75, 46, 131, 0.4);
    }

    .buttons button svg {
      width: 22px;
      height: 22px;
      fill: white;
      flex-shrink: 0;
    }

    /* Reviews section */
    .review-section {
      text-align: center;
      max-width: 1200px;
      margin: 80px auto;
      width: 100%;
      padding: 0 20px;
    }

    .review-section h2 {
      font-size: clamp(2rem, 4vw, 2.5rem);
      color: #4b2e83;
      font-weight: 800;
      margin-bottom: 3rem;
    }

    .testimonials-container {
      position: relative;
      overflow: hidden;
      padding: 1rem 0 2rem;
      margin-bottom: 1.5rem;
      cursor: grab;
      width: 100%;
    }

    .testimonials-container:active {
      cursor: grabbing;
    }

    .testimonials-wrapper {
      display: flex;
      gap: 1.5rem;
      padding: 0 1rem;
      transition: transform 0.6s ease;
      min-width: fit-content;
    }

    .testimonials-wrapper.dragging {
      transition: none;
    }

    .testimonial {
      background-color: #fff;
      border-radius: 24px;
      padding: 2rem;
      min-width: 380px;
      max-width: 420px;
      flex-shrink: 0;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
      transition: all 0.3s ease;
      user-select: none;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .testimonial:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    }

    .stars {
      color: #fbbf24;
      font-size: 1.5rem;
      margin: 0.75rem 0;
      letter-spacing: 0.25rem;
    }

    .testimonial p {
      font-size: 1.1rem;
      margin-bottom: 1.5rem;
      color: #374151;
      line-height: 1.6;
      font-style: italic;
    }

    .testimonial .name {
      font-weight: 700;
      font-size: 1.15rem;
      color: #4b2e83;
      margin-bottom: 0.25rem;
    }

    .testimonial .role {
      color: #6b7280;
      font-size: 1rem;
      font-weight: 500;
    }

    .dots5 {
      margin-top: 1.5rem;
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .dot5 {
      height: 14px;
      width: 14px;
      background-color: #d1d5db;
      border-radius: 50%;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .dot5.active {
      background-color: #6a3ea1;
      transform: scale(1.3);
    }

    .dot5:hover {
      background-color: #4b2e83;
      transform: scale(1.15);
    }

    /* Footer styles */
    .footer {
      background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
      color: white;
      padding: 4rem 2rem 2rem;
      margin-top: 100px;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2.5rem;
      margin-bottom: 2.5rem;
    }

    .footer-column h3 {
      color: #ffffff;
      font-size: 1.2rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    .footer-brand h3 {
      color: #ffffff;
      font-size: 1.8rem;
      font-weight: 900;
      margin-bottom: 1rem;
    }

    .footer-brand p {
      color: #cbd5e0;
      line-height: 1.7;
      margin-bottom: 1.5rem;
      font-size: 1rem;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 0.875rem;
    }

    .footer-links a {
      color: #e2e8f0;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1rem;
      line-height: 1.6;
    }

    .footer-links a:hover {
      color: #4D2C7E;
      transform: translateX(5px);
    }

    .footer-contact p {
      color: #e2e8f0;
      margin-bottom: 0.75rem;
      font-size: 1rem;
      line-height: 1.6;
    }

    .footer-contact a {
      color: #e2e8f0;
      text-decoration: none;
      font-weight: 600;
    }

    .footer-contact a:hover {
      text-decoration: underline;
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .social-links a {
      color: #e2e8f0;
      font-size: 1.3rem;
      transition: all 0.3s ease;
      padding: 0.75rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
    }

    .social-links a:hover {
      color: #4D2C7E;
      transform: translateY(-3px);
      background: rgba(168, 85, 247, 0.2);
      box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
    }

    .footer-bottom {
      border-top: 1px solid #4a5568;
      padding-top: 1.5rem;
      text-align: center;
    }

    .footer-bottom p {
      color: #a0aec0;
      font-size: 0.95rem;
      margin: 0;
      font-weight: 500;
    }

    /* Mobile Responsive Styles */
    @media (max-width: 768px) {
      /* Header mobile */
      header {
        padding: 1rem;
        border-radius: 20px;
        margin: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
      }

      .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
      }

      .nav-toggle {
        display: block;
      }

      nav {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 1rem 0 0;
        border-top: 1px solid #e5e7eb;
        margin-top: 1rem;
      }

      nav.show {
        display: flex;
      }

      nav a {
        padding: 1rem;
        text-align: center;
        border-radius: 12px;
        margin: 0.25rem 0;
      }

      .login-btn {
        display: none;
      }

      /* Hero mobile */
      .hero {
        padding: 2rem 1rem;
        margin-bottom: 60px;
      }

      /* Cards mobile */
      .cards {
        display: none;
      }

      .cards-scroll {
        display: block;
      }

      .pagination {
        display: block;
      }

      .cards-container {
        margin-bottom: 60px;
      }

      /* Learn section mobile */
      .learn-section {
        padding: 60px 15px;
        margin: 0px 0;
      }
      
      .container {
        padding: 0 15px;
      }
      
      .cards2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 2rem auto 0;
      }
      
      .card2 {
        min-height: 220px;
        padding: 1.5rem;
      }

      .card-header h2 {
        font-size: 1.25rem;
      }

      /* Skills section mobile - FIXED VERSION */
      .skill {
        padding: 60px 15px;
        margin: 0px 0;
      }
      
      .container2 {
        padding: 0 15px;
      }
      
      .skill h1 {
        margin-bottom: 3rem;
      }

      .grid {
        display: none;
      }
      
      .mobile-scroll-container {
        display: block;
        margin: 0 -15px;
        padding: 50px 0 3rem; /* Fixed: Increased top padding */
        overflow-x: auto;
        overflow-y: visible; /* Fixed: Changed from hidden to visible */
      }
      
      .mobile-grid {
        padding: 0 15px;
        gap: 1.25rem;
      }

      .mobile-grid .card3 {
        min-width: 320px;
        max-width: 350px;
        flex-shrink: 0;
        margin-top: 20px; /* Fixed: Added top margin */
        padding: 3.5rem 2rem 2.5rem;
        min-height: 300px;
        scroll-snap-align: center;
        background: #3F2567;
        
        border-radius: 20px;
        position: relative;
        overflow: visible; /* Fixed: Ensure icon is visible */
      }

      .mobile-grid .card3 .icon {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
        font-size: 32px;
        background: #3F2567;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        z-index: 10;
      }
      
      .page-indicators {
        display: flex;
        margin-top: 2rem;
      }
      
      .scroll-indicator {
        display: block;
      }

      /* Work section mobile */
      .card4 {
        padding: 2rem 1.5rem;
        margin: 60px 15px;
        border-radius: 24px;
      }

      .buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }

      .buttons button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
      }

      /* Reviews section mobile */
      .review-section {
        margin: 60px auto;
        padding: 0 15px;
      }

      .testimonials-container {
        padding: 0.5rem 0 1.5rem;
      }

      .testimonials-wrapper {
        gap: 1rem;
        padding: 0 0.5rem;
      }

      .testimonial {
        min-width: 300px;
        max-width: 320px;
        padding: 1.5rem;
      }

      .testimonial p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
      }

      .testimonial .name {
        font-size: 1.05rem;
      }

      .testimonial .role {
        font-size: 0.95rem;
      }

      .dots5 {
        gap: 0.5rem;
        margin-top: 1.25rem;
      }

      .dot5 {
        height: 12px;
        width: 12px;
      }

      /* Footer mobile */
      .footer {
        padding: 3rem 1.5rem 1.5rem;
        margin-top: 80px;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
      }

      .footer-brand {
        text-align: center;
        order: -1;
      }

      .footer-column {
        text-align: center;
      }

      .footer-brand h3 {
        font-size: 1.6rem;
      }

      .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
      }

      .social-links {
        justify-content: center;
        gap: 0.75rem;
      }

      .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
      }
    }

    @media (max-width: 480px) {
      /* Extra small screens */
      .logo {
        font-size: 1.25rem;
      }
    .hero h2 {
  font-family: poppins, sans-serif;
  font-weight: 800;
  font-size: larger;
}
      

      .hero {
        padding: 1.5rem 0.75rem;
        margin-bottom: 40px;
      }

      .cards-horizontal .card {
        min-width: 280px;
        max-width: 280px;
        height: 160px;
      }

      .cards-horizontal {
        gap: 1rem;
      }

      .skill {
        padding: 40px 10px;
        margin: 0px 0;
      }
      
      .container2 {
        padding: 0 10px;
      }
      
      .skill h1 {
        margin-bottom: 2.5rem;
      }

      /* Mobile scroll container fix for extra small screens */
      .mobile-scroll-container {
        margin: 0 -10px;
        padding: 60px 0 2.5rem; /* Fixed: Even more top padding */
      }

      .mobile-grid {
        padding: 0 10px;
        gap: 1rem;
      }

      .mobile-grid .card3 {
        min-width: 300px;
        max-width: 300px;
        margin-top: 25px; /* Fixed: More top margin */
      }

      .mobile-grid .card3 .icon {
        width: 75px; /* Slightly smaller for very small screens */
        height: 75px;
        font-size: 30px;
        top: -37px; /* Adjusted position */
      }

      .card4 {
        border-radius: 20px;
        padding: 1.5rem 1rem;
        margin: 40px 10px;
      }

      .buttons {
        gap: 0.75rem;
      }

      .buttons button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        max-width: 260px;
      }

      .buttons button svg {
        width: 18px;
        height: 18px;
      }

      .testimonials-container {
        padding: 0.25rem 0 1.25rem;
      }

      .testimonials-wrapper {
        gap: 0.75rem;
        padding: 0;
      }

      .testimonial {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
        padding: 1.25rem;
        margin: 0 0.5rem;
      }

      .stars {
        font-size: 1.25rem;
        margin: 0.5rem 0;
      }

      .testimonial p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
      }

      .testimonial .name {
        font-size: 1rem;
      }

      .testimonial .role {
        font-size: 0.9rem;
      }

      .dots5 {
        gap: 0.4rem;
        margin-top: 1rem;
      }

      .dot5 {
        height: 10px;
        width: 10px;
      }

      /* Footer extra small */
      .footer {
        padding: 2.5rem 1rem 1rem;
        margin-top: 60px;
      }

      .footer-container {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
      }

      .footer-brand h3 {
        font-size: 1.4rem;
      }

      .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
      }

      .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
      }
    }

    /* Focus states for accessibility */
    .card3:focus-within {
      outline: 3px solid rgba(255, 255, 255, 0.8);
      outline-offset: 4px;
      transform: translateY(-8px);
    }

    /* Accessibility improvements */
    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      
      .card3:hover {
        transform: none;
      }
      
      .card3:hover .icon {
        transform: translateX(-50%);
      }
      
      .scroll-indicator {
        animation: none;
        opacity: 0.7;
      }
    }

    /* Large screens optimization */
    @media (min-width: 1025px) {
      .pagination {
        display: none !important;
      }
      
      .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
        gap: 4rem;
      }

      .cards {
        gap: 2.5rem;
      }

      .card {
        max-width: 340px;
      }

      .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
      }

      .card3 {
        max-width: 380px;
      }
    }

    @media (min-width: 1400px) {
      .hero {
        padding: 5rem 2rem;
      }

      .main-heading {
        font-size: 4rem;
      }

      .hero h1 {
        font-size: 4rem;
      }
    }

    @media (max-width: 480px) {
      .subheading {
       font-size: 19px;
       font-weight: 800;
      }