/* Global CSS Codes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
    color: black;
}

/* ========================================== */
/* Header Section CSS */
.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 10vh;
    background-color: rgb(26, 26, 26);
    position: relative;
}

.header ul li {
    list-style-type: none;
    display: inline;
    padding: 0px 25px;
}

.header ul li:first-child {
    padding-left: 0;
}

.header ul li:last-child {
    padding-right: 0;
}

.header a {
    color: whitesmoke;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
}

.btn-header a {
    border: 1px solid #4FC3F7;
    border-radius: 15px;
    padding: 10px 15px;
    color: whitesmoke;
}

.logo-header a {
    font-weight: 800;
    font-size: 25px;
}

.active {
    color: #4FC3F7 !important;
}

.menu-header {
    padding: 0px 15px;
}

.header .trigger {
    color: whitesmoke;
    font-size: 25px;
    display: none;
    cursor: pointer;
}

/* ========================================== */
/* Header Responsive */
@media (max-width: 768px) {

    .header .trigger {
        display: block;
    }

    .menu-header {
        display: none;
        position: absolute;
        top: 10vh;
        left: 0;
        width: 100%;
        background-color: rgb(26, 26, 26);
        flex-direction: column;
        padding: 20px 0;
    }

    .btn-header {
        display: none;
        position: absolute;
        top: calc(10vh + 200px);
        left: 0;
        width: 100%;
        background-color: rgb(26, 26, 26);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }


    .header {
        padding: 0 25px;
    }

    .logo-header {
        margin: 0 auto;
    }

    .header ul li {
        display: block;
        padding: 15px 0;
        text-align: center;
    }
}

@media (max-width: 425px) {
    .logo-header a {
        font-weight: 600;
        font-size: 20px;
    }

    .header i {
        font-size: 20px;
    }
}

/* ============================================== */
/* Mobile menu toggle animation */
.menu-header,
.btn-header {
    transition: all 0.3s ease;
}

.menu-header.show {
    display: flex !important;
}

.btn-header.show {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* header section end */
/* ============================================== */

/* hero section start */
/* ================================================== */
.hero {
    min-height: 90vh;
    background-color: rgb(26, 26, 26);
    background-image: url(./img/bg2.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1vh 0;
}

.hero img {
    width: 202px;
    height: 197px;
}

.hero h1 {
    font-size: 63px;
    font-weight: 700;
}

.hero h3 {
    font-size: 26px;
    font-weight: 600;
}

.hero h1,
p,
h3 {
    color: whitesmoke;
    margin-top: 1vh;
}

.hero h3 {
    background: linear-gradient(to right, #4FC3F7, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    padding-left: 20vw;
    padding-right: 20vw;
    text-align: center;
    font-size: 19px;
}

.hero a,
.right a,
.project a {
    border: 1px solid #4FC3F7;
    border-radius: 15px;
    padding: 10px 15px;
    margin-top: 2vh;
    color: whitesmoke;
}

@media (max-width: 768px) {
    .hero {
        /* background-size: 339px 564px; */
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    .hero p {
        padding-left: 5vw;
        padding-right: 5vw;
        text-align: center;
        font-size: 19px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero h3 {
        font-size: 18px;
    }

    .hero p {
        font-size: 14px;
    }
}

/* hero section end */
/* ==================================================== */

/* About section start */

.about {
    background-color: rgb(26, 26, 26);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5vh 15vh;
}

.about h1,
.project h1 {
    color: whitesmoke;
}

.subhead {
    font-size: 14px;
    background: linear-gradient(to right, #4FC3F7, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ab-cont {
    display: flex;
    flex-wrap: wrap;
}

.box {
    flex: 1;
    min-width: 50%;
    padding: 25px;
}

.box p {
    color: whitesmoke;
    text-align: justify;
    font-size: 19px;
}

.box li {
    font-size: 19px;
    color: whitesmoke;
}

.box ul {
    margin: 25px 0;
}

.tech-icons {
    margin: 25px 0;
    font-size: 45px;
}

@media (max-width: 768px) {
    .about {
        padding: 5vh 2vh;
    }

    .box {
        min-width: 100%;
        padding-bottom: 0px;
    }

    .box left {
        padding-bottom: 0px;
    }

    .right {
        padding-top: 0px;
    }

    .about p {
        font-size: 14px;
    }

    .box li {
        font-size: 14px;
        padding-top: 5px;
        text-align: justify;
    }

    .box h3 {
        text-align: center;
    }
}

/* about section end */

/* Project Section Start */

.project {
    background-color: #202020;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5vh 15vh;
}

.pro-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 5vh 0;
}

.pro-cards .card {
    background-color: #2e2e2e;
    border: 1px solid #4FC3F7;
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    min-width: 250px;
    color: whitesmoke;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.card-img {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 250px;
    width: 100%;
}

.card-content h3 {
    padding: 15px;
    text-align: center;
    font-weight: 700;
}

.card-content p {
    text-align: justify;
}

@media (max-width: 768px) {
    .pro-cards .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .project {
        padding: 5vh 2vh;
    }
}

/* Project Section end */

/* footer start */
.footer {
    background-color: rgb(26, 26, 26);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 2px solid whitesmoke;
    padding: 25px 50px;
}

.f-sec-1 {
    flex: 0 0 30%;
    padding: 10px;
}

.f-sec-2 {
    flex: 0 0 60%;
    padding: 10px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    align-items: center;
    justify-content: end;
}

.f-sec-2 i {
    color: whitesmoke;
    font-size: 25px;
}

@media (max-width: 992px) {

    .f-sec-1,
    .f-sec-2 {
        flex: 0 0 100%;
        justify-content: center;
        text-align: center;
    }

    .f-sec-2 {
        gap: 10px 15px;
    }

    .f-sec-2 i {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 20px 15px;
        gap: 8px;
    }

    .f-sec-2 i {
        font-size: 20px;
    }
}

/* footer end */

/* hero 2 start */
.hero2 {
    height: 25vh;
    background-image: url(./img/bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero2 h1 {
    color: whitesmoke;
    font-weight: 600;
}

/* hero 2 end */

/* blog section start */
.post-cont {
    background-color: #202020;
}

.btn-read {
    padding: 10px 20px;
    background-color: #3B82F6;
    color: whitesmoke;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: block;
    margin: 15px auto;
}

.btn-read:hover {
    background-color: #2D9CDB;
    transform: translateY(-2px);
}

.btn-read:active {
    background-color: #1A1A1A;
    transform: translateY(0);
}

/* blog section end */

/* Contact section container */
.contact {
    display: flex;
    flex-wrap: wrap;
    background: #262626;
    padding: 25px 100px;
    gap: 20px;
}

.contdetail {
    flex: 1 1 40%;
    color: whitesmoke;
    font-size: 16px;
    padding: 0px 250px;
}

.contact-container {
    flex: 1 1 50%;
    max-width: 500px;
    padding: 20px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    background: #333333;
    color: whitesmoke;
}

.contact-container button {
    width: 100%;
    padding: 10px;
    background-color: #4A5568;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-container button:hover {
    background-color: #5A6678;
}

.success-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    text-align: center;
}

.contdetail {
    flex: 1 1 40%;
    font-size: 16px;
}

.contdetail h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contdetail p {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.contdetail i {
    font-size: 20px;
    color: #4A5568;
    width: 25px;
    text-align: center;
}

@media (max-width: 992px) {
    .contact {
        padding: 25px 40px;
    }
}

@media (max-width: 768px) {

    .contdetail,
    .contact-container {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 15px;
    }
}