/* ============================================
   ITA Core - Unified Navigation & Footer System
   Based on your existing header/footer structure
   ============================================ */

:root {
    --ita-primary: #2563eb;
    --ita-primary-dark: #1d4ed8;
    --ita-secondary: #7c3aed;
    --ita-accent: #06b6d4;
    --ita-dark: #0f172a;
    --ita-light: #f8fafc;
    --ita-gray: #64748b;
    --ita-gray-light: #f1f5f9;
    --ita-white: #ffffff;
    --ita-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --ita-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --ita-radius: 12px;
    --ita-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ita-g-glass: rgb(225, 255, 255);
    --ita-border: 1px solid rgba(226, 232, 240, 0.6);
    --ita-gradient-start: #00d4ff;
    --ita-gradient-end: #6a11cb;
    --ita-gradient: linear-gradient(90deg, var(--ita-gradient-start), var(--ita-gradient-end));
    --itaw-transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ita-dark);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

.ita-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION - Complete from your code
   ============================================ */

.ita-header {
    background: var(--ita-g-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--ita-transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    
}

.ita-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.ita-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

/* Logo */
.ita-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 24px;
    color: var(--ita-dark);
    z-index: 1001;
    position: relative;
    padding: 4px 0;
}

.ita-logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ita-logo-img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.ita-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 36px;
}

.ita-menu-item {
    position: relative;
}

.ita-menu-link {
    text-decoration: none;
    color: var(--ita-dark);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 0;
    position: relative;
    transition: var(--ita-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ita-menu-link:hover {
    color: var(--ita-primary);
}

.ita-menu-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ita-primary), var(--ita-secondary));
    transition: var(--ita-transition);
    border-radius: 2px;
}

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

.ita-menu-item.active .ita-menu-link::after {
    width: 100%;
}

/* Caret Animation */
.ita-has-submenu .ita-menu-link i {
    font-size: 12px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ita-has-submenu:hover .ita-menu-link i {
    transform: rotate(180deg);
}

/* Submenu Container */
.ita-submenu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--ita-transition);
    z-index: 999;
    padding-top: 12px;
    pointer-events: none;
}

.ita-has-submenu:hover .ita-submenu-container {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Services Megamenu */
.ita-services-menu {
    background: var(--ita-g-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--ita-radius);
    box-shadow: var(--ita-shadow);
    border: var(--ita-border);
    width: 760px;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--ita-primary) var(--ita-gray-light);
}

.ita-services-menu::-webkit-scrollbar {
    width: 6px;
}

.ita-services-menu::-webkit-scrollbar-track {
    background: var(--ita-gray-light);
    border-radius: 10px;
}

.ita-services-menu::-webkit-scrollbar-thumb {
    background: var(--ita-primary);
    border-radius: 10px;
}

.ita-services-menu::-webkit-scrollbar-thumb:hover {
    background: var(--ita-primary-dark);
}

.ita-service-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    transition: var(--ita-transition);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    background: var(--ita-white);
    box-shadow: var(--ita-shadow-light);
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.ita-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ita-primary), var(--ita-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left center;
}

.ita-service-item:hover {
    transform: translateY(-4px);
    border-color: var(--ita-primary);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}

.ita-service-item:hover::before {
    transform: scaleX(1);
}

.ita-service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ita-primary);
    font-size: 22px;
    margin-bottom: 16px;
    transition: var(--ita-transition);
}

.ita-service-item:hover .ita-service-icon {
    background: linear-gradient(135deg, var(--ita-primary), var(--ita-secondary));
    color: white;
    transform: rotate(15deg);
}

.ita-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ita-nav-service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ita-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.ita-service-desc {
    font-size: 13px;
    color: var(--ita-gray);
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 0;
}

/* Blog Megamenu */
.ita-blog-menu {
    background: var(--ita-g-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--ita-radius);
    box-shadow: var(--ita-shadow);
    border: var(--ita-border);
    width: 800px;
    padding: 28px;
}

.ita-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.ita-blog-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ita-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ita-blog-title i {
    color: var(--ita-primary);
}

.ita-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.ita-blog-item {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--ita-transition);
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--ita-white);
    box-shadow: var(--ita-shadow-light);
    border: 1px solid transparent;
}

.ita-blog-item:hover {
    transform: translateY(-4px);
    border-color: var(--ita-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ita-blog-content {
    padding: 20px;
}

.ita-blog-post-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ita-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
   
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ita-blog-excerpt {
    font-size: 14px;
    color: var(--ita-gray);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ita-blog-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--ita-primary);
    font-weight: 600;
}

.ita-blog-meta i {
    margin-right: 6px;
    font-size: 12px;
}

/* Button Styles */
.ita-btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--ita-transition);
    border: 2px solid var(--ita-primary);
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: var(--ita-white);
}

