/* ==============================
   Responsive Typography
================================= */
/* 4K and ultrawide desktops */
@media (min-width: 1600px) {}

/* Large Tablets / Landscape (992px – 1199px) */
@media (max-width: 1199px) {

   /* Custom Hamburger */
   #navigation_bar .navbar-toggler {
      border: none;
      padding: 0;
      width: 48px;
      height: 48px;
      position: relative;
      background: var(--theme-color);
      border-radius: 10px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      outline: 0;
      box-shadow: unset;
   }

   #navigation_bar .navbar-toggler:focus {
      box-shadow: 0 0 0 3px rgba(11, 102, 106, 0.2);
   }

   #navigation_bar .navbar-toggler:hover {
      background: var(--theme-color);
      transform: scale(1.05);
   }

   #navigation_bar .navbar-toggler-icon {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--white-color);
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      transition: all 0.3s ease;
      border-radius: 2px;
   }

   #navigation_bar .navbar-toggler-icon::before,
   #navigation_bar .navbar-toggler-icon::after {
      content: '';
      display: block;
      width: 24px;
      height: 2px;
      background: var(--white-color);
      position: absolute;
      left: 0;
      transition: all 0.3s ease;
      border-radius: 2px;
   }

   #navigation_bar .navbar-toggler-icon::before {
      top: -7px;
   }

   #navigation_bar .navbar-toggler-icon::after {
      bottom: -7px;
   }

   /* Offcanvas Styles */
   #navigation_bar .offcanvas {
      width: 100% !important;
      max-width: 600px;
      background: var(--white-color);
      border: none;
   }

   #navigation_bar .offcanvas-header {
      background: var(--theme-color);
      padding: 1rem 1.5rem;
      border-bottom: none;
   }

   #navigation_bar .offcanvas-title {
      color: var(--white-color);
      font: var(--sub-heading-font);
      display: flex;
      align-items: center;
      gap: 10px;
   }

   #navigation_bar .btn-close {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      opacity: 1;
      transition: all 0.3s ease;
   }

   #navigation_bar .btn-close:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: rotate(90deg);
   }

   #navigation_bar .offcanvas-body {
      padding: 1.5rem 1rem;
      overflow-y: auto;
      background: #f8f9fa;
   }

   /* Custom Scrollbar */
   #navigation_bar .offcanvas-body::-webkit-scrollbar {
      width: 6px;
   }

   #navigation_bar .offcanvas-body::-webkit-scrollbar-track {
      background: transparent;
   }

   #navigation_bar .offcanvas-body::-webkit-scrollbar-thumb {
      background: #dee2e6;
      border-radius: 10px;
   }

   #navigation_bar .offcanvas-body::-webkit-scrollbar-thumb:hover {
      background: #adb5bd;
   }

   /* Mobile Navigation Links */
   #navigation_bar .mobile-nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
   }

   #navigation_bar .mobile-nav-item {
      margin-bottom: 0.5rem;
   }

   #navigation_bar .mobile-nav-link {
      display: flex;
      align-items: center;
      padding: 1rem 1.2rem;
      background: var(--white-color);
      border: 2px solid transparent;
      border-radius: 12px;
      color: var(--heading-color);
      text-decoration: none;
      font: var(--nav-font);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
   }

   #navigation_bar .mobile-nav-link::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 4px;
      background: var(--primary-color);
      border-radius: 12px 0 0 12px;
      transform: scaleY(0);
      transition: transform 0.3s ease;
   }

   .mobile-nav-link:hover {
      background: var(--white-color);
      border-color: var(--primary-color);
      /* transform: translateX(5px); */
      color: var(--primary-color);
      box-shadow: 0 4px 12px rgba(11, 102, 106, 0.15);
   }

   #navigation_bar .mobile-nav-link.active {
      background: var(--primary-color);
      color: var(--white-color);
      border-color: var(--primary-color);
   }

   #navigation_bar .mobile-nav-link:hover::before {
      transform: scaleY(1);
   }

   #navigation_bar .mobile-nav-link.active::before {
      display: none;
   }

   #navigation_bar .mobile-nav-icon {
      margin-right: 12px;
      font-size: 1.2rem;
   }

   /* Accordion Styles */
   #navigation_bar .accordion {
      --bs-accordion-bg: transparent;
      --bs-accordion-border-color: transparent;
   }

   #navigation_bar .accordion-item {
      background: transparent;
      border: none;
      margin-bottom: 0.5rem;
   }

   #navigation_bar .accordion-button {
      background: var(--white-color);
      border: 2px solid transparent;
      border-radius: 12px !important;
      color: var(--heading-color);
      font: var(--nav-font);
      padding: 1rem 1.2rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
   }

   #navigation_bar .accordion-button::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 4px;
      background: var(--primary-color);
      border-radius: 12px 0 0 12px;
      transform: scaleY(0);
      transition: transform 0.3s ease;
   }

   #navigation_bar .accordion-button:hover {
      border-color: var(--primary-color);
      background: var(--white-color);
      color: var(--primary-color);
      box-shadow: 0 4px 12px rgba(245, 135, 37, 0.15);
   }

   #navigation_bar .accordion-button:not(.collapsed) {
      background: var(--primary-color);
      color: var(--white-color);
      box-shadow: none;
      border-color: var(--primary-color);
   }

   #navigation_bar .accordion-button:not(.collapsed)::before {
      display: none;
   }

   #navigation_bar .accordion-button:hover::before {
      transform: scaleY(1);
   }

   #navigation_bar .accordion-button:focus {
      box-shadow: 0 0 0 3px rgba(245, 135, 37, 0.2);
   }

   #navigation_bar .accordion-button::after {
      transition: transform 0.3s ease;
      background: url(../images/plus.svg);
      height: 30px;
      width: 30px;
      background-size: contain;
   }

   #navigation_bar .accordion-button:not(.collapsed)::after {
      transform: rotate(-180deg);
      background: url(../images/minus.svg);
      height: 30px;
      width: 30px;
      background-size: contain;
   }

   #navigation_bar .accordion-body {
      background: var(--white-color);
      border: 2px solid #e9ecef;
      border-radius: 12px;
      padding: 1rem;
      margin-top: 0.5rem;
   }

   /* Mega Menu Items */
   #navigation_bar .mega-menu-list {
      list-style: none;
      padding: 0;
      margin: 0;
   }

   #navigation_bar .mega-menu-item {
      margin-bottom: 0.8rem;
      animation: slideIn 0.3s ease forwards;
      opacity: 0;
   }

   @keyframes slideIn {
      to {
         opacity: 1;
         transform: translateX(0);
      }
   }

   #navigation_bar .mega-menu-item:nth-child(1) {
      animation-delay: 0.05s;
      transform: translateX(-20px);
   }

   #navigation_bar .mega-menu-item:nth-child(2) {
      animation-delay: 0.1s;
      transform: translateX(-20px);
   }

   #navigation_bar .mega-menu-item:nth-child(3) {
      animation-delay: 0.15s;
      transform: translateX(-20px);
   }

   #navigation_bar .mega-menu-item:nth-child(4) {
      animation-delay: 0.2s;
      transform: translateX(-20px);
   }

   #navigation_bar .mega-menu-item:nth-child(5) {
      animation-delay: 0.25s;
      transform: translateX(-20px);
   }

   #navigation_bar .mega-menu-link {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 12px 12px 15px;
      background: #f8f9fa;
      border: 2px solid transparent;
      border-radius: 10px;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
   }

   #navigation_bar .mega-menu-link:hover {
      background: var(--white-color);
      box-shadow: 0 4px 12px rgba(11, 102, 106, 0.1);
      position: relative;
   }

   #navigation_bar .mega-menu-link:hover:before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: var(--primary-color);
      transform: scaleY(1);
      transition: transform 0.3s ease;
      border-radius: 10px 0 0 10px;
   }

   #navigation_bar .mega-menu-icon {
      width: 40px;
      height: 40px;
      min-width: 40px;
      background: #e5e7eb;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      transition: all 0.3s ease;
   }

   #navigation_bar .mega-menu-link:hover .mega-menu-icon {
      background: var(--primary-color);
      transform: scale(1.1);
   }

   #navigation_bar .mega-menu-link:hover .mega-menu-icon img {
      filter: brightness(0) invert(1);
   }

   #navigation_bar .mega-menu-content {
      flex: 1;
      align-self: center;
   }

   #navigation_bar .mega-menu-title {
      margin-bottom: 4px;
      display: block;
      font: var(--para-font);
      font-weight: 600;
   }

   #navigation_bar .mega-menu-desc {
      font-size: var(--body-font);
      color: var(--para-color);
   }

   #navigation_bar .mega-menu-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: var(--primary-color);
      color: var(--white-color);
      padding: 3px 8px;
      border-radius: 6px;
      font: var(--small-badge-font);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
   }

   #navigation_bar .mega-menu-badge.new {
      background: var(--theme-color);
   }

   #navigation_bar .hire-btn {
      margin-top: 1rem;
      display: inline-block;
      line-height: normal;
      margin-inline: 5px;
      width: 50%;
   }

   /* Social Links */
   #navigation_bar .social-links {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 2px solid #e9ecef;
   }

   #navigation_bar .social-link {
      width: 45px;
      height: 45px;
      background: var(--white-color);
      border: 2px solid #e9ecef;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--heading-color);
      font-size: 1.2rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
   }

   #navigation_bar .social-link:hover {
      background: var(--theme-color);
      border-color: var(--theme-color);
      transform: translateY(-3px);
      color: var(--white-color);
      box-shadow: 0 4px 12px rgba(11, 102, 106, 0.2);
   }

   #navigation_bar .mobile-nav-link.active img,
   #navigation_bar .accordion-button:not(.collapsed) img {
      filter: brightness(0) invert(1);
   }

   #home-banner .mockup-container-staged {
      width: 450px;
      margin: auto;
   }

   #home-banner .tablet-frame {
      right: 20px;
   }

   #home-banner .mobile-frame {
      left: 0;
   }

   #skills .skills-bg:before {
      height: 70px;
      top: 43px;
   }

   #home-about-us .terminal-body {
      width: 100%;
      overflow-x: hidden;
   }

   #home-skills-store .featured-grid {
      grid-template-columns: repeat(1, 1fr);
   }
}

