/* ========================================
   SERVICES PAGE - COMPLETE STYLESHEET
   WebDev Pro - Professional Services
======================================== */

/* ===========================
   GLOBAL STYLES
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

:root {
    --primary: #2563eb;
    --secondary: #7c3aed;
    --whatsapp: #25d366;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --bg: #ffffff;
    --text: #1e293b;
    --card: #ffffff;
    --notice: #dc2626;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.15);
}

[data-theme="dark"] {
    --dark: #f8fafc;
    --light: #1e293b;
    --bg: #0f172a;
    --text: #f8fafc;
    --card: #1e293b;
    --border: #334155;
    --gray: #94a3b8;
}

html {
    scroll-behavior: smooth;
}

body {
    font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    transition: background .3s, color .3s;
    overscroll-behavior: none;
}

body::before {
    content:"";
    position:fixed;
    inset:0;
    background:url("https://grainy-gradients.vercel.app/noise.svg");
    opacity:.04;
    pointer-events:none;
    z-index:9997;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   NAVIGATION
=========================== */

.navbar {
    background: var(--bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 2000;
    transition: all .3s;
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .navbar {
    background: var(--bg);
}

/* Prevent white background on scroll */
.navbar.scrolled {
    background: var(--bg);
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

/* Mobile navbar fix - match body background */
@media (max-width: 768px) {
    .navbar {
        background: var(--bg);
        border-bottom: 1px solid var(--border);
    }
    
    [data-theme="dark"] .navbar {
        background: var(--bg);
    }
    
    /* Prevent white background on scroll for mobile */
    .navbar.scrolled {
        background: var(--bg);
        box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    }
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: .5px;
    color: var(--primary);
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo span {
    background: linear-gradient(90deg,var(--primary),var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font: 600 0.95rem/1 inherit;
    transition: color .3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width .3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--card);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 0.75rem 0;
    list-style: none;
    border-radius: 12px;
    border: 1px solid var(--border);
    animation: fadeInDown .3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    font-size: 0.9rem;
    transition: all .2s;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--primary);
    padding-left: 2rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all .3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===========================
   PAGE HEADER
=========================== */

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 90px 0 70px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%,rgba(255,255,255,.25),transparent 50%),
                radial-gradient(circle at 70% 60%,rgba(255,255,255,.15),transparent 50%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg,#fff,#dbeafe,#fff);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 0%; }
    100% { background-position: 300%; }
}

.page-header p {
    font-size: 1.2rem;
    opacity: .9;
    position: relative;
    z-index: 1;
}

/* ===========================
   SERVICES DETAIL SECTION
   (NO 3D OR MOVEMENT EFFECTS)
=========================== */

.services-detail {
    padding: 80px 0;
    background: var(--bg);
}

.service-detail-card {
    background: var(--card);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Glass effect for dark mode */
[data-theme="dark"] .service-detail-card {
    background: rgba(30, 41, 59, 0.85);
}

/* NO HOVER EFFECTS - Cards stay static */
.service-detail-card:hover {
    /* Removed all transform and movement */
}

/* Service Detail Layout */
.service-detail-card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-detail-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.service-detail-icon i {
    font-size: 3rem;
    color: white;
}

/* NO ICON ANIMATION */
.service-detail-card:hover .service-detail-icon {
    /* Removed rotation and scale */
}

.service-detail-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-detail-content h2::before {
    content: "";
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.service-detail-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 30px;
}

/* Service Features List */
.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.service-detail-content li {
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
    line-height: 1.7;
    color: var(--text);
}

.service-detail-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.service-detail-content li strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* Service CTA Button */
.service-detail-content .btn-primary {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.05rem;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.service-detail-content .btn-primary::after {
    content: "→";
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.service-detail-content .btn-primary:hover::after {
    transform: translateX(5px);
}

/* ===========================
   BUTTONS
=========================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font: 600 1rem/1 inherit;
    transition: all .3s;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.4px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 50% 50%;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: all .6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    font-size: 1.25rem;
}

.btn-whatsapp-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background: var(--whatsapp);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all .3s;
}

.btn-whatsapp-small:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

button:active,
.btn:active {
    transform: scale(.94);
}

/* ===========================
   CTA SECTION
=========================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: -50% -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    to { 
        transform: translate(50px, 50px); 
    }
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-section .btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.cta-section .btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.6);
}

/* ===========================
   SEO SECTION
=========================== */

.seo-soft {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px 20px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    opacity: 0.9;
}

.seo-soft h2 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 20px;
    text-align: left;
}

.seo-soft p {
    margin-bottom: 15px;
}

.seo-soft a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.seo-soft a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.35s ease;
    border-radius: 4px;
}

.seo-soft a:hover {
    color: var(--secondary);
}

.seo-soft a:hover::after {
    width: 100%;
}

[data-theme="dark"] .seo-soft a {
    color: #a5b4fc;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    background: linear-gradient(180deg, #05070d, #0a0f1a);
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top,
        rgba(102,126,234,.25),
        transparent 60%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3.5rem;
}

.footer-col {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,.12);
    transition: .5s cubic-bezier(.22,.61,.36,1);
}

.footer-col:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 30px 80px rgba(102,126,234,.5),
        0 0 40px rgba(118,75,162,.4);
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p,
.footer-col li {
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    font-size: .95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0 0 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: .3s;
    position: relative;
}

.footer-col a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-4px;
    width:0;
    height:2px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    transition:.3s;
}

.footer-col a:hover::after {
    width:100%;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    border-radius: 40px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: #fff;
    border: none;
    box-shadow: 0 20px 50px rgba(102,126,234,.6);
    transition: .4s;
}

.footer-col .btn:hover {
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
}

/* ===========================
   SCROLL TO TOP
=========================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* ===========================
   UTILITY CLASSES
=========================== */

.text-center { 
    text-align: center; 
}

.btn-small { 
    padding: 0.5rem 1rem; 
    font-size: 0.875rem; 
}

.btn-block { 
    width: 100%; 
    display: block; 
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--card);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 25px 30px;
        gap: 20px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        display: block;
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-menu.active {
        display: block;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .services-detail {
        padding: 50px 0;
    }

    .service-detail-card {
        flex-direction: column;
        padding: 25px;
        margin-bottom: 30px;
    }

    .service-detail-icon {
        width: 80px;
        height: 80px;
    }

    .service-detail-icon i {
        font-size: 2.5rem;
    }

    .service-detail-content h2 {
        font-size: 1.4rem;
    }

    .service-detail-content > p {
        font-size: 1rem;
    }

    .service-detail-content li {
        font-size: 0.95rem;
        padding-left: 30px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .seo-soft {
        font-size: 0.9rem;
        padding: 25px 15px;
    }

    .seo-soft h2 {
        font-size: 1.3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .service-detail-card {
        padding: 20px;
    }

    .service-detail-icon {
        width: 70px;
        height: 70px;
    }

    .service-detail-icon i {
        font-size: 2rem;
    }

    .service-detail-content h2 {
        font-size: 1.25rem;
    }

    .service-detail-content .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* ===========================
   PERFORMANCE OPTIMIZATIONS
=========================== */

@media (hover: none) and (pointer: coarse) {
    .service-detail-card {
        backdrop-filter: none !important;
        background: var(--card) !important;
    }

    .footer-col {
        backdrop-filter: none !important;
        background: rgba(255,255,255,.05) !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    .footer,
    .scroll-to-top {
        display: none;
    }

    .service-detail-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        background: white;
        color: black;
    }
}

/* Dark Mode Specific */
[data-theme="dark"] .navbar {
    background: rgba(15,23,42,0.95);
}

[data-theme="dark"] .service-detail-card {
    background: rgba(30, 41, 59, 0.85);
}

/* Animation Disable for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}














/* ===== Disable hover dropdown on mobile ===== */
@media (max-width:768px){

  .dropdown:hover .dropdown-menu,
  .dropdown-menu:hover{
    display: none !important;
  }

}





/* ===== Status Checker Box ===== */

.status-checker-section {
  padding: 50px 0;
}

.status-checker-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, #1a1f2e, #0f141d);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 30px 40px;
  transition: 0.3s ease;
}

.status-checker-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-left i {
  font-size: 42px;
  color: #667eea;
}

.status-left h3 {
  margin: 0;
  font-size: 1.4rem;
}

.status-left p {
  margin: 6px 0 0;
  opacity: 0.8;
}

.status-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #667eea;
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.status-btn:hover {
  background: #5563d1;
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .status-checker-box {
    flex-direction: column;
    text-align: center;
  }
}
