* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.purple {
    color: #00d9ff;
}

.grey {
    color: #999;
}

header {
    background-color: #1a1a1a;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100px;
}

nav .left {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d9ff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 23px;
}

nav ul li a {
    text-decoration: none;
    color: #999;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #00d9ff;
    font-size: 1.04rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

.first-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 130px 0;
    padding: 0 20px;
    gap: 40px;
}

.left-section {
    width: 50%;
}

.left-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.left-section h2 {
    font-size: 1. 8rem;
    margin-bottom: 30px;
}

#element {
    color: #00d9ff;
}

.buttons {
    margin-top: 30px;
}

.buttons button {
    background-color: #00d9ff;
    color: #000000;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.buttons button:hover {
    background-color: #00b8d4;
    transform: scale(1.05);
}

.right-section {
    width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-section img {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 6px solid #00d9ff;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    object-fit: cover;
    object-position: center 20%;
    aspect-ratio: 1/1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.second-section {
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
}

.second-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.second-section .subtitle {
    text-align: center;
    margin-bottom: 50px;
}

main hr {
    border: 0;
    background-color: #444;
    height: 1px;
    margin: 40px 0;
}

.box {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 50px;
}

.image-top {
    width: 50px;
    height: 50px;
    position: relative;
    margin-bottom: 15px;
    background-color: white;
    border-radius: 50%;
    padding: 10px;
}

.vertical-line {
    height: 93px;
    width: 2px;
    background-color: white;
    margin: 10px 0;
}
.vertical-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 15px;
    text-align: center;
}

.vertical-desc {
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 5px;
}

.projects-section {
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
}

.projects-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.project-card {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    width: calc(50% - 15px);
    border: 2px solid #00d9ff;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.project-card h3 {
    color: #00d9ff;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.project-card p {
    line-height: 1.6;
    color: #ccc;
}

/* Work Experience Section (Grid Cards) */
.experience-section {
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
}

.experience-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.experience-card {
    background-color: #0f0f10;
    border: 1px solid rgba(0,217,255,0.12);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 180px;
    transition: all 0.3s ease;
}

.exp-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,217,255,0.08);
}

.exp-title {
    font-weight: 700;
    color: #00d9ff;
    font-size: 1.1rem;
}

.exp-desc {
    color: #bfc3c8;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-grow: 1;
}

.exp-duration {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,217,255,0.1);
}

.experience-grid .experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,217,255,0.08);
    border-color: rgba(0,217,255,0.25);
}

@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Section (3x4 Clean Icon Grid) */
.services-section {
    max-width: 1200px;
    margin: 150px auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background-color: #0f0f10;
    border: 1px solid rgba(0,217,255,0.12);
    padding: 22px;
    border-radius: 12px;
    text-align: left;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.service-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
}

.service-title {
    font-weight: 700;
    color: #00d9ff;
    font-size: 1.05rem;
}

.service-desc {
    color: #bfc3c8;
    font-size: 0.95rem;
}

.services-grid .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,217,255,0.08);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    background-color: #111111;
    padding: 60px 20px 20px;
    margin-top: 150px;
}

.footer {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer>div {
    width: 23%;
    min-width: 200px;
}

.footer-first h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin: 10px 0;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #00d9ff;
}

.footer h4 {
    margin-bottom: 15px;
    color: #00d9ff;
}

.copyright {
    text-align: center;
    padding: 30px 0 20px;
    color: #999;
    border-top: 1px solid #444;
    margin-top: 40px;
}

/* Contact Section Styles */
.contact-section {
    max-width: 800px;
    margin: 150px auto;
    padding: 0 20px;
}

.contact-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00d9ff;
}

.contact-container {
    width: 100%;
}

.input-group {
    margin-bottom: 20px;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 15px;
    background-color: #111111;
    border: 1px solid #333;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
    border-color: #00d9ff;
}

.contact-section button {
    background-color: #00d9ff;
    color: #000000;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-section button:hover {
    background-color: #00b8d4;
    transform: scale(1.05);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.8);
}

.whatsapp-btn svg {
    width: 38px;
    height: 38px;
}

/* LinkedIn Button */
.linkedin-btn {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 65px;
    height: 65px;
    background-color: #0a66c2;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(10, 102, 194, 0.6);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.linkedin-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(10, 102, 194, 0.8);
}

.linkedin-btn svg {
    width: 38px;
    height: 38px;
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00d9ff;
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.5);
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .first-section {
        flex-direction: column;
        text-align: center;
    }

    .left-section,
    .right-section {
        width: 100%;
        margin: 20px 0;
    }

    .left-section h1 {
        font-size: 2rem;
    }

    .right-section img {
        width: 70%;
    }

    .box {
        flex-direction: column;
        align-items: center;
    }

    .vertical {
        margin: 30px 0;
    }

    .project-card {
        width: 100%;
    }

    .footer {
        flex-direction: column;
    }

    .footer>div {
        width: 100%;
        margin: 20px 0;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn svg {
        width: 32px;
        height: 32px;
    }
}