.ita-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ita-primary), var(--ita-secondary));
    z-index: -1;
    transition: width 0.5s ease;
}

.ita-btn:hover::before {
    width: 0;
}

.ita-btn:hover {
    color: var(--ita-primary);
    border-color: var(--ita-primary);
}

.ita-btn-secondary {
    background: var(--ita-white);
    color: var(--ita-primary);
    border-color: var(--ita-primary);
}

.ita-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--ita-primary), var(--ita-secondary));
    transition: width 0.5s ease;
    z-index: -1;
}

.ita-btn-secondary:hover::before {
    width: 100%;
}

.ita-btn-secondary:hover {
    color: var(--ita-white);
    background: transparent;
}

.ita-btn-pulse{
    animation: itaPulse 2.5s infinite;
}

@keyframes itaPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}


/* WhatsApp button */
.itaw-whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  animation: itaw-whatsapp-pulse 2s infinite;
}

.itaw-whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 10px 30px rgba(18, 140, 126, 0.5);
  border-color: rgba(255,255,255,0.3);
}

/* Notification badge (red circle with "1") */
.itaw-whatsapp-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  border: 2px solid white;
  z-index: 102;
  pointer-events: none;
  animation: badge-pulse 1.5s infinite ease-in-out;
}

@keyframes badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); box-shadow: 0 4px 8px rgba(255,68,68,0.5); }
  100% { transform: scale(1); }
}

.itaw-whatsapp-float:hover .itaw-whatsapp-badge {
  animation: none;
  transform: scale(1.2);
  background: #cc0000;
}

/* Hover label "WhatsApp Us" */
.itaw-whatsapp-label {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #25D366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, right 0.3s ease;
  z-index: 101;
  border: 1px solid rgba(255,255,255,0.2);
}

.itaw-whatsapp-label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #25D366;
}

.itaw-whatsapp-float:hover .itaw-whatsapp-label {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

.itaw-whatsapp-float:hover .itaw-whatsapp-label::after {
  border-left-color: #128C7E;
}

/* Button pulse animation */
@keyframes itaw-whatsapp-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.9);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .itaw-whatsapp-badge {
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }
  .itaw-whatsapp-label {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: -45px;
  }
  .itaw-whatsapp-label::after {
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    top: auto;
    bottom: -8px;
    border-color: #25D366 transparent transparent transparent;
  }
  .itaw-whatsapp-float:hover .itaw-whatsapp-label {
    right: auto;
    top: -48px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .itaw-whatsapp-float,
  .itaw-whatsapp-badge {
    animation: none !important;
  }
  .itaw-whatsapp-float:hover {
    transform: scale(1.05) rotate(2deg);
  }
  .itaw-whatsapp-float:hover .itaw-whatsapp-badge {
    transform: scale(1);
  }
}


/* Mobile Toggle */
.ita-mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--ita-primary);
    font-size: 20px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--ita-transition);
    position: relative;
    flex-shrink: 0;
}

.ita-mobile-toggle:hover {
    background: linear-gradient(135deg, var(--ita-primary), var(--ita-secondary));
    color: white;
}

.ita-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 998;
    display: none;
    animation: itaFadeIn 0.3s ease;
}

@keyframes itaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   FOOTER - Complete from your code
   ============================================ */

.ita-footer-section {
    background-color: #0a0e2a;
    width: 100%;
    border-top: 4px solid #00ffff;
    box-shadow: 0 -10px 30px rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.ita-footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.ita-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ita-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0 40px;
}

/* Brand Column */
.ita-footer-website {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ita-footer-website a {
    display: inline-block;
    margin-bottom: 25px;
}

.ita-footer-website img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease; 
}

.ita-footer-website img:hover {
    transform: translateY(-3px);
}

.ita-website-text {
    color: #b0b8d0;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
    text-align: left;
}

