@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    box-sizing: border-box;
    overflow-x: hidden;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    transition: all .3s ease-in-out;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 1) 90%);
}

.card-hover,
.team-card,
.service-card,
.portfolio-card,
.pricing-card,
.contact-card {
    transition: all 0.3s ease-in-out;
    border: solid 1px #334155;
    border-radius: 14px;
}

@media (min-width: 640px) {

    .card-hover:hover,
    .team-card:hover,
    .service-card:hover,
    .portfolio-card:hover,
    .pricing-card:hover,
    .contact-card:hover {
        transform: scale(1.05);
    }
}

.process-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}


.btn-glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease-in-out;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
}

#mobile-menu {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: #111827;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#mobile-menu.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#mobile-menu>div {
    padding: 0.5rem;
}

#mobile-menu a {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(10px);
    opacity: 0;
}

#mobile-menu.is-open a {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu a:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu a:nth-child(2) {
    transition-delay: 0.2s;
}

#mobile-menu a:nth-child(3) {
    transition-delay: 0.3s;
}

#mobile-menu a:nth-child(4) {
    transition-delay: 0.4s;
}

#mobile-menu a:nth-child(5) {
    transition-delay: 0.5s;
}

#mobile-menu a:nth-child(6) {
    transition-delay: 0.6s;
}

#mobile-menu a:nth-child(7) {
    transition-delay: 0.7s;
}

#mobile-menu a:nth-child(8) {
    transition-delay: 0.8s;
}

#menu-toggle {
    background: none;
    z-index: 60;
}

#menu-toggle i {
    color: #d1d5db;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#menu-toggle:hover i {
    color: #ffffff;
}

#menu-toggle i[data-feather="x"] {
    transform: rotate(90deg);
}

@media (max-width: 767px) {
    .md\:block {
        display: none !important;
    }

    #menu-toggle {
        display: block !important;
    }
}

@media (min-width: 768px) {
    #mobile-menu {
        display: none !important;
    }
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #334155;
}

.timeline-item::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

@media (max-width: 640px) {
    .timeline-item::before {
        left: -24px;
        top: 0;
        width: 12px;
        height: 12px;
        border: 2px solid #1e293b;
    }
}

@media (min-width: 641px) {
    .timeline-item::before {
        left: -28px;
        top: 0;
        width: 16px;
        height: 16px;
        border: 3px solid #1e293b;
    }
}

.accordion-item {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    padding: 24px;
}

.accordion-item:hover {
    background-color: #1e293b;
}

.accordion-button i {
    transition: transform 0.3s ease-in-out;
}

.accordion-button [data-feather="chevron-up"] {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    padding: 0;
}

.filter-btn {
    transition: all 0.3s ease-in-out;
}

.filter-btn.active {
    background-color: #3b82f6;
    color: white;
}

.blog-card {
    transition: all 0.3s ease-in-out;
    border-radius: 16px;
}

@media (min-width: 640px) {
    .blog-card:hover {
        box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
    }
}

.pricing-card.popular {
    transition: all 0.5s ease-in-out;
    transform: scale(1.05);
    border-color: #3b82f6;
}

@media (min-width: 640px) {
    .pricing-card.popular:hover {
        transform: scale(1.06);
        box-shadow: 0 15px 30px rgba(110, 161, 243, 0.2);
        border-color: #3b82f6;
    }
}

.tag {
    background-color: #334155;
    transition: background-color 0.3s ease-in-out;
}

.tag:hover {
    background-color: #3b82f6;
}

.form-input {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    transition: all 0.3s ease-in-out;
}

.form-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer {
    background-color: #1e293b;
    padding: 40px 0;
    border-top: 1px solid #334155;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.footer[data-aos] {
    opacity: 0;
    transform: translateY(20px);
}

