/* --- Global Mega Menu CSS --- */

/* Mega Menu Global Styles */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: max-content;
  background: #FFFFFF;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  border-radius: 20px;
  padding: 32px 64px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Services Arrow Rotation FIXED (Aggressive Specificity) */
.navbar .nav-container #navMenu .nav-dropdown > .nav-link i.fa-chevron-down,
.navbar .nav-container .nav-menu .nav-dropdown > .nav-link i.fa-chevron-down,
.nav-container .nav-menu .nav-dropdown > .nav-link i.fa-chevron-down {
  transition: transform 0.3s ease !important;
  margin-left: 5px !important;
  font-size: 0.82em !important;
  display: inline-block !important;
  transform: rotate(0deg) !important; /* Forces POINTING DOWN */
  animation: none !important;
}

.navbar .nav-container #navMenu .nav-dropdown.active > .nav-link i.fa-chevron-down,
.navbar .nav-container .nav-menu .nav-dropdown.active > .nav-link i.fa-chevron-down,
.nav-container .nav-menu .nav-dropdown.active > .nav-link i.fa-chevron-down,
.navbar .nav-container #navMenu .nav-dropdown:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg) !important; /* Forces POINTING UP */
}

.mobile-menu-header {
  display: none;
}

.hamburger {
  display: none;
}

.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-container {
  display: grid;
  grid-template-columns: max-content max-content; gap: 48px;
  align-items: start;
}

.mega-column h3 {
  font-size: 1.1rem;
  color: #ff6b35; /* Primary Orange */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mega-item {
  display: block;
  color: #1a1a1a; /* Primary Black */
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
}

.mega-item:last-child {
  border-bottom: none;
}

.mega-item:hover {
  color: #ff6b35;
  padding-left: 10px;
  background: rgba(255, 107, 53, 0.05);
}

