*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "GeneralSans-Variable";
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

.ccircle{
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    height: 0.625rem; 
    width: 0.625rem; 
    border-radius: 50%;
    background-color: #fff;
    z-index: 999;
    position: fixed;
    pointer-events: none;
}

.bounding{
    width: fit-content;
    overflow: hidden;
}

.bounding .boundingelem{
    transform: translateY(100%);
}

.main{
    background-color: black;
    color: #fff;
}

.hero{
    width: 100%;
    height: 100vh;
    background-color: black;
    color: white;
    position: relative;
}

.navi {
    width: 100%;
    padding: 1.875rem 2.5rem; 
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navi a{
    text-decoration: none;
    color: #fff;
    font-size: 1.125rem;
}

body, html{
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

.heading{
    margin-top: 2rem;
}

.heading h1{
    margin-left: 2rem;
    opacity: .6;
    line-height: 1;
    font-size: clamp(3rem, 10vw, 8rem);
    text-transform: uppercase;
    font-weight: 450;
}

#second{
    margin-left: clamp(2rem, 11.25rem, 11.25rem); 
}

.sec-text{
    display: flex;
    flex-direction: column;
    align-items: end;
    width: fit-content;
}

.sec-text h5{
    text-align: right;
    font-size: clamp(0.875rem, 2vw, 1.25rem);
}

.teesra{
    margin-top: 3.125rem; 
    padding-right: 3.125rem; 
    padding-top: 1.25rem; 
    display: flex;
    flex-direction: column;
    align-items: end;
}

.teesra img{
    height: auto;
    width: clamp(400px, 80%, 500px);
    max-width: 100%;
}

.foooter{
    width: 100%;
    padding: 0 3vw;
    position: absolute;
    bottom: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.foooter a{
    text-decoration: none;
    color: white;
    display: flex;
    gap: 0.625rem; 
    align-items: center;
    font-size: clamp(0.75rem, 2vw, 1rem);
}

.foooter a:hover h5{
    transform: rotate(45deg);
}

.right{
    display: flex;
    gap: 0.625rem; 
}

.circle{
    background-color: white;
    width: 1.25rem; 
    height: 1.25rem; 
    border-radius: 50%;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.down{
    transform: rotate(180deg);
}

.dusra{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 6rem; 
    background-color: black;
}

.elem{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: clamp(2rem, 3.5vw, 4rem) clamp(1rem, 3vw, 3rem);
    border-top: 0.0625rem solid white;
}

.elem h1{
    text-transform: uppercase;
    font-size: clamp(2rem, 7.6vw, 6rem);
    color: white;
    opacity: 0.65;
}

.elem-last{
    border-bottom: 0.0625rem solid white;
}

.elem img{
    position: absolute;
    z-index: 99;
    pointer-events: none;
    transform: translate(-50%, -50%);
    width: clamp(200px, 30vw, 400px);
    height: clamp(200px, 30vw, 400px);
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
}

.third{
    width: 100%;
    min-height: 100vh;
    background-color: black;
    padding: 4rem 0;
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%; 
    max-width: 1200px;
    margin: 0 auto;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.pic{
    height: clamp(350px, 30vw, 450px);
    width: clamp(350px, 30vw, 450px);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    flex-shrink: 0;
}

.pic img{
    width: 100%; 
    height: 100%;
    object-fit: cover;
}

.about{
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    flex: 1;
    min-width: 300px;
}

.ab{
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
}

.abl p{
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.6;
    opacity: 0.9;
}

button{
    border: 0.125rem solid white; 
    height: 2.5rem;
    width: 6rem; 
    background-color: black;
    border-radius: 0.5rem; 
    color: white;
    transition: 0.35s ease-in;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

button:hover{
    background-color: white;
    color: black;
    border-color: black;
}

.footer-last{
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1rem, 3vw, 1.875rem) clamp(1rem, 5vw, 3.125rem);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left{
    display: flex;
    color: #fff;
    gap: clamp(1rem, 4vw, 2.5rem);
    flex-wrap: wrap;
    align-items: center;
}

.footer-left h3, #clock{
    font-size: clamp(0.875rem, 2vw, 1.125rem);
}

.footer-right{
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 4vw, 2.5rem);
}

.footer-right a{
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: clamp(0.75rem, 2vw, 1rem);
}

.test1{
    display: flex;
    flex-direction: column;
    gap: 0.125rem; 
    height: fit-content;
    width: fit-content;
}

.test1:hover{
    cursor: pointer;
}

.test2{
    height: 0.09375rem;
    width: 2%;
    background-color: #fff;
    opacity: 0;
    transition: 0.4s ease-in-out;
}

.test1:hover .test2{
    width: 100%;
    opacity: 0.85;
}

a .arrow{
    transition: 0.25s ease-in;
}

.foooter a:hover .arrow{
    transform: rotate(45deg);
}

/* Mobile First Responsive Design */
@media (max-width: 480px) {
    .navi {
        padding: 1rem 1.5rem;
        flex-direction: row;
    }

    .navi a {
        font-size: 1rem;
    }

    .heading {
        margin-top: 1rem;
    }

    .heading h1 {
        margin-left: 1rem;
    }

    #second {
        margin-left: 2rem;
    }

    .teesra {
        padding-right: 1.5rem;
        margin-top: 2rem;
    }

    .foooter {
        padding: 0 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        bottom: 2%;
    }

    .right {
        align-self: flex-end;
    }

    .container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .about {
        min-width: unset;
        width: 100%;
    }

    .footer-last {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-right {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }

    .dusra {
        padding-top: 3rem;
    }

    .third {
        padding: 2rem 0;
    }

    .container {
        width: 95%;
        gap: 2rem;
    }

    .elem img {
        width: clamp(150px, 25vw, 250px);
        height: clamp(150px, 25vw, 250px);
    }
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .pic {
        order: -1;
    }
}

@media (max-width: 1200px) {
    .footer-last {
        justify-content: center;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
    .heading h1 {
        font-size: 8rem;
    }

    .elem h1 {
        font-size: 6rem;
    }
}