/* Allow header to be visible */
/* Lock scroll on Desktop/Tablet, allow on Mobile */
@media (min-width: 768px) {
    body {
        overflow-y: hidden !important;
    }
}

@media (max-width: 767px) {
    body {
        overflow-y: auto !important;
        height: auto !important;
    }

    /* Ensure content can scroll */
    html {
        overflow-y: auto !important;
    }
}

/* Main background container */
.tech-landing {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    /* Professional White & Blue Blend */
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 40%, #eff6ff 100%);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Enable scroll on mobile for the main container */
@media (max-width: 767px) {
    .tech-landing {
        position: relative !important;
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
        overflow-y: visible !important;
    }
}

/* Animated gradient orbs for light mode */
/* Animated gradient orbs for light mode - Softer & More Ambient */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float-orb 25s ease-in-out infinite;
}

.orb-1 {
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    animation-delay: 0s;
}

.orb-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    animation-delay: -5s;
}

.orb-3 {
    bottom: -15%;
    left: 30%;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    animation-delay: -10s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Animated geometric pattern overlay */
/* Animated geometric pattern overlay - Subtle Professional Grid */
.pattern-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    animation: pattern-shift 20s ease-in-out infinite;
}

@keyframes pattern-shift {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Floating circles decoration */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(14, 165, 233, 0.15));
    animation: float-circle 25s ease-in-out infinite;
}

.circle-1 {
    top: 15%;
    left: 10%;
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.circle-2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    animation-delay: -8s;
}

.circle-3 {
    bottom: 20%;
    left: 60%;
    width: 180px;
    height: 180px;
    animation-delay: -15s;
}

@keyframes float-circle {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.05;
    }

    25% {
        transform: translate(20px, -20px) rotate(90deg);
        opacity: 0.1;
    }

    50% {
        transform: translate(-15px, 15px) rotate(180deg);
        opacity: 0.05;
    }

    75% {
        transform: translate(15px, -10px) rotate(270deg);
        opacity: 0.08;
    }
}

/* Dark mode styles */
.dark .tech-landing {
    background: #0a0a0a;
}

.dark .gradient-orb {
    opacity: 0.2;
}

.dark .orb-1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
}

.dark .orb-2 {
    background: linear-gradient(135deg, #701a75 0%, #991b1b 100%);
}

.dark .orb-3 {
    background: linear-gradient(135deg, #0c4a6e 0%, #164e63 100%);
}

.dark .pattern-overlay {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 172, 254, 0.05) 0%, transparent 50%);
}

.dark .floating-circle {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

/* Make header visible and interactive with transparent background */
header {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}


/* Make menu items visible on white background */
header a,
header button,
header .text-gray-900 {
    color: #1f2937 !important;
    text-shadow: none;
}

header a:hover {
    color: #06b6d4 !important;
}

/* Dark mode header */
.dark header a,
.dark header button,
.dark header .dark\:text-gray-100 {
    color: #f3f4f6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark header a:hover {
    color: #22d3ee !important;
}

/* Logo styling */
header img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dark header img {
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}




/* Main content container */
.landing-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
    width: 100% !important;
    min-height: calc(100vh - 80px);
    height: auto;
    text-align: center !important;
    padding: 1.5rem 2rem;
    padding-top: 50px;
    /* Reduced since header is now constrained */
    margin-top: 0;
    pointer-events: auto;
}