.footer[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.footer a,
footer li {
    transition: all 0.25s ease-in-out;
}

.footer a:hover,
footer li:hover {
    color: #3b82f6;
    transform: scale(1.02) translateX(3px) !important;
}

[data-aos]:not(.aos-animate) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

nav,
#mobile-menu,
#mobile-menu * {
    visibility: visible !important;
}

nav[data-aos],
#mobile-menu[data-aos] {
    transform: none !important;
}

nav {
    background-color: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid #1f2937;
}


.card-st {
    border: solid 1px #334155;
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, border .3s ease-in-out !important;
}

.card-st:hover {
    transform: scale(1.05);
}

.blue-bor,
.purple-bor {
    transition: transform .3s ease-in-out,
        box-shadow .3s ease-in-out,
        border .3s ease-in-out;
}

.purple-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(215, 59, 246, 0.2) !important;
    border: #9f8fa2 solid 1px !important;
}

.green-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(74, 222, 128, 0.2) !important;
    border: #4ade80 solid 1px !important;
}

.yellow-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.2) !important;
    border: #eab308 solid 1px !important;
}

.pink-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.2) !important;
    border: #ec4899 solid 1px !important;
}

.red-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(248, 113, 113, 0.2) !important;
    border: #f87171 solid 1px !important;
}

.purpler-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(104, 14, 200, 0.2) !important;
    border: #500fbe solid 1px !important;
}

.white-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2) !important;
    border: #ffffff solid 1px !important;
}

.sky-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(59, 189, 248, 0.2) !important;
    border: #38bdf8 solid 1px !important;
}

.indigo-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2) !important;
    border: #6366f1 solid 1px !important;
}

.teal-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(45, 212, 191, 0.2) !important;
    border: #2dd4bf solid 1px !important;
}

.orange-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2) !important;
    border: #f97316 solid 1px !important;
}

.cyan-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.2) !important;
    border: #06b6d4 solid 1px !important;
}

.lime-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(132, 204, 22, 0.2) !important;
    border: #84cc16 solid 1px !important;
}

.amber-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2) !important;
    border: #f59e0b solid 1px !important;
}
.violet-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2) !important;
    border: #8b5cf6 solid 1px !important;
}
.rose-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(244, 63, 94, 0.2) !important;
    border: #f43f5e solid 1px !important;
}
.emerald-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2) !important;
    border: #10b981 solid 1px !important;
}
.blue-bor:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2) !important;
    border: #3b82f6 solid 1px !important;
}


/* Wave Animation */
.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 5;
}

.tymr {
    margin-top: 2rem;
}

.wave {
    z-index: -2;
    position: absolute;
    width: 100%;
    height: 0.7px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 1;
    animation: wave 6s ease-in-out infinite;
    left: 0%;
}

.wave:nth-child(1) {
    top: 20%;
    animation-duration: 3s;
    animation-delay: 0s;
}

.wave:nth-child(2) {
    top: 40%;
    animation-duration: 4s;
    animation-delay: 1s;
}

.wave:nth-child(3) {
    top: 60%;
    animation-duration: 2s;
    animation-delay: 2s;
}

.wave:nth-child(4) {
    top: 80%;
    animation-duration: 6s;
    animation-delay: 3s;
}

.wave:nth-child(5) {
    top: 95%;
    animation-duration: 2.5s;
    animation-delay: 3s;
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Typing Code Styling */
.typing-code {
    position: relative;
    display: block;
    white-space: pre-wrap;
    line-height: 28px;
    min-height: 112px;
    z-index: 10;
}

/* Typed.js Cursor Styling */
.typed-cursor {
    color: #e2e8f0;
    font-size: 16px;
    margin-left: 4px;
}

#typed-output {
    height: 100%;
    width: 100%;
    line-height: 2rem;
}


body>section:nth-child(3)>div>div>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;

}

@media (max-width: 1024px) {
    body>section:nth-child(3)>div>div>div:nth-child(1) {
        display: block;
        margin-top: 0;
    }
}

.blogsc {
    flex-wrap: wrap;
}

.blog-cards .card-st{
    height: 440px;
}