/* _________
       Header.php   
___________ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* HEADER */
#Header {
    background-color: #1e384c;
    padding: 8px 20px;
}

/* FLEX CONTAINER */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* mobile ke liye */
    gap: 10px;
}

/* EACH ITEM */
.header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* ICON FIX */
.header-item i {
    font-size: 14px;
}

/* 📱 MOBILE FIX */
@media (max-width: 576px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-item {
        font-size: 13px;
    }
}
/* NAVBAR */
#nav {
    background-color: white;
    padding: 10px;
    border-bottom: 2px solid #1e384c;
    padding-right: 100px;
}

/* FLEX */
#nav-flex {
    display: flex;
    align-items: center;
    height: 70px;
    position: relative;
    justify-content: space-between;
}

/* LOGO */
#wi-logo {
    height: 70px;
}

/* MENU */
/* MENU + BUTTON GROUP */
#menu {
    display: flex;
    align-items: center;
    gap: 15px;   /* 🔥 proper spacing between links */
}
/* LINKS */
#menu a {
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 1.1rem;
    margin: 0 15px;
    transition: 0.3s;
}

/* underline */
#menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #c9a227;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

#menu a:hover::after {
    width: 100%;
}

#menu a:hover {
    color: #c9a227;
}

/* ACTIVE */
#menu a.active {
    color: #1e384c;
    font-weight: bold;
}

#menu a.active::after {
    width: 100%;
}

/* BUTTON */
#btn button,
.nav-btn {
    background-color: #1e384c;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

#btn button:hover,
.nav-btn:hover {
    background-color: #e1a820;
    color: #1e384c;
    animation: none;
}

/* MENU ICON */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   TABLET + MOBILE
========================= */
@media (max-width: 768px) {

    .menu-icon {
        display: block;
    }

    /* MENU DROPDOWN */
    #menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        z-index: 999;
        gap: 5px;
    }

    #menu.active {
        display: flex;
    }

    #menu a {
        margin: 15px 0;
    }

    /* hide desktop button */
    #btn {
        display: none;
    }

    /* show button inside menu */
    .nav-btn {
        display: inline-block;
        margin-top: 15px;
    }
}
/* CLOSE BUTTON */
.close-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1e384c;
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: bold;
}
@media (max-width: 768px) {

    .close-menu {
        display: block;
    }

    #menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 40px 0 20px 0;
        z-index: 999;
    }

    #menu.active {
        display: flex;
    }
}

/* ============================
footer
================== */
/* footer start/////////////////////////////////////////////////////////////////////////// */


/* ===============================
   FOOTER BASE
================================*/
#foot {
    font-family: 'Poppins', sans-serif;
}

/* ===============================
   SUBSCRIBE SECTION
================================*/
.sub-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: -80px;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.sub-box {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    padding: 30px 40px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1100px;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.sub-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sub-left img {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
}

.sub-left h2 {
    color: #111;
    font-size: 1.6rem;
}

.sub-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.sub-right input {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    width: 220px;
    max-width: 100%;
}

/* BUTTON */
.sub-box button {
    padding: 14px 24px;
    width: 260px;
    max-width: 100%;
    border-radius: 10px;
    background: #1e384c;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sub-box button:hover {
    background: #ffffff;
    color: #1e384c;
    border-color: #ffffff;
}

.sub-box button:active {
    transform: scale(0.98);
}

/* ===============================
   FOOTER BACKGROUND
================================*/
.foot_bg {
    background: linear-gradient(rgba(30, 56, 76, 0.95), rgba(30, 56, 76, 0.95)),
        url(../Img/index-img/interior\ footer\ img\ \(1\).jpg) center/cover no-repeat;
    padding: 120px 0 40px;
    color: white;
}

/* ===============================
   TOP SECTION
================================*/
.foot-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    text-align: center;
}
.logo {
    height: 60px;
}
.socials i {
    font-size: 1.5rem;
    margin: 0 10px;
    cursor: pointer;
    transition: 0.3s;
    color: white;
}
.socials i:hover {
    color: #d4af37;
    transform: translateY(-3px);
}
/* ===============================
   LINKS SECTION
================================*/
.foot-links {
    display: flex;
    justify-content: center;
    padding: 40px 5%;
    flex-wrap: wrap;
    gap: 30px;
}

.col {
    min-width: 220px;
}

#partlink h3 {
    color: #d4af37;
    margin-bottom: 15px;
}

#partlink p,
#partlink a {
    display: block;
    margin: 12px 0;
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

#partlink a:hover {
    color: #d4af37;
    transform: translateX(5px);
}
#partlink{
    padding: 20px;
}
#partlink p i {
    margin: 7px;
}

/* ===============================
   WORK GRID
================================*/
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.work-grid img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    transition: 0.3s;
}

.work-grid img:hover {
    transform: scale(1.05);
}

/* ===============================
   FOOTER COPYRIGHT BAR
================================*/
.footer {
    width: 100%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ccc;
    text-align: center;
    padding: 18px 15px;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer p {
    margin: 0;
    transition: 0.3s;
    line-height: 1.6;
}

.footer p:hover {
    color: #fff;
    letter-spacing: 1px;
}

/* ===============================
   LOGIN BUTTON
================================*/
.login-btn {
    padding: 10px 24px;
    width: 70%;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg,#25D366,#128C7E);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ===============================
   RESPONSIVE DESIGN
================================*/

/* TABLET */
@media (max-width: 992px) {
    .sub-box {
        width: 90%;
        padding: 25px;
    }

    .foot-top {
        flex-direction: column;
    }

    .foot-links {
        justify-content: flex-start;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .sub-box {
        flex-direction: column;
        text-align: center;
    }

    .sub-left h2 {
        font-size: 1.3rem;
    }

    .sub-right {
        flex-direction: column;
        width: 100%;
    }

    .sub-right input {
        width: 100%;
    }

    .sub-box button {
        width: 100%;
    }

    .foot-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {

    .sub-left h2 {
        font-size: 1.1rem;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        font-size: 12px;
    }
}

/* EXTRA SMALL */
@media (max-width: 320px) {

    .footer {
        font-size: 11px;
    }

    .work-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