/* Mobile: allow swiper to take control */
@media (max-width: 1023px) {
   .visual-container {
      display: block;
   }
}

/* Tablets Portrait (768px – 991px) */
@media (max-width: 991px) {
   #home-banner .mockup-container-staged {
      transform: scale(1.2);
   }

   #home-banner .comparison-container {
      height: 400px;
   }

   #home-banner .comparison-wrapper {
      width: 100%;
      margin: 3rem 0;
   }

   #home-banner .code-editor {
      overflow-x: hidden;
   }

   #home-banner .home-banner-stat-box {
      min-width: 30%;
   }

   #home-banner .card-title {
      line-height: normal;
   }

   #home-banner .visual-container {
      padding: 70px 0 50px;
      justify-items: center;
   }

   #home-banner .creative-card {
      max-width: 100%;
   }

   #home-banner .feature-pills {
      max-width: 100%;
   }

   #home-banner .card-bottom-right {
      bottom: 20%;
   }

   #home-about-us {
      padding: 2rem 0.5rem;
   }

   #home-about-us .terminal-window {
      max-width: 100%;
      flex-wrap: wrap;
   }

   #home-about-us .terminal-header {
      flex-wrap: wrap;
      justify-content: space-between;
      width: 100%;
      flex-direction: column-reverse;
   }

   #home-about-us .terminal-buttons {
      flex: 0 0 80%;
   }

   #home-about-us .about-us-btn-group {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
   }

   #home-about-us .terminal-window.light-mode .terminal-title {
      text-align: left;
      width: 100%;
   }

   #home-stats .stats-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
   }

   #home-resume {
      padding-inline: 1rem;
   }

   #home-resume .cta-stats {
      flex-wrap: wrap;
      justify-content: center;
   }

   #home-resume .resume-btn-group {
      flex-wrap: wrap;
      justify-content: center;
   }

   #home-resume .cta-features {
      justify-content: center;
      text-align: center;
      width: 100%;
      margin-top: 2rem;
   }

   #home-portfolio .section-header {
      flex-wrap: wrap;
      text-align: center;
   }

   #home-portfolio {
      padding-inline: 1rem;
   }

   #home-portfolio .portfolio-content {
      grid-template-columns: auto;
      gap: 0;
   }

   #home-portfolio .filter-column {
      position: relative;
      top: 0;
   }

   #home-portfolio .filter-container {
      padding: 0;
      box-shadow: none;
      background: transparent;
   }

   #home-portfolio .filter-header {
      display: none;
   }

   /* Convert tabs to dropdown */
   #home-portfolio .filter-tabs {
      position: relative;
   }

   /* Dropdown Trigger */
   #home-portfolio .filter-tabs::before {
      content: attr(data-selected);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 20px;
      background: var(--white-color);
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      cursor: pointer;
      font-size: 1rem;
      font-weight: 700;
      color: var(--heading-color);
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
   }

   #home-portfolio .filter-tabs::after {
      content: '';
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      background: var(--theme-color);
      border-radius: 8px;
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      pointer-events: none;
   }

   /* Arrow Icon */
   #home-portfolio .filter-tabs::after {
      content: '▼';
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--white-color);
      font-size: 12px;
   }

   /* Open State */
   #home-portfolio .filter-tabs.open::before {
      background: linear-gradient(135deg, var(--theme-color) 0%, #0a5558 100%);
      color: var(--white-color);
   }

   #home-portfolio .filter-tabs.open::after {
      background: var(--white-color);
      color: var(--theme-color);
      transform: translateY(-50%) rotate(180deg);
      right: 30px;
      top: 8.4%;
   }

   /* Hide tabs by default */
   #home-portfolio .filter-tab {
      display: none;
      opacity: 0;
      transform: translateY(-10px);
      animation: none;
   }

   /* Show tabs when open */
   #home-portfolio .filter-tabs.open .filter-tab {
      display: flex;
      animation: slideIn 0.3s ease forwards;
   }

   #home-portfolio .filter-tabs.open .filter-tab:nth-child(1) {
      animation-delay: 0.05s;
   }

   #home-portfolio .filter-tabs.open .filter-tab:nth-child(2) {
      animation-delay: 0.1s;
   }

   #home-portfolio .filter-tabs.open .filter-tab:nth-child(3) {
      animation-delay: 0.15s;
   }

   #home-portfolio .filter-tabs.open .filter-tab:nth-child(4) {
      animation-delay: 0.2s;
   }

   #home-portfolio .filter-tabs.open .filter-tab:nth-child(5) {
      animation-delay: 0.25s;
   }

   @keyframes slideIn {
      to {
         opacity: 1;
         transform: translateY(0);
      }
   }

   /* Dropdown menu container */
   #home-portfolio .filter-tabs.open {
      background: var(--white-color);
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      padding: 10px 15px 20px 15px;
      padding-top: 20px;
   }

   /* Adjust filter tabs in dropdown */
   #home-portfolio .filter-tabs .filter-tab {
      margin-bottom: 10px;
      border-radius: 12px;
      padding: 14px 16px;
   }

   #home-portfolio .filter-tab-icon {
      width: 38px;
      height: 38px;
      border-radius: 8px;
   }

   #home-portfolio .filter-tab-icon svg {
      width: 20px;
      height: 20px;
   }

   #home-portfolio .filter-tab-label {
      font-size: 0.95rem;
   }

   #home-portfolio .filter-tab-desc {
      font-size: 0.75rem;
   }

   #home-portfolio .filter-tab-count {
      width: 28px;
      height: 28px;
      font-size: 0.8rem;
   }

   #home-skills-store .main-container {
      grid-template-columns: 1fr;
   }

   #home-skills-store .sidebar {
      display: none;
   }

   /* Dropdown Container */
   #home-skills-store .category-dropdown-wrapper {
      position: relative;
      margin-bottom: 1.5rem;
   }

   /* Dropdown Trigger */
   #home-skills-store .category-dropdown-wrapper::before {
      content: attr(data-selected);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      background: var(--white-color);
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      cursor: pointer;
      font-size: 1rem;
      font-weight: 700;
      color: var(--heading-color);
      transition: all 0.3s ease;
   }

   #home-skills-store .category-dropdown-wrapper::after {
      content: '▼';
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: var(--theme-color);
      color: var(--white-color);
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      transition: all 0.3s ease;
   }

   /* Open State */
   #home-skills-store .category-dropdown-wrapper.open::before {
      background: linear-gradient(135deg, var(--theme-color), #0a5558);
      color: var(--white-color);
      margin-bottom: 1rem;
   }

   #home-skills-store .category-dropdown-wrapper.open::after {
      background: var(--white-color);
      color: var(--theme-color);
      transform: translateY(-50%) rotate(180deg);
      top: 10.5%;
      right: 10%;
   }

   /* Hidden by default */
   #home-skills-store .category-item {
      display: none;
      opacity: 0;
      transform: translateY(-10px);
      animation: none;
   }

   /* Shown when open */
   #home-skills-store .category-dropdown-wrapper.open .category-item {
      display: flex;
      animation: slideIn 0.25s ease forwards;
   }

   #home-skills-store .category-dropdown-wrapper.open .category-item:nth-child(1) {
      animation-delay: 0.05s;
   }

   #home-skills-store .category-dropdown-wrapper.open .category-item:nth-child(2) {
      animation-delay: 0.1s;
   }

   #home-skills-store .category-dropdown-wrapper.open .category-item:nth-child(3) {
      animation-delay: 0.15s;
   }

   #home-skills-store .category-dropdown-wrapper.open .category-item:nth-child(4) {
      animation-delay: 0.2s;
   }

   #home-skills-store .category-dropdown-wrapper.open .category-item:nth-child(5) {
      animation-delay: 0.25s;
   }

   @keyframes slideIn {
      to {
         opacity: 1;
         transform: translateY(0);
      }
   }

   /* Dropdown Menu Style */
   #home-skills-store .category-dropdown-wrapper.open {
      background: var(--white-color);
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      padding: 12px 15px 20px 15px;
      margin-bottom: 1.5rem;
   }

   #home-skills-store .category-dropdown-wrapper .category-item {
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 12px;
      transition: background 0.3s ease;
   }

   #home-skills-store .category-dropdown-wrapper .category-item:hover {
      background: var(--gray-bg);
   }

   #home-skills-store .category-dropdown-wrapper .category-item.active {
      background: var(--primary-color);
      color: var(--white-color);
   }

   #home-skills-store .category-dropdown-wrapper .category-item img {
      width: 24px;
      height: 24px;
   }

   .section-title {
      text-align: center;
   }

   #home-blog {
      padding-top: 0;
   }

   /* Hide default tabs */
   #videoTabs,
   #videoTabsContent {
      display: none !important;
   }

   /* Accordion Wrapper */
   #videoAccordion {
      display: block;
      margin: 2rem 0;
   }

   #videoAccordion .accordion-button {
      font-size: 16px;
      font-weight: 600;
   }

   #home-tutorials .filter-tabs-container {
      display: none;
   }

   #home-tutorials .sidebar-card-row {
      gap: 0 2rem;
   }

   /* ============================================================
   PREMIUM MODERN ACCORDION — FOR HOME TUTORIALS
   ============================================================ */
   #home-tutorials #videoAccordion {
      display: block;
      margin: 2rem 0;
   }

   /* ✅ Accordion Card */
   #home-tutorials #videoAccordion .accordion-item {
      border: none;
      border-radius: 24px;
      margin-bottom: 18px;
      overflow: hidden;
      background: var(--white-color);
      box-shadow: 0 10px 35px rgba(11, 102, 106, 0.12);
      transition: all 0.4s ease;
      position: relative;
   }

   /* Hover effect — premium smooth lift */
   #home-tutorials #videoAccordion .accordion-item:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 45px rgba(11, 102, 106, 0.18);
   }

   /* ✅ Header Button */
   #home-tutorials #videoAccordion .accordion-button {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 26px;
      border-radius: 24px !important;
      background: linear-gradient(135deg,
            var(--body-color) 0%,
            rgba(245, 135, 37, 0.06) 100%);
      font: var(--small-heading-font);
      color: var(--heading-color);
      box-shadow: none !important;
      border: none;
      transition: all 0.35s ease;
   }

   /* Remove bootstrap arrow */
   #home-tutorials #videoAccordion .accordion-button::after {
      display: none;
   }

   /* ✅ Left Icon & Title Stack */
   #home-tutorials .acc-left {
      display: flex;
      align-items: center;
      gap: 14px;
      width: 100%;
   }

   #home-tutorials .acc-left i {
      width: 48px;
      height: 48px;
      background: var(--theme-color);
      border-radius: 14px;
      color: var(--white-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      transition: 0.3s ease;
   }

   #home-tutorials .acc-left span {
      font: var(--btn-font);
      font-weight: 700;
      color: var(--heading-color);
   }

   /* ✅ Right Plus Icon */
   #home-tutorials .acc-icon {
      font-size: 40px;
      font-weight: 800;
      width: 32px;
      height: 32px;
      color: var(--primary-color);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.35s ease;
   }

   /* ✅ OPEN STATE */
   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) {
      background: linear-gradient(135deg,
            var(--theme-color),
            #084f52);
      color: var(--white-color);
      padding-top: 22px;
      padding-bottom: 22px;
   }

   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) .acc-left i {
      background: var(--primary-color);
   }

   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) .acc-left span,
   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) .acc-left button {
      color: var(--white-color);
   }

   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) .acc-icon {
      color: var(--white-color);
      transform: rotate(180deg);
   }

   /* ✅ Body Area */
   #home-tutorials #videoAccordion .accordion-body {
      padding: 26px;
      background: var(--white-color);
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      animation: fadeSlide 0.35s ease;
      border-radius: 0 0 24px 24px;
   }

   @keyframes fadeSlide {
      from {
         opacity: 0;
         transform: translateY(12px);
      }

      to {
         opacity: 1;
         transform: translateY(0);
      }
   }


   #home-tutorials .acc-left button {
      border: 0;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 1rem;
   }

   /* ✅ ACC ICON BOX (your existing container) */
   #home-tutorials .acc-icon {
      position: relative;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
   }

   /* ✅ PLUS ICON (default) */
   #home-tutorials .acc-icon::before,
   #home-tutorials .acc-icon::after {
      content: "";
      position: absolute;
      background-color: var(--primary-color);
      transition: 0.3s ease;
      border-radius: 2px;
   }

   /* Vertical line of PLUS */
   #home-tutorials .acc-icon::before {
      width: 3px;
      height: 22px;
   }

   /* Horizontal line of PLUS */
   #home-tutorials .acc-icon::after {
      width: 22px;
      height: 3px;
   }

   /* ✅ WHEN OPEN → MINUS ICON (remove vertical bar) */
   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) .acc-icon::before {
      height: 0;
      /* disappears, leaving minus */
   }

   #home-tutorials #videoAccordion .accordion-button:not(.collapsed) .acc-icon::after {
      background-color: var(--white-color);
      /* white minus icon */
   }

   #home-tutorials .social-buttons {
      grid-template-columns: repeat(2, 1fr);
   }

   #home-tutorials .copy-link-wrapper {
      flex-wrap: wrap;
      justify-content: center;
   }

   #home-tutorials .modal-content {
      width: 100%;
   }

   .section-para-center {
      max-width: 100%;
   }

   .section-para-left {
      max-width: 100%;
   }

   #home-tutorials .section-title {
      padding: 50px 20px;
   }

   #home-source-code .cta-content-wrapper {
      grid-template-columns: 1fr;
      gap: 50px;
      padding: 50px 40px;
   }

   #home-source-code .cta-stats-grid {
      grid-template-columns: repeat(3, 1fr);
   }

   #home-source-code .cta-visual-grid {
      max-width: 100%;
   }

   #home-source-code .bento-grid {
      gap: 24px;
   }

   #home-source-code .bento-large,
   #home-source-code .bento-medium,
   #home-source-code .bento-small {
      grid-column: span 6;
   }

   #home-source-code .bento-image {
      height: 280px;
   }

   #home-source-code .bento-large .bento-image {
      height: 320px;
   }

   #home-source-code .bento-content {
      padding: 28px;
   }

   #home-source-code .bento-large .bento-content {
      padding: 32px;
   }

   #home-faq .faq-cta-actions .secondary-btn {
      margin: auto;
   }

   #home-contact {
      padding: 70px 0;
   }

   #home-contact .contact-form-side,
   #home-contact .contact-info-side {
      padding: 50px 40px;
   }

   #home-cta-2 .cta-main-container {
      padding: 60px 40px;
   }

   #home-cta-2 .cta-stats-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}



