* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a191f;
    color: #fff;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(10, 25, 31, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: #06b6d4;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #10b981; 
}

#check {
    display: none;
}

#bars {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #06b6d4;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 8% 40px;
    gap: 40px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 42px;
}

.hero-text span {
    color: #10b981; 
}

.hero-text p {
    margin: 15px 0 25px;
    color: #cbd5e1;
    font-size: 16px;
}

.typing-text {
    font-size: 24px;
    margin-top: 10px;
    color: #cbd5e1;
}

.typing-text span {
    color: #06b6d4; 
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #10b981, #06b6d4);
    border-radius: 25px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.btn:hover {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #06b6d4;
    border: 2px solid #06b6d4;
}

.btn-outline:hover {
    background: #06b6d4;
    color: #000;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* HERO IMAGE */
.circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(45deg, #10b981, #06b6d4);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
    padding: 5px; 
}

.circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* SECTIONS */
section {
    padding: 90px 8% 60px;
    text-align: center;
}

section h2 {
    font-size: 32px;
}

section h2 span {
    color: #06b6d4;
}

.section-subtitle {
    color: #cbd5e1;
    margin-top: 8px;
}

.about-box {
    max-width: 750px;
    margin: auto;
    background: #122b34; 
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    line-height: 1.7;
    text-align: left;
}

/* GRID LAYOUT FOR CARDS */
.grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.card, .project-card {
    background: #122b34;
    padding: 30px;
    border-radius: 15px;
    width: 310px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover, .project-card:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.icon {
    font-size: 38px;
    color: #10b981;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    background: #06b6d4;
    color: #000;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 15px;
    width: fit-content;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tags span {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-small {
    display: inline-block;
    padding: 8px 14px;
    background: #10b981;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
}

.btn-small:hover {
    background: #06b6d4;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background: #cbd5e1;
    color: #000;
}

/* CONTACT SECTION */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.contact-btn.whatsapp {
    background: #25D366;
    color: #000;
}

.contact-btn.email {
    background: #122b34;
    color: #06b6d4;
    border: 1px solid #06b6d4;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

input, textarea {
    padding: 14px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    outline: none;
    background: #122b34;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
}

input:focus, textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* FOOTER */
footer {
    padding: 30px;
    text-align: center;
    background-color: #061116;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-links a {
    color: #cbd5e1;
    font-size: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: #10b981;
    transform: translateY(-3px);
}

/* MEDIA QUERIES (RESPONSIVE NAVBAR & MOBILE LAYOUT) */
@media (max-width: 768px) {
    #bars {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #061116;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        gap: 30px;
        transition: 0.4s ease-in-out;
        border-top: 1px solid rgba(6, 182, 212, 0.2);
    }

    #check:checked ~ .nav-links {
        left: 0;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        padding-top: 130px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .typing-text {
        font-size: 20px;
    }

    .hero-btns {
        justify-content: center;
    }

    .circle {
        width: 220px;
        height: 220px;
    }

    .card, .project-card {
        width: 100%;
    }
}