/* Remove divide border on landing page */
main .divide-y {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Logo/Brand animation */
.brand-logo {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease-out;
    text-shadow: none;
    letter-spacing: 2px;
}

.dark .brand-logo {
    color: #f3f4f6;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Main headline */
.main-headline {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.2;
    text-shadow: none;
}

.dark .main-headline {
    color: #f9fafb;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(90deg, #06b6d4, #0ea5e9, #06b6d4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
}

.dark .gradient-text {
    background: linear-gradient(90deg, #a5b4fc, #c4b5fd, #a5b4fc);
    background-size: 200% auto;
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Welcome Rolling Text */
.welcome-text {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.welcome-text .letter {
    display: inline-block;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #06b6d4 0%, #1f2937 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    opacity: 0;
    transform-origin: bottom center;
    animation: letterRoll 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--i) * 0.1s);
    padding: 0 0.1em;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.dark .welcome-text .letter {
    background: linear-gradient(135deg, #bae6fd 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.4));
}

@keyframes letterRoll {
    0% {
        opacity: 0;
        transform: translateX(-50px) rotateY(-180deg) rotateZ(-90deg) scale(0.5);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) rotateZ(0deg) scale(1);
        filter: blur(0);
    }
}

/* Cute hover animation */
.welcome-text .letter:hover {
    animation: rubberBand 1s ease-in-out;
    cursor: default;
}

@keyframes rubberBand {
    0% {
        transform: scale3d(1, 1, 1);
    }

    30% {
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        transform: scale3d(0.95, 1.05, 1);
    }

    75% {
        transform: scale3d(1.05, 0.95, 1);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

/* Subheadline */
.sub-headline {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: #4b5563;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.6;
}

.dark .sub-headline {
    color: #d1d5db;
}

/* Service cards container */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    max-width: 800px;
    width: 100%;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

/* Service card */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25);
    border-color: rgba(6, 182, 212, 0.4);
}

.dark .service-card {
    background: rgba(17, 24, 39, 0.6);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark .service-card:hover {
    background: rgba(17, 24, 39, 0.8);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.4);
    border-color: rgba(6, 182, 212, 0.5);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.service-card:nth-child(1) .service-icon {
    animation-delay: 0s;
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 0.4s;
}

.service-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.3rem;
}

.dark .service-title {
    color: #f3f4f6;
}

.service-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
}

.dark .service-desc {
    color: #9ca3af;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: #06b6d4;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
    background: #0891b2;
}

.dark .btn-primary {
    background: #0891b2;
    color: #fff;
}

.dark .btn-primary:hover {
    background: #0e7490;
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #06b6d4;
    border: 2px solid #06b6d4;
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
}

.dark .btn-secondary {
    color: #22d3ee;
    border-color: #22d3ee;
}

.dark .btn-secondary:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 15px 40px rgba(34, 211, 238, 0.4);
}

/* Floating shapes decoration */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: #fff;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: #fff;
    animation-delay: -5s;
}

.shape-3 {
    bottom: 15%;
    left: 20%;
    width: 80px;
    height: 80px;
    background: #fff;
    animation-delay: -10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 20px) rotate(270deg);
    }
}

/* Keyframe animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator (optional) */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Dark mode adjustments */
.dark .tech-landing {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.neon-frame-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
    padding: 0 1rem;
    perspective: 1000px;
}

.neon-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding: 2px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neon-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
}

/* Contact Icons Styles */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 20;
}

.contact-icon-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.icon-box svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform 0.5s ease;
}

/* WhatsApp Colors */
.whatsapp-btn .icon-box {
    color: #0fddaaff;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover .icon-box {
    background: #0eeebdff;
    color: white;
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Email Colors */
.email-btn .icon-box {
    color: #06b6d4;
    border: 2px solid #06b6d4;
}

.email-btn:hover .icon-box {
    background: #06b6d4;
    color: white;
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
}

/* Ripple effect */
.contact-icon-btn::before,
.contact-icon-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.whatsapp-btn::before {
    border: 1px solid #25D366;
}

.whatsapp-btn::after {
    border: 1px solid #25D366;
}

.email-btn::before {
    border: 1px solid #06b6d4;
}

.email-btn::after {
    border: 1px solid #06b6d4;
}

.contact-icon-btn:hover::before {
    animation: ripple 1.5s linear infinite;
}

.contact-icon-btn:hover::after {
    animation: ripple 1.5s linear 0.75s infinite;
}

@keyframes ripple {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 140px;
        height: 140px;
        opacity: 0;
    }
}

.icon-label {
    margin-top: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: #4b5563;
}

.dark .icon-label {
    color: #d1d5db;
}

.contact-icon-btn:hover .icon-label {
    opacity: 1;
    transform: translateY(0);
}

/* Wiggle animation for icon on hover */
.contact-icon-btn:hover svg {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.neon-box span {
    position: absolute;
    display: block;
}

/* Top Line */
.neon-box span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4);
    animation: btn-anim1 3s linear infinite;
}

/* Right Line */
.neon-box span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #06b6d4);
    animation: btn-anim2 3s linear infinite;
    animation-delay: 0.75s;
}

/* Bottom Line */
.neon-box span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #06b6d4);
    animation: btn-anim3 3s linear infinite;
    animation-delay: 1.5s;
}

/* Left Line */
.neon-box span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #06b6d4);
    animation: btn-anim4 3s linear infinite;
    animation-delay: 2.25s;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

.blog-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 0;
}

.dark .blog-ticker-container {
    background: rgba(20, 30, 50, 0.6);
}

.blog-ticker-wrapper {
    white-space: nowrap;
    display: inline-block;
    animation: ticker-move-right 40s linear infinite;
}

.neon-box:hover .blog-ticker-wrapper {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.dark .ticker-item {
    color: #d1d5db;
}

.ticker-item:hover {
    transform: scale(1.5) rotate(-2deg);
    color: #06b6d4;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
    z-index: 100;
    margin: 0 20px;
}

.dark .ticker-item:hover {
    color: #22d3ee;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
}

.ticker-separator {
    color: #06b6d4;
    opacity: 0.5;
    font-size: 0.8rem;
}

@keyframes ticker-move-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}