*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}
html{
    scroll-behavior: smooth;
}
/* scroll button*/
#progress{
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 45px;
    height: 45px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0,0,10px rgb(225, 222, 216);
    cursor: pointer;
}
#progress-value{
    display: block;
    height: calc(98% - 3px);
    width: calc(98% - 3px);
    background-color: rgb(241, 145, 0);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}
/*styling top-footer */
.top-footer{
    background: black;
    height: 40px;
}
.top-footer .box{
    position: relative;
    padding: 10px 0;
    display: flex;
    
}
.top-footer .box .icon{
    min-width: 40px;
    height: 20px;
    color: rgb(255, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.top-footer .box .text{
    display: flex;
    font-size: 14px;
    color: #fff;
    height: 10px;
    text-overflow: ellipsis;
}
.social-link-list{
    display: flex;
    margin-left: 540px;
    align-items: center;
    gap: 20px;
}
.social-link-list .social-link{
    color: rgb(255, 255, 255);
    font-size: 15px;
}
.social-link-list .social-link:hover{
    color: orange;
}
/*styliing the header*/
header{
    width: 100%;
    min-height: 60px;
    background-color: #2111cf;
    background-position: bottom;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    position: sticky;
    top: 0;
}
header .logo{
    width: 85px;
}
header ul{
    position: relative;
}
header ul li{
    position: relative;
    list-style: none;
    float: left;
}
header ul li a{
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    display: flex;
    text-decoration: none;
    justify-content: space-between;
}
header ul li a:hover{
    background: orange;
    color: black;
}
header ul .consultation{
    background-color: orange;
    border-radius: 10px;
    left: 50px;
}
header ul .consultation a{
    font-size: 18px;
}
header ul .consultation a:hover{
    background-color: transparent;
    color: white;
}
header ul .consultation:hover{
    background-color: transparent;
    border: 1px solid white;
}
/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    text-decoration: none;
}
/* icon */
.whatsapp-float i {
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
    /* Pulse effect */
    animation: pulse 2s infinite;
}
/* Hover effect */
.whatsapp-float i:hover {
    transform: scale(1.1);
}
/* Pulse animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* TEXT */
.whatsapp-text {
    left: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(-20px);
    background: #25D366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}
/* Small speech bubble arrow */
.whatsapp-text::after {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #25D366 transparent transparent;
}
/* SHOW */
.whatsapp-float.show .whatsapp-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
/* HERO ABOUT */
.hero-work {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: url(../Images/e33fba99d8b86689de3a6489cc9239f9.jpg);
    background-size: cover;
    background-position: center;

    height: 40vh;
    min-height: 250px; /* prevents it from being too small on mobile */
}
/* Overlay (optional but makes text readable 🔥) */
.hero-work::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}
/* Content */
.work-content {
    position: relative; /* sits above overlay */
    z-index: 1;
    padding: 0 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}
/* Heading */
.work-content h2 {
    color: #ffffff;
    font-size: 50px;
}
/* Text */
.work-content  p {
    color: #fff;
    font-size: 18px;
}
/* Tablet */
@media (max-width: 768px) {
    .work-content  h2 {
        font-size: 45px;
    }

    .work-content  p {
        font-size: 18px;
    }
}
/* Mobile */
@media (max-width: 480px) {
    .hero-work {
        height: 28vh;
    }

    .work-content  h2 {
        font-size: 50px;
    }

    .work-content  p {
        font-size: 19px;
    }
}
/* Projects */
.graphic{
    padding: 60px 20px;
    background-color: #ffffff;
}
h2 { 
    font-size: 2.5rem; 
    color: #000000; 
    margin-bottom: 20px; 
    text-align: center; 
}
.projects-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* increased min width */
    gap: 30px;
}
.project-card, .design-card {
    background-color: #ffffff;
    border-radius: 1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.project-card img, .design-card img {
    width: 100%;
    max-width: 600px; /* increase max size */
    height: auto;
    object-fit: cover;
}
.project-card h3, .design-card h3 {
    margin-top: 10px;
    color: #000000;
    text-align: center;
}
.project-card p {
    color: #000000;
    text-align: center;
    margin: 10px 0;
}
.project-card .btn {
    display: block;
    margin: 15px auto 0 auto; /* centers button */
    text-align: center;
    padding:6px 20px;
    border: 2px solid #000000;
    border-radius: 5px;
    color: #000000;
    transition: 0.3s;
    margin-bottom: 10px;
}
.project-card .btn:hover {
    background-color: orange;
    color: #000;
}
/* Slideshow container */
.slideshow-container {
    position: relative;
    background: rgb(226, 239, 255);
}
.mySlides .image{
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
}
.mySlides p{
    margin-top: 20px;
    padding: 0 100px;
    font-weight: 400;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}
.mySlides .detail{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail .name{
    font-weight: 400;
}
.detail .job{
    font-style: italic;
    color: rgba(1, 3, 30, 0.584);
}
.mySlides {
    display: none;
    text-align: center;
}
.slideshow-container .core-heading{
    text-align: center;
    padding-bottom: 30px;
    padding-top: 30px;
    color: black;
    font-size: 30px;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next {
    position: absolute;
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white;
}
.dot-container {
    text-align: center;
    padding: 5px;
    background: rgb(226, 239, 255);
}
.dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 2px;
    background-color: rgb(0, 0, 0);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: #717171;
}
/* styling footer */
footer{
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    background: black;
    padding: 70px 10px;
}
ul{
    list-style: none;
    text-align: center;
    
}
.list{
    padding: 7px;
}
.list li{
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}
.list li::before{
    content: "";
    position: absolute;
    transform: translate(-50px -50px);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: #0004f8;
    transition-duration: .5s;
}
.list li:hover::before{
    width: 70px;
}
.footer-col{
    width: 25%;
    padding: 7px;
}
.footer-col h2 {
    position: relative; /* Required for ::before to position properly */
    font-size: 23px;
    margin-bottom: 15px;
    text-align: center;
    color: #ffffffb0;
}
.footer-col h2::before {
    content: "";
    position: absolute;
    left: 50%; /* Center the line */
    transform: translateX(-50%);
    bottom: -6px;
    background-color: #c7bbbb;
    height: 2px;
    width: 40px;
}
 .footer-col p{
    color: #fff;
    width: 260px;
    margin: auto;
    padding: 7px;
 }
 .social-icons{
    text-align: center;
    padding: 7px;
 }
 .social-icons li{
    display: inline-block;
    text-align: center;
    padding: 5px;
   
 }
 .social-icons i{
    color: white;
    font-size: 20px;
 }
 a{
    text-decoration: none;
    color: #ffffff;
 }
 a:hover{
    color: #f87800;
 }
 .social-icons i:hover{
    color: #f87800;
 }
 .bottom-bar{
    text-align: center;
    padding: 10px 0;
    margin: auto;
    margin-top: 50px;
 }
.bottom-bar p{
    color: #ffffff;
    margin: auto;
    font-size: 18px;
    padding: 7px;
}
/*styling bottom-footer*/
.bottom-footer{
    text-align: center;
    background-color: #4e4d4d;
}
.craft{
    padding: 6px ;
}
.craft p{
    color: #fff;
}
.craft a{
    color: #f87400;
}
.craft a:hover{
    color: red;
}
/* responsiveness*/
@media (max-width: 1115px){
    .social-link-list{
        margin-left: 300px;
    }
    .content{
        width: 85%;
    }
    header .logo{
        width: 80px;
        left: 20%;
    }
    header ul li a{
        font-size: 15px;
        padding: 10px 13px;
    }
    header ul .consultation a{
        font-size: 15px;
    }
}
@media (max-width: 1000px){
    .social-link-list{
        margin-left: 250px;
    }
}
@media (max-width: 980px){
    .social-link-list{
        margin-left: 250px;
    }
    .top-footer {
        display: none;
    }
}
@media (max-width: 900px){
    .top-footer {
        display: none;
    }

    header{
        padding: 10px 20px;
    }

    header.active {
        background-color: #2111cf !important;
    }

    header .logo{
        width: 75px;
    }

    /* CENTER THE MENU CONTAINER */
    header nav{
        position: absolute;
        width: 100%;              /* give it nicer width */
        top: 93px;
        left: 50%;               /* move to center */
        transform: translateX(-50%); /* perfect centering */
        background: #2111cf;
        display: none;
        z-index: 1000;    /* smoother look */
        padding: 20px 0;         /* vertical spacing */
    }

    header.active nav{
        display: block;
    }

    /* STACK + CENTER MENU ITEMS */
    header nav ul{
        display: flex;
        flex-direction: column;
        align-items: center;     /* center items */
        gap: 15px;               /* spacing between items */
        padding: 0;
        margin: 0;
    }

    header nav ul li{
        width: auto;             /* stop full width stretch */
        text-align: center;
    }

    header nav ul li a{
        display: block;
        padding: 10px 20px;      /* better click area */
    }

    /* FIX CONSULT BUTTON */
    header ul .consultation{
        border-radius: 20px;
        margin-top: 10px;
        left: 0%;
        background: transparent;
    }
    header ul .consultation:hover{
        border: none;
        background: orange;
        border-radius: 0;
        color: black;
    }
    /* MENU TOGGLE */
    .menuToggle{
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menuToggle::before{
        content: '';
        position: absolute;
        width: 70%;
        height: 1.5px;
        background: white;
        transform: translateY(-12px);
        box-shadow: 0 12px white;
    }

    .menuToggle::after{
        content: '';
        position: absolute;
        width: 70%;
        height: 1.5px;
        background: white;
        transform: translateY(12px);
    }

    header.active .menuToggle::before{
        transform: rotate(45deg);
        box-shadow: 0 0 white;
    }

    header.active .menuToggle::after{
        transform: rotate(315deg);
    }
    .content{
        top: 30%;
        left: 6%;
    }
    .mySlides p{
        padding: 10px;
    }
    footer{
        flex-direction: column;
    }
    .footer-col {
        width: 100%;
    }
    .footer-col p {
        width: 100%;
    }
    .footer-col h2 {
        text-align: left;
    }
    .footer-col h2::before {
        left: 5%; /* Center the line */
    }
    .social-icons{
        text-align: left;
        padding: 7px;
    }
    .list li{
        text-align: left;
        border-bottom: 1px solid #ffffff79;
    }
    .list li::before{
        display: none;
    }
    .footer-col h2::before {
        display: none;
    }
}