:root{
    --yellow: #F7CA3E;
    --brown: #732a17;
    --lightbrown: #b56e3a;
    --ulightbrown: #b35f45;
    --bg-dark: #1f1f1f;
    --bg-card: #292929;
    --text-light: #f6f1f1;
    --text-muted: #c5c3c3;
}

/* Reset without costly global transitions */
*, *::before, *::after{
    font-family: 'Roboto', sans-serif;
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
}

h1, h2, h3{
    font-family: 'Oswald', sans-serif;
}

*::selection{
    background: var(--ulightbrown);
    color: #fff;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.5;
}

/* Custom Scrollbar */
html::-webkit-scrollbar{
    width: 1.2rem;
}

html::-webkit-scrollbar-track{
    background: #181818;
}

html::-webkit-scrollbar-thumb{
    background: var(--ulightbrown);
    border-radius: 0.6rem;
}

/* Common Section Layout */
section{
    min-height: 100vh;
    padding: 4rem 10%;
    padding-top: 10rem;
}

/* Buttons */
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    padding: 1rem 3.2rem;
    border-radius: 5rem;
    margin-top: 1rem;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border: 0.2rem solid var(--ulightbrown);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.btn:hover{
    background: var(--ulightbrown);
    color: #fff;
    transform: translateY(-2px);
}

.btn-primary{
    background: var(--ulightbrown);
    color: #fff;
}

.btn-primary:hover{
    background: #c8684d;
    border-color: #c8684d;
}

/* Headings */
.heading{
    text-align: center;
    font-size: 4rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    letter-spacing: 0.05rem;
}

.heading span{
    color: var(--ulightbrown);
}

