@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: poppins, sans-serif;
}

:root {
    --bg-color: #101d3f;
    --second-bg-color: #e7ecf5;
    --text-color: #f2f6f7;
    --main-color: #04143a;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    color: var(--text-color);

}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;

}


.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 2rem 10%;
    background: rgb(19, 138, 222);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-origin: blur(10px);
    transition: all 0.3s ease;
    font-size: 1.5rem;

}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 500;
    cursor: default;
    position: relative;
    text-decoration: none;
    transition: 0.3s;
    font-size: 4rem;
}

.logo:hover {
    color: white;
    transform: scale(1.05);
}

.navbar a {
    font-size: 1.6em;
    color: var(--text-color);
    margin-left: 2rem;
    transition: 3s;
    font-weight: 700;
    font-family: 'Sora', sans-serif;

}

.navbar a:hover,
.navbar a.active {
    color: whitesmoke;
}

#menu-icon {
    font-size: 5rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

/* home section code */

.home {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 16rem 10% 2rem;
    gap: 8rem;
    text-align: center;
}

.home-content {
    flex: 2;
    max-width: 600px;
}


.home-img {
    position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img::before {
    content: '';
    position: absolute;
    width: 32vw;
    /* Match your image size */
    height: 32vw;
    border-radius: 50%;
    background: conic-gradient(transparent, transparent, transparent, var(--main-color));
    animation: rotateShadow 2s linear infinite;
    opacity: 0;
    /* Hidden by default */
    transition: 0.5s;
}

.home-img:hover::before {
    opacity: 1;
    /* Shows up on hover */
    filter: blur(10px);
}


.home-img img {
    width: 25vw;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--text-color);
    cursor: pointer;
    animation: floatImage 3s ease-in-out infinite;
    transition: 0.4s ease;
    z-index: 1;
    border: 30vw;
    ;
}

.home-content {
    margin-left: 5rem;
}

.home-content h3 {
    font-size: 4.5rem;
    font-weight: 600;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}


.home-content h1 {
    font-size: 6rem;
    font-weight: 600;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    animation: revealText 2s steps(40, end) forwards;
    overflow: hidden;
    white-space: normal;
    opacity: 0;
    margin: 2rem;
    animation: revealText 1.5s ease-out forwards;
    animation-delay: ;
}

@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0.2rem solid white;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
}


social-media a:hover {
    transform: scale(1.2) translateY((-10px));
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
    transform: scale(1.2) rotate(15deg);
    border-radius: 0 0 15px
}

.social-media a:active {
    transform: scale(0.9);
}


.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: rgb(29, 83, 232);
    border-radius: 4rem;
    box-shadow: var(--text-color);
    box-shadow: ;
    font-size: 1.6rem;
    color: var(--text-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    box-shadow: 0 01.6rem var(--main-color);
}


/* About section code */

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--main-color);
    padding: 10rem 10%;
}


.heading {
    font-size: 6rem;
    text-align: left;
}

.about-content {
    padding: 0 4rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
    size: 100px;
}

.about-content h3 {
    font-size: 3rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    animation: fadeInUp 3s ease forwards;
}


/* Service section code  */


.heading {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 5rem;
}

.skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    size: 50rem;

}

.skill-item {
    text-align: center;
    transition: 0.3s ease;
}

.skill-item i {
    font-size: 10rem;
    color: var(--text-color);
}

.skill-item p {
    margin-top: 1rem;
    font-size: 2.4rem;
}

/* simple hover effect */
.skill-item:hover {
    transform: translateY(-5px);
}



/* contact section code */


.contact {
    background: var(--main-color);
    padding: 10rem 10%;
    text-align: center;
}

.contact form {
    max-width: 70rem;
    margin: auto;
}

.contact form .inputBox {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact form .inputBox .input {
    flex: 1;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 0.8rem;
    border: 0.2rem solid var(--text-color);
}

.contact form textarea {
    width: 100%;
    height: 150px;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 0.8rem;
    border: 0.2rem solid var(--text-color);
    margin-bottom: 2rem;
    resize: none;
}


.contact form .btn {
    margin: 1rem;
    display: inline-block;
}

/* footer section code  */

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    padding: 40px 0;
    background: rgb(51, 59, 149);
}

.footer .social {
    text-align: center;
    padding-bottom: px;
    color: var(--text-color);
    padding-top:
}

.footer .social a {
    font-size: 25px;
    color: var(--text-color);
    border: 3px solid var(--text-color);
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 20px 10px;
    transition: 0.3s ease;
}

.footer .social a:hover {
    transform: scale(1.2) translateY((-10px));
    background-color: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--main-color);
    transform: scale(1.2) rotate(15deg);
    border-radius: 0 0 15px
}

.footer .copyright {
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
    margin-top: 20px;
}


.footer {
    padding: 2rem 0;
    /* reduced */
}

.footer .social a {
    margin: 10px 8px;
    /* smaller spacing */
}

.footer .copyright {
    margin-top: 10px;
}