* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary: #0077b6;
    --accent: #00b4d8;
    --primary-dark: #003049;
    --bg-dark: #05080c;
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #0077b6 0%, #003049 100%);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 245, 212, 0.05) 0%, transparent 40%);
}

/* Background Animated Glows */
.section-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* Background Animation */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #112240 0%, #0a192f 100%);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: move 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(0, 245, 212, 0.2) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* Glass Tile Elements */
.glass-tile {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: -1;
}

/* Navbar Refined */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: 0.4s ease;
}

nav.scrolled {
    padding: 15px 10%;
    background: rgba(5, 8, 12, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 4px;
    transform: rotate(-10deg);
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

.logo-name span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
    opacity: 0.7;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bn-whatsapp {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: 0.3s;
}

.bn-whatsapp:hover {
    background: #25d366;
    color: white;
    transform: scale(1.1);
}

.btn-talk {
    padding: 10px 24px;
    background: var(--gradient);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.2);
}

.btn-talk:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 210, 255, 0.4);
}

/* Hero Section Refined */
.hero {
    padding-top: 180px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: 8%;
    position: relative;
}

.profile-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 40px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    padding: 8px;
    background: var(--card-bg);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.4), inset 0 0 20px rgba(100, 255, 218, 0.2);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Binary Background Pattern */
.bg-container::before {
    content: "101101 001010 110011 001100 101010 111100";
    position: absolute;
    width: 200%;
    height: 200%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: rgba(100, 255, 218, 0.05);
    line-height: 1.5;
    word-break: break-all;
    top: -50%;
    left: -50%;
    transform: rotate(-30deg);
    pointer-events: none;
    z-index: -1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 30px;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter {
    font-size: 1.5rem;
    color: var(--accent);
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
    display: block;
}

.hero-description {
    max-width: 750px;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    padding: 15px 35px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* About Section Stats */
.about-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 100px 10%;
}

.about-text {
    flex: 1;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    transition: 0.3s;
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    border-color: rgba(0, 119, 182, 0.4);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Technologies Strip */
.tech-strip {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 0;
    margin: 100px 0;
    overflow: hidden;
    white-space: nowrap;
}

.tech-track {
    display: inline-flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 119, 182, 0.4);
}

.project-img {
    height: 220px;
    background: #1a202c;
    position: relative;
}

.project-info {
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
}

.project-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: white;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Testimonials */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.testi-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--card-shadow);
}

.testi-card::after {
    content: "\201d";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.stars {
    color: #f6ad55;
    margin-bottom: 15px;
}

/* Contact Form */
#contact {
    position: relative;
    padding-top: 50px;
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 60px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease;
    box-shadow: var(--card-shadow);
}

.info-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 119, 182, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

form {
    flex: 1.5;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    display: grid;
    gap: 25px;
    box-shadow: var(--card-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 18px 25px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 119, 182, 0.1);
}

textarea {
    height: 180px;
    resize: none;
}

.btn-send {
    padding: 18px 40px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.btn-send:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.4);
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
}

/* Utils */
.container {
    padding-inline: 10%;
    margin-bottom: 120px;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.section-title-big {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Watery Tile Theme Background Elements */
.watery-tile {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 245, 212, 0.05);
    border-radius: 12px;
    transform: rotate(45deg);
    z-index: -1;
    pointer-events: none;
}

/* Buttons */
.btn-primary {
    padding: 15px 35px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.5);
}

/* Footer */
/* Footer Redesigned & Compact */
.main-footer {
    padding: 30px 0;
    background: rgba(2, 4, 6, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    position: relative;
    color: var(--text-main);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 0 !important;
    padding: 0 10%;
}

.footer-left .logo {
    transform: scale(0.85);
    transform-origin: left;
}

.footer-center p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-right .social-links {
    display: flex;
    gap: 12px;
    margin: 0;
}

.footer-right .social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-right .social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left .logo {
        transform-origin: center;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background: #128c7e;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-contact .social-links {
        justify-content: center;
    }

    .footer-brand p {
        margin: 20px auto 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}