* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fafafa;
    color: #171717;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img{
    max-width: 100%;
}
.instagram-nav {
    height: 60px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #dbdbdb;
    z-index: 1000;
}

.nav-inner {
    height: 100%;
    max-width: 930px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Georgia, serif;
    font-size: 22px;
    color: #111 !important;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.search-box {
    background: #efefef;
    border-radius: 8px;
    width: 268px;
    height: 36px;
    align-items: center;
    padding: 0 14px;
    gap: 8px;
    margin-left: 95px;
}

.search-box i {
    color: #737373;
}

.search-box input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font-size: 14px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-icons>a {
    font-size: 23px;
    color: #111;
    text-decoration: none;
}

.avatar-btn {
    border: 0;
    background: none;
    padding: 0;
}

.avatar-btn img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
}

@media screen and (min-width: 1200px) {
    .container-width {
        max-width: 935px;
    }
}

.profile-section {
    padding: 40px 0px 30px;
    border-bottom: 1px solid #dbdbdb;
}

.profile-photo {
    flex: 0 0 155px;
    max-width: 155px;
    display: flex;
}

.profile-ring {
    width: 155px;
    height: 155px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(45deg,
            #feda75,
            #fa7e1e,
            #d62976,
            #962fbf,
            #4f5bd5);
}

.profile-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.profile-info {
    flex: 1;
    padding-left: 30px;
}

.profile-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.profile-title-row h1 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 16px 0 0;
}

.follow-btn {
    font-size: 14px;
    padding: 3px 12px;
    line-height: normal;
    border-radius: 4px;
}

.icon-btn {
    border: 0;
    background: none;
    font-size: 21px;
}

.stats {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 16px;
}

.bio {
    font-size: 14px;
    line-height: 1.5;
}

.bio strong {
    font-size: 14px;
}

.bio p {
    margin: 5px 0;
}

.bio a {
    color: #00376b;
    font-weight: 600;
    text-decoration: none;
}

.stories-wrap {
    display: flex;
    gap: 30px;
    padding: 25px 35px 32px;
    overflow: auto;
    border-bottom: 1px solid #dbdbdb;
}

.story {
    text-align: center;
    min-width: 76px;
}

.story-ring {
    width: 68px;
    height: 68px;
    border: 2px solid #ddd;
    border-radius: 50%;
    padding: 3px;
    margin: auto auto 7px;
}

.story-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.story small {
    font-size: 12px;
}

.profile-tabs {
    height: 53px;
    display: flex;
    justify-content: center;
    gap: 65px;
}

.tab {
    border: 0;
    background: none;
    border-top: 1px solid transparent;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #777;
    display: flex;
    gap: 7px;
    align-items: center;
}

.tab.active {
    border-top: 1px solid #111;
    color: #111;
}

.tab i {
    font-size: 16px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    background: #ddd;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.grid-item:hover img {
    transform: scale(1.04);
}

.hover-info {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: 0.2s;
}

.grid-item:hover .hover-info {
    opacity: 1;
}

.services-section {
    padding: 70px 0 30px;
}

.services-section h2 {
    font-size: 25px;
    text-align: center;
    margin-bottom: 28px;
}

.service-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.service-card i {
    font-size: 28px;
}

.service-card h3 {
    font-size: 17px;
    margin: 12px 0 7px;
}

.service-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.lets-cardbox{
    padding: 40px 0px;
}
.contact-section {
    padding: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 12px;
}

.contact-section h2 {
    font-size: 25px;
}

.contact-section p {
    color: #666;
    max-width: 620px;
    margin: 0;
}

footer {
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 25px 0 0px;
    color: #737373;
    font-size: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

.mobile-bottom-nav {
    display: none;
}

.gallery-modal {
    background: #111;
    border: 0;
}

.gallery-modal img {
    max-height: 80vh;
    width: 100%;
    object-fit: contain;
}

.btn-close:focus {
    box-shadow: none;
}

/* =========================
   Mobile Responsive
========================= */
@media (max-width: 767px) {
    .instagram-nav {
        height: 54px;
    }

    .nav-inner {
        padding: 0 15px;
    }

    .brand {
        font-size: 16px;
        gap: 7px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .nav-icons {
        gap: 16px;
    }

    .nav-icons>a:nth-child(2),
    .nav-icons>a:nth-child(3),
    .nav-icons>a:nth-child(4) {
        display: none;
    }

    .profile-section {
        padding: 25px 15px 20px;
        gap: 18px;
        align-items: flex-start;
    }

    .profile-photo {
        width: 88px;
    }

    .profile-ring {
        width: 82px;
        height: 82px;
        padding: 3px;
    }

    .profile-ring img {
        border-width: 3px;
    }

    .profile-info {
        min-width: 0;
    }

    .profile-title-row h1 {
        font-size: 17px;
        width: 100%;
        margin: 0 0 5px;
    }

    .follow-btn {
        font-size: 12px;
        padding: 5px 16px;
    }

    .stats {
        gap: 18px;
        font-size: 13px;
        margin: 14px 0;
    }

    .bio {
        font-size: 12px;
    }

    .stories-wrap {
        padding: 18px 15px 22px;
        gap: 18px;
    }

    .profile-tabs {
        gap: 0;
        justify-content: space-around;
    }

    .tab {
        font-size: 10px;
    }

    .tab span {
        display: none;
    }

    .photo-grid {
        gap: 2px;
    }

    .services-section {
        padding: 45px 15px 15px;
    }

    .contact-section {
        margin: 30px 15px;
        padding: 25px;
        display: block;
    }

    .contact-actions {
        margin-top: 18px;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 55px;
        background: #fff;
        border-top: 1px solid #ddd;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
    }

    .mobile-bottom-nav a {
        color: #111;
        font-size: 22px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-box {
        display: none !important;
    }
}

/* =========================================
   MOBILE NAVBAR FIX
========================================= */
@media (max-width: 767px) {
    .instagram-nav {
        padding: 8px 0;
    }

    .instagram-nav .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 12px;
        padding-right: 12px;
    }

    .instagram-nav .brand {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        flex: 1;
    }

    .instagram-nav .brand img {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .instagram-nav .brand span {
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .instagram-nav .nav-icons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        flex-shrink: 0;
        margin-left: 10px;
    }

    .instagram-nav .nav-icons>a,
    .instagram-nav .nav-icons>button {
        width: 32px;
        height: 32px;
        min-width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .instagram-nav .nav-icons i {
        font-size: 19px;
        line-height: 1;
    }

    .instagram-nav .avatar-btn img {
        width: 30px;
        height: 30px;
        object-fit: cover;
        border-radius: 50%;
    }
}

@media (max-width: 767px) {
    .instagram-nav {
        display: none !important;
    }
}

/* =========================
   SOCIAL ICONS
========================= */
.footer-social {
    text-align: center;
}

.footer-social .social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.footer-social .social-icons a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: #fff;
    border: 1px solid #333;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social .social-icons a:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
    transform: translateY(-4px);
}

/* Mobile */
@media (max-width: 768px) {
    .footer-social {
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }
}

/* =========================
   FOOTER SOCIAL
========================= */
.footer-social {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-social h3 {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

/* =========================
   FOOTER COPYRIGHT
========================= */
.footer-bottom {
    width: 100%;
    margin: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
}