/* ============================================
   UI/UX Design Page - Custom Styles
   ============================================ */

/* Design Canvas Background */
#designCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
}

/* Circuit Line Animations */
.pulse-line {
    fill: none;
    stroke: rgba(176, 184, 193, 0.2);
    stroke-width: 0.5;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: circuitPulse 8s linear infinite;
}

.pulse-line:nth-child(2) { 
    animation-delay: 2s; 
    stroke: rgba(45, 70, 109, 0.4); 
}

.pulse-line:nth-child(3) { 
    animation-delay: 4s; 
}

@keyframes circuitPulse {
    0% { stroke-dashoffset: 100; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { stroke-dashoffset: -100; opacity: 0; }
}

/* Terminal Styles */
.terminal-container {
    animation: terminalEntrance 1s ease-out;
}

@keyframes terminalEntrance {
    from { 
        opacity: 0; 
        transform: perspective(1000px) rotateX(10deg) translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: perspective(1000px) rotateX(0) translateY(0); 
    }
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27c93f; }

/* Node Links */
.node-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.node-link:hover {
    background: rgba(45, 70, 109, 0.3);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.node-link.active {
    background: rgba(45, 70, 109, 0.4);
    border-color: var(--accent-color);
}

/* Typing Animation */
.typing-text {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.pulse-text {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Data Stream Lines */
.data-stream-lines span {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    top: -100px;
    opacity: 0.2;
    animation: streamDown 3s linear infinite;
}

.data-stream-lines span:nth-child(1) { 
    left: 10%; 
    animation-duration: 4s; 
}

.data-stream-lines span:nth-child(2) { 
    right: 20%; 
    animation-duration: 2.5s; 
}

.data-stream-lines span:nth-child(3) { 
    left: 50%; 
    animation-duration: 5s; 
}

@keyframes streamDown {
    0% { top: -100px; }
    100% { top: 100%; }
}

/* Service Cards - Side by Side Layout */
.services-section .service-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.services-section .service-card:hover {
    transform: translateY(-8px);
    border-color: #2D466D;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.services-section .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2D466D, #7893b1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.services-section .service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #7893b1, #2D466D);
}

/* Process Step Numbers */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* CTA Buttons */
.btn-gradient {
    position: relative;
    background: linear-gradient(135deg, #2D466D, #B0B8C1);
    border: none;
    color: #ffffff;
    padding: 0.8rem 2.2rem;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 0 15px rgba(45, 70, 109, 0.3);
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #B0B8C1, #2D466D);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(45, 70, 109, 0.5);
    color: #ffffff;
}

.btn-outline-gradient {
    position: relative;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    background: transparent;
    padding: 0.8rem 2.2rem;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    z-index: 1;
    overflow: hidden;
    text-decoration: none;
}

.btn-outline-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2D466D, #B0B8C1);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: -1;
}

.btn-outline-gradient:hover::before {
    opacity: 1;
}

.btn-outline-gradient:hover {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(45, 70, 109, 0.4);
}

/* Industry Cards */
.industry-card {
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: #2D466D !important;
    box-shadow: 0 10px 25px rgba(45,70,109,0.1);
}

/* Process Connector Line */
@media (min-width: 768px) {
    .process-connector {
        position: absolute;
        top: 32px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(90deg, #2D466D, #B0B8C1, #2D466D);
        z-index: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .terminal-container { 
        max-width: 100%; 
        margin-top: 50px; 
        margin-bottom: 60px;
    }
    
    .app-dev-hero {
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .services-section .service-card {
        text-align: center;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .services-section .service-icon {
        margin: 0 auto 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .terminal-body { 
        padding: 15px !important; 
    }
    
    .node-meta { 
        font-size: 0.65rem; 
    }
}
/* ===========================
LOCAL SEO SECTION
=========================== */

.local-market-section{
    background:#f8fafc;
    padding:60px 0;
    text-align:center;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
}

.local-market-section .container{
    max-width:1000px;
    margin:auto;
}

.local-market-title{
    font-size:40px;
    font-weight:700;
    color:#2D466D;
    margin-bottom:15px;
    line-height:1.2;
}

.local-market-desc{
    font-size:18px;
    color:#64748b;
    margin-bottom:35px;
}

.local-market-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.local-market-buttons .city-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:260px;
    padding:16px 28px;
    border-radius:50px;
    background:#2D466D;
    color:#fff !important;
    text-decoration:none !important;
    font-weight:600;
    font-size:17px;
    border:none;
    transition:all .3s ease;
    box-shadow:0 8px 20px rgba(45,70,109,.15);
}

.local-market-buttons .city-btn:hover{
    background:#1f3554;
    color:#fff !important;
    transform:translateY(-4px);
    box-shadow:0 14px 25px rgba(45,70,109,.25);
}

@media(max-width:768px){

    .local-market-title{
        font-size:30px;
    }

    .local-market-buttons{
        flex-direction:column;
    }

    .local-market-buttons .city-btn{
        width:100%;
        max-width:320px;
    }
}

/* ===========================
LOCAL SEO LINKS
=========================== */

.local-service-areas{

    background:linear-gradient(
        135deg,
        rgba(45,70,109,.05),
        rgba(176,184,193,.12)
    );

    padding:60px 0;
}

.local-heading{
    font-size:32px;
    font-weight:700;
    color:#111;
}

.local-subheading{
    color:#666;
    margin-top:10px;
}

.local-links-wrap{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:25px;
}

.local-pill{
    display:inline-block;
    padding:12px 24px;
    border-radius:50px;
    background:linear-gradient(135deg,#2D466D,#4f6f99);
    border:none;
    color:#fff !important;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 8px 20px rgba(45,70,109,.15);
    transition:all .3s ease;
}

.local-pill:hover{
    color:#fff !important;
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(45,70,109,.25);
}
@media (max-width:768px){

  #designCanvas{
      display:none;
  }

  .pulse-line{
      animation:none !important;
  }

  .data-stream-lines{
      display:none;
  }

  .pulse-text{
      animation:none;
  }
   .terminal-container{
      backdrop-filter:none !important;
      background:#0f172a !important;
   }
   .node-link:hover{
      transform:translateX(10px);
   }

}
@media (prefers-reduced-motion: reduce){

  *{
      animation:none !important;
      transition:none !important;
      scroll-behavior:auto !important;
  }

}