/* Mobile Landscape (576px – 767px) */
@media (max-width: 767px) {
   #newsletter {
      padding: 10px 0;
   }

   #newsletter .newsletter-container {
      padding: 40px 24px;
      border-radius: 16px;
   }

   #newsletter .newsletter-form {
      flex-direction: column;
      border-radius: 16px;
   }

   #newsletter .newsletter-submit-btn {
      width: 100%;
      justify-content: center;
      padding: 16px 32px;
   }

   #newsletter .newsletter-stats {
      gap: 24px;
      flex-wrap: wrap;
   }

   #newsletter .stat-item {
      flex: 1 1 40%;
   }

   #newsletter .newsletter-features {
      flex-direction: column;
      gap: 16px;
   }

   #newsletter .feature-item {
      justify-content: center;
   }

   #newsletter .newsletter-decorative,
   #newsletter .newsletter-decorative-2 {
      display: none;
   }

   #footer {
      padding-inline: 2rem;
   }

   #footer .footer-links a {
      padding-left: 0;
   }

   #footer .footer-main {
      padding: 60px 0 30px;
   }

   #footer .footer-brand {
      text-align: center;
   }

   #footer .footer-description {
      max-width: 100%;
   }

   #footer .footer-title::after {
      left: 7%;
      transform: translateX(-50%);
   }

   #footer .footer-bottom-links {
      justify-content: center;
      gap: 20px;
   }

   #footer .social-links {
      justify-content: center;
   }

   #footer .shape-1,
   #footer .shape-2 {
      display: none;
   }

   #home-banner .btn-group-hero {
      gap: 1.5rem;
      flex-wrap: wrap;
      justify-content: start;
   }

   #home-banner .secondary-btn {
      margin-inline-start: 0;
   }

   #home-banner .mockup-container-staged {
      transform: scale(0.8);
      height: 450px;
      width: 360px;
      margin-top: 3rem;
   }

   #home-banner .desktop-frame {
      transform: translateX(-8%);
      position: static;
      height: 510px;
   }

   #home-banner .tablet-frame {
      right: 0;
      width: 180px;
   }

   #home-banner .mobile-frame {
      left: 0;
   }

   #home-banner .home-banner-stats-list {
      flex-wrap: wrap;
      gap: 1rem;
   }

   #home-banner .visual-container {
      padding-inline: 0;
      grid-template-columns: repeat(2, 1fr);
      justify-items: center;
      gap: 10px;
   }

   #home-banner .card-bottom-right,
   #home-banner .card-top-left,
   #home-banner .card-top-right {
      width: 100px;
      padding: 10px;
   }

   #home-banner .card-icon-circle {
      width: 30px;
      height: 30px;
   }

   #home-banner .card-icon-circle img {
      height: 20px;
      width: 20px;
   }

   .swiper-horizontal>.swiper-pagination-bullets,
   .swiper-pagination-bullets.swiper-pagination-horizontal,
   .swiper-pagination-custom,
   .swiper-pagination-fraction {
      bottom: 3%;
   }

   #home-skills .skills-bg:before {
      height: 80px;
      top: 39px;
   }

   #home-stats .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      max-width: 500px;
      margin: 50px auto 0;
   }

   /* Make last item span both columns and appear larger */
   #home-stats .stats-grid>*:last-child {
      grid-column: 1 / span 2;
      transform: scale(1.05);
      padding: 1.5rem 3rem;
   }

   /* Optional: Add smooth animation for transition */
   #home-stats .stats-grid>* {
      transition: all 0.3s ease;
   }

   /* Center the last item content nicely */
   #home-stats .stats-grid>*:last-child {
      justify-self: center;
      text-align: center;
   }

   #home-portfolio .project-info-row {
      flex-wrap: wrap;
      flex-direction: column;
   }

   #home-stats .section-title {
      max-width: 90%;
      margin: auto;
   }

   #home-cta-1 .cta-1-btn-group {
      flex-wrap: nowrap;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: auto;
   }

   #home-tips-tricks .card-img-overlay {
      top: 30px;
   }

   #home-tips-tricks .card {
      min-height: clamp(450px, 50vh, 550px);
   }


   #home-tips-tricks .right-column .card-image {
      border-radius: 20px 20px 0px 0px;
   }

   #home-source-code .cta-content-wrapper {
      padding: 40px 30px;
      gap: 40px;
   }

   #home-source-code .cta-stats-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
   }

   #home-source-code .cta-stat-box {
      padding: 16px 12px;
   }

   #home-source-code .cta-stat-box strong {
      font-size: 1.3rem;
   }

   #home-source-code .cta-button {
      width: 100%;
      justify-content: center;
   }

   #home-source-code .cta-visual-grid {
      gap: 16px;
   }

   #home-source-code .cta-visual-card:nth-child(2),
   #home-source-code .cta-visual-card:nth-child(3) {
      min-height: 160px;
   }

   #home-source-code .bento-grid {
      gap: 20px;
   }

   #home-source-code .bento-large,
   #home-source-code .bento-medium,
   #home-source-code .bento-small {
      grid-column: span 12;
   }

   #home-source-code .bento-image {
      height: 240px;
   }

   #home-source-code .bento-large .bento-image {
      height: 260px;
   }

   #home-source-code .bento-content {
      padding: 24px;
   }

   #home-source-code .bento-large .bento-content {
      padding: 28px;
   }

   #home-source-code .bento-footer {
      flex-direction: column;
      gap: 16px;
      align-items: flex-start;
   }

   #home-source-code .code-stats {
      width: 100%;
   }

   #home-cta-2 {
      padding: 60px 0;
   }

   #home-cta-2 .cta-main-container {
      padding: 50px 25px;
      border-radius: 20px;
   }





   #home-cta-2 .cta-stats-grid {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   #home-cta-2 .cta-stat-item::after {
      display: none;
   }

   #home-cta-2 .bg-shape-1,
   #home-cta-2 .bg-shape-2,
   #home-cta-2 .bg-shape-3,
   #home-cta-2 .bg-shape-4 {
      opacity: 0.03;
   }

   #home-cta-2 .corner-decoration {
      width: 40px;
      height: 40px;
   }

   #home-cta-2 .bg-lines-pattern {
      display: none;
   }

   #home-cta .home-cta-container {
      padding: 60px 10px;
   }

   #home-cta .secondary-btn {
      margin: auto;
   }

   #home-skills-store .content-area {
      padding: 30px 20px;
   }

   #home-cta-1 .cta-card {
      padding-inline: 20px;
   }

   #home-cta-2 .cta-2-actions {
      flex-wrap: wrap;
   }

   #home-cta-2 .cta-2-actions a.secondary-btn {
      margin: auto;
   }

   #home-contact .phone-wrapper {
      flex-direction: column;
      gap: 10px;
      flex-wrap: wrap;
   }

   #home-contact .country-selected {
      height: auto;
   }

   #home-contact .country-selector {
      flex: 0;
   }



   #home-source-code .cta-left {
      text-align: center;
   }

   #home-source-code {
      padding-bottom: 0;
   }

   #home-skills-store .skill-store-wrapper {
      max-width: 100%;
      padding: 0 10px;
   }
}