.sub-heading{
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Portfolio Top Announcement Banner */
.portfolio-top-banner {
    background: #0f0f0f;
    background: linear-gradient(90deg, #121212 0%, #1e1511 50%, #121212 100%);
    border-bottom: 1px solid rgba(247, 202, 62, 0.25);
    padding: 0.9rem 5%;
    position: relative;
    z-index: 1001;
    font-size: 1.35rem;
}

.banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.banner-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.badge-archive {
    background: rgba(247, 202, 62, 0.15);
    color: var(--yellow);
    border: 1px solid rgba(247, 202, 62, 0.35);
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.03rem;
}

.banner-text {
    color: #e0e0e0;
    margin: 0;
    line-height: 1.4;
}

.banner-text strong {
    color: #fff;
}

.banner-text a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.banner-text a:hover {
    color: #fff;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    padding: 0.5rem 1.4rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.banner-pill.portfolio-link {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-pill.portfolio-link:hover {
    background: var(--yellow);
    color: #111;
    border-color: var(--yellow);
    transform: translateY(-2px);
}

.banner-pill.wa-link {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.banner-pill.wa-link:hover {
    background: #25d366;
    color: #fff;
    transform: translateY(-2px);
}

/* Header & Navbar */
header{
    position: sticky;
    top: 0; 
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 1.2rem 10%;
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0.4rem 2rem rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease, background 0.3s ease;
}

header.scrolled{
    padding: 0.8rem 10%;
    background: rgba(16, 16, 16, 0.98);
}

header .logo img{
    height: 5rem;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

header .navbar ul{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

header .navbar ul li{
    margin-left: 3rem;
}

header .navbar ul li a{
    font-size: 1.7rem;
    color: #dedede;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

header .navbar ul li a.active,
header .navbar ul li a:hover{
    color: var(--yellow);
}

header #menu-bar{
    font-size: 2.8rem;
    color: #dedede;
    cursor: pointer;
    display: none;
    transition: transform 0.3s ease, color 0.25s ease;
}

header #menu-bar:hover{
    color: var(--yellow);
}

/* Home Section */
.home{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 0;
    overflow: hidden;
    gap: 3rem;
}

.home::before,
.home::after{
    content: '';
    position: absolute;
    top: 5rem; 
    right: -6rem;
    background: var(--ulightbrown);
    border-radius: 3rem;
    transform: rotate(-45deg);
    height: 40rem;
    width: 70rem;
    z-index: -2;
    animation: animateBg 1s cubic-bezier(0.16, 1, 0.3, 1) 1;
}

@keyframes animateBg{
    0%{
        transform: rotate(45deg) translateY(-40rem);
        opacity: 0;
    }
    100%{
        transform: rotate(-45deg) translateY(0);
        opacity: 1;
    }
}

.home::before{
    top: -7rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1rem 4rem rgba(0,0,0,0.2);
    z-index: -1;
}

.home .content{
    flex: 1 1 45rem;
}

.home .content h1{
    color: var(--text-light);
    font-size: 5.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.home .content p{
    color: #e6e6e6;
    font-size: 2rem;
    padding: 0.5rem 0 2rem 0;
}

.hero-actions{
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.home .image{
    flex: 1 1 42rem;
    position: relative;
    text-align: center;
    will-change: transform;
    animation: rotatePlate 24s infinite linear;
}

.home .image img{
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 1.5rem 3rem rgba(0,0,0,0.5));
}

@keyframes rotatePlate{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.typewriter{
    font-weight: 700;
    position: relative;
}

.typewriter span{
    color: var(--yellow);
    text-shadow: 0 2px 10px rgba(247, 202, 62, 0.3);
}

/* About Section */
.about{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    gap: 4rem;
    background: #1b1b1b;
}

.slideshow{
    position: relative;
    height: 44rem;
    flex: 1 1 45rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.4);
}

.slideshow .image{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slideshow .image.active{
    opacity: 1;
}

.about .content{
    flex: 1 1 42rem;
    padding: 1rem;
}

.about .content p{
    font-size: 1.7rem;
    color: var(--text-muted);
    padding: 1.5rem 0;
    line-height: 1.7;
}

.about span{
    color: var(--yellow);
    font-weight: 500;
}

.about-actions{
    margin-top: 1rem;
}

/* Menu Section */
.menu{
    background: var(--bg-dark);
}

.menu .list{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 1.5rem 0;
    margin: 2rem 0;
    border-top: 0.2rem dashed rgba(255,255,255,0.1);
    border-bottom: 0.2rem dashed rgba(255,255,255,0.1);
    gap: 1.5rem;
}

.menu .list .btn{
    margin: 0;
}

.menu .list .btn.active,
.menu .list .btn:hover{
    background: var(--ulightbrown);
    color: #fff;
    border-color: var(--ulightbrown);
}

.menu .row{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
}

.menu .row .image{
    flex: 1 1 38rem;
    max-width: 44rem;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}

.menu .row .image img{
    width: 100%;
    height: 48rem;
    object-fit: cover;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.35);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.menu .row .image.flipped img{
    transform: rotateY(180deg);
}

.flip-hint{
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 18, 0.85);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 2rem;
    font-size: 1.3rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.menu .row .content{
    flex: 1 1 45rem;
}

.menu .row .content .info{
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu .row .content .info:last-child{
    border-bottom: none;
}

.menu .row .content .info h3{
    display: flex;
    align-items: center;
    font-size: 2.3rem;
    color: var(--text-light);
}

.menu .row .content .info h3 span{
    padding-right: 1.2rem;
    color: var(--yellow);
}

.menu .row .content .info p{
    padding: 0.8rem 0;
    padding-left: 3.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu .row .content .info p span{
    color: var(--ulightbrown);
}

/* Popular Section */
.popular{
    background: #181818;
    background-image: radial-gradient(circle at 50% 10%, rgba(181, 110, 58, 0.12) 0%, transparent 60%);
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

#color-change{
    color: var(--text-light);
}

.popular .box-container{
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

.popular .box-container .box{
    background: var(--bg-card);
    width: 32rem;
    padding: 2rem;
    border-radius: 1.2rem;
    box-shadow: 0 0.8rem 2.5rem rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    will-change: transform;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.popular .box-container .box:hover{
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.45);
    border-color: rgba(247, 202, 62, 0.3);
}

.popular .box-container .box img{
    height: 20rem;
    width: 100%;
    object-fit: cover;
    border-radius: 0.8rem;
}

.popular .box-container .box h3{
    color: var(--text-light);
    font-size: 2.6rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

.popular .box-container .box .stars{
    margin: 0.8rem 0;
}

.popular .box-container .box .stars i{
    color: var(--yellow);
    font-size: 1.6rem;
    padding: 0 0.2rem;
}

.popular .box-container .box .price{
    color: var(--yellow);
    font-size: 1.7rem;
    font-weight: bold;
    margin-top: auto;
    padding-top: 0.8rem;
}

/* Gallery Section */
.gallery{
    background: var(--bg-dark);
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

.gallery .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

.gallery .box-container .box{
    height: 22rem;
    width: 33rem;
    border-radius: 1.2rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0.8rem 2rem rgba(0,0,0,0.3);
    will-change: transform;
    transition: transform 0.3s ease;
}

.gallery .box-container .box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery .box-container .box:hover img{
    transform: scale(1.08);
}

.gallery .box-container .box h3{
    position: absolute;
    top: 100%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-size: 2.6rem;
    opacity: 0;
    z-index: 2;
    transition: top 0.3s ease, opacity 0.3s ease;
    width: 90%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.gallery .box-container .box:hover h3{
    top: 50%;
    opacity: 1;
}

.gallery .box-container .box::before{
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery .box-container .box:hover::before{
    opacity: 1;
}

/* FAQ Section */
.faq {
    background: #171717;
    padding: 6rem 10%;
    min-height: auto;
}

.faq-subheading {
    text-align: center;
    color: #bbb;
    font-size: 1.6rem;
    margin-top: -1rem;
    margin-bottom: 3.5rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
    border-color: rgba(247, 202, 62, 0.4);
    box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 2.4rem;
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    color: var(--yellow);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2.4rem 2rem 2.4rem;
    font-size: 1.55rem;
    color: #ccc;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.5rem;
}

.faq-answer strong {
    color: #fff;
}

.faq-answer a {
    color: var(--yellow);
    text-decoration: underline;
}

/* Project Case Study Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #1f1f1f;
    border: 1px solid rgba(247, 202, 62, 0.3);
    border-radius: 1.6rem;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3.5rem 3rem 2.5rem 3rem;
    position: relative;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: transparent;
    color: #aaa;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: var(--yellow);
    transform: scale(1.1);
}

.modal-header h3 {
    font-size: 2.8rem;
    color: #fff;
    margin: 1rem 0 0.5rem 0;
}

.modal-header h3 span {
    color: var(--yellow);
    font-size: 2.2rem;
}

.modal-subtitle {
    color: var(--ulightbrown);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.case-study-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.2rem 0.8rem;
    border-radius: 0.8rem;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: var(--yellow);
    font-weight: 700;
}

.stat-label {
    font-size: 1.15rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.case-study-narrative h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.case-study-narrative h4 i {
    color: var(--yellow);
    font-size: 1.5rem;
}

.case-study-narrative p {
    font-size: 1.5rem;
    color: #bbb;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.modal-footer .btn {
    flex: 1 1 20rem;
    font-size: 1.4rem;
}

/* Developer & Agency Showcase Box */
.developer-showcase-box {
    background: linear-gradient(135deg, rgba(38, 38, 38, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid rgba(247, 202, 62, 0.25);
    border-radius: 1.4rem;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.developer-showcase-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0.5rem;
    height: 100%;
    background: var(--yellow);
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(247, 202, 62, 0.12);
    color: var(--yellow);
    border: 1px solid rgba(247, 202, 62, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    letter-spacing: 0.05rem;
}

.dev-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.dev-profile {
    flex: 1 1 45rem;
}

.dev-profile h3 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.dev-profile h3 span {
    color: var(--yellow);
}

.dev-role {
    font-size: 1.7rem;
    color: var(--ulightbrown);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.dev-agency {
    font-size: 1.6rem;
    color: #ddd;
    margin-bottom: 1.2rem;
}

.dev-agency a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dev-service-text {
    font-size: 1.5rem;
    color: #bbb;
    line-height: 1.6;
}

.dev-service-text i {
    color: #25d366;
    margin-right: 0.4rem;
}

.dev-actions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1 1 30rem;
}

.dev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    background: #202020;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-btn:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 0.6rem 2rem rgba(0,0,0,0.3);
}

.dev-btn-portfolio {
    background: var(--yellow);
    color: #111;
    font-weight: 700;
    border-color: var(--yellow);
}

.dev-btn-portfolio:hover {
    background: #ffd85b;
    color: #000;
}

.dev-btn-wa {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    border-color: #25d366;
}

.dev-btn-wa:hover {
    background: #20ba59;
    color: #fff;
}

/* Footer Section */
.footer{
    background: #141414;
    padding: 5rem 7% 2rem 7%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer .box-container .box{
    flex: 1 1 28rem;
}

.footer .box-container .box h3{
    font-size: 2.4rem;
    color: #fff;
    padding-bottom: 1.5rem;
    font-weight: 500;
    border-bottom: 2px solid var(--ulightbrown);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer .box-container .box iframe{
    width: 100%;
    height: 22rem;
    border-radius: 1rem;
}

.footer .box-container .box p{
    font-size: 1.5rem;
    color: #ccc;
    padding: 0.6rem 0;
    line-height: 1.6;
}

.footer .box-container .box p a,
.footer .box-container .box a{
    color: #ccc;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer .box-container .box p a:hover,
.footer .box-container .box a:hover{
    color: var(--yellow);
}

.footer .box-container .box p i{
    padding-right: 0.8rem;
    color: var(--ulightbrown);
}

.social-links{
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
}

.social-links a{
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #222;
    padding: 0.8rem 1.4rem;
    border-radius: 0.6rem;
    font-size: 1.4rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.footer .credit{
    font-size: 1.6rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding: 2rem 1rem 0 1rem;
    font-weight: normal;
    color: #999;
}

.footer .credit a{
    color: var(--yellow);
    text-decoration: none;
    font-weight: 500;
}

/* Floating WhatsApp Quick Action */
.floating-wa{
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 999;
    background: #25D366;
    color: #fff;
    border-radius: 5rem;
    padding: 1.2rem 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 0.8rem 2.5rem rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa:hover{
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 1.2rem 3rem rgba(37, 211, 102, 0.55);
    color: #fff;
}

.floating-wa i{
    font-size: 2.2rem;
}

/* Media Queries */
@media (max-width: 991px){
    html{
        font-size: 55%;
    }

    .home::before,
    .home::after{
        display: none;
    }

    .home{
        text-align: center;
        justify-content: center;
    }

    .hero-actions{
        justify-content: center;
    }
}

@media (max-width: 768px){
    .portfolio-top-banner {
        padding: 1.2rem 4%;
    }

    .banner-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .banner-right {
        width: 100%;
        display: flex;
        gap: 0.8rem;
    }

    .banner-pill {
        flex: 1 1 50%;
        justify-content: center;
        text-align: center;
        font-size: 1.2rem;
        padding: 0.8rem 1rem;
    }

    .dev-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .dev-actions {
        width: 100%;
    }

    header #menu-bar{
        display: block;
    }

    header .navbar{
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.98);
        border-top: 1px solid rgba(255,255,255,0.1);
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 1rem 2rem rgba(0,0,0,0.5);
    }

    header .navbar.nav-toggle{
        transform: scaleY(1);
        opacity: 1;
    }

    header .navbar ul{
        flex-direction: column;
        padding: 2rem;
    }

    header .navbar ul li{
        margin: 1.2rem 0;
        width: 100%;
    }

    header .navbar ul li a{
        display: block;
        color: #fff;
        padding: 0.8rem 1.5rem;
        border-left: 0.3rem solid var(--ulightbrown);
        font-size: 2rem;
    }

    header .navbar ul li a:hover,
    header .navbar ul li a.active{
        color: var(--yellow);
        border-color: var(--yellow);
    }

    .fa-times{
        transform: rotate(180deg);
    }

    .home .content h1{
        font-size: 4.2rem;
    }

    .slideshow{
        height: 32rem;
    }

    .menu .row .image img{
        height: 38rem;
    }

    .floating-wa-text{
        display: none;
    }

    .floating-wa{
        padding: 1.4rem;
        border-radius: 50%;
        bottom: 2rem;
        right: 2rem;
    }
}

@media (max-width: 500px){
    html{
        font-size: 50%;
    }

    section{
        padding: 3rem 5%;
        padding-top: 9rem;
    }
}