*{
    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);
}
/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    padding: 70px 20px;
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.open-text {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
    color: #000000;
    line-height: 1.6;
    font-size: 18px;
}

/* MAIN GRID */
.contract {
    max-width: 1150px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* =========================
   CONTACT INFO (LEFT)
========================= */

.Contactinfo {
    flex: 1.5;
    margin-top: 130px;
}

.Contactinfo .box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.Contactinfo .icon {
    width: 50px;
    height: 50px;
    background: #2111cf;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
}

.Contactinfo .text h3 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #000000;
}

.Contactinfo .text p {
    margin: 0;
    color: #000000;
    line-height: 1.5;
}

/* =========================
   FORM WRAPPER (RIGHT)
========================= */

.form-wrapper {
    flex: 2;
    background: #fff;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-wrapper .title {
    font-size: 17px;
    margin-bottom: 15px;
    color: #000000;
}

/* =========================
   TABS
========================= */

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 22px;
    border: 1px solid #676767;
    background: #fff;
    color: #000000;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.tab.active,
.tab:hover {
    background: #2111cf;
    color: #fff;
}

/* =========================
   FORM FIELDS
========================= */

form .row {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

form .row.full {
    flex-direction: column;
}

.field {
    flex: 1;
}

.field label {
    font-size: 15px;
    color: #000000;
    display: block;
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dfe3eb;
    font-size: 15px;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #000000;
}

.field textarea {
    height: 120px;
    padding-top: 10px;
    resize: none;
}

/* PHONE FIELD */
.phone-box {
    display: flex;
}

.phone-box span {
    background: #f1f3f6;
    border: 1px solid #dfe3eb;
    padding: 10px 12px;
    font-size: 15px;
    color: #000000;
}

.phone-box input {
    border-left: none;
}

/* =========================
   SUBMIT BUTTON
========================= */

.submit-btn {
    background: #2111cf;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: transparent;
    border: 1px solid black;
    color: #000000;
}

/* =========================
   MOBILE & TABLET FIXES
========================= */

/* Tablets */
@media (max-width: 1024px) {
    .contract {
        gap: 30px;
    }

    .form-wrapper {
        padding: 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Stack columns */
    .contract {
        flex-direction: column;
    }

    /* Center titles */
    .section-title,
    .open-text {
        text-align: center;
        padding: 0 10px;
    }

    /* Contact info boxes full width */
    .Contactinfo .box {
        align-items: flex-start;
    }

    /* Tabs wrap */
    .tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    /* Form rows stack */
    form .row {
        flex-direction: column;
        gap: 15px;
    }

    /* Phone field fix */
    .phone-box {
        flex-direction: row;
    }

    /* Reduce input height */
    .field input,
    .field select {
        height: 40px;
    }

    .field textarea {
        height: 100px;
    }

    /* Button full width */
    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 480px) {

    .section-title {
        font-size: 26px;
    }

    .open-text {
        font-size: 14px;
    }

    .form-wrapper {
        padding: 20px;
    }

    .tab {
        font-size: 13px;
        padding: 10px;
    }
}
/* 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);
    }
    .contact-section {
        padding: 40px 4%;
    }
    .contract{
        display: inline;
    }
    .contract .contact-info{
        margin-bottom: 40px;
        font-family: 17px;
    }
    .contract .contact-info{
        width: 100%;
    }
    .Contactform{
        width: 100%;   
    }
    .contact-section .open-text{
        font-size: 19px;
    }
    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;
    }
}