.ita-footer-cta {
    background: linear-gradient(90deg, #00d4ff, #6a11cb);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.ita-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(90deg, #6a11cb, #00d4ff);
}

/* Links Column */
.ita-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ita-links-topic {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.ita-links-topic::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #6a11cb);
    border-radius: 2px;
}

.ita-footer-links ul {
    list-style: none;
    width: 100%;
}

.ita-footer-links li {
    margin-bottom: 12px;
}

.ita-footer-links a {
    color: #b0b8d0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.ita-footer-links a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.ita-footer-links a::before {
    content: '▸';
    color: #00d4ff;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ita-footer-links a:hover::before {
    opacity: 1;
     margin-right: 10px;
     
}

/* Contact Column */
.ita-footer-address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ita-address-topic {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.ita-address-topic::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #6a11cb);
    border-radius: 2px;
}

.ita-address-subtopic {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.ita-footer-address p:not(.ita-address-topic):not(.ita-address-subtopic) {
    color: #b0b8d0;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.6;
}

.ita-footer-address p i {
    margin-right: 12px;
    color: #00d4ff;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.ita-address-number, .ita-address-email, .ita-address {
    transition: all 0.3s ease;
}

.ita-address-number:hover, .ita-address-email:hover {
    color: #00d4ff;
}

/* Social Media Links */
.ita-social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.ita-social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ita-social-media a:hover {
    background: linear-gradient(90deg, #00d4ff, #6a11cb);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Footer Bottom */
.ita-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.ita-copyright {
    color: #8a94b3;
    font-size: 0.95rem;
}

.ita-footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.ita-footer-policies a {
    color: #8a94b3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.ita-footer-policies a:hover {
    color: #00d4ff;
}

/* Back to Top Button */
.ita-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 2rem;
    width: 2rem;
    height: 60px;
    background: linear-gradient(90deg, #00d4ff, #6a11cb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

.ita-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.ita-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .ita-menu { gap: 28px; }
    .ita-services-menu { width: 720px; }
    .ita-blog-menu { width: 780px; }
}

@media (max-width: 992px) {
    .ita-menu { gap: 20px; }
    .ita-services-menu { width: 640px; grid-template-columns: repeat(2, 1fr); }
    .ita-blog-menu { width: 700px; }
    .ita-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile View */
@media (max-width: 768px) {
   /* ============================================
MOBILE RESPONSIVE STYLES - Fixed Menu (No Overflow)
============================================ */

@media (max-width: 992px) {

    .ita-header {
        padding: 0 20px;
    }
    .ita-menu {
        gap: 20px;
    }
    .ita-services-menu {
        width: 640px;
        grid-template-columns: repeat(2, 1fr);
    }
    .ita-blog-menu {
        width: 700px;
    }
    .ita-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal scrolling on the entire site */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
    
    .ita-container {
        overflow-x: hidden;
    }
    
    .ita-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ita-menu-close {
        display: block;
    }

    /* Completely hide the menu from layout when closed */
    .ita-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--ita-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 40px;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        gap: 0;
        -webkit-overflow-scrolling: touch;
        /* These properties prevent the browser from recognizing the element as scrollable space */
        visibility: hidden;
        opacity: 0;
    }

    .ita-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    /* Prevent horizontal scroll when menu is open */
    html.menu-open,
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none;
        left: 0;
        right: 0;
    }

    /* Add a wrapper to contain everything */
    .site-wrapper {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .ita-menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(226, 232, 240, 0.3);
        padding: 0;
        margin: 0;
    }

    .ita-menu-link {
        padding: 16px 0;
        width: 100%;
        justify-content: space-between;
        white-space: normal;
        word-wrap: break-word;
    }

    .ita-menu-link::after {
        display: none;
    }

    .ita-has-submenu .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .ita-has-submenu.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Mobile Submenus */
    .ita-submenu-container {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        padding: 0;
        display: none;
        width: 100%;
        pointer-events: auto;
        margin: 0;
        animation: itaSlideDown 0.3s ease;
        left: auto !important;
        top: auto !important;
        box-shadow: none;
        background: transparent;
    }

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

    .ita-has-submenu.active .ita-submenu-container {
        display: block;
    }

    .ita-services-menu {
        width: 100% !important;
        padding: 20px;
        max-height: none;
        grid-template-columns: 1fr !important;
        gap: 16px;
        background: var(--ita-gray-light);
        border-radius: 8px;
        margin: 8px 0;
        overflow-y: visible;
    }

    .ita-service-item {
        padding: 16px;
        min-height: auto;
        width: 100%;
    }

    .ita-blog-menu {
        width: 100% !important;
        padding: 20px;
        max-height: none;
        background: var(--ita-gray-light);
        border-radius: 8px;
        margin: 8px 0;
    }

    .ita-blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .ita-blog-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .ita-blog-item {
        background: var(--ita-white);
        width: 100%;
    }

    /* Animation for menu items */
    .ita-menu.active .ita-menu-item {
        animation: slideIn 0.3s ease forwards;
        opacity: 0;
    }

    .ita-menu.active .ita-menu-item:nth-child(1) { animation-delay: 0.05s; }
    .ita-menu.active .ita-menu-item:nth-child(2) { animation-delay: 0.1s; }
    .ita-menu.active .ita-menu-item:nth-child(3) { animation-delay: 0.15s; }
    .ita-menu.active .ita-menu-item:nth-child(4) { animation-delay: 0.2s; }
    .ita-menu.active .ita-menu-item:nth-child(5) { animation-delay: 0.25s; }
    .ita-menu.active .ita-menu-item:nth-child(6) { animation-delay: 0.3s; }
    .ita-menu.active .ita-menu-item:nth-child(7) { animation-delay: 0.35s; }
    .ita-menu.active .ita-menu-item:nth-child(8) { animation-delay: 0.4s; }

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

    
    
    /* Footer Mobile */
    .ita-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
        padding: 40px 0 30px;
    }
    
    .ita-footer-website, .ita-footer-links, .ita-footer-address {
        align-items: center;
        text-align: center;
    }
    
    .ita-website-text { text-align: center; }
    
    .ita-links-topic::after, .ita-address-topic::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ita-footer-links ul { padding: 0; }
    .ita-footer-links a { justify-content: center; }
    .ita-footer-links a::before { display: none; }
    
    .ita-footer-address p:not(.ita-address-topic):not(.ita-address-subtopic) {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .ita-footer-address p i {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .ita-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    @media (max-width: 768px) {
    /* ... existing mobile styles ... */
    
    /* Add background color to mobile submenus */
    .ita-submenu-container {
        background: var(--ita-white);
        border-radius: var(--ita-radius);
        box-shadow: var(--ita-shadow);
        border: var(--ita-border);
        margin-bottom: 16px;
        overflow: hidden;
    }
    
    /* Style insights submenu container to match services */
    .ita-blog-menu {
        background: var(--ita-white);
        border-radius: var(--ita-radius);
        box-shadow: var(--ita-shadow);
        border: var(--ita-border);
        padding: 20px;
        max-height: 500px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--ita-primary) var(--ita-gray-light);
    }
    
    /* Style blog items like service items */
    .ita-blog-item {
        background: var(--ita-white);
        box-shadow: var(--ita-shadow-light);
        border: 1px solid rgba(226, 232, 240, 0.3);
        margin-bottom: 12px;
        transition: var(--ita-transition);
    }
    
    .ita-blog-item:hover {
        transform: translateY(-2px);
        border-color: var(--ita-primary);
        box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15);
    }
    
    .ita-blog-content {
        padding: 16px;
    }
    
    .ita-blog-post-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .ita-blog-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .ita-blog-meta {
        font-size: 12px;
    }
    
    /* Style blog header for mobile */
    .ita-blog-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    }
    
    .ita-blog-title {
        font-size: 18px;
    }
    
    /* Add scrollbar styling for insights menu */
    .ita-blog-menu::-webkit-scrollbar {
        width: 4px;
    }
    
    .ita-blog-menu::-webkit-scrollbar-track {
        background: var(--ita-gray-light);
        border-radius: 10px;
    }
    
    .ita-blog-menu::-webkit-scrollbar-thumb {
        background: var(--ita-primary);
        border-radius: 10px;
    }
    
    .ita-blog-menu::-webkit-scrollbar-thumb:hover {
        background: var(--ita-primary-dark);
    }
    
    /* Add animation for submenu toggle */
    .ita-has-submenu.active .ita-menu-link i {
        transform: rotate(180deg);
    }
}
}

@media (max-width: 576px) {


     .ita-container {
        padding: 0 16px;
    }
    
    .ita-nav {
        padding: 10px 0;
    }
    
    .ita-logo-img {
        height: 35px;
    }
    
    .ita-menu {
        max-width: 100%;
        padding: 70px 20px 40px;
    }

    .ita-container { padding: 0 16px; }
    .ita-nav { padding: 10px 0; }
    
    .ita-logo-img { height: 40px; }
    .ita-menu { max-width: 100%; padding: 80px 20px 40px; }
    
    .ita-footer-container { padding: 0 15px; }
    .ita-footer-cta { padding: 12px 28px; width: 100%; max-width: 250px; }
    .ita-social-media { justify-content: center; }
    
    .ita-back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

 /* ============================================
       Back to Top Button
       ============================================ */
    .ita-back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 60px;
      height: 60px;
      background: var(--ita-gradient);
      color: var(--ita-white);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 1.5rem;
      box-shadow: var(--ita-shadow-accent);
      transition: all var(--ita-transition-base);
      opacity: 0;
      visibility: hidden;
      z-index: 100;
    }

    .ita-back-to-top.ita-visible {
      opacity: 1;
      visibility: visible;
    }

    .ita-back-to-top:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0,212,255,0.4);
    }

    /* ============================================
       Animations
       ============================================ */
    @keyframes itaw-fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    


/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .ita-btn-pulse, .itaw-btn-pulse { animation: none; }
}


















































