.mega-image { display: none !important;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.mega-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.mega-image:hover img {
  transform: scale(1.05);
}

/* Mobile responsive menu */
@media (max-width: 991px) {
  .nav-dropdown {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  .mega-menu {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateX(-20px) scale(0.98); /* Minimal slide + scale */
    transform-origin: left top;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.3s ease, 
                max-height 0.4s ease;
    box-sizing: border-box;
    z-index: 10;
  }

  .nav-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    max-height: 2000px; 
    transform: translateX(0) scale(1) !important;
    margin-top: 10px !important;
    padding: 15px 10px !important;
    background: rgba(255, 107, 53, 0.05) !important;
    border-radius: 12px;
    position: static !important; 
  }

  .mega-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

      .mega-image { display: none !important;
      display: block !important;
      width: 100% !important;
      height: 250px !important;
      min-height: 250px !important;
      margin-top: 15px !important;
      border-radius: 12px !important;
      overflow: hidden !important;
    }

  .mega-column {
    padding-left: 20px;
    border-left: 3px solid #ff6b35; /* Stronger accent line */
    margin-bottom: 20px;
  }

  .mega-column h3 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

    /* Hamburger Menu Global Styles */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        z-index: 2005; /* Always on top of the menu */
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #1A1A1A;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Handled by global Services Arrow Rotation above */

    /* Mobile Menu Drawer Header */
    .mobile-menu-header {
        display: none;
    }

    .mobile-logo {
        display: none;
        height: 40px;
        width: auto;
    }

    .mobile-close {
        display: none;
    }

    .nav-menu {
        position: fixed !important;
        top: 90px !important; /* Full screen top */
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important; /* Full width as requested */
        height: calc(100vh - 90px) !important;
        background: #ffffff !important;
        flex-direction: column;
        padding: 50px 30px 80px 30px !important; /* Increased bottom padding for safety */
        gap: 15px;
        transform: translateX(100%) !important; /* Completely off-screen to the right */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 2000; /* High z-index */
        overflow-y: auto;
        display: flex !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-menu.active {
        transform: translateX(0) !important; /* Slide in from the right */
    }

    .nav-link {
        font-size: 1.5rem !important;
        width: 100% !important;
        text-align: center;
        padding: 10px 0;
        color: #1a1a1a !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Minimal staggered item animation */
    .mega-item {
        opacity: 0;
        transform: translateX(-15px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-dropdown.active .mega-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-dropdown.active .mega-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-dropdown.active .mega-item:nth-child(2) { transition-delay: 0.15s; }
    .nav-dropdown.active .mega-item:nth-child(3) { transition-delay: 0.2s; }
    .nav-dropdown.active .mega-item:nth-child(4) { transition-delay: 0.25s; }
    .nav-dropdown.active .mega-item:nth-child(n+5) { transition-delay: 0.3s; }
}

/* --- Extracted Inline Styles --- */
.testimonials-section { display: none; }
.iframe-map { border: 0; }
.section-header-center { text-align: center; margin-bottom: 60px; }
.subtitle-accent { color: #FF7443; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.title-accent { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; margin-top: 15px; color: #FF7443; letter-spacing: -1px; }
.modal-content-center { text-align: center; }
.modal-header-center { justify-content: center; position: relative; }
.modal-check-icon { color: #4CAF50; font-size: 3rem; display: block; margin-bottom: 10px; margin: 0 auto; }
.modal-title-margin { margin-top: 15px; }
.modal-close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; transition: 0.3s; opacity: 0.7; }
.modal-text-margin { margin-bottom: 15px; }
.modal-text-sub { font-weight: 500; font-size: 0.9em; color: #555; }
.modal-footer-center { justify-content: center; margin-top: 20px; }
.modal-whatsapp-btn { background-color: #25D366; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 300px; margin: 0 auto; }
.modal-whatsapp-btn-alt { background-color: #25D366; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 300px; margin: 0 auto; }
.modal-whatsapp-icon { font-size: 1.2em; }
        /* FAQ Accordion Styles */
        .faq-section { background-color: #fff; position: relative; overflow: hidden; padding: 100px 0; }
        .faq-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
        .faq-accordion { margin-top: 40px; }
        .faq-item { 
            background: #fff; border-radius: 16px; margin-bottom: 20px; 
            box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid #f0f3f8;
            overflow: hidden; transition: 0.3s ease;
        }
        .faq-item:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); border-color: #ffe3da; }
        .faq-question { 
            padding: 24px 30px; cursor: pointer; display: flex; align-items: center; 
            justify-content: space-between; gap: 20px; transition: 0.3s;
        }
        .faq-question h3 { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin: 0; line-height: 1.4; }
        .faq-icon { 
            width: 32px; height: 32px; background: #fff2ee; color: #FF7443; 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; 
            font-size: 0.8rem; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .faq-item.active .faq-icon { transform: rotate(180deg); background: #FF7443; color: #fff; }
        .faq-item.active { border-color: #FF7443; box-shadow: 0 15px 40px rgba(255,116,67,0.1); }
        
        .faq-answer { 
            max-height: 0; opacity: 0; overflow: hidden; transition: 0.4s ease-out; 
            background: #fff; padding: 0 30px;
        }
        .faq-item.active .faq-answer { max-height: 500px; padding-bottom: 30px; opacity: 1; }
        .faq-answer p { color: #555; line-height: 1.7; margin: 0; font-size: 1.05rem; border-top: 1px solid #f0f0f0; padding-top: 20px; }

        @media (max-width: 768px) {
            .faq-section { padding: 60px 0; }
            .faq-question { padding: 20px; }
            .faq-question h3 { font-size: 1rem; }
            .faq-icon { width: 28px; height: 28px; }
        }

/* --- GIANT FOOTER HERO TEXT GLOW --- */
/* Shery JS mouse follower size override - HIDDEN AS REQUESTED */
.mousefollower {
    display: none !important;
    opacity: 0 !important;
}

/* Container to keep it centered and handle overflow */
.footer-hero-container {
    width: 100%;
    padding: 0.5rem 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: transparent; 
}
/* Base text styling (Outlined text) */
.footer-hero-text {
    
    font-size: clamp(3rem, 14.8vw, 12rem); 
    letter-spacing: -0.01em; 
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif !important;
    color: transparent; /* Hide normal fill */
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3); /* The white outline */
    line-height: 1.1;
    display: inline-block;
    cursor: none; /* Hide default cursor */
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    animation: textPulse 3s infinite ease-in-out; 
}

/* Subtle breathing animation */
@keyframes textPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Spotlight Glowing Mask Effect (The colorful inner part) */
.footer-hero-text::before {
    content: "YOURADSMATE"; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    
    /* Radial gradient mapping to Javascript cursor coordinates using brand ORANGE */
    background: radial-gradient(circle 120px at var(--glow-x, -500px) var(--glow-y, -500px), #FF6B35 0%, #e55a27 70%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0px;
    pointer-events: none; 
    
    /* Colored neon drop shadow */
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.7));
    transition: background 0.1s ease; 
}

/* Mobile & Tablet Specific Adjustments */
@media (max-width: 768px) {
    .footer-hero-text {
        font-size: clamp(2.5rem, 13vw, 4rem); 
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4); 
    }
}

/* --- SMALL LOGO TEXT GLOW --- */
.footer-logo .logo-text {
    position: relative; 
    display: inline-block;
    cursor: none;
    -webkit-user-select: none;
    user-select: none;
}

.footer-logo .logo-text::before {
    content: "YourAdsMate"; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    
    /* White radial gradient spotlight over the orange text */
    background: radial-gradient(circle 60px at var(--glow-x, -500px) var(--glow-y, -500px), rgba(255,255,255,1) 0%, rgba(255,255,255,0.2) 60%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    transition: background 0.1s ease; 
}

@media (max-width: 768px) { .footer-legal a { white-space: nowrap; } }

