@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a {
    padding: 0;
    margin: 0;
    transition: 0.3s ease;
}

* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
h1{
    font-family: "Special Gothic Condensed One", sans-serif;
}
html {
    scroll-behavior: smooth;
}
.img-responsive{
    max-width: 100%;
  height: auto;
}
.mainimg{
    border-radius: 15px;
    margin-bottom: 20px;
}
/* Navbar */
header {
    z-index: 100;
    position: sticky;
    top: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 25px 115px;
    color: #000000;
}

/* Logo */
.logo img {
    width: 7rem;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.nav-links a:hover {
    color: rgb(229 75 75);
}

.nav-links a.active {
  color: rgb(229 75 75);
}

.homelink:hover {
    cursor: pointer;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.2em;
}


.social-icons a img {
    width: 29px;
    border: 1px solid #000;
    padding: 5px;
    border-radius: 4px;
}

.social-icons a img:hover {
    background-color: #dd2020;
    transition: background 0.3s ease;
    filter: invert(1);
    mix-blend-mode: luminosity;
}

/* Hide Menu Toggle Checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger Icon */
.menu-icon {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
}


/*featured bg */
/* Banner Section */
.featured-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 90vh;
    position: relative;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Profile Image */
.profile-pic {
    width: 15rem;
    height: 15rem;
    border-radius: 8%;
    border: 5px solid white;
    object-fit: cover;
    z-index: 1;
}

/* Name & Designation */
.name {
    margin-top: -3%;
    background: #fff;
    font-size: 4em;
    border-radius: 20px;
    font-weight: 600;
    z-index: 1;
    color: #000;
    padding: 0 1rem;
}

.designation {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
    opacity: 0.9;
    z-index: 1;
    color: #000000;
}

.designation span{
    color:#ff0909;
}

/* Button */
.button {
    margin-top: 15px;
    width: fit-content;
    display: inline-block;
    padding: 12px 25px;
    font-size: 0.9em;
    border:none;
    cursor:pointer;
    font-weight: 600;
    background: #e54b4b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    z-index: 1;
}

.button:hover {
    background: #dd2020;
}


/*about myself*/

.container-box {
    display: flex;
    max-width: 1125px;
    width: 100%;
    margin: 0 auto;
    padding-top: 100px;
    color: #000000;
}

.project-info .container-box{
    color:#fff !important;
}

/* Left Image Section */
.image-box {
    flex: 1;
}

.image-box img {
    max-width: 100%;
    height: auto;
}

/* Right Content Section */
.text-box {
    flex: 1;
    padding: 17px 17px 12px 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-box h2 {
    font-size: 2em;
    color: #e54b4b;
    margin-bottom: 12px;
}

.text-box h6 {
    font-size: 1em;
    color: #000000;
}

.text-box span {
    font-size: 1em;
    color: #e54b4b;
}

.text-box p {
    font-size: 0.9em;
    color: rgb(132, 146, 166);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.4px;
}

/*facts*/

.facts {
    background: url(../images/fact-bg.jpg) no-repeat;
    background-position: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 74px;
    padding-bottom: 74px;
    max-width: 1270px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 10px;
}

.fact-box {
    text-align: center;
}

.fact-box img {
    width: 50px;
    margin: 0 auto;
}

.count {
    font-size: 20px;
    font-weight: 800;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #ffffff;
}

.count-desc {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}


/*what i do*/
.what-i-do {
    padding-bottom: 100px;
}

.title {
    font-family: "Special Gothic Condensed One", sans-serif; 
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 600;

}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.underline {
    width: 50%;
    height: 3px;
    background-color: #e54b4b;
    margin-top: 20px;
}


.offer-box {
    display: flex;
    max-width: 1125px;
    width: 100%;
    margin: 0 auto;
    gap: 40px;

}

.offer-left {
    display: flex;
    width: 100%;
    margin: 0 auto;
    gap: 10px;
    margin-bottom: 10px;

}

.offer-left .text-box {
    border: 1px solid #cdcdcd !important;
    border-radius: 5px !important;
}

.offer-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-right img {
    width: 100% !important;

}

.offer-box img {
    width: 30px;
}

.offer-box img {
    width: 60px;
}

.my-services {
    text-align: center;
}

.service-name {
    font-size: 17px !important;
    color: #4f4f4f !important;
    font-weight: 600 !important;
}


/*portfolio*/
.portfolio {
    padding-bottom: 100px;
}

.portfolio-container {
    padding-top: 0 !important;
    padding-bottom: 25px !important;
}

.portfolio .container-box {
    gap: 15px;
}

.portfolio-box {
    width: 100%;
    text-align: center;
    box-shadow: 0 0 3px #3c485863;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
        overflow: hidden;
}

.portfolio-box:hover {
    opacity: 0.6;
}

.portfolio-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
}

.portfolio-title p {
    font-weight: 600 !important;
}

.portfolio-img {
    height: 250px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-1 {
    background-image: url('../images/project1/1.jpg');
}

.project1 .project-left-col img{
    width: 55%;
    margin: 0 auto !important;
    display: block;
}

.project1 .project-right-col img{
    width: 55%;
    margin: 0 auto !important;
    display: block;
}

.project-2 {
    background-image: url('../images/project2/1.jpg');
}

.project-3 {
    background-image: url('../images/project3/1.jpg');
}

.project-4 {
    background-image: url('../images/project4/1.jpg');
}

.project-5 {
    background-image: url('../images/project5/1.jpg');
}

.project-6 {
    background-image: url('../images/project6/1.jpg');
}

.project-7 {
    background-image: url('../images/project7/1.jpg');
}

.project-8 {
    background-image: url('../images/project8/1.jpg');
}

.project-9 {
    background-image: url('../images/project9/1.png');
}

/*contact-me*/
.contact-me .container-box {
    padding-bottom: 0px !important;
    gap: 20px;
}

.contact-me {
    background-color: #f9fafd;
    padding-bottom: 100px;
}

.info {
    padding: 0 !important;
    text-align: center;
}

.container-box-info {
    margin: 0 auto;
    width: fit-content;
}

.container-box-info .text-box {

    margin-bottom: 9px;
}

.info img {
    width: 30px;
    padding-bottom: 0px;
    margin-bottom: 8px;
}

.info .text-box {
    align-items: center;
    margin-top: 15px;
    float: left;
}


.info .text-box p {
    color: #e54b4b !important;
}

.form-box {
    width: 100%;
}

.form-container {
    display: grid;
    width: 100%;
}

.form-container-2 {
    display: grid;
    width: 100%;
}

.form-box div input,
textarea {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #dedede;
    padding: 10px;
    border-radius: 10px;
}


/*footer*/

.footer {
    background-color: #3c4858;
}

.footer p {
    color: #adb5bd;
}

.footer a {
    color: #000;
}

.footer .container-box {
    display: grid !important;
    text-align: center;
    justify-content: center;
    padding:30px 0;
}

.footer-name {
    font-size: 30px;
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer ul {
    display: flex;
    justify-content: center;
    gap: 30px;

    margin-top: 30px;
}

.footer li {
    list-style-type: none;
}

.footer li img {
    width: 30px;
    border: 1px solid;
    border-radius: 5px;
    padding: 7px 8px;
    filter: invert(1);
}

/*project details*/

.project-row {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1125px;
    margin: auto;
    gap: 80px;
    padding: 100px 0px;
}

.project-row img {
    max-width: 100%;
    height: auto;

}

.full-col {
    flex: 12;
    padding-top: 50px;
    padding-bottom: 100px;
}

.full-col .title-container {
    padding-bottom: 30px;
}

.full-col .project-row {
    padding-top: 24px;
    padding-bottom: 40px;
}

.project-left-col {
    flex: 6;
}

.project-right-col {
    flex: 6;
}

.project-row p{
    line-height: 2rem;
}

.project-info p{
    font-weight:500 !important;
}
.project-info-box {
    background-color: #3c4858;
    padding: 18px 18px 25px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-info-box span {
    color: #ffffff;
}

.project-info-box p {
    line-height: 1.5;
    color: #adb5bd;
}

.project-name {
    font-size: 25px;
    font-weight: 700;
    color: #ffffff !important;
}

.project-category {
    font-size: 18px;
    font-weight: 600;
    color: #7b7b7b;
}

.project-created {
    font-size: 18px;
    font-weight: 600;
    color: #7b7b7b;
}

.project-overview {
    background-color: #e54b4b;
    background-image: url(../images/bg.jpg);
    background-size: cover;
}

.project-overview .container-box {
    padding-top: 45px;
    margin-bottom:30px;
}

.project-overview .container-box .underline{
    display: none;
}

.overview-desc {
    color: #fff;
    max-width: 1125px;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.overview-desc .button{
    background-color:#fff !important;  
    color:#e54b4b !important;  
    transition:0.3s ease;
}
.overview-desc .button:hover{
    transform:scale(1.1)
}

.desc-col {
    width: 50%;
}



.overview-desc p {
    line-height: 1.5;
    line-height: 1.5;
    font-size: 17px;
    margin-bottom: 15px;
}

.desc-col ul {
    list-style: none;
    display: flex;
}

.desc-col ul li img {
    width: 50px;
    height: 50px;
    padding: 3px;
}

.display-none {
    display: none;
}

/* Responsive Media Query */

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 15px;
    }

    /* Hide Menu In Desktop */
    .nav-links {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    /* Adjust flex for mobile */
    .navbar {
        flex-direction: row;
    }

    .logo {
        flex: 1;
    }

    .social-icons {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .menu-icon {
        display: block;
        flex: 1;
        text-align: right;
    }

    /* Toggle Menu when Checkbox is Checked */
    #menu-toggle:checked~.nav-links {
        display: flex;
    }

    /*featured bg*/

    .featured-bg {
        height: 70vh;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 1.8em;
    }

    .designation {
        font-size: 1em;
    }

    .cv-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }


    /*about myself*/
    .container-box {
        flex-direction: column;
        text-align: center;
        width: 90%;
    }

    .container-box .button {
        margin: 0 auto;
    }

    .image-box {
        height: 250px;
    }

    .text-box {
        padding: 20px;
    }

    /*facts*/

    .facts {
        display: block;
    }

    .fact-box {
        margin-bottom: 40px;
    }

    /* what i do */

    .offer-box {
        display: block;
        width: 90%;
    }

    .offer-left {
        display: block;
    }

    .box-1 {
        width: 100%;
    }

    .offer-left .text-box {

        margin-bottom: 10px;
    }

    .project-row {
        display: grid;

        width: 90%;

    }

    .project-overview {
        background-color: #f9fafd;
        padding: 0px 30px;
        margin: 0 auto;
    }

    .overview-desc {
        display: grid;
        gap: 15px;
    }

    .desc-col {
        width: 100%;
    }

}

@media (min-width: 800px) {
    .box-1 {
        width: 80%;
    }

    .offer-box,
    .container-box,
    .project-row,
    .overview-desc {
        width: 90%;

    }
}

/* ============================
   Slick Carousel Customization
   ============================ */

.projects-carousel {
    max-width: 1125px;
    margin: 0 auto;
}

.projects-carousel .project-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 60px;
    padding: 10px 40px 10px 40px !important;
    margin: 0 !important;
}

.projects-carousel .project-left-col {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project2 .project-left-col {
    flex: 0 0 50% !important;
}

.project3 .project-left-col {
    flex: 0 0 50% !important;
}

.project4 .project-left-col {
    flex: 0 0 50% !important;
}

.project5 .project-left-col {
    flex: 0 0 50% !important;
}

.project6 .project-left-col {
    flex: 0 0 50% !important;
}

.project7 .project-left-col {
    flex: 0 0 50% !important;
}

.project8 .project-left-col {
    flex: 0 0 50% !important;
}

.project9 .project-left-col {
    flex: 0 0 50% !important;
}

.project2 .project-left-col {
    flex: 0 0 50% !important;
}

.projects-carousel .project-left-col img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

.projects-carousel .project-right-col {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-carousel .project-right-col p {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    color: #4f4f4f;
}

/* Slick Slider Controls */
.slick-slider {
    margin: 0 auto;
}

.slick-slide {
    outline: none;
}

.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    background-color: #e54b4b;
    border-radius: 50%;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    outline: none;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: #dd2020;
}

.slick-prev:focus,
.slick-next:focus {
    background-color: #dd2020;
    outline: none;
}

.slick-prev:active,
.slick-next:active {
    background-color: #c20606;
    outline: none;
}

.slick-prev::before,
.slick-next::before {
    font-size: 24px;
    color: white;
}

.slick-dots {
    bottom: -50px;
    margin-top: 40px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #e54b4b;
}

.slick-dots li.slick-active button:before {
    color: #e54b4b;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .projects-carousel .project-row {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px !important;
    }

    .projects-carousel .project-left-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .projects-carousel .project-left-col img {
        max-height: 300px;
    }

    .projects-carousel .project-right-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .projects-carousel .project-right-col p {
        font-size: 15px;
    }

    .slick-prev,
    .slick-next {
        width: 40px;
        height: 40px;
    }
    .info .text-box{
        float:unset !important;
    }
}

.about-myself {
    background-color: #f9fafd;
}

.about-myself .container-box {
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    padding: 60px 0;
    gap: 50px;
}

.my-services .service-dtl {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 10px;
    line-height: 1.2;
    padding: 7px;
    text-align:left;
}

.text-box {
    transition: 0.4s ease;
    position: relative;
    cursor: pointer;
}

.text-box:hover .content {
    opacity: 0;
    visibility: hidden;
}

.text-box:hover .service-dtl {
    opacity: 1;
    visibility: unset;
}

#portfolio .container-box{
    color:#000 !important;
}