/* Mobile Portrait (≤575px) */
@media (max-width: 575px) {
   #home-source-code .cta-content-wrapper {
      padding: 35px 25px;
      gap: 35px;
   }

   #home-source-code .cta-badge {
      font-size: 0.65rem;
      padding: 8px 18px;
   }

   #home-source-code .cta-card h3 {
      font-size: 1.4rem;
   }

   #home-source-code .cta-card p {
      font-size: 0.95rem;
   }

   #home-source-code .cta-stats-grid {
      grid-template-columns: 1fr;
      gap: 12px;
   }

   #home-source-code .cta-button {
      padding: 14px 28px;
      font-size: 0.9rem;
   }

   #home-source-code .cta-visual-grid {
      grid-template-columns: 1fr;
      gap: 12px;
   }

   #home-source-code .cta-visual-card:nth-child(1) {
      grid-column: span 1;
   }

   #home-source-code .cta-visual-card:nth-child(2),
   #home-source-code .cta-visual-card:nth-child(3) {
      min-height: 140px;
   }

   #home-source-code .cta-visual-icon {
      width: 60px;
      height: 60px;
      font-size: 28px;
   }

   #home-source-code .bento-grid {
      gap: 16px;
   }

   #home-source-code .icon-btn {
      width: 42px;
      height: 42px;
      font-size: 16px;
   }

   #home-source-code .bento-image {
      height: 220px;
   }

   #home-source-code .bento-content {
      padding: 20px;
   }

   #home-source-code .code-badges {
      gap: 8px;
   }

   #home-source-code .code-badge {
      padding: 6px 14px;
      font-size: 0.65rem;
   }
}

/* Mobile Portrait (≤398px) */
@media (max-width: 398px) {
   #home-banner .mockup-container-staged {
      transform: scale(0.6);
      width: 100%;
   }

   #home-banner .desktop-frame {
      transform: translateX(-20%);
   }

   #home-banner .tablet-frame {
      right: -60px;
   }

   #home-banner .mobile-frame {
      left: -60px;
   }
}

/* Landscape Mode Fix (any device) */
@media (orientation: landscape) {}