/* FONTS */
@font-face {
    font-family: 'ClashDisplay';
    src: url('ClashDisplay-Variable.ttf');
}

:root {
    --primary-color: #B7410E;
    --secondary-color: #000000;
    --text-color: beige;
    --bg-color: beige;
    --rust-gradient: linear-gradient(135deg, hsla(18, 86%, 39%, 1) 0%, hsla(210, 5%, 8%, 1) 100%);
    --rust-gradient-2: linear-gradient(to left bottom, #b7410e, #8e2a20, #611d22, #331319, #000000);
    --rust-gradient-3: linear-gradient(to bottom, #b7410e, #8e2a20, #611d22, #331319, #000000);
    --rust-gradient-4: radial-gradient(circle, #b7410e, #8e2a20, #611d22, #331319, #000000);
}




* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

main {
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

/* HERO SECTION  */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-container {
    width: 99%;
    height: 98%;
    margin: auto;
    background: var(--rust-gradient);
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.port-container::after {
    content: '';
    background-image: url('Subtract.svg');
    width: 555px;
    height: 77px;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.port-container::before {
    content: '';
    background-image: url('logo.svg');
    width: 250px;
    height: 66px;
    background-repeat: no-repeat;
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    background-size: contain;
    z-index: 1;
}

.port-container h1 {
    font-family: 'ClashDisplay';
    font-size: clamp(42px, 8vw, 100px);
    width: 1045px;
    font-weight: 600;
    text-transform: uppercase;
    color: transparent;
    margin-left: 25px;
    letter-spacing: 2px;
    color: var(--text-color);
}

.port-container h1 span.highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-color);
}

/* our-process SECTION - CARD STACK STYLE */
.our-process-section {
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 150px 5vw;
    font-family: 'ClashDisplay', sans-serif;
    border-radius: 60px 60px 0 0;
}

.our-process-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 8vw;
    position: relative;
    align-items: flex-start;
}

.our-process-left {
    flex: 0.4;
    position: sticky;
    top: 150px;
}

.our-process-title {
    color: var(--secondary-color);
    font-size: clamp(50px, 7vw, 120px);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.our-process-title span {
    -webkit-text-stroke: 2px var(--primary-color);
    color: transparent;
}

.our-process-desc {
    font-size: 20px;
    font-family: sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    max-width: 600px;
}

.our-process-right {
    flex: 0.6;
    display: flex;
    flex-direction: column;
}

.our-process-item {
    background: var(--rust-gradient-2);
    border-radius: 30px;
    padding: 60px 50px;
    margin-bottom: 30px;
    position: sticky;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    transform-origin: top center;
    transition: border-color 0.4s ease;
}

/* Stacking Heights */
.our-process-item:nth-child(1) {
    top: 100px;
    z-index: 10;
}

.our-process-item:nth-child(2) {
    top: 130px;
    z-index: 11;
}

.our-process-item:nth-child(3) {
    top: 160px;
    z-index: 12;
}

.our-process-item:nth-child(4) {
    top: 190px;
    z-index: 13;
}

.our-process-item:nth-child(5) {
    top: 220px;
    z-index: 14;
}

.our-process-item:nth-child(6) {
    top: 250px;
    z-index: 15;
}



.our-process-item:hover {
    border-color: rgba(183, 65, 14, 0.3);
}

.our-process-item:hover::before {
    opacity: 1;
}

.our-process-number {
    font-size: clamp(40px, 9vw, 180px);
    font-weight: 600;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
    line-height: 0.8;
    margin-right: 40px;
    z-index: 1;
    font-family: sans-serif;
    transition: all 0.5s ease;
    position: absolute;
    right: 20px;
    top: 20px;
}

.our-process-item:hover .our-process-number {
    -webkit-text-stroke: 1px var(--primary-color);
    color: rgba(183, 65, 14, 0.05);
    transform: translateY(-5px);
}

.our-process-content {
    flex: 1;
    z-index: 1;
}

.our-process-content h3 {
    font-size: clamp(24px, 3vw, 45px);
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.our-process-content h6 {
    font-size: clamp(20px, 2vw, 45px);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.our-process-content p {
    font-size: 16px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.our-process-item:hover .our-process-content h3 {
    color: var(--text-color);
    /* Kept white for sleekness */
}



@media (max-width: 992px) {
    .our-process-container {
        flex-direction: column;
        gap: 50px;
    }

    .our-process-left {
        position: relative;
        top: 0;
    }

    .our-process-item {
        flex-direction: column;
        padding: 40px;
    }

    .our-process-number {
        margin-right: 0;
        margin-bottom: 20px;
    }


}

/* ==========================================
   OUR PROJECTS SECTION (BENTO GRID UI)
   ========================================== */
.projects-section {
    width: 99%;
    margin: auto;
    padding: 150px 5vw;
    background: var(--rust-gradient-4);
    color: var(--text-color);
    font-family: 'ClashDisplay', sans-serif;
    position: relative;
    z-index: 3;
    border-radius: 60px 60px 20px 20px;
}

.projects-section::before {
    content: '';
    background-image: url('Subtract.svg');
    width: 555px;
    height: 77px;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.projects-section::after {
    content: 'OUR PORTFOLIO';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 35px;
    font-family: 'ClashDisplay';
    font-weight: 600;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    gap: 40px;
}

.projects-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.projects-title {
    font-size: clamp(50px, 7vw, 100px);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.projects-title span:last-child {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
}

.projects-meta {
    font-size: 18px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tabs */
.projects-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.projects-tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-family: 'ClashDisplay', sans-serif;
    cursor: pointer;
    transition: all 0.4s ease;
}

.projects-tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.projects-tab-btn.active {
    background: var(--text-color);
    color: var(--secondary-color);
    border-color: var(--text-color);
    font-weight: 600;
}

/* Panels */
.projects-panel {
    display: none;
    animation: fadeUpIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.projects-panel.active {
    display: block;
}

@keyframes fadeUpIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Cards System (Bento Grid) */
.projects-card {
    background: #0F0F0F;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.projects-card:hover {
    transform: translateY(-5px);
    border-color: rgba(183, 65, 14, 0.3);
}

.card-tag {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* Web Dev Grid */
.projects-web-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.projects-web-main {
    min-height: 500px;
}

.projects-browser {
    background: #1A1A1A;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projects-browser-header {
    background: #222;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.projects-browser-header .dots {
    display: flex;
    gap: 6px;
}

.projects-browser-header .dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.projects-browser-header .dots span:nth-child(1) {
    background: #FF5F56;
}

.projects-browser-header .dots span:nth-child(2) {
    background: #FFBD2E;
}

.projects-browser-header .dots span:nth-child(3) {
    background: #27C93F;
}

.projects-browser-header .bar {
    flex: 1;
    background: #111;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 12px;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.5);
}

.projects-browser-content {
    flex: 1;
    background: #0A0A0A;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* --- Premium SaaS Dashboard UI --- */
.premium-web-ui {
    display: flex;
    background: #000;
    font-family: sans-serif;
    padding: 0;
}

.pw-sidebar {
    width: 25%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: #0A0A0A;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pw-logo {
    width: 40px;
    height: 10px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
}

.pw-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pw-nav span {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.pw-nav span.active {
    background: var(--rust-gradient);
    width: 90%;
}

.pw-content {
    flex: 1;
    padding: 20px;
    background: radial-gradient(circle at top, #111, #000);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pw-topbar {
    display: flex;
    justify-content: space-between;
}

.pw-search {
    width: 120px;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.pw-profile {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #333;
}

.pw-hero-grad {
    padding: 20px;
    background: linear-gradient(135deg, rgba(183, 65, 14, 0.2), transparent);
    border: 1px solid rgba(183, 65, 14, 0.1);
    border-radius: 12px;
}

.pw-title {
    width: 60%;
    height: 12px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 8px;
}

.pw-subtitle {
    width: 40%;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    margin-bottom: 15px;
}

.pw-cta {
    width: 60px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 20px;
}

.pw-cards-row {
    display: flex;
    gap: 15px;
}

.pw-mini-card {
    flex: 1;
    height: 60px;
    background: #0F0F0F;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-mini-card.pw-glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.pw-chart-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    border-top-color: transparent;
    transform: rotate(45deg);
}

.pw-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.pw-chart-bars i {
    width: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px 3px 0 0;
}

.pw-chart-bars i:nth-child(1) {
    height: 10px;
}

.pw-chart-bars i:nth-child(2) {
    height: 20px;
}

.pw-chart-bars i:nth-child(3) {
    height: 15px;
}

.pw-chart-bars i:nth-child(4) {
    height: 25px;
    background: var(--rust-gradient);
}

.projects-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.projects-card-footer h3 {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 5px;
}

.projects-card-footer p {
    font-size: 14px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.5);
}

.projects-card-footer .metric {
    text-align: right;
}

.projects-card-footer .metric h4 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1;
}

.projects-card-footer .metric span {
    font-size: 12px;
    text-transform: uppercase;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.4);
}

.projects-web-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

/* Glowing Circle Chart */
.glow-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-chart {
    display: block;
    max-width: 100%;
    max-height: 250px;
    transform: rotate(180deg);
}

.circle-bg {
    fill: none;
    stroke: #222;
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.glow-path {
    stroke: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(183, 65, 14, 0.8));
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0, 100;
    }
}

.score-text {
    position: absolute;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.stat-text h5 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.stat-text p {
    font-size: 14px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.5);
}

.devices-abstract {
    position: relative;
    height: 150px;
    margin-top: 20px;
}

/* --- Desktop Mockup --- */
.device-desktop {
    width: 80%;
    height: 120px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.desk-topbar {
    height: 12px;
    background: #1A1A1A;
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.desk-topbar .dots {
    display: flex;
    gap: 3px;
}

.desk-topbar .dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.desk-content {
    flex: 1;
    padding: 8px 12px;
    background: linear-gradient(135deg, #111, #050505);
}

.desk-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.d-logo {
    width: 25px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
}

.d-links {
    display: flex;
    gap: 8px;
}

.d-links span {
    width: 12px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.desk-hero {
    display: flex;
    gap: 10px;
    align-items: center;
}

.d-text {
    flex: 1;
}

.d-h1 {
    width: 80%;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    margin-bottom: 6px;
}

.d-p {
    width: 60%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 8px;
}

.d-btn {
    width: 30px;
    height: 10px;
    background: var(--rust-gradient);
    border-radius: 3px;
}

.d-img {
    width: 50px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}


/* --- Mobile Mockup --- */
.device-mobile {
    width: 32%;
    height: 140px;
    background: #000;
    border: 3px solid #333;
    border-radius: 12px;
    position: absolute;
    right: 10px;
    bottom: 0;
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.8), inset 0 0 0 1px #222;
    overflow: hidden;
    z-index: 2;
}

.mob-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 6px;
    background: #333;
    border-radius: 0 0 4px 4px;
    z-index: 10;
}

.mob-content {
    width: 100%;
    height: 100%;
    padding: 12px 8px 8px;
    background: linear-gradient(to bottom, #1A1A1A, #050505);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.mob-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.m-logo {
    width: 20px;
    height: 5px;
    background: #fff;
    border-radius: 2px;
}

.m-burger {
    width: 10px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 3px 0 #fff;
}

.mob-img {
    width: 100%;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-bottom: 10px;
}

.mob-text {
    padding: 0 2px;
}

.m-h1 {
    width: 70%;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    margin-bottom: 5px;
}

.m-p {
    width: 90%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1.5px;
    margin-bottom: 3px;
}

.m-p.short {
    width: 60%;
    margin-bottom: 8px;
}

.m-btn {
    width: 100%;
    height: 12px;
    background: var(--rust-gradient);
    border-radius: 3px;
}

/* SEO & Design Grids Abstract */
.projects-seo-grid,
.projects-design-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    min-height: 400px;
}

.featured-seo {
    position: relative;
}

.seo-content h3 {
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 40px;
}

.seo-content p {
    font-size: 16px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.6);
    max-width: 80%;
    margin-bottom: 40px;
    line-height: 1.6;
}

.seo-kpi-grid {
    display: flex;
    gap: 40px;
}

.seo-kpi-grid .val {
    display: block;
    font-size: 35px;
    color: var(--primary-color);
    font-weight: 600;
}

.seo-kpi-grid .lbl {
    font-size: 14px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.5);
}

.seo-chart-visual {
    position: absolute;
    right: 40px;
    bottom: 40px;
    width: 250px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.seo-chart-visual .bar {
    width: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px 8px 0 0;
    position: relative;
}

.seo-chart-visual .bar.accent {
    background: var(--rust-gradient);
    box-shadow: 0 0 20px rgba(183, 65, 14, 0.4);
}

.seo-chart-visual .rank {
    position: absolute;
    top: -30px;
    width: 100%;
    text-align: center;
    font-family: sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.local-seo h3 {
    font-size: 30px;
    font-weight: 500;
    margin-top: 40px;
}

.local-seo p {
    font-size: 14px;
    font-family: sans-serif;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.clinic-chart-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 20px;
    min-height: 120px;
}

.chart-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 0;
    padding-bottom: 20px;
    /* leaves room for axis labels */
}

.chart-grid span {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.chart-grid span:last-child {
    background: rgba(255, 255, 255, 0.1);
}

.growth-svg {
    width: 100%;
    height: 80px;
    position: relative;
    z-index: 1;
    overflow: visible;
    margin-bottom: 5px;
}

.chart-line {
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 5px 5px rgba(183, 65, 14, 0.4));
}

.chart-node {
    fill: #fff;
    stroke: var(--primary-color);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(183, 65, 14, 0.8));
}

.chart-axis {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.mini-kpis {
    display: flex;
    gap: 20px;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.text-accent {
    font-size: 30px;
    color: var(--primary-color);
    font-family: 'ClashDisplay';
    font-weight: 600;
}

/* Design Panel Abstract */
/* Premium Brand Card (Replaces abstract logo grid) */
.premium-brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #111 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 40px rgba(183, 65, 14, 0.05);
}

.brand-showcase {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.brand-hero-logo {
    text-align: center;
    padding: 35px 20px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.04), transparent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.brand-hero-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(183, 65, 14, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.brand-hero-logo>* {
    position: relative;
    z-index: 1;
}

.brand-hero-logo .b-icon {
    font-size: 55px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(183, 65, 14, 0.4));
}

.brand-hero-logo .b-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 6px;
    font-family: 'ClashDisplay', sans-serif;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.brand-hero-logo .b-category {
    font-size: 10px;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    font-weight: 500;
}

.brand-palette-row {
    display: flex;
    gap: 15px;
}

.palette-swatch {
    flex: 1;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.15), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.palette-swatch span {
    font-size: 10px;
    font-family: monospace;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.brand-typo-wrap {
    display: flex;
    gap: 20px;
}

.typo-item {
    flex: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.typo-item h2 {
    font-size: 40px;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1;
}

.typo-item p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Premium Social Media Phone Frame (Replaces flat insta profile) */
.premium-social-card {
    background: radial-gradient(circle at top right, #1a1a1a, #000);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: visible;
}

.social-phone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    perspective: 1200px;
}

.mobile-frame {
    width: 250px;
    height: 500px;
    background: #0A0A0A;
    border-radius: 40px;
    border: 8px solid #2A2A2A;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), inset 0 0 0 2px #555, inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    padding: 20px 12px 12px;
    box-sizing: border-box;
    transform: rotateY(-12deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-social-card:hover .mobile-frame {
    transform: rotateY(0deg) rotateX(0deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 0 2px #555, 0 0 30px rgba(183, 65, 14, 0.2);
}

/* Dynamic Island style */
.mobile-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
    box-shadow: inset 0 -1px 3px rgba(255, 255, 255, 0.2);
}

.sm-profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.sm-pfp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--rust-gradient);
    border: 2px solid #000;
    box-shadow: 0 0 0 2px #333;
}

.sm-stats {
    flex: 1;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.sm-stats div {
    font-size: 10px;
    color: #888;
}

.sm-stats strong {
    font-size: 14px;
    color: #fff;
}

.sm-bio {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.4;
}

.sm-bio strong {
    color: #fff;
    font-size: 13px;
}

.sm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.sm-post {
    aspect-ratio: 1;
    border-radius: 2px;
}


/* CTA Block */
.projects-cta-wrap {
    text-align: center;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.projects-all-btn {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 50px;
    border-radius: 60px;
    font-size: 18px;
    font-family: 'ClashDisplay', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.projects-all-btn:hover {
    background: var(--text-color);
    color: var(--secondary-color);
}

.projects-all-btn .arrow {
    font-size: 24px;
}

.projects-all-btn:hover .arrow {
    color: var(--primary-color);
}

.projects-count {
    font-family: sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {

    .projects-web-grid,
    .projects-seo-grid,
    .projects-design-grid {
        grid-template-columns: 1fr;
    }

    .seo-chart-visual {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 40px;
    }
}

/* TOOLS SECTION CSS */
.tools-section {
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tools-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-title {
    font-family: 'ClashDisplay';
    font-size: clamp(50px, 7vw, 130px);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    z-index: 10;
    text-align: center;
    position: relative;
    line-height: 1.1;
}

.tools-title span {
    color: var(--primary-color);
}

.icons-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    z-index: 5;
}

.tool-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
    opacity: 0;
    transform: scale(0);
    filter: drop-shadow(0 15px 25px rgba(183, 65, 14, 0.2));
}

@media (max-width: 768px) {
    .tool-icon {
        width: 50px;
        height: 50px;
        margin-top: -25px;
        margin-left: -25px;
    }
}

/* TOOLS SECTION */
.tools-section {
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 4;
}

.tools-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tools-title {
    font-family: 'ClashDisplay';
    font-size: clamp(50px, 7vw, 120px);
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    z-index: 10;
    text-align: center;
    position: relative;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(245, 245, 220, 0.9);
    /* Subtly masks lines behind text */
}

.tools-title span {
    color: var(--primary-color);
}

.orbit-system {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 5;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

/* Elegant dashed guide rings */
.orbit-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(183, 65, 14, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-inner::before {
    width: 500px;
    height: 500px;
}

.orbit-outer::before {
    width: 800px;
    height: 800px;
}

/* Premium chiclet style for icons */
.icon-chiclet {
    position: absolute;
    top: -35px;
    /* Centering offset */
    left: -35px;
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), inset 0 2px 5px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(183, 65, 14, 0.1);
}

.icon-chiclet img {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .orbit-inner::before {
        width: 300px;
        height: 300px;
    }

    .orbit-outer::before {
        width: 440px;
        height: 440px;
    }

    .icon-chiclet {
        width: 50px;
        height: 50px;
        top: -25px;
        left: -25px;
        border-radius: 14px;
    }

    .icon-chiclet img {
        width: 25px;
        height: 25px;
    }
}

/* CONTACT SECTION CONVERSATIONAL */
.contact-section {
    width: 100%;
    padding: 80px 5vw;
    background: var(--rust-gradient-3);
    position: relative;
    z-index: 5;
    border-radius: 60px 60px 0 0;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(183, 65, 14, 0.2) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.contact-natural-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-super-title {
    font-family: 'ClashDisplay', sans-serif;
    font-size: clamp(60px, 9vw, 150px);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
    line-height: 1;
}

.contact-super-title span {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
}

.natural-form {
    width: 100%;
    max-width: 1300px;
}

.sentence {
    font-family: 'ClashDisplay', sans-serif;
    font-size: clamp(35px, 4.5vw, 70px);
    font-weight: 500;
    line-height: 2;
    color: rgba(255, 255, 255, 0.4);
}

.input-wrapper {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    margin: 0 10px;
}

.input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'ClashDisplay', sans-serif;
    font-size: inherit;
    font-weight: 500;
    color: var(--text-color);
    padding: 0 5px;
    text-align: center;
    width: clamp(200px, 20vw, 350px);
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.input-wrapper input:focus::placeholder {
    color: transparent;
}

.input-line {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.input-wrapper input:focus~.input-line,
.input-wrapper input:valid~.input-line {
    background-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(183, 65, 14, 0.4);
}

.form-footer {
    margin-top: 100px;
    display: flex;
    justify-content: flex-start;
}

.magnetic-btn {
    background: var(--rust-gradient);
    border: none;
    border-radius: 100px;
    padding: 30px 60px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(183, 65, 14, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.magnetic-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 30px 60px rgba(183, 65, 14, 0.5);
}

.btn-text {
    font-family: 'ClashDisplay', sans-serif;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}



@media (max-width: 992px) {
    .sentence {
        line-height: 2.2;
    }

    .input-wrapper {
        margin: 10px 0;
        display: inline-block;
    }

    .input-wrapper input {
        width: clamp(150px, 40vw, 250px);
    }

    .form-footer {
        justify-content: center;
    }
}

/* FOOTER SECTION */
.footer-section {
    width: 100%;
    background-color: var(--bg-color);
    color: var(--primary-color);
    padding: 50px 5vw 40px;
    font-family: 'ClashDisplay', sans-serif;
    position: sticky;
    bottom: 0;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-top h2 {
    font-size: clamp(50px, 8vw, 120px);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.cta-email {
    font-size: clamp(30px, 5vw, 60px);
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-color);
    transition: color 0.4s ease, -webkit-text-stroke 0.4s ease;
    text-decoration: none;
    font-weight: 500;
}

.cta-email:hover {
    color: var(--primary-color);
    -webkit-text-stroke: 1.5px var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--primary-color);
    padding-top: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    font-size: 16px;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    overflow: hidden;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.footer-links a:hover::after {
    transform: translateX(0);
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    font-family: sans-serif;
}

.footer-info p {
    font-size: 14px;
    opacity: 0.6;
    color: var(--primary-color);
    font-family: 'ClashDisplay';

}

.footer-info p a {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
}


/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        gap: 60px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-info {
        align-items: flex-start;
        width: 100%;
        margin-top: 20px;
    }

    .footer-links {
        gap: 20px;
        flex-direction: column;
    }
}